/* ============================================================
   CORTEX — Dark Futuristic Landing Page v5
   Premium visual effects: aurora, animated borders, spotlights
   ============================================================ */

/* ── Animated gradient angle property ──────── */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@property --aurora-pos {
    syntax: '<percentage>';
    initial-value: 0%;
    inherits: false;
}

/* ── CSS Variables ─────────────────────────── */

:root {
    --bg-deep: #06060e;
    --bg-surface: #0c0c1a;
    --bg-card: rgba(12, 12, 30, 0.6);
    --bg-card-solid: #0c0c1e;
    --neon-cyan: #00e5ff;
    --neon-cyan-dim: rgba(0, 229, 255, 0.15);
    --neon-cyan-glow: rgba(0, 229, 255, 0.4);
    --neon-purple: #8b5cf6;
    --neon-purple-dim: rgba(139, 92, 246, 0.15);
    --neon-red: #ff003c;
    --neon-green: #27c93f;
    --neon-orange: #ffaa00;
    --text-primary: #e8e8f0;
    --text-secondary: #8888a8;
    --text-muted: #4a4a6a;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 229, 255, 0.3);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ──────────────────────────── */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-deep);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--neon-cyan);
    color: var(--bg-deep);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ── Scroll Strip ──────────────────────────── */

.strip {
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.strip__top {
    width: 28px;
    height: 28px;
    background: rgba(12, 12, 30, 0.8);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    padding: 0;
}

.strip__top svg {
    width: 14px;
    height: 14px;
}

.strip__top:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.strip__track {
    width: 2px;
    height: 120px;
    background: var(--border);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.strip__progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-purple));
    border-radius: 1px;
    transition: height 0.15s ease;
}

.strip__dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.strip__dot {
    width: 8px;
    height: 8px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strip__dot span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
    transition: all 0.3s;
}

/* Hover: dot grows + label slides in */
.strip__dot:hover span {
    opacity: 1;
    background: var(--neon-cyan);
    transform: scale(1.8);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.strip__dot::before {
    content: attr(data-label);
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    background: rgba(6, 6, 14, 0.95);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(8px);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.strip__dot:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.strip__dot--active::before {
    color: #fff;
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(0, 229, 255, 0.12);
}

.strip__dot--active span {
    opacity: 1;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

/* Fun animations when dot becomes active */
.strip__dot--anim[data-anim="pulse"] span { animation: stripPulse 0.6s ease; }
.strip__dot--anim[data-anim="spin"] span { animation: stripSpin 0.6s ease; }
.strip__dot--anim[data-anim="bounce"] span { animation: stripBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.strip__dot--anim[data-anim="ring"] span { animation: stripRing 0.6s ease; }
.strip__dot--anim[data-anim="split"] span { animation: stripSplit 0.5s ease; }
.strip__dot--anim[data-anim="flip"] span { animation: stripFlip 0.5s ease; }
.strip__dot--anim[data-anim="wobble"] span { animation: stripWobble 0.6s ease; }
.strip__dot--anim[data-anim="rocket"] span { animation: stripRocket 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.strip__dot--anim[data-anim="rainbow"] span { animation: stripRainbow 0.8s ease; }
.strip__dot--anim[data-anim="wave"] span { animation: stripWave 0.5s ease; }
.strip__dot--anim[data-anim="explode"] span { animation: stripExplode 0.6s ease; }

@keyframes stripPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(2.5); box-shadow: 0 0 16px var(--neon-cyan); }
}

@keyframes stripSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(2); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes stripBounce {
    0% { transform: translateY(0); }
    40% { transform: translateY(-12px) scale(1.5); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes stripRing {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.6); }
    50% { transform: scale(1.3); box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

@keyframes stripSplit {
    0%, 100% { transform: scale(1); border-radius: 50%; }
    50% { transform: scale(2) scaleX(3); border-radius: 2px; }
}

@keyframes stripFlip {
    0% { transform: perspective(100px) rotateX(0); }
    50% { transform: perspective(100px) rotateX(180deg) scale(1.5); }
    100% { transform: perspective(100px) rotateX(360deg) scale(1); }
}

@keyframes stripWobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg) scale(1.5); }
    75% { transform: rotate(-20deg) scale(1.5); }
}

@keyframes stripRocket {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-16px) scale(0.5); opacity: 0.3; }
    70% { transform: translateY(4px) scale(2); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes stripRainbow {
    0% { background: var(--neon-cyan); }
    25% { background: var(--neon-purple); transform: scale(1.8); }
    50% { background: var(--neon-green); transform: scale(1.5); }
    75% { background: var(--neon-orange); transform: scale(1.8); }
    100% { background: var(--neon-cyan); transform: scale(1); }
}

@keyframes stripWave {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px) scale(1.3); }
    75% { transform: translateX(6px) scale(1.3); }
}

