/* ================================================================
   SourceXPro — Premium Fintech Landing Page
   Dark Futuristic + Glassmorphism
   Apple / Stripe / Vercel / Linear inspired
   ================================================================ */

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

:root {
    --black: #000000;
    --bg: #050608;
    --bg-surface: #0a0c10;
    --bg-elevated: #0f1117;
    --bg-card: #0c0e14;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(2, 245, 160, 0.15);

    --white: #ffffff;
    --text: #ffffff;
    --text-2: #9ca3b4;
    --text-3: #5a6172;
    --text-4: #353a47;

    --accent: #02f5a0;
    --accent-dim: rgba(2, 245, 160, 0.08);
    --accent-glow: rgba(2, 245, 160, 0.15);
    --green: #00e68a;
    --green-dim: rgba(0, 230, 138, 0.08);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.45, 0, 0.55, 1);

    --container: 1200px;
    --nav-h: 72px;
}

html {
    scroll-behavior: initial; /* Lenis handles smooth scroll */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

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

/* ========== BACKGROUND LAYERS ========== */
#particleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.grid-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ========== GLASSMORPHISM ========== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
}

.glass-card-inner {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.glass-panel {
    background: rgba(10, 12, 18, 0.7);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    border-radius: var(--radius-lg);
}

.glass-card-hover {
    position: relative;
    overflow: hidden;
}

.glass-card-hover::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(2, 245, 160, 0.04),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
    pointer-events: none;
}

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

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    transition: background 0.5s var(--ease), backdrop-filter 0.5s, border-color 0.5s;
}

.nav.scrolled {
    background: rgba(5, 6, 8, 0.7);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid var(--border);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    z-index: 10;
}

.nav-logo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(2, 245, 160, 0.4));
    transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
    animation: logoBreath 3s ease-in-out infinite;
}

@keyframes logoBreath {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(2, 245, 160, 0.3)) drop-shadow(0 0 20px rgba(2, 245, 160, 0.1));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(2, 245, 160, 0.6)) drop-shadow(0 0 30px rgba(2, 245, 160, 0.2));
    }
}

.nav-logo-center:hover .nav-logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 16px rgba(2, 245, 160, 0.7)) drop-shadow(0 0 40px rgba(2, 245, 160, 0.3));
    animation: none;
}

.nav-logo-center:hover .logo-light-sweep {
    opacity: 1;
}

/* White light passing through logo lines — animated via GSAP in main.js */
.logo-light-sweep {
    position: absolute;
    width: 54px;
    height: 54px;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
    -webkit-mask-image: url('../img/logobig.png');
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('../img/logobig.png');
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
}

.logo-light-sweep .light-beam {
    position: absolute;
    top: -20%;
    left: -60%;
    width: 30%;
    height: 140%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255,255,255,0.15) 25%,
        rgba(255,255,255,0.8) 45%,
        #fff 50%,
        rgba(255,255,255,0.8) 55%,
        rgba(255,255,255,0.15) 75%,
        transparent 100%
    );
    filter: blur(1px);
}

.logo-glow {
    position: absolute;
    width: 54px;
    height: 54px;
    pointer-events: none;
    -webkit-mask-image: url('../img/logobig.png');
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('../img/logobig.png');
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0.3;
}

/* ========== PAGE TRANSITION OVERLAY ========== */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    overflow: hidden;
    visibility: hidden;
}

.page-transition-overlay .transition-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    object-fit: contain;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    filter: drop-shadow(0 0 24px rgba(2, 245, 160, 0.9)) drop-shadow(0 0 60px rgba(2, 245, 160, 0.5));
    z-index: 3;
}

.page-transition-overlay .transition-wipe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 245, 160, 0.06) 0%, var(--bg) 40%);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.page-transition-overlay .transition-flash {
    position: absolute;
    inset: 0;
    background: rgba(2, 245, 160, 0);
    z-index: 1;
}

