/* ============================================================
   UNIPOLY CHAIN - Dark Monochrome Design System
   Sleek, dark, performance-optimized with huge animations
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Core Dark Palette */
    --clr-bg-deep: #020205;
    --clr-bg: #06060f;
    --clr-bg-elevated: #0b0b18;
    --clr-bg-card: rgba(255, 255, 255, 0.02);
    --clr-bg-card-hover: rgba(255, 255, 255, 0.05);
    --clr-bg-glass: rgba(6, 6, 15, 0.8);

    /* Accent - single muted blue-violet */
    --clr-primary: #6c63ff;
    --clr-primary-light: #8b85ff;
    --clr-primary-dark: #4a42d4;
    --clr-primary-glow: rgba(108, 99, 255, 0.25);
    --clr-secondary: #94a3b8;
    --clr-accent: #e2e8f0;
    --clr-success: #22c55e;
    --clr-danger: #ef4444;
    --clr-warning: #f59e0b;

    /* Gradients - dark & subtle */
    --grad-primary: linear-gradient(135deg, #6c63ff 0%, #4a42d4 100%);
    --grad-text: linear-gradient(135deg, #e2e8f0 0%, #6c63ff 50%, #e2e8f0 100%);
    --grad-hero: linear-gradient(180deg, #020205 0%, #06060f 100%);
    --grad-card: linear-gradient(145deg, rgba(108, 99, 255, 0.04) 0%, rgba(255,255,255,0.01) 100%);
    --grad-dark: linear-gradient(180deg, #020205 0%, #06060f 100%);
    --grad-radial: radial-gradient(ellipse at 50% 0%, rgba(108, 99, 255, 0.08) 0%, transparent 60%);
    --grad-glow: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);

    /* Text */
    --clr-text: #c8cad0;
    --clr-text-muted: #6b7280;
    --clr-text-dim: #3f3f5a;
    --clr-heading: #f1f1f5;

    /* Borders */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.04);
    --border-glow: 1px solid rgba(108, 99, 255, 0.2);
    --border-hover: 1px solid rgba(108, 99, 255, 0.35);
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.12);
    --shadow-glow-strong: 0 0 80px rgba(108, 99, 255, 0.2);

    /* Typography */
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Z-Index */
    --z-bg: -1;
    --z-content: 1;
    --z-header: 100;
    --z-overlay: 200;
    --z-modal: 300;
    --z-cursor: 900;
    --z-loader: 999;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--clr-bg-deep);
    color: var(--clr-text);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background: var(--clr-primary);
    color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(108, 99, 255, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-primary); }

img { max-width: 100%; height: auto; }
a { color: var(--clr-primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--clr-heading); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-heading);
    line-height: 1.15;
    font-weight: 700;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--clr-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: transform 0.1s ease, opacity 0.3s ease;
    mix-blend-mode: screen;
}
.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(108, 99, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.cursor-ring.hovering {
    width: 60px;
    height: 60px;
    border-color: rgba(108, 99, 255, 0.7);
}

/* ---------- Utility Classes ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-lg); }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 var(--space-lg); }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 var(--space-lg); }

.text-gradient {
    background: var(--grad-text);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 4s ease-in-out infinite;
}
.text-glow {
    text-shadow: 0 0 30px rgba(108, 99, 255, 0.3), 0 0 60px rgba(108, 99, 255, 0.1);
}
.text-center { text-align: center; }
.text-muted { color: var(--clr-text-muted); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ---------- Animated Background ---------- */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: var(--z-bg);
    background: var(--clr-bg-deep);
    overflow: hidden;
}
.page-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(108, 99, 255, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(108, 99, 255, 0.02) 0%, transparent 50%);
    animation: bgDrift 40s ease-in-out infinite alternate;
}

/* Grid Overlay */
.page-bg .grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 99, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 99, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}

/* Scan Line */
.page-bg .scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(108, 99, 255, 0.08) 50%, transparent 100%);
    animation: scanDown 8s linear infinite;
}

#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: var(--z-bg);
    pointer-events: none;
}

/* ---------- Preloader — Immersive Logo Animation ---------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: var(--z-loader);
    background: var(--clr-bg-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.08);
}

/* Background particles/stars */
#preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 10% 20%, rgba(108, 99, 255, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 65%, rgba(108, 99, 255, 0.2) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 50% 10%, rgba(108, 99, 255, 0.15) 50%, transparent 50%),
        radial-gradient(1px 1px at 70% 40%, rgba(108, 99, 255, 0.2) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 90% 80%, rgba(108, 99, 255, 0.18) 50%, transparent 50%),
        radial-gradient(1px 1px at 20% 90%, rgba(108, 99, 255, 0.15) 50%, transparent 50%),
        radial-gradient(1px 1px at 80% 15%, rgba(108, 99, 255, 0.12) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 45% 85%, rgba(108, 99, 255, 0.2) 50%, transparent 50%),
        radial-gradient(1px 1px at 65% 60%, rgba(108, 99, 255, 0.1) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 15% 50%, rgba(108, 99, 255, 0.15) 50%, transparent 50%),
        radial-gradient(1px 1px at 85% 55%, rgba(108, 99, 255, 0.12) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 35%, rgba(108, 99, 255, 0.1) 50%, transparent 50%);
    animation: loaderStarsTwinkle 4s ease-in-out infinite alternate;
}
@keyframes loaderStarsTwinkle {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Radial ambient glow behind the scene */
#preloader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -55%);
    background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, rgba(108, 99, 255, 0.03) 30%, transparent 65%);
    pointer-events: none;
    animation: loaderAmbientPulse 3s ease-in-out infinite;
}
@keyframes loaderAmbientPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -55%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -55%) scale(1.1); }
}

/* Scene container for orbits/logo */
.loader-scene {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* --- Orbital rings --- */
.loader-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1.5px solid rgba(108, 99, 255, 0.1);
    transform: translate(-50%, -50%);
}
.loader-orbit-1 {
    width: 220px;
    height: 220px;
    border-color: rgba(108, 99, 255, 0.12);
    animation: loaderOrbitSpin 6s linear infinite;
}
.loader-orbit-2 {
    width: 270px;
    height: 270px;
    border-style: dashed;
    border-color: rgba(108, 99, 255, 0.07);
    animation: loaderOrbitSpin 10s linear infinite reverse;
}
.loader-orbit-3 {
    width: 320px;
    height: 320px;
    border-color: rgba(108, 99, 255, 0.05);
    border-width: 1px;
    animation: loaderOrbitSpin 16s linear infinite;
}
@keyframes loaderOrbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Orbit dots (small glowing circles on the orbit paths) */
.loader-orbit-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--clr-primary);
    box-shadow: 0 0 12px rgba(108, 99, 255, 0.6), 0 0 30px rgba(108, 99, 255, 0.3);
}
.loader-orbit-1 .loader-orbit-dot {
    width: 10px;
    height: 10px;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}