@keyframes stripExplode {
    0% { transform: scale(1); }
    30% { transform: scale(3); opacity: 1; box-shadow: 0 0 20px var(--neon-cyan); }
    60% { transform: scale(0.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 640px) {
    .strip { display: none; }
}

/* ── Noise Texture Overlay ─────────────────── */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ── Scanlines ──────────────────────────────── */

.scanlines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* ── Navigation ─────────────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s var(--ease-out-expo);
}

.nav--scrolled {
    background: rgba(6, 6, 14, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
}

.nav__logo-svg {
    width: 32px;
    height: 32px;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__links a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-cyan);
    transition: width 0.3s var(--ease-out-expo);
}

.nav__links a:hover {
    color: var(--text-primary);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__patch {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple-dim);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Section ──────────────────────────── */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-deep);
}

.hero__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
}

.hero__glow {
    position: absolute;
    width: 800px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-50px) scale(1.05);
    background: radial-gradient(
        ellipse at center,
        rgba(0, 229, 255, 0.08) 0%,
        rgba(139, 92, 246, 0.04) 40%,
        transparent 70%
    );
    z-index: 1;
    animation: auroraShift 8s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes auroraShift {
    0% { --aurora-pos: 0%; transform: translate(-50%, -50%) translateZ(-50px) scale(1.05); }
    100% { --aurora-pos: 100%; transform: translate(-50%, -50%) translateZ(-50px) scale(1.2); }
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 2rem;
    max-width: 800px;
}


.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan-dim);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-cyan);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--neon-cyan-glow); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.hero__title {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin-bottom: 1rem;
    overflow: visible;
}

.hero__text-canvas {
    display: block;
    width: 100%;
    height: 350px;
    cursor: default;
    margin-top: -40px;
    margin-bottom: -110px;
}

@media (max-width: 640px) {
    .hero__text-canvas { height: 250px; margin-bottom: -80px; }
}

.hero__install {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    margin-bottom: 1rem;
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__install--visible {
    opacity: 1;
    transform: translateY(0);
}

.hero__install--clicked {
    animation: installClick 0.6s ease;
}

@keyframes installClick {
    0% { transform: scale(1); text-shadow: 0 0 20px rgba(0, 229, 255, 0.4); }
    20% { transform: scale(0.92); text-shadow: 0 0 40px rgba(0, 229, 255, 0.8); color: #fff; }
    40% { transform: scale(1.08); text-shadow: 0 0 60px rgba(0, 229, 255, 1), 0 0 100px rgba(139, 92, 246, 0.5); color: #fff; }
    60% { transform: scale(1.02); }
    100% { transform: scale(1); text-shadow: 0 0 20px rgba(0, 229, 255, 0.4); color: var(--neon-cyan); }
}

/* Animated cursor */
.hero__cursor {
    position: absolute;
    width: 28px;
    height: 28px;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    transition: none;
}

.hero__cursor svg {
    width: 100%;
    height: 100%;
}

.hero__cursor--active {
    opacity: 1;
    transition: top 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.3s ease, opacity 0.3s ease;
}

.hero__cursor--clicking {
    transform: scale(0.8) rotate(-5deg);
    transition: transform 0.1s ease;
}

.hero__cursor--unclicking {
    transform: scale(1) rotate(0deg);
    transition: transform 0.15s ease;
}

.hero__subtitle {
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    min-height: 1.6em;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.6s both;
}

.hero__desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 0.8s both;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 1s both;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-muted);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Buttons ───────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.8rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    letter-spacing: 0.03em;
}

.btn--primary {
    background: var(--neon-cyan);
    color: var(--bg-deep);
    box-shadow: 0 0 30px var(--neon-cyan-dim);
}

.btn--primary:hover {
    box-shadow: 0 0 50px var(--neon-cyan-glow);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    border-color: var(--border-hover);
    background: rgba(0, 229, 255, 0.05);
    transform: translateY(-2px);
}

/* ── Marquee Ticker ────────────────────────── */

.marquee {
    width: 100%;
    overflow: hidden;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.4rem 0;
    position: relative;
    transform: translateZ(-10px);
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-surface), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-surface), transparent);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee__item {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0.7;
    white-space: nowrap;
    letter-spacing: 0.06em;
    transition: opacity 0.3s ease;
}