.nav-links {
    display: flex;
    gap: 0.15rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.825rem;
    font-weight: 400;
    color: var(--text-2);
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    transition: color 0.3s, background 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease), left 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%; left: 20%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,0.04);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
}
.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown-trigger::after {
    content: '';
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.4;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-dropdown:hover .nav-dropdown-trigger::after {
    transform: rotate(180deg);
    opacity: 0.8;
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    padding: 8px;
    background: rgba(12, 14, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s var(--ease);
    z-index: 100;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0; right: 0;
    height: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-2);
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}
.nav-dropdown-menu a .dd-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(2, 245, 160, 0.06);
    border: 1px solid rgba(2, 245, 160, 0.1);
    color: var(--accent);
}
.nav-dropdown-menu a:nth-child(2) .dd-icon {
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}
.nav-dropdown-menu a:nth-child(3) .dd-icon {
    background: rgba(168, 85, 247, 0.06);
    border-color: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}
.nav-dropdown-menu .dd-label { font-weight: 600; }
.nav-dropdown-menu .dd-desc {
    font-size: 0.65rem;
    color: var(--text-3);
    font-weight: 400;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
    z-index: 10;
}

.btn-text {
    font-size: 0.825rem;
    color: var(--text-2);
    padding: 0.5rem 0.9rem;
    transition: color 0.3s;
}
.btn-text:hover { color: var(--white); }

/* ========== GLOW BUTTONS ========== */
@property --glow-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes glowSpin {
    from { --glow-angle: 0deg; }
    to { --glow-angle: 360deg; }
}

.btn-glow {
    font-size: 0.8rem;
    font-weight: 550;
    color: var(--black);
    background: var(--accent);
    padding: 0.55rem 1.35rem;
    border-radius: 100px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.btn-glow > span {
    position: relative;
    z-index: 3;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 100px;
    background: conic-gradient(
        from var(--glow-angle),
        var(--accent),
        #00d4ff,
        #02f5c8,
        var(--accent),
        rgba(2, 245, 160, 0.2),
        var(--accent)
    );
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s;
    animation: glowSpin 2.5s linear infinite;
    filter: blur(4px);
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: var(--accent);
    z-index: -1;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(2, 245, 160, 0.35), 0 0 60px rgba(2, 245, 160, 0.12);
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-glow:active { transform: scale(0.97) translateY(0); }

.btn-glow-outline {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    padding: 0.55rem 1.35rem;
    border-radius: 100px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s, border-color 0.35s;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-hover);
}

.btn-glow-outline > span {
    position: relative;
    z-index: 3;
}

.btn-glow-outline::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 100px;
    background: conic-gradient(
        from var(--glow-angle),
        var(--accent),
        #00d4ff,
        #02f5c8,
        var(--accent),
        transparent,
        var(--accent)
    );
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s;
    animation: glowSpin 2.5s linear infinite;
    filter: blur(4px);
}

.btn-glow-outline::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: var(--bg);
    z-index: -1;
}

.btn-glow-outline:hover {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(2, 245, 160, 0.15);
}

.btn-glow-outline:hover::before {
    opacity: 1;
}

.btn-lg { padding: 0.75rem 2rem; font-size: 0.875rem; }

/* Magnetic button wrapper */
.magnetic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 10;
}
.nav-toggle span {
    width: 20px; height: 1.5px;
    background: var(--text-2);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile Menu */
.nav-mobile-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem 1.25rem;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 999;
}

.nav-mobile-menu.open {
    display: flex;
}

.nav-mobile-menu a {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    color: var(--text-2);
    border-radius: 8px;
    transition: color 0.3s, background 0.3s;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

#heroVanta {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

#heroVanta canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: var(--accent-dim);
    border: 1px solid rgba(2, 245, 160, 0.12);
    opacity: 0;
    transform: translateY(16px) scale(0.95);
}

.hero-tag .dot {
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 2s ease infinite;
    box-shadow: 0 0 8px var(--accent);
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.045em;
    margin-bottom: 1.75rem;
}

.hero h1 .hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transform-origin: center bottom;
}

.hero h1 {
    overflow: hidden;
}

/* ========== ROTATING HERO TEXT ========== */
.rotating-wrapper {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    overflow: hidden;
    height: 1.1em;
}