.loader-orbit-2 .loader-orbit-dot {
    width: 7px;
    height: 7px;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-primary-light);
    opacity: 0.7;
}
.loader-orbit-3 .loader-orbit-dot {
    width: 5px;
    height: 5px;
    top: 50%;
    right: -2px;
    transform: translateY(-50%);
    opacity: 0.5;
}

/* --- Pulse waves expanding from center --- */
.loader-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid rgba(108, 99, 255, 0.2);
    animation: loaderWaveExpand 3s ease-out infinite;
}
.loader-wave-2 {
    animation-delay: 1s;
}
.loader-wave-3 {
    animation-delay: 2s;
}
@keyframes loaderWaveExpand {
    0% { width: 150px; height: 150px; opacity: 0.6; border-width: 2px; }
    100% { width: 500px; height: 500px; opacity: 0; border-width: 0.5px; }
}

/* --- Logo container --- */
.loader-logo-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    z-index: 5;
    animation: loaderLogoFloat 3s ease-in-out infinite;
}
.loader-logo-wrap img.loader-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(108, 99, 255, 0.4)) drop-shadow(0 0 60px rgba(108, 99, 255, 0.2));
    animation: loaderLogoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes loaderLogoReveal {
    0% { opacity: 0; transform: scale(0.5) rotate(-10deg); filter: drop-shadow(0 0 0 transparent); }
    60% { opacity: 1; transform: scale(1.08) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 30px rgba(108, 99, 255, 0.4)) drop-shadow(0 0 60px rgba(108, 99, 255, 0.2)); }
}
@keyframes loaderLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Glow behind logo */
.loader-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(108, 99, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: loaderGlowPulse 2.5s ease-in-out infinite;
    z-index: -1;
}
@keyframes loaderGlowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
}

/* Spinning edge/halo around logo */
.loader-logo-edge {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(108, 99, 255, 0.0) 0%,
        rgba(139, 133, 255, 0.4) 25%,
        rgba(108, 99, 255, 0.0) 50%,
        rgba(74, 66, 212, 0.3) 75%,
        rgba(108, 99, 255, 0.0) 100%
    );
    animation: loaderEdgeSpin 3s linear infinite;
    filter: blur(4px);
    z-index: -1;
}
@keyframes loaderEdgeSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Brand text below the scene --- */
.loader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: var(--space-xl);
    z-index: 2;
}
.loader-brand-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 12px;
    color: var(--clr-heading);
    opacity: 0;
    animation: loaderTextIn 0.8s ease 0.5s forwards;
    background: linear-gradient(90deg, var(--clr-heading), var(--clr-primary-light), var(--clr-heading));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: loaderTextIn 0.8s ease 0.5s forwards, loaderTextShimmer 3s ease-in-out 1.3s infinite;
}
@keyframes loaderTextIn {
    0% { opacity: 0; transform: translateY(20px); letter-spacing: 20px; }
    100% { opacity: 1; transform: translateY(0); letter-spacing: 12px; }
}
@keyframes loaderTextShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.loader-brand-sub {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--clr-primary-light);
    opacity: 0;
    animation: loaderSubIn 0.6s ease 0.9s forwards;
}
@keyframes loaderSubIn {
    0% { opacity: 0; transform: translateY(10px); letter-spacing: 12px; }
    100% { opacity: 0.7; transform: translateY(0); letter-spacing: 6px; }
}

/* --- Progress bar --- */
.loader-bar {
    width: 240px;
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    overflow: hidden;
    margin-top: var(--space-xl);
    z-index: 2;
    position: relative;
    opacity: 0;
    animation: loaderBarIn 0.4s ease 0.8s forwards;
}
@keyframes loaderBarIn {
    0% { opacity: 0; width: 180px; }
    100% { opacity: 1; width: 240px; }
}
.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--clr-primary-dark), var(--clr-primary), var(--clr-primary-light));
    border-radius: 3px;
    animation: loaderProgress 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 0 12px rgba(108, 99, 255, 0.4), 0 0 4px rgba(108, 99, 255, 0.6);
    position: relative;
}
.loader-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 9px;
    border-radius: 50%;
    background: var(--clr-primary-light);
    box-shadow: 0 0 12px rgba(108, 99, 255, 0.8), 0 0 24px rgba(108, 99, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .loader-scene { width: 240px; height: 240px; }
    .loader-orbit-1 { width: 170px; height: 170px; }
    .loader-orbit-2 { width: 205px; height: 205px; }
    .loader-orbit-3 { width: 240px; height: 240px; }
    .loader-logo-wrap { width: 110px; height: 110px; }
    .loader-brand-text { font-size: 1.6rem; letter-spacing: 8px; }
    .loader-wave { width: 110px; height: 110px; }
    @keyframes loaderWaveExpand {
        0% { width: 110px; height: 110px; opacity: 0.6; border-width: 2px; }
        100% { width: 350px; height: 350px; opacity: 0; border-width: 0.5px; }
    }
}

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: calc(var(--z-overlay) + 5);
    padding: var(--space-md) 0;
    transition: var(--transition);
    background: transparent;
}
.site-header.scrolled {
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: var(--space-sm) 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}
.header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.header-logo img {
    height: 36px;
    transition: var(--transition);
}
.header-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(108, 99, 255, 0.3));
}

/* Desktop Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}
.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--clr-heading);
    background: rgba(108, 99, 255, 0.06);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
}

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown > .nav-link i.fa-chevron-down {
    font-size: 0.55rem;
    transition: var(--transition);
}
.nav-dropdown:hover > .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: rgba(6, 6, 15, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 50;
    box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu .nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px var(--space-md);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    white-space: nowrap;
}
.nav-dropdown-menu .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--clr-primary-light);
}
.nav-dropdown-menu .nav-link:hover {
    background: rgba(108, 99, 255, 0.1);
    color: var(--clr-heading);
}

/* CTA Button */
.btn-primary-nav {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 24px;
    background: var(--grad-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 24px var(--clr-primary-glow);
    position: relative;
    overflow: hidden;
}
.btn-primary-nav::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn-primary-nav:hover::after { transform: translateX(100%); }
.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--clr-primary-glow);
    color: #fff;
}

/* ============================================================
   WALLET LOGIN BUTTON — Elegant Animated
   ============================================================ */
.btn-wallet-nav {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 26px;
    background: rgba(108, 99, 255, 0.08);
    color: #fff;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(108, 99, 255, 0.25);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    margin-right: 10px;
    cursor: pointer;
    text-decoration: none;
    z-index: 1;
}

/* Soft animated border glow */
.btn-wallet-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(
        270deg,
        rgba(108, 99, 255, 0.5),
        rgba(0, 210, 255, 0.4),
        rgba(168, 130, 255, 0.5),
        rgba(0, 210, 255, 0.4),
        rgba(108, 99, 255, 0.5)
    );
    background-size: 400% 100%;
    animation: walletBorderFlow 6s linear infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.8;
}
@keyframes walletBorderFlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

