:root {
    /* Cyberpunk Night Market Palette (Dark Mode First) */
    --c-black: #000000;
    --c-charcoal: #0c0c0c;
    --c-obsidian: #0a0a0a;

    /* Theme Accents */
    --c-lime: #ccff00;
    --c-emerald: #10b981;

    /* Text Colors */
    --c-white: #ebebeb;
    --c-white-60: rgba(235, 235, 235, 0.60);
    --c-white-30: rgba(235, 235, 235, 0.30);
    --c-gray: var(--c-white-60);

    /* Legacy Map for existing neon classes */
    --c-cyan: var(--c-emerald);
    --c-magenta: var(--c-lime);
    --c-red: #ff2a2a;
    --c-amber: var(--c-lime);
    --c-ultraviolet: #7d00ff;

    /* Typography */
    --font-zh: 'Space Grotesk', 'Noto Sans SC', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout and Animation */
    --container-max: 1200px;
    --ease-cyber: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--c-black);
    color: var(--c-white);
    font-family: var(--font-zh);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-zh);
    font-weight: 700;
    letter-spacing: -0.06em;
}

/* Base Utility Classes */
.text-cyan {
    color: var(--c-cyan);
}

.text-magenta {
    color: var(--c-magenta);
}

.text-amber {
    color: var(--c-amber);
}

.text-glow {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Glitch / Tech Accents */
.border-tech {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.border-tech::before,
.border-tech::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-color: var(--c-cyan);
    border-style: solid;
}

.border-tech::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.border-tech::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

/* Global Additions & Decorative Elements */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -20;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.glow-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    -webkit-filter: blur(120px);
    z-index: -10;
    opacity: 0.5;
    pointer-events: none;
    animation: float 10s ease-in-out infinite alternate;
}

.glow-sphere.lime {
    background: var(--c-lime);
}

.glow-sphere.emerald {
    background: var(--c-emerald);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, -30px);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: padding 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background-color: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* slight neon reflection border */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--c-cyan), var(--c-magenta));
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg>') no-repeat center / contain;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 32px;
    }

    .nav-links a {
        color: var(--c-gray);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.3s;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .nav-links a:hover {
        color: var(--c-white);
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 2px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--c-white);
    color: var(--c-black);
    border: 1px solid var(--c-white);
}

.btn-primary.glow-magenta {
    background: var(--c-white);
}

.btn-primary.glow-magenta:hover {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    border-color: var(--c-magenta);
    background: var(--c-magenta);
    color: var(--c-white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--c-cyan);
    color: var(--c-cyan);
    box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.1);
}