.rotating-text {
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    white-space: nowrap;
    font-style: normal;
    background: linear-gradient(135deg, var(--accent), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    filter: blur(12px);
    transform: scale(0.85);
    transition: none;
    will-change: filter, transform, opacity;
}

.rotating-text.active {
    position: relative;
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-weight: 350;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.hero-actions a {
    opacity: 0;
    transform: translateY(24px);
}

.hero-scroll-indicator {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    opacity: 0;
}

.scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

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

/* 3D Floating Objects in Hero */
.hero-3d-object {
    position: absolute;
    transform-style: preserve-3d;
    will-change: transform;
    pointer-events: none;
    z-index: 3;
}

.float-card {
    padding: 1rem 1.25rem;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(2, 245, 160, 0.03);
}

.glass-card-label {
    font-size: 0.72rem;
    color: var(--text-2);
    margin-bottom: 4px;
}

.glass-card-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.glass-card-value.green { color: var(--green); }
.glass-card-value.accent { color: var(--accent); }

/* ========== TICKER ========== */
.ticker-section {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.ticker-track {
    display: flex;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.85rem 0;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-item {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: -0.01em;
}

.ticker-item em {
    font-style: normal;
    font-weight: 600;
}

.ticker-item em.green { color: var(--green); }
.ticker-item em.accent { color: var(--accent); }

.ticker-sep {
    color: var(--text-4);
    font-size: 0.5rem;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========== CODE SCROLL SECTION ========== */
.code-scroll-section {
    position: relative;
    z-index: 1;
    height: 650vh;
    background: var(--bg);
}

.code-scroll-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.code-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    padding: 2rem;
}

.code-window {
    width: 100%;
    max-width: 760px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(8, 10, 16, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(2, 245, 160, 0.03);
}

.code-window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 17, 23, 0.8);
}

.code-window-bar > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.code-window-bar > span:nth-child(1) { background: #ff5f57; }
.code-window-bar > span:nth-child(2) { background: #ffbd2e; }
.code-window-bar > span:nth-child(3) { background: #28c840; }

.code-filename {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-3);
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

.code-block {
    padding: 1.5rem;
    margin: 0;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.78rem;
    line-height: 1.75;
    color: var(--text-2);
    overflow: hidden;
    max-height: 480px;
}

.code-block code {
    display: block;
    clip-path: inset(0 0 100% 0);
    transition: none;
}

/* Syntax highlighting */
.c-keyword { color: #c792ea; }
.c-type { color: #82aaff; }
.c-func { color: #02f5a0; }
.c-string { color: #c3e88d; }
.c-number { color: #f78c6c; }
.c-comment { color: #546e7a; font-style: italic; }

/* Title reveal */
.code-title-reveal {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    z-index: 10;
    padding: 2rem;
}

.code-title-reveal .section-label {
    opacity: 0;
    transform: translateY(20px);
}

.code-title-reveal .section-title {
    opacity: 0;
    transform: translateY(30px);
}

.code-title-reveal .section-desc {
    opacity: 0;
    transform: translateY(20px);
    margin: 0.75rem auto 0;
}

/* ========== SECTIONS ========== */
.section {
    position: relative;
    z-index: 1;
    padding: 8rem 0;
}

#products {
    padding-top: 0;
    margin-top: -2rem;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 520px;
    font-weight: 350;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-header .section-desc { margin: 0.75rem auto 0; }

/* ========== PRODUCT CARDS ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-card {
    background: var(--bg);
    padding: 2.75rem 2rem;
    transition: all 0.5s var(--ease);
    position: relative;
}

.product-card > * { position: relative; z-index: 1; }

.product-card:hover {
    background: rgba(255, 255, 255, 0.02);
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}

.product-card:hover h3 { color: var(--accent); }

.product-card p {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.65;
}

.product-card .learn-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 1.25rem;
    transition: gap 0.3s var(--ease);
}

.product-card:hover .learn-link { gap: 10px; }

/* Tags */
.tag-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.6rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-3);
    transition: all 0.3s;
}

.product-card:hover .tag {
    border-color: var(--border-hover);
    color: var(--text-2);
}

/* Swap preview */
.swap-preview {
    margin-top: 1rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.7rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-3);
    transition: border-color 0.3s;
}

.swap-preview .arrow { color: var(--accent); }
.swap-preview .swap-value { color: var(--white); }
.product-card:hover .swap-preview { border-color: var(--border-hover); }

/* Status badge */
.status-badge {
    margin-top: 1rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.65rem;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(0, 230, 138, 0.4);
}

/* ========== STATS ROW ========== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-cell {
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
}

.stat-cell:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.stat-cell .num {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--white);
    line-height: 1;
}

.stat-cell .lbl {
    font-size: 0.8rem;
    color: var(--text-3);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* ========== SPLIT SECTION ========== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ========== 3D SCROLL CARD ========== */
.scroll-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d {
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
    will-change: transform;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(2, 245, 160, 0.03);
}

.card-3d-inner {
    padding: 2rem;
}

.card-3d .card-header,
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-3);
}

.card-3d .card-dots,
.card-dots {
    display: flex;
    gap: 5px;
}

.card-3d .card-dots span,
.card-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--text-4);
}

/* ========== TECH FEATURES ========== */
.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tech-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 245, 160, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.tech-item:last-child { border-bottom: none; }
.tech-item:hover::before { opacity: 1; }

.tech-item:hover {
    background: rgba(255,255,255,0.015);
}

.tech-item .num {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-4);
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.tech-item:hover .num { color: var(--accent); }

.tech-item h4 {
    font-size: 1rem;
    font-weight: 550;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.tech-item p {
    font-size: 0.82rem;
    color: var(--text-3);
    margin-top: 0.25rem;
    position: relative;
    z-index: 1;
}

.tech-item .metric {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    text-align: right;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--ease);
}

.tech-item:hover .metric {
    transform: scale(1.05);
}

/* ========== CHECK LIST ========== */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.5;
    transition: color 0.3s, transform 0.3s var(--ease);
}

.check-item:hover {
    color: var(--white);
    transform: translateX(4px);
}

.check-item .ico {
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

/* ========== CTA ========== */
.cta-section { padding: 6rem 0 8rem; }

.cta-box {
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -50%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 245, 160, 0.06), transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1rem;
    color: var(--text-2);
    max-width: 440px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo-link {
    display: inline-block;
}
.footer-logo-full {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(2, 245, 160, 0.2));
    transition: filter 0.3s var(--ease);
}
.footer-logo-link:hover .footer-logo-full {
    filter: drop-shadow(0 0 14px rgba(2, 245, 160, 0.4));
}
.footer-brand p { color: var(--text-3); font-size: 0.82rem; line-height: 1.6; margin-top: 1rem; max-width: 260px; }

.footer-col h5 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
    font-size: 0.82rem;
    color: var(--text-3);
    transition: color 0.3s, transform 0.3s var(--ease);
    display: inline-block;
}
.footer-col a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p { font-size: 0.75rem; color: var(--text-4); }

.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a {
    width: 32px; height: 32px;
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    transition: all 0.3s var(--ease);
}
.footer-socials a:hover {
    color: var(--white);
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-2px);
}

/* ========== FAQ ========== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.9rem; font-weight: 500; text-align: left; color: var(--text); transition: color 0.3s; }
.faq-q svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--text-3); transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 1.5rem 1.25rem; font-size: 0.85rem; color: var(--text-2); line-height: 1.7; }

/* ========== CONTACT FORM ========== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--text-3); margin-bottom: 0.4rem; letter-spacing: 0.02em; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.75rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-4); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(2, 245, 160, 0.08);
}
.form-group textarea { min-height: 110px; resize: vertical; }

/* ========== AMBIENT ORBS ========== */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    will-change: transform;
    animation: orbFloat 20s ease-in-out infinite alternate;
}
.orb.accent { background: rgba(2, 245, 160, 0.1); }
.orb.green { background: rgba(0, 230, 138, 0.06); }
.orb.white { background: rgba(255, 255, 255, 0.02); }
.orb-1 { width: 600px; height: 600px; top: -200px; left: -150px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; top: -100px; right: -200px; animation-delay: -5s; }
.orb-3 { width: 400px; height: 400px; bottom: -100px; left: 30%; animation-delay: -10s; }

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
    100% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ========== HERO DASHBOARD VISUAL ========== */
.hero-visual {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 4rem;
    perspective: 1200px;
}

.hero-dashboard {
    overflow: hidden;
    transform: rotateX(8deg) scale(0.95);
    transform-origin: center top;
    transition: transform 0.6s var(--ease);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(2, 245, 160, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-dashboard:hover {
    transform: rotateX(2deg) scale(0.97);
}

.hero-dash-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 17, 23, 0.8);
}

.hero-dash-bar .dots { display: flex; gap: 5px; }
.hero-dash-bar .dots span { width: 8px; height: 8px; border-radius: 50%; }
.hero-dash-bar .dots span:nth-child(1) { background: #ff5f57; }
.hero-dash-bar .dots span:nth-child(2) { background: #ffbd2e; }
.hero-dash-bar .dots span:nth-child(3) { background: #28c840; }
.hero-dash-bar .url { font-size: 0.7rem; color: var(--text-4); }

.hero-dash-content {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 320px;
}

.hero-dash-sidebar {
    border-right: 1px solid var(--border);
    padding: 1rem 0;
}

.hero-dash-sidebar .sidebar-item {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; font-size: 0.72rem; color: var(--text-3);
    transition: all 0.3s var(--ease);
}
.hero-dash-sidebar .sidebar-item.active {
    color: var(--accent); background: var(--accent-dim);
    border-right: 2px solid var(--accent);
}
.hero-dash-sidebar .sidebar-item svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero-dash-main {
    padding: 1.25rem;
    display: flex; flex-direction: column; gap: 1rem;
}

.dash-stat-row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.dash-stat-card {
    border-radius: 10px;
    padding: 1rem;
}
.dash-stat-card .label { font-size: 0.65rem; color: var(--text-3); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-stat-card .value { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.03em; }
.dash-stat-card .value.green { color: var(--green); }
.dash-stat-card .value.accent { color: var(--accent); }
.dash-stat-card .change { font-size: 0.65rem; color: var(--green); margin-top: 0.2rem; }

.dash-chart-area {
    flex: 1;
    background: rgba(255,255,255,0.015);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    min-height: 140px;
}
.dash-chart-area .chart-label { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.dash-chart-area .chart-value { font-size: 1.1rem; font-weight: 600; margin-top: 0.25rem; }
.dash-chart-area svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; }

.dash-table {
    display: grid; gap: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.dash-table-row {
    display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
    padding: 0.6rem 1rem; font-size: 0.7rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
.dash-table-row:last-child { border-bottom: none; }
.dash-table-row.header { color: var(--text-4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.6rem; background: rgba(255,255,255,0.015); }
.dash-table-row:not(.header):hover { background: rgba(255,255,255,0.02); }
.dash-table-row .pair { color: var(--white); font-weight: 500; }
.dash-table-row .exchange { color: var(--text-3); }
.dash-table-row .spread { color: var(--green); font-weight: 600; }
.dash-table-row .status { display: flex; align-items: center; gap: 4px; }
.dash-table-row .status .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: blink 2s ease infinite; box-shadow: 0 0 6px rgba(0, 230, 138, 0.4); }

/* ========== PRODUCT CARD ICON GLOW ========== */
.product-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    background: var(--accent-dim);
    border: 1px solid rgba(2, 245, 160, 0.1);
    transition: all 0.4s var(--ease);
}
.product-icon-wrap svg { width: 26px; height: 26px; color: var(--accent); transition: transform 0.4s var(--ease); }
.product-card:hover .product-icon-wrap svg { transform: scale(1.1); }

.product-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(2,245,160,0.2), transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}
.product-card:hover .product-icon-wrap {
    box-shadow: 0 0 30px rgba(2, 245, 160, 0.15);
}
.product-card:hover .product-icon-wrap::after { opacity: 1; }

.product-icon-wrap.green-icon {
    background: var(--green-dim);
    border-color: rgba(0, 230, 138, 0.1);
}
.product-icon-wrap.green-icon svg { color: var(--green); }
.product-icon-wrap.green-icon::after { background: linear-gradient(135deg, rgba(0,230,138,0.2), transparent 60%); }
.product-card:hover .product-icon-wrap.green-icon { box-shadow: 0 0 30px rgba(0, 230, 138, 0.12); }

.product-icon-wrap.white-icon {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}
.product-icon-wrap.white-icon svg { color: var(--white); opacity: 0.7; }
.product-icon-wrap.white-icon::after { background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 60%); }

/* ========== GLOW LINE DIVIDER ========== */
.glow-divider {
    height: 1px;
    position: relative;
    z-index: 1;
    background: var(--border);
}
.glow-divider::after {
    content: '';
    position: absolute;
    top: -0.5px;
    left: 20%; right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
    border-radius: 1px;
}

/* ========== MINI CHART ========== */
.mini-chart {
    height: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--accent-dim) 0%, transparent 100%);
}
.mini-chart svg { width: 100%; height: 100%; display: block; }
.mini-chart.green-chart { background: linear-gradient(180deg, var(--green-dim) 0%, transparent 100%); }

/* ========== LIVE INDICATOR ========== */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.live-badge .pulse {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    position: relative;
    box-shadow: 0 0 6px rgba(0, 230, 138, 0.5);
}
.live-badge .pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid var(--green);
    animation: livePulse 2s ease infinite;
}
@keyframes livePulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2); opacity: 0; } }