.marquee__item:hover {
    opacity: 1;
    color: var(--text-primary);
}

.marquee__item em {
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.75em;
    color: var(--neon-cyan);
    opacity: 0.6;
    margin-left: 0.4rem;
    vertical-align: baseline;
}

.marquee__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
    opacity: 0.5;
}

.marquee__item--gold {
    color: var(--neon-orange);
    text-shadow: 0 0 12px rgba(255, 170, 0, 0.3);
}


/* ── Giant Numbers ─────────────────────────── */

.numbers {
    position: relative;
    padding: 6rem 2rem;
    background: var(--bg-deep);
    overflow: hidden;
    transform: translateZ(20px);
    z-index: 5;
}

.numbers::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 20% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 80% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.numbers__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.numbers__item {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.numbers__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 0 40px rgba(0, 229, 255, 0.1));
}

.numbers__value--accent {
    background: linear-gradient(180deg, var(--neon-green) 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(39, 201, 63, 0.15));
}

.numbers__plus {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    vertical-align: top;
    line-height: 1;
}

.numbers__label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.numbers__sub {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.5;
}

.numbers__divider {
    width: 1px;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--neon-cyan-dim), var(--neon-purple-dim), transparent);
    flex-shrink: 0;
}

/* ── Section Commons ───────────────────────── */

.section__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    perspective: 800px;
    transform-style: preserve-3d;
}

.section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--neon-cyan);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.section__desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* ── Gradient Section Dividers ─────────────── */

.capabilities,
.apps,
.demo,
.skills,
.features,
.arch,
.compare,
.team {
    position: relative;
}

.capabilities::before,
.apps::before,
.demo::before,
.skills::before,
.arch::before,
.compare::before,
.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
    pointer-events: none;
}

/* ── ADI Definition Section ────────────────── */

.adi {
    position: relative;
    padding: 8rem 2rem;
    background: var(--bg-deep);
    overflow: hidden;
    text-align: center;
}

.adi__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0, 229, 255, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 60%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.adi__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.adi__coined {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neon-purple);
    background: var(--neon-purple-dim);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 2.5rem;
}

.adi__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.adi__abbr {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.3em;
    color: var(--neon-cyan);
    opacity: 0.08;
    margin: -1rem 0 2rem;
    pointer-events: none;
}

.adi__desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 1rem;
}

.adi__desc strong {
    color: var(--text-primary);
}

.adi__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.adi__pillar {
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
    transform-style: preserve-3d;
}

.adi__pillar:hover {
    border-color: var(--border-hover);
    transform: translateZ(12px) translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 229, 255, 0.06);
}

.adi__pillar-letter {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 3rem;
    color: var(--neon-cyan);
    opacity: 0.15;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.adi__pillar:hover .adi__pillar-letter {
    opacity: 0.35;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.adi__pillar h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.adi__pillar p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .adi__pillars { grid-template-columns: 1fr; }
    .adi__abbr { font-size: 3rem; letter-spacing: 0.2em; }
}

/* ── Skill Engine Section ─────────────────── */

.engine {
    position: relative;
    padding: 7rem 2rem;
    background: var(--bg-surface);
    overflow: hidden;
}

.engine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

.engine__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 60%, rgba(0, 229, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.engine__modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.engine__mode {
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: all 0.5s var(--ease-out-expo);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.engine__mode::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.engine__mode:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateZ(15px) translateY(-5px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.08);
}

.engine__mode:hover::before {
    opacity: 1;
}

.engine__mode-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-purple);
    background: var(--neon-purple-dim);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    margin-bottom: 1.5rem;
    transition: all 0.4s;
}

.engine__mode:hover .engine__mode-icon {
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.4);
}

.engine__mode-icon svg {
    width: 26px;
    height: 26px;
}

.engine__mode h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.8rem;
}

.engine__mode p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.engine__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.engine__stat {
    text-align: center;
}

.engine__stat-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    color: var(--neon-purple);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    line-height: 1.2;
}

.engine__stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 0.3rem;
}

.engine__stat-sep {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.2), transparent);
}

@media (max-width: 900px) {
    .engine__modes { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .engine__stats { flex-wrap: wrap; gap: 1.5rem; }
    .engine__stat-sep { display: none; }
}

/* ── Capabilities - Bento Grid ─────────────── */

.capabilities {
    padding: 6rem 2rem;
    background: var(--bg-surface);
    transform: translateZ(5px);
    position: relative;
}

/* ── Split Screen Capabilities ─────────────── */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.split:last-child {
    border-bottom: none;
}

.split:hover {
    transform: translateZ(10px);
}

.split--reverse {
    direction: rtl;
}

.split--reverse > * {
    direction: ltr;
}

.split--accent {
    border-bottom: none;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(0, 229, 255, 0.02));
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    margin-top: 2rem;
}