/* Gentle light sweep */
.btn-wallet-nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: walletShineSweep 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes walletShineSweep {
    0%        { left: -100%; opacity: 0; }
    10%       { opacity: 1; }
    40%       { left: 160%; opacity: 1; }
    50%, 100% { left: 160%; opacity: 0; }
}

/* Wallet icon — soft breathing glow */
.btn-wallet-nav .wallet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(108, 99, 255, 0.15);
    border-radius: 50%;
    animation: walletIconBreathe 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    transition: all 0.5s ease;
}
.btn-wallet-nav .wallet-icon i {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
}
@keyframes walletIconBreathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0); }
    50%      { box-shadow: 0 0 10px 3px rgba(108, 99, 255, 0.2); }
}

/* Button text */
.btn-wallet-nav .wallet-text {
    position: relative;
    z-index: 2;
}

/* Floating particles — subtle sparkle dots */
.btn-wallet-nav .wallet-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    border-radius: 50px;
}
.btn-wallet-nav .wallet-particles span {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0;
    animation: walletSparkle 5s ease-in-out infinite;
}
.btn-wallet-nav .wallet-particles span:nth-child(1) {
    top: 30%; left: 10%;
    animation-delay: 0s;
    background: rgba(168, 130, 255, 0.8);
}
.btn-wallet-nav .wallet-particles span:nth-child(2) {
    top: 60%; left: 30%;
    animation-delay: 1s;
    background: rgba(0, 210, 255, 0.7);
    width: 1.5px; height: 1.5px;
}
.btn-wallet-nav .wallet-particles span:nth-child(3) {
    top: 25%; left: 60%;
    animation-delay: 2s;
    background: rgba(108, 99, 255, 0.8);
}
.btn-wallet-nav .wallet-particles span:nth-child(4) {
    top: 65%; left: 80%;
    animation-delay: 3s;
    background: rgba(168, 130, 255, 0.7);
    width: 1.5px; height: 1.5px;
}
.btn-wallet-nav .wallet-particles span:nth-child(5) {
    top: 45%; left: 50%;
    animation-delay: 4s;
    background: rgba(0, 210, 255, 0.6);
}
@keyframes walletSparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    10%      { opacity: 1; transform: scale(1); }
    30%      { opacity: 0.8; transform: scale(1.8); }
    50%      { opacity: 0; transform: scale(0.5); }
}

/* Hover — smooth lift with soft glow */
.btn-wallet-nav:hover {
    transform: translateY(-2px);
    background: rgba(108, 99, 255, 0.14);
    border-color: rgba(108, 99, 255, 0.45);
    box-shadow:
        0 4px 20px rgba(108, 99, 255, 0.2),
        0 0 40px rgba(108, 99, 255, 0.08);
    color: #fff;
}
.btn-wallet-nav:hover::before {
    opacity: 1;
}
.btn-wallet-nav:hover .wallet-icon {
    background: rgba(108, 99, 255, 0.25);
    transform: scale(1.1);
}

/* Active / click */
.btn-wallet-nav:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(108, 99, 255, 0.15);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-sm);
    background: none;
    border: none;
    position: relative;
    z-index: calc(var(--z-overlay) + 10);
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--clr-heading);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 2, 5, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: var(--z-overlay);
    flex-direction: column;
    align-items: center;
    padding: 100px var(--space-xl) var(--space-2xl);
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
}
.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.mobile-nav .nav-link {
    font-size: 1rem;
    padding: 14px var(--space-xl);
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
    background: rgba(108, 99, 255, 0.06);
    color: var(--clr-primary-light);
}
.mobile-nav .btn {
    margin-top: var(--space-lg);
    width: 80%;
    max-width: 280px;
}

/* Mobile Submenu */
.mobile-submenu { width: 100%; }
.mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: 14px var(--space-xl);
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--clr-text-muted);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.mobile-submenu-toggle i {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}
.mobile-submenu.active .mobile-submenu-toggle {
    color: var(--clr-primary-light);
    background: rgba(108, 99, 255, 0.04);
}
.mobile-submenu.active .mobile-submenu-toggle i {
    transform: rotate(180deg);
}
.mobile-submenu-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(108, 99, 255, 0.02);
}
.mobile-submenu.active .mobile-submenu-items {
    max-height: 500px;
}
.mobile-submenu-items .nav-link {
    font-size: 0.9rem;
    padding: 12px var(--space-xl) 12px var(--space-2xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.mobile-submenu-items .nav-link i {
    width: 18px;
    font-size: 0.8rem;
    text-align: center;
    color: var(--clr-primary-light);
    opacity: 0.6;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 24px var(--clr-primary-glow);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 48px var(--clr-primary-glow);
    color: #fff;
}
.btn-outline {
    background: rgba(108, 99, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(108, 99, 255, 0.3);
}
.btn-outline:hover {
    background: rgba(108, 99, 255, 0.14);
    border-color: rgba(108, 99, 255, 0.5);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: var(--clr-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(108, 99, 255, 0.3);
    color: var(--clr-heading);
    transform: translateY(-2px);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--clr-text);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--clr-heading);
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Section Layouts ---------- */
.section {
    position: relative;
    padding: var(--space-5xl) 0;
}
.section-sm { padding: var(--space-4xl) 0; }

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 18px;
    background: rgba(108, 99, 255, 0.06);
    border: 1px solid rgba(108, 99, 255, 0.12);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-primary-light);
    margin-bottom: var(--space-lg);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- Cards ---------- */
.card-glass {
    background: var(--clr-bg-card);
    border: var(--border-subtle);
    border-radius: var(--border-radius);
    padding: var(--space-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}
.card-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-card);
    opacity: 0;
    transition: var(--transition);
}
.card-glass:hover {
    border-color: rgba(108, 99, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}
.card-glass:hover::before { opacity: 1; }
.card-glass > * { position: relative; z-index: 1; }

/* Glow border effect on hover */
.card-glass::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(108,99,255,0.2), transparent, rgba(108,99,255,0.1));
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s ease;
}
.card-glass:hover::after { opacity: 1; }

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    background: rgba(108, 99, 255, 0.08);
    color: var(--clr-primary);
    font-size: 1.4rem;
    margin-bottom: var(--space-lg);
    transition: var(--transition);
}
.card-glass:hover .card-icon {
    background: var(--clr-primary);
    color: #fff;
    box-shadow: 0 4px 24px var(--clr-primary-glow);
    transform: scale(1.1);
}
.card-icon.icon-cyan { background: rgba(148, 163, 184, 0.08); color: var(--clr-secondary); }
.card-glass:hover .card-icon.icon-cyan { background: var(--clr-secondary); color: #fff; }
.card-icon.icon-gold { background: rgba(245, 158, 11, 0.08); color: var(--clr-warning); }
.card-glass:hover .card-icon.icon-gold { background: var(--clr-warning); color: #000; }
.card-icon.icon-green { background: rgba(34, 197, 94, 0.08); color: var(--clr-success); }
.card-glass:hover .card-icon.icon-green { background: var(--clr-success); color: #000; }

.card-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}
.card-text {
    color: var(--clr-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Feature Card */
.feature-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
}
.feature-card .card-icon {
    margin: 0 auto var(--space-lg);
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-5xl) var(--space-lg);
    overflow: hidden;
}
.hero-canvas-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-canvas-wrap canvas {
    width: 100%;
    height: 100%;
}
/* Dark vignette overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, var(--clr-bg-deep) 80%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    background: rgba(108, 99, 255, 0.06);
    border: 1px solid rgba(108, 99, 255, 0.12);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--clr-primary-light);
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: fadeInDown 0.8s ease 0.3s forwards;
}
.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-primary);
    animation: dotPulse 2s ease-in-out infinite;
}

/* Hero Title with line-by-line reveal */
.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.hero-title .title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: heroLineReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .title-line:nth-child(1) { animation-delay: 0.5s; }
.hero-title .title-line:nth-child(2) { animation-delay: 0.7s; }
.hero-title .title-line:nth-child(3) { animation-delay: 0.9s; }
.hero-title .title-line.accent {
    color: var(--clr-primary-light);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--clr-text-muted);
    margin-bottom: var(--space-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.1s forwards;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.3s forwards;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.5s forwards;
}
.hero-stat { text-align: center; }
.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-heading);
}
.hero-stat-label {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    margin-top: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--clr-text-dim);
    font-size: 0.7rem;
    z-index: 2;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--clr-primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ---------- Comparison Table ---------- */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: var(--border-subtle);
}
.comparison-table th,
.comparison-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    border-bottom: var(--border-subtle);
    font-size: 0.9rem;
}
.comparison-table thead th {
    background: rgba(108, 99, 255, 0.04);
    color: var(--clr-primary-light);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--clr-heading);
}
.comparison-table tbody tr {
    transition: var(--transition);
}
.comparison-table tbody tr:hover {
    background: rgba(108, 99, 255, 0.03);
}
.comparison-table tbody tr:first-child {
    background: rgba(108, 99, 255, 0.04);
}
.check-icon { color: var(--clr-success); font-size: 1.1rem; }
.cross-icon { color: var(--clr-text-dim); font-size: 1.1rem; }