/* ========== MOCKUP ========== */
.mockup-frame {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mockup-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}
.mockup-bar .dot-r { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; }
.mockup-bar .dot-y { width: 7px; height: 7px; border-radius: 50%; background: #ffbd2e; }
.mockup-bar .dot-g { width: 7px; height: 7px; border-radius: 50%; background: #28c840; }
.mockup-bar .url { margin-left: auto; font-size: 0.65rem; color: var(--text-4); }
.mockup-body { padding: 1.25rem; }

/* ========== SCROLL ANIMATIONS ========== */
[data-scroll="3d"] { transform-origin: center bottom; }
.scroll-3d { transform-style: preserve-3d; perspective: 1000px; }
.gsap-hidden { visibility: hidden; }

/* ========== CUSTOM CURSOR GLOW ========== */
.cursor-glow {
    position: fixed;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 245, 160, 0.04), transparent 60%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: transform;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .split { grid-template-columns: 1fr; gap: 3rem; }
    .split.reverse { direction: ltr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .products-grid.two-col { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .tech-item { grid-template-columns: 60px 1fr; }
    .tech-item .metric { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .btn-text { display: none; }
    .nav-right .btn-glow { font-size: 0.75rem; padding: 0.5rem 1.1rem; }
    .nav-logo-img { width: 42px; height: 42px; }
    .logo-light-sweep { -webkit-mask-size: 42px 42px; mask-size: 42px 42px; }
    .logo-glow { width: 56px; height: 56px; }

    .hero { min-height: auto; padding: 7rem 1.5rem 4rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-3d-object { display: none; }
    .hero-visual { margin-top: 2.5rem; }
    .hero-dashboard { transform: none; }
    .hero-dashboard:hover { transform: none; }
    .hero-dash-content { grid-template-columns: 1fr; }
    .hero-dash-sidebar { display: none; }
    .dash-stat-row { grid-template-columns: 1fr; }
    .dash-table-row { grid-template-columns: 1fr 1fr; }
    .dash-table-row.header .exchange, .dash-table-row.header .status,
    .dash-table-row .exchange, .dash-table-row .status { display: none; }

    .hero-scroll-indicator { display: none; }

    .products-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; gap: 0.75rem; }
    .section { padding: 5rem 0; }
    .section-title { font-size: 1.75rem; }

    .cta-box { padding: 3rem 1.5rem; }
    .cta-actions { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: auto; }

    .cursor-glow { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero h1 { font-size: 2rem; }
    .stat-cell .num { font-size: 1.75rem; }
    .hero-tag { font-size: 0.65rem; }
}

/* ========== SELECTION COLOR ========== */
::selection {
    background: rgba(2, 245, 160, 0.25);
    color: var(--white);
}
