* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #06060e;
    --text: #e0e0e8;
    --text-dim: #7a7a8e;
    --accent: #00e5a0;
    --accent2: #00b4d8;
    --accent3: #7b61ff;
    --panel-bg: rgba(8,8,20,0.85);
    --panel-border: rgba(255,255,255,0.06);
}

body {
    background: linear-gradient(135deg, #06060e 0%, #0a0a15 100%);
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Subtle animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(123, 97, 255, 0.08) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 80%,
        rgba(0, 229, 160, 0.06) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header / Navigation */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--panel-border);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 2px;
}

.nav-back {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-back:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.status-badge {
    display: inline-block;
    background: rgba(0, 229, 160, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    margin: 16px 0 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.tagline {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
}

.description {
    font-size: 15px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 16px auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent3) 0%, var(--accent) 100%);
    border-color: var(--accent);
    color: var(--bg);
    font-weight: 600;
}

.btn-primary:hover {
    box-shadow: 0 0 24px rgba(123, 97, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--accent2);
    color: var(--accent2);
}

.btn-secondary:hover {
    background: rgba(0, 180, 216, 0.1);
    box-shadow: 0 0 16px rgba(0, 180, 216, 0.2);
}

/* Architecture Diagram */
.section {
    padding: 60px 0;
    border-bottom: 1px solid var(--panel-border);
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--text);
    position: relative;
    padding-bottom: 12px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent3), var(--accent));
}

.architecture {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 32px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.8;
    color: var(--accent);
}

.architecture code {
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Stack Section */
.stack-layers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.stack-layer {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.stack-layer:hover {
    border-color: var(--accent);
    box-shadow: 0 0 24px rgba(0, 229, 160, 0.15);
    transform: translateY(-4px);
}

.layer-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent2);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tech-chip {
    background: rgba(123, 97, 255, 0.15);
    border: 1px solid rgba(123, 97, 255, 0.4);
    color: var(--accent3);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.tech-chip.accent {
    background: rgba(0, 229, 160, 0.15);
    border-color: rgba(0, 229, 160, 0.4);
    color: var(--accent);
}

.tech-chip.accent2 {
    background: rgba(0, 180, 216, 0.15);
    border-color: rgba(0, 180, 216, 0.4);
    color: var(--accent2);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.feature-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card:hover {
    border-color: var(--accent);
    background: rgba(0, 229, 160, 0.05);
}

.feature-icon {
    font-size: 28px;
    height: 40px;
    display: flex;
    align-items: center;
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Rewards System */
.reward-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.tier-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-2px);
}

.tier-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.tier-multiplier {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent3), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 8px 0;
}

.tier-range {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.tier-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.tier-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.tier-1 .tier-fill { background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%); width: 100%; }
.tier-2 .tier-fill { background: linear-gradient(90deg, #f97316 0%, #ea580c 100%); width: 75%; }
.tier-3 .tier-fill { background: linear-gradient(90deg, #eab308 0%, #ca8a04 100%); width: 50%; }
.tier-4 .tier-fill { background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%); width: 25%; }
.tier-5 .tier-fill { background: linear-gradient(90deg, #06b6d4 0%, #0891b2 100%); width: 10%; }

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.stat-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
}

/* Highlight Box */
.highlight-box {
    background: rgba(0, 229, 160, 0.08);
    border: 1px solid rgba(0, 229, 160, 0.3);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 20px;
    margin: 32px 0;
}

.highlight-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.highlight-box p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--panel-border);
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent2);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 24px;
    }

    .stack-layers,
    .features-grid,
    .reward-tiers,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .section {
        padding: 40px 0;
    }

    .architecture {
        font-size: 12px;
        padding: 20px;
        overflow-x: auto;
    }
}

/* Animations */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 16px rgba(0, 229, 160, 0.2); }
    50% { box-shadow: 0 0 32px rgba(0, 229, 160, 0.4); }
}

.highlight-box {
    animation: glow 3s ease-in-out infinite;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: slideIn 0.6s ease-out forwards;
}

.feature-card {
    animation: slideIn 0.6s ease-out forwards;
}

@keyframes pulse-border {
    0%, 100% { border-color: var(--panel-border); }
    50% { border-color: rgba(0, 229, 160, 0.5); }
}

.stack-layer:hover {
    animation: pulse-border 0.6s ease-in-out;
}

.skip-link{position:absolute;top:-40px;left:0;background:var(--accent,#64ffda);color:var(--bg,#0a0a0f);padding:10px 18px;z-index:1000;font-size:13px;font-weight:600;text-decoration:none;border-radius:0 0 6px 0;transition:top .2s}.skip-link:focus{top:0;outline:2px solid var(--accent,#64ffda);outline-offset:2px}

/* ── Extracted from inline style attributes ── */

/* tier-desc: used on stack-layer <p> descriptions (9×) */
.tier-desc {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

/* section-intro: reward section intro paragraph */
.section-intro {
    margin-bottom: 24px;
    color: var(--text-dim);
}

/* reward-panel: wrapping div for the reward formula */
.reward-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

/* reward-formula-p: first paragraph inside reward-panel */
.reward-formula-p {
    font-size: 14px;
    margin-bottom: 16px;
}

/* reward-formula-dim: second paragraph inside reward-panel */
.reward-formula-dim {
    font-size: 14px;
    color: var(--text-dim);
}

/* accent-strong: <strong> elements with accent color */
.accent-strong {
    color: var(--accent);
}

/* tier-max: "Max NTI" paragraph at bottom of each tier-card */
.tier-max {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-dim);
}

/* mt-8: margin-top 32px utility (used on highlight-box in reward section) */
.mt-8 {
    margin-top: 32px;
}

/* stats-panel: outer wrapper div in Development section */
.stats-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 32px;
}

/* stats-grid-inner: inner grid inside stats-panel */
.stats-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

/* stat-num: large number in Development stats */
.stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

/* stat-lbl: label in Development stats */
.stat-lbl {
    font-size: 14px;
    color: var(--text-dim);
}

/* roadmap-section: bottom section inside stats-panel */
.roadmap-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--panel-border);
}

/* roadmap-title: h3 heading in roadmap-section */
.roadmap-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    color: var(--accent2);
    margin-bottom: 16px;
}

/* roadmap-list: <ul> in roadmap-section */
.roadmap-list {
    list-style: none;
    font-size: 13px;
}

/* roadmap-item: each <li> in roadmap-list */
.roadmap-item {
    padding: 8px 0;
    color: var(--text-dim);
}

/* accent-bullet: accent-colored bullet <span> */
.accent-bullet {
    color: var(--accent);
}

/* cta-section: footer CTA <section> */
.cta-section {
    padding: 60px 0 40px;
}

/* text-center: centered container */
.text-center {
    text-align: center;
}

/* mb-6: margin-bottom 24px on h2 in CTA */
.mb-6 {
    margin-bottom: 24px;
}

/* cta-desc: dimmed description paragraph in CTA */
.cta-desc {
    color: var(--text-dim);
    margin-bottom: 32px;
}

/* link-accent2: footer link with accent2 color */
.link-accent2 {
    color: var(--accent2);
}

/* link-disabled: disabled-style footer link */
.link-disabled {
    color: var(--text-dim);
    cursor: not-allowed;
}

/* footer-copy: small copy span in footer */
.footer-copy {
    font-size: 12px;
    letter-spacing: 0.5px;
}