.btn-secondary .arrow {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn-secondary:hover .arrow {
    transform: translateY(3px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--c-white);
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-outline.glow-cyan:hover {
    border-color: var(--c-cyan);
    color: var(--c-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3), inset 0 0 10px rgba(0, 243, 255, 0.2);
}

/* LightBeam Button Implementation */
@property --beam-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes border-spin {
    from {
        --beam-angle: 0deg;
    }

    to {
        --beam-angle: 360deg;
    }
}

.btn-lightbeam {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 9999px;
    background-color: var(--c-charcoal);
    color: var(--c-white);
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px -5px rgba(255, 0, 255, 0.3);
}

.btn-lightbeam:hover {
    background-color: var(--c-black);
    transform: scale(1.02);
    box-shadow: 0 0 25px -5px rgba(255, 0, 255, 0.5);
}

.btn-lightbeam:active {
    transform: scale(0.98);
}

.btn-lightbeam-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-lightbeam-border {
    position: absolute;
    inset: 0;
    z-index: -10;
    border-radius: 9999px;
    padding: 1px;
    /* border thickness */
    animation: border-spin 2s linear infinite;
    /* Default Violet -> Cyan -> Violet mapped to our brand colors Magenta -> Cyan -> Magenta */
    background: conic-gradient(from var(--beam-angle), transparent 0%, var(--c-magenta) 40%, var(--c-cyan) 50%, transparent 60%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.btn-lightbeam-bg {
    position: absolute;
    inset: 1px;
    z-index: -10;
    border-radius: 9999px;
    background-color: var(--c-charcoal);
}

.btn-lightbeam-shine {
    position: absolute;
    inset: 0;
    z-index: -10;
    background: radial-gradient(circle at 50% 0%, rgba(255, 0, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}

.btn-lightbeam:hover .btn-lightbeam-shine {
    opacity: 1;
}

/* Hero Section Layered Redesign */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.5) 50%, rgba(10, 10, 12, 0.8) 100%);
    z-index: 10;
}

.hero-scan-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 15;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 20;
    width: 100%;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

@media (min-width: 1000px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
    }
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    margin-bottom: 24px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.blink {
    animation: blink-anim 2s infinite;
}

@keyframes blink-anim {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.title-version {
    display: inline-block;
    vertical-align: top;
    transform: translateY(-5px);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.system-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 48px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--c-white);
}

.chip-icon {
    margin-right: 8px;
    font-size: 1rem;
}

/* Floating HUD Component */
.hero-visual-col {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hud-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hud-route-lines {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJncmlkIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxwYXRoIGQ9Ik0gNDAgMCBMIDAgMCAwIDQwIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyaWQpIi8+PC9zdmc+');
    mix-blend-mode: screen;
}

.hud-mockup {
    width: 340px;
    padding: 24px;
    border-radius: 16px;
    position: relative;
    z-index: 10;
}

.box-shadow-cyan {
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.15), inset 0 0 20px rgba(0, 243, 255, 0.05);
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hud-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.hud-body {
    text-align: center;
}

.hud-amount {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.currency {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 4px;
}

.hud-conversion {
    font-size: 0.85rem;
    margin-top: 8px;
    opacity: 0.8;
}

.hud-scan-line {
    width: 100%;
    height: 3px;
    background-color: var(--c-cyan);
    margin: 40px 0;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.8);
    opacity: 0.7;
}

.scan-anim {
    animation: scan-vertical 2s ease-in-out infinite alternate;
}

@keyframes scan-vertical {
    0% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(15px);
    }
}

.hud-tx-pulse {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pulse-wrapper {
    position: relative;
    width: 12px;
    height: 12px;
}

.pulse-dot {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-lime);
}

.pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--c-lime);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.pulse-status {
    font-size: 0.8rem;
}

.hud-float-chip {
    position: absolute;
    padding: 12px 16px;
    border-radius: 8px;
    z-index: 20;
    text-align: left;
}

.hud-float-label {
    font-size: 0.65rem;
    margin-bottom: 4px;
}

.hud-float-value {
    font-size: 1rem;
    font-weight: 600;
}

.float-animation-1 {
    animation: float 6s ease-in-out infinite;
}

.float-animation-2 {
    animation: float 7s ease-in-out infinite reverse;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.badge.glow-magenta {
    color: #ffb8ff;
    border-color: rgba(255, 0, 255, 0.4);
    background: rgba(255, 0, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--c-gray);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-strip .dot {
    color: var(--c-magenta);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 16px;
        margin-bottom: 32px;
    }

    .btn {
        width: 100%;
    }

    .trust-strip {
        gap: 12px;
        font-size: 0.8rem;
    }
}

/* Sections General */
.section {
    padding: 120px 24px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-darker {
    background: var(--c-charcoal);
}

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

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--c-white), rgba(255, 255, 255, 0.6));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--c-gray);
    letter-spacing: 0.5px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 32px;
    border-radius: 4px;
    transition: transform 0.3s var(--ease-cyber), box-shadow 0.3s var(--ease-cyber), border-color 0.3s var(--ease-cyber);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-icon.glow-cyan {
    color: var(--c-cyan);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.2);
}

.feature-icon.glow-magenta {
    color: var(--c-magenta);
    box-shadow: inset 0 0 20px rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.2);
}

.feature-icon.glow-amber {
    color: var(--c-amber);
    box-shadow: inset 0 0 20px rgba(255, 176, 0, 0.1);
    border-color: rgba(255, 176, 0, 0.2);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-desc {
    color: var(--c-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 3. Transaction Rail */
.rail-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.rail-line {
    position: absolute;
    left: 19px;
    /* align with center of node (40px width -> 20px) */
    top: 10px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--c-magenta), var(--c-cyan), var(--c-amber), var(--c-ultraviolet));
    opacity: 0.3;
}

.rail-step {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    position: relative;
}

.rail-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-black);
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
    left: -20px;
    /* pull back over the line */
}