.split__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    background: var(--neon-cyan-dim);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    margin-bottom: 1.2rem;
}

.split__badge--purple {
    color: var(--neon-purple);
    background: var(--neon-purple-dim);
    border-color: rgba(139, 92, 246, 0.2);
}

.split__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.split__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.split__tools {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.split__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.split__visual--desktop {
    background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
}

.split__visual--browser {
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
}

.split__visual--skill {
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.06) 0%, rgba(0, 229, 255, 0.03) 50%, transparent 70%);
}

.split__icon-large {
    width: 120px;
    height: 120px;
    color: var(--neon-cyan);
    opacity: 0.3;
    transition: all 0.5s var(--ease-out-expo);
}

.split__icon-large svg {
    width: 100%;
    height: 100%;
}

.split:hover .split__icon-large {
    opacity: 0.6;
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px var(--neon-cyan-glow));
}

.split--accent .split__icon-large {
    color: var(--neon-purple);
}

.split--accent:hover .split__icon-large {
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.4));
}

/* Capability strip (Terminal, REPL, Camera, Voice) */

.cap-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin: 2rem 0;
}

.cap-strip__item {
    padding: 1.5rem;
    text-align: center;
}

.cap-strip__item h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.cap-strip__item span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--neon-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cap-strip__item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0.5rem;
}

.cap-strip__sep {
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-hover), transparent);
}

@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .split--reverse {
        direction: ltr;
    }
    .split__visual {
        min-height: 150px;
    }
    .cap-strip {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .cap-strip__sep {
        width: 100%;
        height: 1px;
    }
}

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.bento__card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.8rem;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.bento__card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    padding: 1px;
    background: conic-gradient(from var(--border-angle), transparent 60%, var(--neon-cyan) 80%, var(--neon-purple) 90%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
    0% { --border-angle: 0deg; }
    100% { --border-angle: 360deg; }
}

.bento__card:hover::before {
    opacity: 1;
}

.bento__card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.bento__card--tall {
    grid-row: span 2;
}

.bento__card--wide {
    grid-column: span 2;
}

.bento__card--accent {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.02) 100%);
    border-color: var(--neon-purple-dim);
}

.bento__card--accent::before {
    background: conic-gradient(from var(--border-angle), transparent 50%, var(--neon-purple) 70%, var(--neon-cyan) 85%, transparent 100%);
}

.bento__card--accent .bento__icon {
    color: var(--neon-purple);
}

.bento__icon {
    width: 40px;
    height: 40px;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.bento__icon svg {
    width: 100%;
    height: 100%;
}

.bento__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan-dim);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}

.bento__badge--purple {
    color: var(--neon-purple);
    border-color: var(--neon-purple-dim);
}

.bento__card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.bento__card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.bento__card code {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.8;
    word-break: break-word;
}

.bento__row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.bento__row > div {
    flex: 1;
}

.bento__separator {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, var(--border-hover), transparent);
    flex-shrink: 0;
}

/* ── Cinematic Section ─────────────────────── */

.cinematic {
    position: relative;
    padding: 8rem 2rem;
    overflow: hidden;
    text-align: center;
    transform: translateZ(-20px);
}

.cinematic__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 229, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 30% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 70% 80%, rgba(0, 229, 255, 0.03) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-deep) 0%, #080818 30%, #0a0a20 50%, #080818 70%, var(--bg-deep) 100%);
    z-index: 0;
    transform: translateZ(-50px) scale(1.05);
    will-change: transform;
}

/* Purple variant for Skill Engine */
.cinematic--purple .cinematic__bg {
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 30% 70%, rgba(0, 229, 255, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 70% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-deep) 0%, #0c0818 30%, #100a24 50%, #0c0818 70%, var(--bg-deep) 100%);
}

.cinematic--purple .cinematic__tag {
    color: var(--neon-purple);
}

.cinematic--purple .cinematic__highlight {
    color: var(--neon-purple);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.cinematic--purple .cinematic__chips span {
    border-color: rgba(139, 92, 246, 0.2);
    color: var(--neon-purple);
}

.cinematic--purple .cinematic__chips span:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--neon-purple);
}

.cinematic__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cinematic__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--neon-cyan);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.cinematic__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 60px rgba(0, 229, 255, 0.15);
}

