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

:root {
    --bg: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #f2f2f2;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #D4A847;
    --accent-2: #2E9BFF;
    --gradient: linear-gradient(135deg, #D4A847, #F0D078);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --nav-height: 72px;
    --container: 1200px;
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(212, 168, 71, 0.3);
    color: #fff;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.grid-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.grid-bg::before,
.grid-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    animation: radarPulse 12s linear infinite;
}

.grid-bg::after {
    animation-delay: -6s;
}

@keyframes radarPulse {
    0% {
        width: 0;
        height: 0;
        opacity: 0.6;
    }
    100% {
        width: 250vmax;
        height: 250vmax;
        opacity: 0;
    }
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.025);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.ring:nth-child(1) { width: 20vmax; height: 20vmax; }
.ring:nth-child(2) { width: 40vmax; height: 40vmax; }
.ring:nth-child(3) { width: 60vmax; height: 60vmax; }
.ring:nth-child(4) { width: 80vmax; height: 80vmax; }
.ring:nth-child(5) { width: 100vmax; height: 100vmax; }
.ring:nth-child(6) { width: 120vmax; height: 120vmax; }
.ring:nth-child(7) { width: 140vmax; height: 140vmax; }

.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    background: rgba(212, 168, 71, 0.08);
    animation: glowFloat 20s ease-in-out infinite;
}

.glow-2 {
    width: 500px;
    height: 500px;
    top: 40%;
    right: -150px;
    background: rgba(46, 155, 255, 0.06);
    animation: glowFloat 25s ease-in-out infinite reverse;
}

.glow-3 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: 30%;
    background: rgba(212, 168, 71, 0.05);
    animation: glowFloat 18s ease-in-out infinite 5s;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.8s ease, backdrop-filter 0.8s ease, border-bottom 0.8s ease;
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links > a.active::after {
    width: 100%;
}

.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-links > a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: #050505;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 12px 16px;
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.mobile-menu-extra {
    display: none;
}

.mobile-wallet-btn {
    display: none !important;
}

.page-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 100px;
    z-index: 1;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(212, 168, 71, 0.08), transparent 60%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 100px;
    z-index: 1;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(212, 168, 71, 0.08), transparent 60%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212, 168, 71, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(212, 168, 71, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: particleFloat linear infinite;
}

.hero-particle:nth-child(odd) {
    background: var(--accent-2);
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 0.8;
        transform: scale(1);
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0);
    }
}

.marquee-section {
    position: relative;
    z-index: 1;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.4);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition);
}

.marquee-item:hover {
    color: var(--text-secondary);
}

.marquee-item svg {
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0.6;
}

.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.stats {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

section {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header.align-left {
    text-align: left;
}

.section-header.align-left .section-desc {
    margin: 0;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-top: 56px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.subsection-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.glow-card {
    position: relative;
    border-radius: var(--radius);
    transition: var(--transition);
}

.glow-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(212, 168, 71, 0) 50%, transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glow-card:hover::before {
    background: linear-gradient(135deg, rgba(212, 168, 71, 0.4) 0%, rgba(46, 155, 255, 0.4) 50%, rgba(212, 168, 71, 0.4) 100%);
    opacity: 1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { background: linear-gradient(0deg, rgba(212, 168, 71, 0.5), transparent 40%, transparent 60%, rgba(46, 155, 255, 0.5)); }
    25% { background: linear-gradient(90deg, rgba(212, 168, 71, 0.5), transparent 40%, transparent 60%, rgba(46, 155, 255, 0.5)); }
    50% { background: linear-gradient(180deg, rgba(212, 168, 71, 0.5), transparent 40%, transparent 60%, rgba(46, 155, 255, 0.5)); }
    75% { background: linear-gradient(270deg, rgba(212, 168, 71, 0.5), transparent 40%, transparent 60%, rgba(46, 155, 255, 0.5)); }
    100% { background: linear-gradient(360deg, rgba(212, 168, 71, 0.5), transparent 40%, transparent 60%, rgba(46, 155, 255, 0.5)); }
}

.glow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about {
    padding: 48px 0 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-card {
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:nth-child(4) .about-card-icon {
    margin-bottom: 0;
}

.about-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212, 168, 71, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.about-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.problem {
    padding: 80px 0;
    position: relative;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 71, 0.3), rgba(46, 155, 255, 0.3), transparent);
}

.problem-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.pipeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pipeline-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    transition: var(--transition);
}

.pipeline-node:hover .pipeline-icon {
    border-color: rgba(255, 107, 107, 0.4);
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.05);
}

.pipeline-node span {
    font-size: 12px;
    color: var(--text-muted);
}

.pipeline-break {
    color: var(--text-muted);
    opacity: 0.4;
    margin-bottom: 24px;
}

.problem-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 107, 107, 0.2);
    background: rgba(255, 107, 107, 0.05);
    margin-bottom: 48px;
    font-size: 14px;
    color: var(--text-secondary);
}