.rail-node::after {
    content: '';
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: -5px;
    right: -5px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.rail-node.glow-magenta {
    color: var(--c-magenta);
    border-color: var(--c-magenta);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

.rail-node.glow-cyan {
    color: var(--c-cyan);
    border-color: var(--c-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.rail-node.glow-amber {
    color: var(--c-amber);
    border-color: var(--c-amber);
    box-shadow: 0 0 15px rgba(255, 176, 0, 0.4);
}

.rail-node.glow-purple {
    color: var(--c-ultraviolet);
    border-color: var(--c-ultraviolet);
    box-shadow: 0 0 15px rgba(125, 0, 255, 0.4);
}

.rail-content {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
    padding: 24px 32px;
    border-radius: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    flex-grow: 1;
    transition: all 0.3s;
}

.rail-step:hover .rail-content {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
    border-left-color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.rail-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--c-white);
}

.rail-content p {
    color: var(--c-gray);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .rail-container {
        padding-left: 30px;
    }

    .rail-line {
        left: 9px;
    }

    .rail-node {
        width: 30px;
        height: 30px;
        left: -15px;
        font-size: 0.8rem;
    }

    .rail-step {
        gap: 16px;
    }

    .rail-content {
        padding: 16px 20px;
    }
}

/* 4. Bento Grid (Discovery) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-content {
    padding: 32px;
    z-index: 10;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.justify-end {
    justify-content: flex-end;
}

.bento-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.bento-content p {
    color: var(--c-gray);
    font-size: 1rem;
    max-width: 80%;
}

.icon-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid currentColor;
}

.icon-ring svg {
    width: 24px;
    height: 24px;
}

.map-bg {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%25" height="100%25"><rect width="100%25" height="100%25" fill="%23050505"/><path d="M0 50 Q100 150 200 50 T400 50 T600 50" stroke="%23ff00ff" fill="none" stroke-width="2" stroke-dasharray="5,5" opacity="0.3"/><circle cx="200" cy="50" r="10" fill="none" stroke="%2300f3ff" stroke-width="2"/><circle cx="200" cy="50" r="3" fill="%2300f3ff"/></svg>') cover;
    background-size: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.2));
}

.placeholder-food {
    background: linear-gradient(to top, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.1) 100%),
        radial-gradient(circle at center, rgba(255, 176, 0, 0.15) 0%, var(--c-charcoal) 70%);
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(240px, auto);
    }

    .bento-large {
        grid-column: 1;
        grid-row: span 1;
    }
}

/* 5. Prototype Showcase */
.mockup-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Simulated Phone UI */
.phone-frame {
    width: 340px;
    height: 720px;
    background: var(--c-charcoal);
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), -10px -10px 40px rgba(255, 0, 255, 0.1), 10px 10px 40px rgba(0, 243, 255, 0.1);
    flex-shrink: 0;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #020202;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ui-header {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--c-white);
    opacity: 0.8;
}

.ui-body {
    flex-grow: 1;
    padding: 0 24px;
    overflow-y: auto;
}

.ui-balance-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
}

.ui-label {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ui-hero-text {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.ui-subtext {
    color: var(--c-gray);
    font-size: 0.9rem;
}

.ui-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 32px 0;
}

.ui-btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.ui-btn-circle svg {
    width: 22px;
    height: 22px;
}

.ui-btn-circle.glow-magenta {
    border-color: rgba(255, 0, 255, 0.3);
    color: var(--c-magenta);
}

.ui-btn-circle.glow-amber {
    border-color: rgba(255, 176, 0, 0.3);
    color: var(--c-amber);
}

.ui-btn-main {
    flex-grow: 1;
    margin: 0 16px;
    height: 54px;
    background: var(--c-cyan);
    border-radius: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    gap: 8px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    color: #000;
}

.ui-btn-main svg {
    width: 20px;
    height: 20px;
}

.ui-tx-history {
    margin-top: 24px;
}

.ui-tx-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ui-tx-item:last-child {
    border-bottom: none;
}

.ui-tx-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 16px;
}

.ui-tx-info {
    flex-grow: 1;
}

.ui-tx-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.ui-tx-time {
    font-size: 0.8rem;
    color: var(--c-gray);
}

.ui-tx-amount {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
}

.ui-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 20px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--c-black);
}

.ui-nav-item {
    color: var(--c-gray);
    opacity: 0.6;
}

.ui-nav-item.active {
    color: var(--c-cyan);
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.ui-nav-item svg {
    width: 24px;
    height: 24px;
}

.prototype-context {
    max-width: 400px;
}

.prototype-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prototype-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.prototype-highlights strong {
    color: var(--c-white);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.glow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 10px currentColor;
}

.glow-dot.cyan {
    background: var(--c-cyan);
    color: var(--c-cyan);
}

.glow-dot.magenta {
    background: var(--c-magenta);
    color: var(--c-magenta);
}

.glow-dot.amber {
    background: var(--c-amber);
    color: var(--c-amber);
}

@media (max-width: 900px) {
    .mockup-showcase {
        flex-direction: column;
        text-align: left;
    }

    .prototype-context {
        max-width: 100%;
        padding: 0 24px;
    }
}

/* 6 & 7. Split Layout (Solana & Token) */
.split-layout {
    display: flex;
    gap: 60px;
    justify-content: space-between;
    align-items: stretch;
}

.split-content {
    flex: 1;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-left {
    text-align: left;
    background: none;
    -webkit-text-fill-color: var(--c-white);
}

.benefit-list {
    list-style: none;
    margin-top: 32px;
}

.benefit-list li {
    margin-bottom: 24px;
    color: var(--c-gray);
    line-height: 1.6;
}

.benefit-list strong {
    color: var(--c-cyan);
    font-family: var(--font-mono);
    font-size: 1.1em;
    display: inline-block;
    margin-bottom: 4px;
}

.token-box {
    margin-top: 32px;
    padding: 32px;
    background: rgba(255, 176, 0, 0.03);
    border-radius: 8px;
}

.token-box p {
    margin-bottom: 16px;
    color: var(--c-white);
    font-weight: 500;
}

.token-box ul {
    list-style: none;
}

.token-box li {
    margin-bottom: 12px;
    color: var(--c-gray);
}

@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
    }
}