.cinematic__desc {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cinematic__desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

.cinematic__highlight {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan-glow);
    font-weight: 700;
}

.cinematic__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.cinematic__chips span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    letter-spacing: 0.06em;
    transition: all 0.3s ease;
}

.cinematic__chips span:hover {
    border-color: var(--border-hover);
    color: var(--neon-cyan);
    background: var(--neon-cyan-dim);
}

/* ── App Showcase ──────────────────────────── */

.apps {
    padding: 6rem 0;
    background: var(--bg-surface);
    transform: translateZ(10px);
    position: relative;
}

.apps__featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out-expo), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.app-feature:hover {
    border-color: var(--border-hover);
    transform: translateZ(12px) translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.app-feature__num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--neon-cyan);
    line-height: 1;
    flex-shrink: 0;
    min-width: 90px;
    text-align: center;
    text-shadow: 0 0 30px var(--neon-cyan-glow);
}

.app-feature__info h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.app-feature__info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.apps__strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 2.5rem;
}

/* Traders row */
.apps__traders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 900px) {
    .apps__traders { grid-template-columns: 1fr; }
}

.app-chip {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.app-chip:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: var(--neon-cyan-dim);
}

.app-chip em {
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.75em;
    color: var(--neon-cyan);
    margin-left: 0.4rem;
    opacity: 0.7;
}

/* Gold-themed trading cards */
.app-feature--gold.app-feature--gold {
    background: linear-gradient(135deg, rgba(12, 12, 30, 0.8), rgba(255, 170, 0, 0.04));
    border-color: rgba(255, 170, 0, 0.15);
}
.app-feature--gold:hover {
    border-color: rgba(255, 170, 0, 0.35) !important;
    box-shadow: 0 12px 48px rgba(255, 170, 0, 0.06) !important;
}

.app-feature--gold:hover {
    border-color: rgba(255, 170, 0, 0.4);
    box-shadow: 0 12px 48px rgba(255, 170, 0, 0.08);
}

.app-feature__num--gold {
    color: var(--neon-orange) !important;
    font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
    text-shadow: 0 0 30px rgba(255, 170, 0, 0.3);
    letter-spacing: 0.08em;
}

/* ── Terminal Demo ─────────────────────────── */

.demo {
    padding: 6rem 0;
    background: var(--bg-deep);
    transform: translateZ(0px);
    position: relative;
}

.demo__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.demo__wrapper--split {
    grid-template-columns: 1fr 1fr;
}

.terminal {
    background: rgba(6, 6, 14, 0.9);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.terminal__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.terminal__dots {
    display: flex;
    gap: 6px;
}

.terminal__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.5;
}

.terminal__dots span:first-child { background: #ff5f56; opacity: 0.8; }
.terminal__dots span:nth-child(2) { background: #ffbd2e; opacity: 0.8; }
.terminal__dots span:nth-child(3) { background: #27c93f; opacity: 0.8; }

.terminal__title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.terminal__body {
    padding: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.8;
    height: 350px;
    max-height: 350px;
    overflow-y: auto;
    flex: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 229, 255, 0.2) transparent;
}

.terminal__body::-webkit-scrollbar {
    width: 5px;
}

.terminal__body::-webkit-scrollbar-track {
    background: transparent;
}

.terminal__body::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.2);
    border-radius: 3px;
}

.terminal__body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 229, 255, 0.4);
}

.terminal__line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.terminal__label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.terminal__label--user {
    background: var(--neon-cyan-dim);
    color: var(--neon-cyan);
}

.terminal__label--cortex {
    background: var(--neon-purple-dim);
    color: var(--neon-purple);
}

.terminal__label--tool {
    background: rgba(39, 201, 63, 0.15);
    color: var(--neon-green);
}

.terminal__label--result {
    background: rgba(255, 170, 0, 0.15);
    color: var(--neon-orange);
}

.terminal__line--user { color: var(--text-primary); }
.terminal__line--cortex { color: var(--text-secondary); }
.terminal__line--tool { color: var(--neon-green); opacity: 0.9; }
.terminal__line--result { color: var(--neon-orange); opacity: 0.8; }