.alert-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
    white-space: nowrap;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.problem-card {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 107, 107, 0.1);
    background: rgba(255, 107, 107, 0.02);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.problem-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #FF6B6B, transparent);
    opacity: 0.5;
}

.problem-card:nth-child(1),
.problem-card:nth-child(4) {
    grid-column: 1 / 3;
    display: flex;
    gap: 24px;
    align-items: center;
}

.problem-card:nth-child(1) .problem-card-number,
.problem-card:nth-child(4) .problem-card-number {
    font-size: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.problem-card:hover {
    border-color: rgba(255, 107, 107, 0.25);
    background: rgba(255, 107, 107, 0.04);
    transform: translateY(-2px);
}

.problem-card-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #FF6B6B;
    opacity: 0.4;
    margin-bottom: 12px;
    line-height: 1;
}

.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.problem-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.architecture {
    padding: 80px 0;
}

.page-about .section-header .section-title,
.page-ecosystem .section-header .section-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.page-about .section-header .section-desc,
.page-ecosystem .section-header .section-desc {
    font-size: 15px;
    max-width: none;
}

.page-about .section-header,
.page-ecosystem .section-header {
    margin-bottom: 36px;
}

.page-protocol .page-hero {
    min-height: 100vh;
    padding: 140px 0 100px;
}

.page-protocol .architecture {
    padding: 40px 0 80px;
}