/* 10. FAQ (Translated from React FAQ-2) */
.faq-2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .faq-2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-2-item {
    border-radius: 16px;
    padding: 20px;
    background: rgba(10, 10, 12, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s var(--ease-cyber);
    overflow: hidden;
}

.faq-2-item:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.faq-2-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--c-white);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.faq-2-num {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.faq-2-q {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.faq-2-icon {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.faq-2-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s var(--ease-cyber);
}

.faq-2-item.active .faq-2-answer-wrap {
    grid-template-rows: 1fr;
    margin-top: 12px;
}

.faq-2-item.active .faq-2-icon {
    content: "–";
}

.faq-2-answer {
    min-height: 0;
    overflow: hidden;
}

.faq-2-answer p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.faq-footer {
    margin-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* 11. Footer */
.footer {
    padding: 80px 24px 40px;
    background: #000;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

.brand-statement {
    color: var(--c-gray);
    margin-top: 16px;
    max-width: 300px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group h4 {
    margin-bottom: 20px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-white);
}

.link-group a {
    display: block;
    color: var(--c-gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s, transform 0.3s;
}

.link-group a:hover {
    color: var(--c-cyan);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: var(--container-max);
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--c-white);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

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

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

    .footer-legal a {
        margin: 0 10px;
    }
}

/* 12. Advanced Cyberpunk Design System Additions */
.qr-corners {
    position: relative;
}

.qr-corners::before,
.qr-corners::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--c-cyan);
    pointer-events: none;
    z-index: 10;
    opacity: 0.7;
}

.qr-corners::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.qr-corners::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.holographic-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 50%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.holographic-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 100% 0%, rgba(0, 243, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(255, 0, 255, 0.1) 0%, transparent 40%);
    mix-blend-mode: color-dodge;
}

.wet-reflection {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 10px 30px -10px rgba(0, 0, 0, 0.5),
        0 4px 6px -2px rgba(0, 0, 0, 0.4);
}

.route-divider {
    height: 1px;
    width: 100%;
    position: relative;
    margin: 40px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.route-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--c-cyan);
    box-shadow: 0 0 10px var(--c-cyan);
}

.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.glitch-text::before {
    left: 1px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -1px;
    text-shadow: -1px 0 cyan;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(35px, 550px, 11px, 0);
    }

    100% {
        clip: rect(10px, 550px, 20px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 550px, 100px, 0);
    }

    100% {
        clip: rect(15px, 550px, 80px, 0);
    }
}

/* Live Market Route Map */
.route-map-container {
    width: 100%;
    height: 400px;
    background: #050505;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.merchant-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.node-dot {
    width: 12px;
    height: 12px;
    background: var(--c-lime);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--c-lime);
    animation: pulse-node 2s infinite;
}

.merchant-node.secondary .node-dot {
    background: var(--c-cyan);
    box-shadow: 0 0 15px var(--c-cyan);
}

.node-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes pulse-node {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 10px currentColor;
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 10px currentColor;
    }
}

.map-route-line {
    position: absolute;
    border: 2px dashed rgba(0, 243, 255, 0.3);
    pointer-events: none;
}

/* Scan Beam Effect */
.scan-beam-container {
    position: relative;
    width: 100%;
    height: 300px;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 24px;
}

.scan-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.scan-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(0, 243, 255, 0.2), var(--c-cyan));
    animation: scan-down 3s ease-in-out infinite alternate;
}

.scan-beam::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--c-white);
    box-shadow: 0 0 15px var(--c-cyan);
}

@keyframes scan-down {
    0% {
        transform: translateY(-60px);
    }

    100% {
        transform: translateY(300px);
    }
}

/* Loyalty Stamps */
.stamp-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.stamp-slot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stamp-filled {
    border-style: solid;
    border-color: var(--c-magenta);
    background: rgba(255, 0, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.stamp-filled::after {
    content: '★';
    color: var(--c-magenta);
    font-size: 1.5rem;
}

/* Social Proof Slider */
.social-proof-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.social-proof-scroll::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 320px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-gray);
}

.testimonial-body {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}