.terminal__cursor {
    color: var(--neon-cyan);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal__controls {
    padding: 0.8rem 1.2rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.6rem;
}

.terminal__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.terminal__btn:hover {
    border-color: var(--border-hover);
    color: var(--neon-cyan);
    background: var(--neon-cyan-dim);
}

.demo__video-panel {
    background: rgba(6, 6, 14, 0.9);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.demo__video-bar {
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.demo__video-panel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 1;
    display: block;
    background: #000;
}

/* ── Skills Split Section ──────────────────── */

.skills {
    padding: 6rem 0;
    background: var(--bg-surface);
    transform: translateZ(5px);
    position: relative;
}

.skills__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Skill Engine Cards */
.skills__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.skill-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.5s var(--ease-out-expo);
}

.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateZ(15px) translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.08);
}

.skill-card__num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--neon-cyan);
    opacity: 0.06;
    position: absolute;
    top: -0.2rem;
    right: 1rem;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.4s;
}

.skill-card:hover .skill-card__num {
    opacity: 0.12;
}

.skill-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.skill-card__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.skill-card__icon {
    position: absolute;
    bottom: 1.2rem;
    right: 1.5rem;
    width: 28px;
    height: 28px;
    color: var(--neon-cyan);
    opacity: 0.2;
    transition: all 0.4s;
}

.skill-card:hover .skill-card__icon {
    opacity: 0.5;
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px var(--neon-cyan-glow));
}

.skill-card__icon svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 640px) {
    .skills__cards { grid-template-columns: 1fr; }
}

.code-block {
    background: rgba(6, 6, 14, 0.9);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.code-block__bar {
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.code-block__body {
    padding: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.8;
    overflow-x: auto;
    color: var(--text-secondary);
}

.code-block__body code {
    font-family: inherit;
}

.code-key { color: var(--neon-cyan); }
.code-str { color: var(--neon-green); }
.code-bool { color: var(--neon-orange); }

.skills__steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.step__num {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-cyan);
    opacity: 0.5;
    flex-shrink: 0;
    margin-top: 0.2rem;
    letter-spacing: 0.05em;
}

.step__content h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
}

.step__content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step__content code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--neon-cyan);
    background: var(--neon-cyan-dim);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

/* ── Features Section ──────────────────────── */

.features {
    position: relative;
    padding: 6rem 0;
    background: var(--bg-deep);
    overflow: hidden;
    transform: translateZ(-15px);
}

.features__glow {
    position: absolute;
    width: 600px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-50px) scale(1.05);
    background: radial-gradient(
        ellipse at center,
        rgba(139, 92, 246, 0.06) 0%,
        rgba(0, 229, 255, 0.03) 50%,
        transparent 70%
    );
    pointer-events: none;
    will-change: transform;
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s var(--ease-out-expo), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    transform-style: preserve-3d;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    padding: 1px;
    background: conic-gradient(from var(--border-angle), transparent 60%, var(--neon-purple) 80%, var(--neon-cyan) 90%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotateBorder 4s linear infinite;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateZ(15px) translateY(-4px);
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.08);
}

.feature-card--hero {
    grid-column: 1 / -1;
    padding: 3rem;
    background:
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
        var(--bg-card);
}

.feature-card--hero h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
}

.feature-card--hero p {
    font-size: 1.05rem;
    max-width: 600px;
}

.feature-card__label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple-dim);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.2rem;
}

.feature-card__tags span {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--neon-cyan);
    background: var(--neon-cyan-dim);
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
}

/* ── Architecture Section ──────────────────── */

.arch {
    padding: 6rem 0;
    background: var(--bg-surface);
}

.arch__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.arch__card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s var(--ease-out-expo), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.arch__card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.arch__label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.arch__value {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.arch__deploy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
}

.arch__deploy-item {
    text-align: center;
    padding: 0.8rem 1.8rem;
}

.arch__deploy-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}

.arch__deploy-item span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.arch__deploy-sep {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--border-hover), transparent);
    flex-shrink: 0;
}

/* ── Visual Comparison ─────────────────────── */

.compare {
    padding: 6rem 0;
    background: var(--bg-deep);
    transform: translateZ(10px);
    position: relative;
}

.compare__bars {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.compare__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 1rem 1.8rem;
    transition: background 0.3s ease;
}

.compare__row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.015);
}

.compare__row:nth-child(even) {
    background: rgba(0, 0, 0, 0.15);
}

.compare__row:hover {
    background: rgba(0, 229, 255, 0.03);
}

.compare__label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.compare__cortex {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.compare__cortex::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan-glow);
    flex-shrink: 0;
}

.compare__other {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compare__other::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.4;
    flex-shrink: 0;
}

/* ── Why CORTEX ─────────────────────────────── */

.why {
    background: var(--bg-deep);
    padding: 7rem 2rem;
    position: relative;
}

.why::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
}