/* ---------- Stats Bar ---------- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    padding: var(--space-2xl);
    background: var(--clr-bg-card);
    border: var(--border-subtle);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-card);
}
.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}
.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-heading);
    margin-bottom: var(--space-xs);
}
.stat-label {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--clr-primary), rgba(108,99,255,0.1));
}
.timeline-item {
    position: relative;
    margin-bottom: var(--space-2xl);
    padding-left: var(--space-xl);
}
.timeline-dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--clr-primary);
    border: 3px solid var(--clr-bg-deep);
    box-shadow: 0 0 0 3px var(--clr-primary-glow);
}
.timeline-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--clr-primary-light);
    margin-bottom: var(--space-sm);
}
.timeline-title { font-size: 1.2rem; margin-bottom: var(--space-sm); }
.timeline-text { color: var(--clr-text-muted); font-size: 0.92rem; }

/* ---------- Accordion / FAQ ---------- */
.accordion-item {
    background: var(--clr-bg-card);
    border: var(--border-subtle);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: var(--transition);
}
.accordion-item:hover { border-color: rgba(108, 99, 255, 0.15); }
.accordion-item.active {
    border-color: rgba(108, 99, 255, 0.2);
    box-shadow: var(--shadow-glow);
}
.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    font-weight: 600;
    color: var(--clr-heading);
    transition: var(--transition);
}
.accordion-header:hover { color: var(--clr-primary-light); }
.accordion-icon {
    font-size: 0.85rem;
    color: var(--clr-primary);
    transition: var(--transition);
}
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion-body-inner {
    padding: 0 var(--space-xl) var(--space-lg);
    color: var(--clr-text-muted);
    line-height: 1.8;
}

/* ---------- Tags ---------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.tag-primary { background: rgba(108, 99, 255, 0.1); color: var(--clr-primary-light); }
.tag-cyan { background: rgba(148, 163, 184, 0.1); color: var(--clr-secondary); }
.tag-gold { background: rgba(245, 158, 11, 0.1); color: var(--clr-warning); }
.tag-green { background: rgba(34, 197, 94, 0.1); color: var(--clr-success); }

/* ---------- Dividers ---------- */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    margin: var(--space-3xl) 0;
}

/* ---------- Token Info Grid ---------- */
.token-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}
.token-info-item {
    background: var(--clr-bg-card);
    border: var(--border-subtle);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition);
}
.token-info-item:hover {
    border-color: rgba(108, 99, 255, 0.2);
    transform: translateY(-2px);
}
.token-info-label {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.token-info-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-heading);
}

/* ---------- CTA Section ---------- */
.cta-section {
    text-align: center;
    padding: var(--space-5xl) var(--space-lg);
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(108, 99, 255, 0.06) 0%, transparent 70%);
}
.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-lg);
}
.cta-text {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Two Column Layout ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}
.two-col-text h3 {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}
.two-col-text p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

/* ---------- Ecosystem Diagram ---------- */
/* ============================================================
   ECOSYSTEM HUB — Animated Hub & Spoke Diagram
   ============================================================ */
.eco-hub {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1;
    margin: 0 auto;
}
.eco-hub-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* --- Center hub --- */
.eco-hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.eco-hub-center-content {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 60px var(--clr-primary-glow), 0 0 120px rgba(108, 99, 255, 0.15);
}
.eco-hub-center-content i { font-size: 1.6rem; margin-bottom: 6px; }
/* Outer rotating ring */
.eco-hub-center-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 156px;
    height: 156px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(108, 99, 255, 0.2);
    animation: rotate 20s linear infinite;
    z-index: 2;
}
.eco-hub-center-ring::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr-primary);
    box-shadow: 0 0 12px var(--clr-primary-glow);
}
/* Pulsing glow */
.eco-hub-center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 130px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--clr-primary);
    opacity: 0;
    animation: hubGlow 3s ease-in-out infinite;
    z-index: 1;
    filter: blur(30px);
}
@keyframes hubGlow {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.25; transform: translate(-50%, -50%) scale(1.6); }
}

/* --- Outer nodes --- */
.eco-hub-node {
    position: absolute;
    z-index: 5;
    /* JS will position these */
}
.eco-hub-node-inner {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(10, 10, 26, 0.85);
    border: 1.5px solid rgba(108, 99, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--clr-text);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.eco-hub-node-inner i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--clr-primary-light);
    transition: all 0.4s ease;
}
.eco-hub-node-inner span {
    transition: color 0.4s ease;
}
.eco-hub-node:hover .eco-hub-node-inner {
    border-color: var(--clr-primary);
    background: rgba(108, 99, 255, 0.08);
    transform: scale(1.18);
    box-shadow: 0 0 40px rgba(108, 99, 255, 0.2), 0 4px 30px rgba(0, 0, 0, 0.3);
}
.eco-hub-node:hover .eco-hub-node-inner i {
    color: #fff;
    text-shadow: 0 0 12px var(--clr-primary-glow);
}