.arch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.arch-card {
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.arch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.arch-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.arch-card:hover::before {
    opacity: 1;
}

.arch-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.arch-layer {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(212, 168, 71, 0.1);
    color: var(--accent);
}

.arch-icon {
    color: var(--text-muted);
}

.arch-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.arch-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.arch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arch-tags span {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.arch-card:hover .arch-tags span {
    border-color: var(--border-hover);
}

.tokenomics {
    padding: 80px 0;
}

.token-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.token-utility h3,
.token-allocation h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.utility-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.utility-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
}

.utility-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.utility-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 168, 71, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.utility-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.utility-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.allocation-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.allocation-total {
    display: flex;
    flex-direction: column;
}

.allocation-big {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.allocation-total span:last-child {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.allocation-burn span {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
}

.allocation-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.alloc-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}

.alloc-bar-header span:first-child {
    color: var(--text-secondary);
}

.alloc-bar-header span:last-child {
    font-weight: 600;
    color: var(--text);
}

.alloc-bar-track {
    height: 6px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.alloc-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: var(--bar-color);
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.alloc-bar-fill.animated {
    width: calc(var(--target-width) * 1%);
}

.deflation-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.deflation-note svg {
    color: var(--accent);
    flex-shrink: 0;
}

.roadmap {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 48px;
    padding-bottom: 64px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--border);
}

.timeline-content {
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(212, 168, 71, 0.1);
    color: var(--accent);
    display: inline-block;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-content li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.timeline-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.zigzag-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.zigzag-item {
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    width: 48%;
}

.zigzag-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.zigzag-active {
    border-color: rgba(212, 168, 71, 0.3);
    background: rgba(212, 168, 71, 0.03);
}

.zigzag-left {
    align-self: flex-start;
}

.zigzag-right {
    align-self: flex-end;
}

.zigzag-connector {
    display: flex;
    justify-content: center;
    padding: 4px 0;
    opacity: 0.5;
}

.zigzag-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--gradient);
    color: #050505;
    -webkit-text-fill-color: #050505;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.zigzag-year {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.zigzag-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.zigzag-item ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zigzag-item li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.zigzag-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.ecosystem {
    padding: 80px 0;
    position: relative;
}

.eco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.eco-card {
    padding: 28px 28px 28px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.eco-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
}

.eco-card:nth-child(-n+2)::after {
    background: linear-gradient(180deg, #D4A847, transparent);
}

.eco-card:nth-child(n+3):nth-child(-n+4)::after {
    background: linear-gradient(180deg, #2E9BFF, transparent);
}

.eco-card:nth-child(n+5)::after {
    background: linear-gradient(180deg, #F0D078, transparent);
}

.eco-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.eco-type {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 16px;
}

.eco-card:nth-child(-n+2) .eco-type {
    background: rgba(212, 168, 71, 0.1);
    color: var(--accent);
}

.eco-card:nth-child(n+3):nth-child(-n+4) .eco-type {
    background: rgba(46, 155, 255, 0.1);
    color: var(--accent-2);
}

.eco-card:nth-child(n+5) .eco-type {
    background: rgba(240, 208, 120, 0.1);
    color: #F0D078;
}

.eco-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.eco-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Revenue Tabs ── */
.rev-tabs {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.rev-tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.rev-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.rev-tab-btn:not(:last-child) {
    border-right: 1px solid var(--border);
}

.rev-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.rev-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.rev-tab-btn.active {
    color: var(--text-primary);
    background: rgba(212, 168, 71, 0.04);
}

.rev-tab-btn.active::after {
    opacity: 1;
}

.rev-tab-panels {
    padding: 32px;
}

.rev-tab-panel {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.rev-tab-panel.active {
    display: flex;
}

.rev-panel-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.rev-panel-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    width: 48px;
}

.rev-panel-content h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.rev-panel-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-detail {
    width: 100%;
    flex-basis: 100%;
}

.card-detail-inner {
    padding-top: 16px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
}

.card-detail-inner ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-detail-inner li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.card-detail-inner li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.problem-card .card-detail-inner li::before {
    background: #FF6B6B;
}

.problem-card:nth-child(1) > div:last-child,
.problem-card:nth-child(4) > div:last-child {
    flex: 1;
}

/* ── Governance ── */
.governance {
    padding: 80px 0;
    position: relative;
}

.ecosystem::before,
.governance::before,
.vesting::before,
.network-economy::before,
.incentive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 71, 0.2), rgba(46, 155, 255, 0.2), transparent);
}

.gov-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gov-card {
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.gov-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.gov-card:hover::before {
    opacity: 1;
}

.gov-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gov-phase {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 6px;
    background: rgba(212, 168, 71, 0.1);
    color: var(--accent);
    display: inline-block;
    margin-bottom: 16px;
}

.gov-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.gov-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gov-card li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.gov-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

/* ── SIP Process ── */
.sip-process {
    padding: 80px 0;
    position: relative;
}

.sip-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 71, 0.2), rgba(46, 155, 255, 0.2), transparent);
}

.sip-grid {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sip-card {
    flex: 1;
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.sip-card:hover::before {
    opacity: 1;
}

.sip-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sip-step {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
}

.sip-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.sip-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sip-card li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.sip-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.sip-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    opacity: 0.5;
}

/* ── Flow Cycle ── */
.flow-cycle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 48px 0;
    position: relative;
}

.flow-node {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
}

.flow-node:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.flow-node-center {
    border-color: rgba(212, 168, 71, 0.3);
    background: rgba(212, 168, 71, 0.04);
}

.flow-node-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.flow-node-inflow .flow-node-icon {
    background: rgba(212, 168, 71, 0.1);
    color: #D4A847;
}

.flow-node-center .flow-node-icon {
    background: rgba(212, 168, 71, 0.15);
}

.flow-node-outflow .flow-node-icon {
    background: rgba(46, 155, 255, 0.1);
    color: #2E9BFF;
}