/* Strengths */
.why__strengths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.why__item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.4s var(--ease-out-expo);
    transform-style: preserve-3d;
}

.why__item:hover {
    border-color: var(--border-hover);
    transform: translateZ(12px) translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 229, 255, 0.06);
}

.why__icon {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--neon-cyan);
    flex-shrink: 0;
    min-width: 48px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.why__icon svg {
    color: var(--neon-cyan);
}

.why__item h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.why__item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Checklist */
.why__checklist {
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 4rem;
    text-align: center;
}

.why__checklist-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.why__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.why__checks span {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--neon-cyan);
    background: var(--neon-cyan-dim);
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    transition: all 0.3s;
}

.why__checks span::before {
    content: '\2713  ';
    font-weight: 700;
}

.why__checks span:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
}

/* Before / After */
.why__before-after {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: stretch;
}

.why__ba-col {
    padding: 2rem;
    border-radius: 14px;
}

.why__ba-col--before {
    background: rgba(255, 0, 60, 0.03);
    border: 1px solid rgba(255, 0, 60, 0.1);
}

.why__ba-col--after {
    background: rgba(0, 229, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.why__ba-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.why__ba-col--before .why__ba-label {
    color: rgba(255, 60, 80, 0.7);
}

.why__ba-col--after .why__ba-label {
    color: var(--neon-cyan);
}

.why__ba-item {
    font-size: 0.88rem;
    line-height: 1.6;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

.why__ba-item:last-child {
    border-bottom: none;
}

.why__ba-col--before .why__ba-item {
    color: var(--text-muted);
}

.why__ba-col--after .why__ba-item {
    color: var(--text-primary);
}

.why__ba-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    opacity: 0.3;
}

@media (max-width: 900px) {
    .why__strengths { grid-template-columns: 1fr; }
    .why__before-after { grid-template-columns: 1fr; }
    .why__ba-divider { transform: rotate(90deg); padding: 1rem 0; }
}

@media (max-width: 640px) {
    .why__checks span { font-size: 0.78rem; padding: 0.4rem 0.9rem; }
}

/* ── Team Cards ────────────────────────────── */

.team {
    padding: 6rem 0;
    background: var(--bg-surface);
    transform: translateZ(5px);
    position: relative;
}

.team__grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.team__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
}

.team__card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.team__photo-wrap {
    position: relative;
    width: 80px;
    height: 80px;
}

.team__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team__photo-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: conic-gradient(from var(--border-angle), transparent 60%, var(--neon-cyan) 80%, var(--neon-purple) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotateBorder 3s linear infinite;
}

.team__card:hover .team__photo-ring {
    opacity: 1;
}

.team__card:hover .team__photo {
    transform: translateZ(20px) scale(1.05);
}

.team__name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}

.team__linkedin {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
}

.team__card:hover .team__linkedin {
    opacity: 1;
    transform: translateY(0);
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 6px var(--neon-cyan-glow));
}

.team__email {
    display: block;
    text-align: center;
    margin-top: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--neon-orange);
    text-decoration: none;
    transition: all 0.3s;
    text-shadow: 0 0 12px rgba(255, 170, 0, 0.2);
}

.team__email:hover {
    color: #ffc040;
    text-shadow: 0 0 20px rgba(255, 170, 0, 0.4);
}

/* ── Back the Vision ───────────────────────── */

.vision {
    position: relative;
    padding: 7rem 2rem;
    background: var(--bg-deep);
    overflow: hidden;
}

.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), rgba(139, 92, 246, 0.2), transparent);
}

.vision__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.vision__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.vision__card {
    padding: 2.2rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out-expo);
    transform-style: preserve-3d;
}

.vision__card:hover {
    border-color: var(--border-hover);
    transform: translateZ(12px) translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 229, 255, 0.06);
}

.vision__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    background: var(--neon-cyan-dim);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 12px;
    margin-bottom: 1.2rem;
    transition: all 0.3s;
}

.vision__card:hover .vision__icon {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.vision__icon svg {
    width: 22px;
    height: 22px;
}

.vision__card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.vision__card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.vision__card--cta {
    border-color: rgba(0, 229, 255, 0.15);
    background: linear-gradient(135deg, var(--bg-card), rgba(0, 229, 255, 0.03));
}

.vision__card--cta:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 16px 48px rgba(0, 229, 255, 0.1);
}

.vision__email {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--neon-cyan) !important;
    letter-spacing: 0.06em;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .vision__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .vision__grid { grid-template-columns: 1fr; }
}

/* ── CTA Section ───────────────────────────── */