/* Node entrance animation (staggered) */
.eco-hub-node {
    opacity: 0;
    animation: nodeAppear 0.6s ease-out forwards;
}
.eco-hub-node[data-angle="0"] { animation-delay: 0.15s; }
.eco-hub-node[data-angle="1"] { animation-delay: 0.25s; }
.eco-hub-node[data-angle="2"] { animation-delay: 0.35s; }
.eco-hub-node[data-angle="3"] { animation-delay: 0.45s; }
.eco-hub-node[data-angle="4"] { animation-delay: 0.55s; }
.eco-hub-node[data-angle="5"] { animation-delay: 0.65s; }
.eco-hub-node[data-angle="6"] { animation-delay: 0.75s; }
@keyframes nodeAppear {
    0% { opacity: 0; transform: scale(0.3); }
    60% { opacity: 1; transform: scale(1.08); }
    100% { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .eco-hub { max-width: 340px; }
    .eco-hub-center-content { width: 90px; height: 90px; font-size: 0.7rem; }
    .eco-hub-center-content i { font-size: 1.1rem; }
    .eco-hub-center-ring { width: 110px; height: 110px; }
    .eco-hub-node-inner { width: 62px; height: 62px; font-size: 0.55rem; }
    .eco-hub-node-inner i { font-size: 0.9rem; }
}

/* Number counter */
.counter { font-variant-numeric: tabular-nums; }

/* ---------- Code Block ---------- */
.code-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--clr-text);
    overflow-x: auto;
    line-height: 1.8;
}
.code-block .keyword { color: var(--clr-primary-light); }
.code-block .string { color: var(--clr-success); }
.code-block .comment { color: var(--clr-text-dim); }
.code-block .function { color: var(--clr-secondary); }

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    background: rgba(2, 2, 5, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: var(--space-4xl) 0 var(--space-xl);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}
.footer-brand p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-top: var(--space-md);
    max-width: 320px;
    line-height: 1.7;
}
.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}
.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--clr-text-muted);
    transition: var(--transition);
    font-size: 0.85rem;
}
.footer-social a:hover {
    background: var(--clr-primary);
    color: #fff;
    transform: translateY(-3px);
}
.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-lg);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a {
    color: var(--clr-text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--clr-heading);
    padding-left: 4px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.82rem;
    color: var(--clr-text-dim);
}

/* ---------- 3D Floating Token ---------- */
.token-3d-wrap {
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) 0;
}
.token-3d {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: tokenFloat 6s ease-in-out infinite, tokenSpin 12s linear infinite;
}
.token-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: #fff;
    backface-visibility: hidden;
}
.token-front {
    background: var(--grad-primary);
    box-shadow: 0 0 60px var(--clr-primary-glow), inset 0 0 30px rgba(255,255,255,0.1);
}
.token-back {
    background: linear-gradient(135deg, #4a42d4, #6c63ff);
    transform: rotateY(180deg);
    box-shadow: 0 0 60px var(--clr-primary-glow);
}
.token-edge {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(108, 99, 255, 0.15);
    animation: tokenEdgePulse 3s ease-in-out infinite;
}
.token-edge:nth-child(2) { animation-delay: 1s; }
.token-edge:nth-child(3) { animation-delay: 2s; }

/* ---------- Utility Icon Box (tokenomics page) ---------- */
.utility-icon-box {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--space-lg);
    position: relative;
}

/* ---------- Vesting Chart ---------- */
.vesting-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 300px;
    padding: var(--space-xl) 0;
}
.vesting-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    height: 100%;
    justify-content: flex-end;
}
.vesting-bar {
    width: 100%;
    max-width: 60px;
    border-radius: 8px 8px 4px 4px;
    background: var(--grad-primary);
    position: relative;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 0;
}
.vesting-bar-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-heading);
}
.vesting-bar-year {
    font-size: 0.7rem;
    color: var(--clr-text-muted);
    margin-top: var(--space-xs);
}

/* ---------- Burn Animation ---------- */
/* ============================================================
   BURN MECHANISM — Impressive Animated Visual
   ============================================================ */