.flow-token {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flow-node h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.flow-node p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.flow-connector {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 8px;
    opacity: 0.5;
}

/* ── Incentive Table ── */
.incentive-table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.incentive-table-header {
    display: grid;
    grid-template-columns: 200px 1fr 120px;
    gap: 16px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.incentive-table-row {
    display: grid;
    grid-template-columns: 200px 1fr 120px;
    gap: 16px;
    padding: 20px 24px;
    align-items: center;
    transition: var(--transition);
}

.incentive-table-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.incentive-table-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.incentive-table-who {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.incentive-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.incentive-table-role {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.incentive-table-reward {
    text-align: right;
}

.incentive-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

/* ── Vesting ── */
.vesting {
    padding: 80px 0;
    position: relative;
}

.vesting-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.vesting-header {
    display: grid;
    grid-template-columns: 140px 1fr 1fr 1fr 1fr 1fr;
    gap: 0;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.vesting-header span:first-child {
    text-align: left;
}

.vesting-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.vesting-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.vesting-bar-track {
    position: relative;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    overflow: hidden;
}

.vesting-bar-cliff {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 107, 107, 0.12);
    border-right: 2px solid rgba(255, 107, 107, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #FF6B6B;
    letter-spacing: 0.05em;
}

.vesting-bar-unlock {
    position: absolute;
    top: 0;
    height: 100%;
    background: rgba(212, 168, 71, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* ── Network Economy ── */
.network-economy {
    padding: 80px 0;
    position: relative;
}

.economy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.economy-card {
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    text-align: center;
}

.economy-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.economy-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.economy-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.economy-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Incentive ── */
.incentive {
    padding: 80px 0;
    position: relative;
}

.incentive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.incentive-card {
    padding: 36px 36px 36px 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.incentive-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
}

.incentive-card:nth-child(1)::after {
    background: linear-gradient(180deg, #D4A847, transparent);
}

.incentive-card:nth-child(2)::after {
    background: linear-gradient(180deg, #2E9BFF, transparent);
}

.incentive-card:nth-child(3)::after {
    background: linear-gradient(180deg, #F0D078, transparent);
}

.incentive-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.incentive-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 16px;
}

.incentive-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.incentive-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #0a0a0a;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-box h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.modal-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hover);
    background: var(--bg-card);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.modal-option:hover {
    border-color: var(--accent);
    background: rgba(212, 168, 71, 0.08);
    color: var(--accent);
}

.modal-option svg {
    flex-shrink: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.modal-close:hover {
    color: var(--text);
}

.cta-section {
    padding: 80px 0;
}

.cta-box {
    text-align: center;
    padding: 80px 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 168, 71, 0.06), transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    gap: 16px;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-card:nth-child(1) {
        grid-column: 1 / 3;
    }

    .arch-grid {
        grid-template-columns: 1fr 1fr;
    }

    .token-layout {
        grid-template-columns: 1fr;
    }

    .eco-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .gov-grid,
    .economy-grid,
    .incentive-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gov-grid > :last-child,
    .economy-grid > :last-child,
    .incentive-grid > :last-child {
        grid-column: 1 / -1;
    }

    .sip-grid {
        flex-direction: column;
    }

    .sip-arrow {
        transform: rotate(90deg);
    }

    .sip-card {
        width: 100%;
    }

    .rev-tab-btn {
        font-size: 13px;
        padding: 14px 12px;
        gap: 6px;
    }

    .rev-tab-btn svg {
        display: none;
    }

    .rev-tab-panels {
        padding: 24px 20px;
    }

    .rev-panel-number {
        font-size: 28px;
        width: 36px;
    }

    .rev-panel-item {
        gap: 16px;
    }

    .flow-cycle {
        flex-direction: column;
        gap: 0;
    }

    .flow-connector {
        transform: rotate(90deg);
        padding: 8px 0;
    }

    .flow-node {
        max-width: 100%;
        width: 100%;
    }

    .incentive-table-header {
        display: none;
    }

    .incentive-table-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 20px;
    }

    .incentive-table-reward {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .zigzag-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .zigzag-item {
        width: 100%;
    }

    .zigzag-connector {
        display: none;
    }

    .nav-container {
        position: relative;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 999;
        padding: 40px 32px 48px;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > a {
        font-size: 24px;
        font-family: var(--font-heading);
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .nav-links > a.active {
        background: var(--gradient);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .nav-links > a::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions .wallet-btn-wrapper {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-actions .connect-wallet-btn {
        font-size: 12px;
        padding: 7px 16px;
        min-width: auto;
    }

    .mobile-wallet-btn {
        display: inline-flex !important;
        width: 100%;
        max-width: 260px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
        margin-bottom: 8px;
    }

    .mobile-menu-extra {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 300px;
        gap: 24px;
        margin-top: 8px;
    }

    .mobile-menu-divider {
        width: 48px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    }

    .mobile-menu-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .mobile-menu-title {
        font-family: var(--font-heading);
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: var(--accent);
    }

    .mobile-menu-buttons {
        display: flex;
        gap: 12px;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 24px;
        border-radius: 100px;
        border: 1px solid var(--border-hover);
        color: var(--text-secondary) !important;
        -webkit-text-fill-color: var(--text-secondary);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: var(--transition);
        background: rgba(255, 255, 255, 0.03);
    }

    .mobile-menu-btn:hover {
        border-color: var(--accent);
        color: var(--accent) !important;
        -webkit-text-fill-color: var(--accent);
        background: rgba(212, 168, 71, 0.08);
    }

    .hero,
    .page-hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 56px);
    }

    .stats-grid {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .problem-pipeline {
        gap: 8px;
    }

    .pipeline-icon {
        width: 56px;
        height: 56px;
        font-size: 12px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .problem-card:nth-child(1),
    .problem-card:nth-child(4) {
        grid-column: 1;
        flex-direction: column;
    }

    .arch-grid {
        grid-template-columns: 1fr;
    }

    .eco-grid {
        grid-template-columns: 1fr;
    }

    .gov-grid,
    .economy-grid,
    .incentive-grid {
        grid-template-columns: 1fr;
    }

    .gov-grid > :last-child,
    .economy-grid > :last-child,
    .incentive-grid > :last-child {
        grid-column: auto;
    }

    .vesting-header {
        grid-template-columns: 100px 1fr 1fr 1fr 1fr 1fr;
        font-size: 10px;
    }

    .vesting-row {
        grid-template-columns: 100px 1fr;
        gap: 10px;
    }

    .vesting-label {
        font-size: 12px;
    }

    .vesting-bar-cliff,
    .vesting-bar-unlock {
        font-size: 9px;
    }

    .governance,
    .sip-process,
    .vesting,
    .network-economy,
    .incentive {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .about,
    .problem,
    .architecture,
    .tokenomics,
    .roadmap,
    .ecosystem,
    .cta-section {
        padding: 60px 0;
    }
}

/* ── Section Side Navigation (Ecosystem) ── */
.section-nav {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease;
}

.section-nav::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.section-nav-link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 0 10px 22px;
    opacity: 0.2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.section-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: var(--bg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-nav-link:hover {
    opacity: 0.5;
}

.section-nav-link.active {
    opacity: 1;
    color: var(--accent);
}

.section-nav-link.active::before {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 12px rgba(212, 168, 71, 0.4);
}

@media (max-width: 1440px) {
    .section-nav {
        display: none;
    }
}

/* Scroll margin for ecosystem section anchors */
.tokenomics,
#business-model,
.governance,
.sip-process,
.vesting,
.network-economy,
.incentive {
    scroll-margin-top: var(--nav-height);
}

/* ── Card Detail Mobile Expand ── */
.card-expand-hint {
    display: none;
}

@media (max-width: 768px) {
    .card-detail {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .card-expanded .card-detail {
        max-height: 200px;
    }

    .card-expand-hint {
        display: flex;
        justify-content: center;
        padding-top: 12px;
        color: var(--text-muted);
        transition: transform 0.3s ease;
    }

    .card-expanded .card-expand-hint {
        transform: rotate(180deg);
        color: var(--accent);
    }
}

@media (max-width: 480px) {
    .sticky-card-content {
        flex-direction: column;
    }

    .problem-pipeline {
        flex-direction: column;
    }

    .pipeline-break {
        transform: rotate(90deg);
        margin: -8px 0;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

}

/* ── Wallet Dropdown ── */
.wallet-btn-wrapper {
    position: relative;
    display: inline-flex;
}

.connect-wallet-btn.btn-sm,
.connect-wallet-btn {
    padding: 10px 26px;
    font-size: 14px;
    min-width: 160px;
    height: 40px;
    justify-content: center;
}

.connect-wallet-btn.wallet-connected {
    background: rgba(212, 168, 71, 0.08);
    color: var(--accent);
    border: 1px solid rgba(212, 168, 71, 0.25);
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.connect-wallet-btn.wallet-connected:hover {
    background: rgba(212, 168, 71, 0.12);
    border-color: rgba(212, 168, 71, 0.4);
    transform: none;
    box-shadow: none;
    opacity: 1;
}

.wallet-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34D399;
    margin-right: 6px;
    vertical-align: middle;
}

/* Dropdown panel — desktop */
.wallet-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 300px;
    background: #0a0a0a;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    padding: 20px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96) translateY(-4px);
    transform-origin: top right;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.wallet-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.wallet-dropdown-address {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}

.wallet-dropdown-addr-text {
    font-family: 'Space Grotesk', 'SF Mono', monospace;
    font-size: 12px;
    color: var(--text-secondary);
    word-break: break-all;
    line-height: 1.5;
    flex: 1;
    min-width: 0;
}

.wallet-dropdown-copy {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.wallet-dropdown-copy:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.wallet-dropdown-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}

.wallet-dropdown-balance-label {
    font-size: 13px;
    color: var(--text-muted);
}

.wallet-dropdown-balance-value {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.wallet-dropdown-disconnect {
    width: 100%;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 107, 107, 0.2);
    background: rgba(255, 107, 107, 0.06);
    color: #FF6B6B;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.wallet-dropdown-disconnect:hover {
    background: rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.4);
}

/* Overlay behind mobile bottom sheet */
.wallet-dropdown-overlay {
    display: none;
}

/* ── Mobile: bottom sheet + overlay ── */
@media (max-width: 768px) {
    /* Nav-actions button: smaller for center placement */
    .nav-actions .connect-wallet-btn.wallet-connected {
        font-size: 12px;
        padding: 7px 14px;
        min-width: auto;
    }

    .nav-actions .connect-wallet-btn.wallet-connected .wallet-status-dot {
        width: 5px;
        height: 5px;
        margin-right: 4px;
    }

    /* Mobile menu wallet button */
    .nav-links .wallet-btn-wrapper {
        position: static;
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .nav-links .connect-wallet-btn.wallet-connected {
        width: 100%;
        max-width: 260px;
        padding: 14px 24px;
        font-size: 14px;
        min-width: auto;
    }

    /* Bottom sheet overlay */
    .wallet-dropdown-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1099;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .wallet-dropdown-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Bottom sheet dropdown */
    .wallet-dropdown {
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        border-radius: var(--radius) var(--radius) 0 0;
        transform-origin: bottom center;
        transform: translateY(100%);
        padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
    }

    .wallet-dropdown.active {
        transform: translateY(0);
    }

    /* Bottom sheet drag handle */
    .wallet-dropdown::before {
        content: '';
        display: block;
        width: 36px;
        height: 4px;
        border-radius: 2px;
        background: rgba(255, 255, 255, 0.15);
        margin: 0 auto 20px;
    }

    .wallet-dropdown-address {
        gap: 12px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .wallet-dropdown-addr-text {
        font-size: 13px;
    }

    .wallet-dropdown-copy {
        padding: 8px;
    }

    .wallet-dropdown-balance {
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .wallet-dropdown-balance-value {
        font-size: 15px;
    }

    .wallet-dropdown-disconnect {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* ── 480px: hide desktop nav wallet ── */
@media (max-width: 480px) {
    .nav-actions .wallet-btn-wrapper {
        display: none;
    }
}