.cta {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
    background: var(--bg-deep);
}

.cta__glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 229, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 30% 40% at 40% 60%, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
    pointer-events: none;
    transform: translateZ(-50px) scale(1.05);
    will-change: transform;
}

.cta__content {
    position: relative;
    z-index: 1;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta__highlight {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta__desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ── Footer ────────────────────────────────── */

.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    background: var(--bg-deep);
}

.footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer__logo-svg {
    width: 24px;
    height: 24px;
    opacity: 0.6;
}

.footer__by {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.footer__copy {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ── Scroll Reveal Animations ──────────────── */

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Dramatic Scroll Reveals ────────────────── */

[data-reveal] {
    opacity: 0;
    transform: translateY(40px) translateZ(-30px) scale(0.97);
    filter: blur(4px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateZ(0) scale(1);
    filter: blur(0);
}

/* Slide from left */
[data-reveal="left"] {
    transform: translateX(-60px) translateZ(-20px) scale(0.97);
}
[data-reveal="left"].revealed {
    transform: translateX(0) translateZ(0) scale(1);
}

/* Slide from right */
[data-reveal="right"] {
    transform: translateX(60px) translateZ(-20px) scale(0.97);
}
[data-reveal="right"].revealed {
    transform: translateX(0) translateZ(0) scale(1);
}

/* Scale up */
[data-reveal="scale"] {
    transform: scale(0.85) translateZ(-40px);
    filter: blur(6px);
}
[data-reveal="scale"].revealed {
    transform: scale(1) translateZ(0);
    filter: blur(0);
}

/* Flip in */
[data-reveal="flip"] {
    transform: perspective(800px) rotateX(8deg) translateY(40px) translateZ(-20px);
}
[data-reveal="flip"].revealed {
    transform: perspective(800px) rotateX(0deg) translateY(0) translateZ(0);
}

/* ── Word-by-Word Reveal ───────────────────── */

.word-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.word-reveal--visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.word-reveal--highlight.word-reveal--visible {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* ── Horizontal Scroll Strip ──────────────── */

.apps__strip {
    transition: transform 0.15s ease-out;
}

/* ── Responsive: 1024px ────────────────────── */

@media (max-width: 1024px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento__card--tall {
        grid-row: span 1;
    }

    .arch__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbers__inner {
        gap: 0;
    }

    .numbers__value {
        font-size: clamp(3rem, 10vw, 6rem);
    }

    .numbers__plus {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .features__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Responsive: 900px ─────────────────────── */

@media (max-width: 900px) {
    .nav__hamburger {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(6, 6, 14, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s var(--ease-out-expo);
        border-left: 1px solid var(--border);
        z-index: 999;
    }

    .nav__links.active {
        right: 0;
    }

    .nav__links a {
        font-size: 1.1rem;
    }

    .skills__split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .demo__wrapper {
        grid-template-columns: 1fr;
    }

    .apps__featured {
        grid-template-columns: 1fr;
    }

    .numbers__inner {
        flex-direction: column;
        gap: 2rem;
    }

    .numbers__divider {
        width: 120px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--neon-cyan-dim), var(--neon-purple-dim), transparent);
    }

    .arch__deploy {
        flex-direction: column;
        gap: 0;
    }

    .arch__deploy-sep {
        width: 60%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
    }
}

/* ── Responsive: 640px ─────────────────────── */

@media (max-width: 640px) {
    .bento {
        grid-template-columns: 1fr;
    }

    .bento__card--wide {
        grid-column: span 1;
    }

    .bento__row {
        flex-direction: column;
    }

    .bento__separator {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
    }

    .hero__logo {
        width: 50px;
        height: 50px;
    }

    .hero__title {
        gap: 0.6rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .feature-card--hero {
        grid-column: 1;
        padding: 2rem;
    }

    .arch__grid {
        grid-template-columns: 1fr 1fr;
    }

    .app-feature {
        flex-direction: column;
        text-align: center;
    }

    .app-feature__num {
        min-width: auto;
    }

    .cinematic {
        padding: 5rem 1.5rem;
    }

    .cinematic__title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .cinematic__chips {
        gap: 0.5rem;
    }

    .compare__row {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }

    .compare__cortex,
    .compare__other {
        font-size: 0.72rem;
    }

    .section__inner {
        padding: 0 1.2rem;
    }

    .numbers {
        padding: 4rem 1.2rem;
    }

    .team__grid {
        flex-direction: column;
        align-items: center;
    }

    .team__card {
        width: 100%;
        max-width: 280px;
    }

    .footer__inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