.burn-animation {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central flame icon */
.burn-animation > .burn-core {
    position: relative;
    z-index: 3;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.burn-animation > .burn-core i {
    font-size: 3rem;
    background: linear-gradient(180deg, #ff6b35, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: burnFlicker 1.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.5));
}
@keyframes burnFlicker {
    0%   { transform: scale(1) translateY(0); opacity: 0.9; }
    25%  { transform: scale(1.05) translateY(-2px); }
    50%  { transform: scale(0.98) translateY(1px); opacity: 1; }
    75%  { transform: scale(1.08) translateY(-3px); }
    100% { transform: scale(1) translateY(-1px); opacity: 0.95; }
}

/* Expanding heat rings */
.burn-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid;
    animation: burnRingExpand 3s ease-out infinite;
}
.burn-ring:nth-child(1) {
    width: 100px; height: 100px;
    border-color: rgba(239, 68, 68, 0.2);
    animation-delay: 0s;
}
.burn-ring:nth-child(2) {
    width: 100px; height: 100px;
    border-color: rgba(255, 107, 53, 0.15);
    animation-delay: 1s;
}
.burn-ring:nth-child(3) {
    width: 100px; height: 100px;
    border-color: rgba(251, 191, 36, 0.1);
    animation-delay: 2s;
}
@keyframes burnRingExpand {
    0%   { width: 100px; height: 100px; opacity: 0.6; border-width: 2px; }
    100% { width: 280px; height: 280px; opacity: 0; border-width: 0.5px; }
}

/* Falling coins that shrink and vanish as they enter the flame */
.burn-coin {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0a030, #f7c948);
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.2), 0 0 8px rgba(247, 201, 72, 0.3);
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.burn-coin::after { content: 'U'; }
.burn-coin:nth-child(4) { animation: burnCoinFall1 3.5s ease-in infinite 0s; }
.burn-coin:nth-child(5) { animation: burnCoinFall2 4s ease-in infinite 0.8s; }
.burn-coin:nth-child(6) { animation: burnCoinFall3 3.8s ease-in infinite 1.6s; }
.burn-coin:nth-child(7) { animation: burnCoinFall4 4.2s ease-in infinite 2.4s; }
.burn-coin:nth-child(8) { animation: burnCoinFall5 3.6s ease-in infinite 0.4s; }

@keyframes burnCoinFall1 {
    0%   { top: -10px; left: 40%; opacity: 0; transform: scale(1) rotate(0deg); }
    15%  { opacity: 1; }
    70%  { opacity: 0.8; transform: scale(0.7) rotate(180deg); }
    90%  { opacity: 0.3; transform: scale(0.2) rotate(300deg); }
    100% { top: 50%; left: 50%; opacity: 0; transform: scale(0) rotate(360deg); }
}
@keyframes burnCoinFall2 {
    0%   { top: -10px; right: 30%; left: auto; opacity: 0; transform: scale(1) rotate(0deg); }
    15%  { opacity: 1; }
    70%  { opacity: 0.8; transform: scale(0.7) rotate(-160deg); }
    90%  { opacity: 0.3; transform: scale(0.2) rotate(-280deg); }
    100% { top: 50%; right: auto; left: 50%; opacity: 0; transform: scale(0) rotate(-360deg); }
}
@keyframes burnCoinFall3 {
    0%   { bottom: auto; top: -10px; left: 60%; opacity: 0; transform: scale(1); }
    15%  { opacity: 1; }
    70%  { opacity: 0.8; transform: scale(0.6) rotate(200deg); }
    90%  { opacity: 0.2; transform: scale(0.15) rotate(340deg); }
    100% { top: 50%; left: 50%; opacity: 0; transform: scale(0) rotate(360deg); }
}
@keyframes burnCoinFall4 {
    0%   { top: 20%; left: -10px; opacity: 0; transform: scale(0.9); }
    15%  { opacity: 1; }
    70%  { opacity: 0.7; transform: scale(0.5) rotate(-180deg); }
    100% { top: 50%; left: 50%; opacity: 0; transform: scale(0) rotate(-360deg); }
}
@keyframes burnCoinFall5 {
    0%   { top: 20%; right: -10px; left: auto; opacity: 0; transform: scale(0.9); }
    15%  { opacity: 1; }
    70%  { opacity: 0.7; transform: scale(0.5) rotate(150deg); }
    100% { top: 50%; right: auto; left: 50%; opacity: 0; transform: scale(0) rotate(360deg); }
}

/* Smoke particles rising from the flame */
.burn-smoke {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    z-index: 1;
}
.burn-smoke:nth-child(9)  { animation: burnSmoke 2.5s ease-out infinite 0.2s; left: 45%; }
.burn-smoke:nth-child(10) { animation: burnSmoke 3s ease-out infinite 0.9s; left: 55%; width: 4px; height: 4px; }
.burn-smoke:nth-child(11) { animation: burnSmoke 2.8s ease-out infinite 1.5s; left: 48%; width: 8px; height: 8px; }
.burn-smoke:nth-child(12) { animation: burnSmoke 3.2s ease-out infinite 2.1s; left: 52%; width: 5px; height: 5px; }
@keyframes burnSmoke {
    0%   { top: 40%; opacity: 0; transform: scale(1) translateX(0); }
    20%  { opacity: 0.08; }
    100% { top: -20%; opacity: 0; transform: scale(3) translateX(10px); }
}

/* Supply counter below */
.burn-counter {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(239, 68, 68, 0.5);
    white-space: nowrap;
    letter-spacing: 1px;
    animation: fadeInOut 4s ease-in-out infinite;
}

/* ---------- Massive Hero Visualization ---------- */
.hero-viz {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Floating geometric shapes */
.geo-shape {
    position: absolute;
    border: 1px solid rgba(108, 99, 255, 0.06);
    opacity: 0.5;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.geo-hex {
    width: 100px;
    height: 100px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: transparent;
    border: none;
    outline: 1px solid rgba(108, 99, 255, 0.04);
    outline-offset: -1px;
}
.geo-circle {
    border-radius: 50%;
}
.geo-diamond {
    transform: rotate(45deg);
}

/* Data streams */
.data-stream {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(108, 99, 255, 0.15), transparent);
    animation: dataFlow 4s linear infinite;
}

/* ---------- Glow Divider ---------- */
.glow-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.15), transparent);
    position: relative;
}
.glow-divider::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(108, 99, 255, 0.1), transparent);
    pointer-events: none;
}

/* ---------- Logo Strip ---------- */
.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
    opacity: 0.4;
}
.logo-strip:hover { opacity: 0.7; }

/* ---------- Massive Animation Keyframes ---------- */
@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes heroLineReveal {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes loaderProgress {
    0% { width: 0%; }
    30% { width: 45%; }
    60% { width: 75%; }
    85% { width: 92%; }
    100% { width: 100%; }
}
@keyframes loaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.6); }
}

@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes tokenFloat {
    0%, 100% { transform: translateY(0) rotateX(10deg); }
    50% { transform: translateY(-20px) rotateX(-10deg); }
}

@keyframes tokenSpin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes tokenEdgePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

@keyframes gridPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes scanDown {
    0% { top: -5%; }
    100% { top: 105%; }
}

@keyframes bgDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-20px, -15px); }
}

@keyframes dataFlow {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes morphBlob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { border-radius: 60% 30% 60% 40% / 60% 40% 30% 70%; }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(10px); }
    60% { transform: translateX(-50%) translateY(5px); }
}

/* Entrance animation for 3D card flip */
@keyframes cardFlipIn {
    from {
        opacity: 0;
        transform: perspective(600px) rotateY(15deg) translateY(30px);
    }
    to {
        opacity: 1;
        transform: perspective(600px) rotateY(0deg) translateY(0);
    }
}

@keyframes slideInStagger {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---------- Scroll Animation Classes ---------- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* 3D reveal */
.reveal-3d {
    opacity: 0;
    transform: perspective(800px) rotateY(10deg) translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-3d.visible {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg) translateY(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* ---------- Special Components ---------- */

/* Glowing number */
.glow-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--clr-heading);
    text-shadow: 0 0 40px rgba(108, 99, 255, 0.2);
}

/* Animated border card */
.animated-border {
    position: relative;
    overflow: hidden;
}
.animated-border::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(108,99,255,0.15), transparent 30%);
    animation: rotate 6s linear infinite;
    z-index: 0;
}
.animated-border::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--clr-bg-elevated);
    border-radius: calc(var(--border-radius) - 1px);
    z-index: 0;
}
.animated-border > * { position: relative; z-index: 1; }

/* Particle trail on mouse */
.particle-trail {
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
}
.trail-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--clr-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ---------- UNP Token Page Specific ---------- */
.token-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.token-orbit {
    position: absolute;
    border: 1px solid rgba(108, 99, 255, 0.06);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}
.token-orbit:nth-child(2) { animation-direction: reverse; animation-duration: 30s; }
.token-orbit:nth-child(3) { animation-duration: 25s; }

.orbit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-primary);
    box-shadow: 0 0 12px var(--clr-primary-glow);
}

/* Network visualization nodes */
.network-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.3);
    animation: float 4s ease-in-out infinite;
}

/* Big number display */
.big-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--clr-heading);
    letter-spacing: -0.04em;
    line-height: 1;
}

/* Metric cards row */
.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}
.metric-card {
    background: var(--clr-bg-card);
    border: var(--border-subtle);
    border-radius: var(--border-radius);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.metric-card:hover {
    border-color: rgba(108, 99, 255, 0.2);
    transform: translateY(-4px);
}
.metric-card-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--clr-heading);
    margin-bottom: var(--space-xs);
}
.metric-card-label {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Flowing lines background */
.flow-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.flow-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.08), transparent);
    animation: flowAcross 8s linear infinite;
}
@keyframes flowAcross {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { gap: var(--space-xl); }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .mobile-toggle { display: flex; }
    .btn-primary-nav { display: none; }
    .btn-wallet-nav { display: none; }
    .site-header {
        background: rgba(2, 2, 5, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: var(--space-sm) 0;
    }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: var(--space-lg); }
    .hero { min-height: auto; padding: var(--space-5xl) var(--space-md) var(--space-3xl); }
    .section { padding: var(--space-3xl) 0; }
    .section-header { margin-bottom: var(--space-2xl); }
    .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table th, .comparison-table td { padding: var(--space-sm); }
    .cursor-dot, .cursor-ring { display: none; }
    .metric-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .bc-graphic { transform: scale(0.7); }
}

/* ============================================================
   CANVAS BLOCKCHAIN ANIMATIONS (blockchain-graphics.js)
   Large impressive animated canvases
   ============================================================ */

/* Container base */
[data-bc-anim] {
    position: relative;
    overflow: hidden;
}
[data-bc-anim] canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Full-section background overlay */
.bc-anim-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}
.bc-anim-bg + .container,
.bc-anim-bg ~ .container {
    position: relative;
    z-index: 1;
}

/* Large side decoration */
.bc-anim-side {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: 500px;
    height: 500px;
    opacity: 0.4;
}
.bc-anim-side.left  { left: -60px; top: 50%; transform: translateY(-50%); }
.bc-anim-side.right { right: -60px; top: 50%; transform: translateY(-50%); }

/* Full-width strip between sections */
.bc-anim-strip {
    width: 100%;
    height: 220px;
    pointer-events: none;
    overflow: hidden;
    margin: -40px 0;
    position: relative;
    z-index: 1;
    opacity: 0.45;
}

/* Centered showcase (CTA etc) */
.bc-anim-showcase {
    width: 100%;
    max-width: 700px;
    height: 400px;
    margin: 0 auto var(--space-xl);
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 1200px) {
    .bc-anim-side { width: 400px; height: 400px; }
}
@media (max-width: 1024px) {
    .bc-anim-side { width: 300px; height: 300px; opacity: 0.25; }
    .bc-anim-strip { height: 160px; opacity: 0.35; }
    .bc-anim-showcase { height: 300px; opacity: 0.4; }
}
@media (max-width: 768px) {
    .bc-anim-side { display: none; }
    .bc-anim-strip { height: 120px; margin: -20px 0; }
    .bc-anim-showcase { height: 220px; }
}

/* ============================================================
   BLOCKCHAIN GRAPHICAL OBJECTS (legacy CSS – kept for compat)
   Animated SVG & CSS blockchain-themed visuals
   ============================================================ */

/* --- Container for inline blockchain graphics --- */
.bc-graphic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
}
.bc-graphic svg { overflow: visible; }

/* --- 1) ANIMATED BLOCK CHAIN (3 connected blocks) --- */
.bc-blocks {
    width: 360px;
    height: 120px;
}
.bc-block-rect {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1;
    rx: 8;
    transition: all 0.4s ease;
}
.bc-blocks:hover .bc-block-rect {
    fill: rgba(255, 255, 255, 0.06);
    stroke: rgba(255, 255, 255, 0.3);
}
.bc-block-hash {
    font-family: var(--font-mono);
    font-size: 7px;
    fill: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.5px;
}
.bc-block-label {
    font-family: var(--font-heading);
    font-size: 10px;
    fill: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}
.bc-block-num {
    font-family: var(--font-heading);
    font-size: 16px;
    fill: rgba(255, 255, 255, 0.85);
    font-weight: 800;
}
.bc-chain-line {
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1;
    stroke-dasharray: 4 3;
}
.bc-chain-dot {
    fill: rgba(255, 255, 255, 0.6);
    r: 3;
}
.bc-chain-flow {
    fill: #fff;
    r: 2.5;
    opacity: 0.7;
}
@keyframes blockChainFlow1 {
    0%   { cx: 116; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { cx: 140; opacity: 0; }
}
@keyframes blockChainFlow2 {
    0%   { cx: 236; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { cx: 260; opacity: 0; }
}
.bc-flow-1 { animation: blockChainFlow1 1.8s ease-in-out infinite; }
.bc-flow-2 { animation: blockChainFlow2 1.8s ease-in-out infinite 0.9s; }

/* Block glow pulse */
.bc-block-glow {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
    rx: 8;
    animation: blockGlow 3s ease-in-out infinite;
}
.bc-block-glow:nth-child(2) { animation-delay: 1s; }
.bc-block-glow:nth-child(3) { animation-delay: 2s; }
@keyframes blockGlow {
    0%, 100% { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
    50% { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.5; }
}

/* --- 2) 3D WIREFRAME CUBE --- */
.bc-cube-wrap {
    width: 160px;
    height: 160px;
    perspective: 600px;
}
.bc-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 12s linear infinite;
}
.bc-cube-face {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 30px;
    left: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bc-cube-face span {
    font-family: var(--font-mono);
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    line-height: 1.4;
}
.bc-cube-face.front  { transform: translateZ(50px); }
.bc-cube-face.back   { transform: rotateY(180deg) translateZ(50px); }
.bc-cube-face.right  { transform: rotateY(90deg) translateZ(50px); }
.bc-cube-face.left   { transform: rotateY(-90deg) translateZ(50px); }
.bc-cube-face.top    { transform: rotateX(90deg) translateZ(50px); }
.bc-cube-face.bottom { transform: rotateX(-90deg) translateZ(50px); }
@keyframes cubeRotate {
    0%   { transform: rotateX(-15deg) rotateY(0deg); }
    100% { transform: rotateX(-15deg) rotateY(360deg); }
}

/* --- 3) NODE NETWORK MESH --- */
.bc-mesh {
    width: 300px;
    height: 220px;
}
.bc-mesh-node {
    r: 4;
    fill: rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}
.bc-mesh-node.active {
    fill: rgba(255, 255, 255, 0.7);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}
.bc-mesh-line {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 0.6;
}
.bc-mesh-pulse {
    r: 4;
    fill: rgba(255, 255, 255, 0.8);
    opacity: 0;
}
@keyframes meshPulseA {
    0%   { opacity: 0; cx: 60; cy: 40; }
    10%  { opacity: 0.8; }
    50%  { cx: 150; cy: 110; }
    90%  { opacity: 0.8; }
    100% { opacity: 0; cx: 240; cy: 60; }
}
@keyframes meshPulseB {
    0%   { opacity: 0; cx: 240; cy: 170; }
    10%  { opacity: 0.8; }
    50%  { cx: 150; cy: 110; }
    90%  { opacity: 0.8; }
    100% { opacity: 0; cx: 60; cy: 170; }
}
.bc-mesh-pulse-a { animation: meshPulseA 3s ease-in-out infinite; }
.bc-mesh-pulse-b { animation: meshPulseB 3s ease-in-out infinite 1.5s; }

/* Node glow ring */
.bc-node-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 0.5;
}
@keyframes nodeRingPulse {
    0%, 100% { r: 6; opacity: 0.3; }
    50% { r: 12; opacity: 0; }
}

/* --- 4) HASH STREAM (vertical flowing hex) --- */
.bc-hash-stream {
    position: relative;
    width: 200px;
    height: 300px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}
.bc-hash-col {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    animation: hashScroll 12s linear infinite;
    white-space: nowrap;
}
.bc-hash-col:nth-child(1) { left: 0; animation-duration: 14s; }
.bc-hash-col:nth-child(2) { left: 50px; animation-duration: 11s; animation-delay: -3s; }
.bc-hash-col:nth-child(3) { left: 100px; animation-duration: 16s; animation-delay: -7s; }
.bc-hash-col:nth-child(4) { left: 150px; animation-duration: 13s; animation-delay: -5s; }
.bc-hash-col .bright {
    color: rgba(255, 255, 255, 0.3);
}
@keyframes hashScroll {
    0%   { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* --- 5) CONSENSUS RING --- */
.bc-consensus {
    width: 240px;
    height: 240px;
}
.bc-consensus-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
    stroke-dasharray: 3 5;
    animation: rotate 30s linear infinite;
    transform-origin: 120px 120px;
}
.bc-consensus-node {
    r: 6;
    fill: rgba(255, 255, 255, 0.1);
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1;
    transition: all 0.3s ease;
}
.bc-consensus-node.validating {
    fill: rgba(255, 255, 255, 0.7);
    stroke: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}
.bc-consensus-check {
    font-size: 8px;
    fill: #fff;
    text-anchor: middle;
    dominant-baseline: central;
    opacity: 0;
}
.bc-consensus-check.show { opacity: 1; }

/* Validation wave animation */
@keyframes consensusValidate {
    0%, 15%  { fill: rgba(255, 255, 255, 0.1); r: 6; }
    30%, 70% { fill: rgba(255, 255, 255, 0.6); r: 8; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)); }
    85%, 100%{ fill: rgba(34, 197, 94, 0.5); r: 7; }
}
.bc-validate-1 { animation: consensusValidate 4s ease-in-out infinite; }
.bc-validate-2 { animation: consensusValidate 4s ease-in-out infinite 0.5s; }
.bc-validate-3 { animation: consensusValidate 4s ease-in-out infinite 1s; }
.bc-validate-4 { animation: consensusValidate 4s ease-in-out infinite 1.5s; }
.bc-validate-5 { animation: consensusValidate 4s ease-in-out infinite 2s; }
.bc-validate-6 { animation: consensusValidate 4s ease-in-out infinite 2.5s; }

/* Center confirmed text */
.bc-consensus-center {
    font-family: var(--font-heading);
    font-size: 9px;
    fill: rgba(255, 255, 255, 0.4);
    text-anchor: middle;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: fadeInOut 4s ease-in-out infinite;
}
@keyframes fadeInOut {
    0%, 20% { opacity: 0.3; }
    60%, 80% { opacity: 1; fill: rgba(255, 255, 255, 0.8); }
    100% { opacity: 0.3; }
}

/* --- 6) TRANSACTION FLOW --- */
.bc-tx-flow {
    width: 320px;
    height: 80px;
}
.bc-tx-wallet {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1;
    rx: 10;
}
.bc-tx-icon {
    font-size: 16px;
    fill: rgba(255, 255, 255, 0.6);
    text-anchor: middle;
    dominant-baseline: central;
}
.bc-tx-label {
    font-family: var(--font-heading);
    font-size: 8px;
    fill: rgba(255, 255, 255, 0.4);
    text-anchor: middle;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.bc-tx-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
    stroke-dasharray: 4 3;
}
.bc-tx-dot {
    r: 3;
    fill: rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
}
@keyframes txDotFlow {
    0%   { offset-distance: 0%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}
/* Fallback for browsers without offset-path */
@keyframes txDotFlowFallback {
    0%   { cx: 70; opacity: 0; }
    10%  { opacity: 1; }
    50%  { cx: 160; cy: 20; }
    90%  { opacity: 1; }
    100% { cx: 250; opacity: 0; }
}
.bc-tx-dot-anim {
    animation: txDotFlowFallback 2.5s ease-in-out infinite;
}
.bc-tx-dot-anim2 {
    animation: txDotFlowFallback 2.5s ease-in-out infinite 1.25s;
}

/* --- 7) STAKING VISUAL --- */
.bc-staking {
    width: 200px;
    height: 200px;
}
.bc-stake-layer {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 0.8;
}
.bc-stake-coin {
    fill: rgba(255, 255, 255, 0.7);
    opacity: 0.6;
}
@keyframes stakeCoinDrop {
    0%   { cy: 20; opacity: 0; r: 4; }
    30%  { opacity: 0.8; }
    100% { cy: 80; opacity: 0; r: 3; }
}
.bc-stake-drop-1 { animation: stakeCoinDrop 2.5s ease-in infinite; }
.bc-stake-drop-2 { animation: stakeCoinDrop 2.5s ease-in infinite 0.8s; }
.bc-stake-drop-3 { animation: stakeCoinDrop 2.5s ease-in infinite 1.6s; }

/* Reward upward */
@keyframes stakeReward {
    0%   { cy: 140; opacity: 0; }
    30%  { opacity: 0.6; }
    100% { cy: 60; opacity: 0; }
}
.bc-stake-reward-1 { animation: stakeReward 3s ease-out infinite 0.5s; fill: rgba(255, 255, 255, 0.6); r: 3; }
.bc-stake-reward-2 { animation: stakeReward 3s ease-out infinite 1.5s; fill: rgba(255, 255, 255, 0.5); r: 2.5; }

/* --- 8) SUPPLY CHAIN (token distribution flow) --- */
.bc-supply {
    width: 340px;
    height: 160px;
}
.bc-supply-source {
    fill: rgba(255, 255, 255, 0.04);
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1;
}
.bc-supply-branch {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 0.8;
    stroke-dasharray: 3 4;
}
.bc-supply-dot {
    r: 2.5;
    fill: rgba(255, 255, 255, 0.7);
    opacity: 0;
}
@keyframes supplyFlow1 {
    0%   { opacity: 0; }
    20%  { opacity: 0.8; }
    80%  { opacity: 0.8; }
    100% { opacity: 0; }
}

/* --- Placement helpers --- */
.bc-section-graphic {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}
.bc-section-graphic.left { left: -20px; }
.bc-section-graphic.right { right: -20px; }
.bc-section-graphic.top { top: 40px; }
.bc-section-graphic.bottom { bottom: 40px; }

@media (max-width: 1024px) {
    .bc-section-graphic { opacity: 0.45; }
}
@media (max-width: 768px) {
    .bc-section-graphic { display: none; }
    .bc-graphic-inline { transform: scale(0.8); }
}
