/* ==================== CSS VARIABLES ==================== */
:root {
    --color-bg: #0a0a0f;
    --color-bg-elevated: #111118;
    --color-bg-card: #18181f;
    --color-surface: #222230;

    --color-text: #ffffff;
    --color-text-secondary: #94949f;
    --color-text-tertiary: #5a5a6a;

    --color-accent: #50267f;
    --color-accent-light: #7c4bc4;
    --color-accent-lighter: #a06ee0;
    --color-accent-glow: rgba(80, 38, 127, 0.4);

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

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

html {
    font-size: 16px;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== PROGRESS BAR ==================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    z-index: 1000;
    transition: width 0.1s linear;
}

/* ==================== NAVIGATION TRANSITION ==================== */
/* Blur + fade transition applied to body content */
body.nav-transitioning {
    pointer-events: none;
}

body.nav-transitioning > *:not(.nav):not(.progress-bar) {
    transition: filter 0.3s ease, opacity 0.3s ease;
}

body.nav-transitioning.blur-out > *:not(.nav):not(.progress-bar) {
    filter: blur(12px);
    opacity: 0.3;
}

body.nav-transitioning.blur-in > *:not(.nav):not(.progress-bar) {
    filter: blur(0px);
    opacity: 1;
}

/* ==================== NAVIGATION ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s var(--ease-out-expo);
    pointer-events: none; /* Allow clicks to pass through */
}

/* Make only nav elements clickable, not the whole nav bar */
.nav-logo,
.nav-center,
.nav-cta,
.nav-toggle {
    pointer-events: auto;
}

.nav.scrolled {
    padding: 16px 48px;
    /* Keep pointer-events: none so only nav elements are clickable, not the whole bar */
}

/* Hide nav when scrolling down */
.nav.nav-hidden {
    transform: translateY(-100%);
}

.nav-logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

/* Center nav pill - MOKN style */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.nav-link {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
}

.nav-link:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

/* Nav CTA with animated gradient border */
.nav-cta {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.3s var(--ease-out-expo);
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, transparent, var(--color-accent-light), transparent 30%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: borderSpin 3s linear infinite;
}

.nav-cta::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--color-bg);
    border-radius: inherit;
    z-index: -1;
}

.nav-cta:hover {
    border-color: transparent;
    color: var(--color-text);
}

.nav-cta:hover::before {
    opacity: 1;
}

@keyframes borderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 24px;
    }

    .nav-center, .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 48px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Hero image layer - revealed via CSS variables */
.hero-image-layer {
    --reveal-x: 50%;
    --reveal-y: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    -webkit-mask-image: radial-gradient(circle 300px at var(--reveal-x) var(--reveal-y), white 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
    mask-image: radial-gradient(circle 300px at var(--reveal-x) var(--reveal-y), white 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
    will-change: opacity;
}

.hero-image-layer.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Smoke/fog effect overlay that follows cursor */
.hero-smoke-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--color-accent-glow) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center top, black 0%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at center top, black 0%, transparent 60%);
}

.hero-glow {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center, var(--color-accent) 0%, transparent 60%);
    opacity: 0.08;
    filter: blur(100px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(20px);
}

.eyebrow-highlight {
    color: var(--color-accent-light);
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--color-text-tertiary);
}

/* MOKN-style hero title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
    cursor: default;
}

.hero-title .word.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Glow effect for accent words */
.hero-title .accent {
    color: #fff;
    text-shadow:
        0 0 20px rgba(167, 139, 250, 0.8),
        0 0 40px rgba(167, 139, 250, 0.6),
        0 0 60px rgba(80, 38, 127, 0.4);
    transition: all 0.3s var(--ease-out-expo);
}

/* Hover effect on accent title words only */
.hero-title .accent.revealed:hover {
    text-shadow:
        0 0 30px rgba(167, 139, 250, 1),
        0 0 60px rgba(167, 139, 250, 0.8),
        0 0 90px rgba(80, 38, 127, 0.6);
    transform: translateY(-4px) scale(1.05);
}

.hero-text {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 48px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
}

/* Buttons - Clean style with rotating border */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-bg);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    z-index: 1;
}

/* Rotating gradient border wrapper */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        var(--color-accent),
        var(--color-accent-light),
        var(--color-accent-lighter),
        var(--color-accent-light),
        var(--color-accent)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderAngle 3s linear infinite;
}

/* Pulsating glow behind the border */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        var(--color-accent),
        var(--color-accent-light),
        var(--color-accent-lighter),
        var(--color-accent-light),
        var(--color-accent)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    filter: blur(6px);
    opacity: 0.6;
    z-index: -1;
    animation: rotateBorderAngle 3s linear infinite, pulseBorder 2s ease-in-out infinite;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorderAngle {
    to { --border-angle: 360deg; }
}

@keyframes pulseBorder {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

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

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 0;
}

.hero-scroll-indicator span {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 12px;
    background: var(--color-accent-light);
    border-radius: var(--radius-full);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(100% - 12px); opacity: 0; }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 24px 80px;
    }

    .hero-eyebrow {
        flex-wrap: wrap;
        justify-content: center;
    }

    .eyebrow-line {
        display: none;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }
}

/* ==================== MARQUEE ==================== */
.marquee-section {
    padding: 32px 0;
    background: var(--color-bg-elevated);
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 10%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(200, 200, 220, 0.4) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        rgba(255, 255, 255, 0.03) 90%,
        transparent 100%
    ) 1;
    overflow: hidden;
    position: relative;
}

/* Metallic glow lines */
.marquee-section .metallic-glow {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
}

.marquee-section .metallic-glow--top {
    top: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 15%,
        rgba(200, 200, 220, 0.3) 35%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(200, 200, 220, 0.3) 65%,
        rgba(255, 255, 255, 0.05) 85%,
        transparent 100%
    );
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15), 0 0 30px rgba(200, 200, 220, 0.1);
}

.marquee-section .metallic-glow--bottom {
    bottom: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 15%,
        rgba(200, 200, 220, 0.3) 35%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(200, 200, 220, 0.3) 65%,
        rgba(255, 255, 255, 0.05) 85%,
        transparent 100%
    );
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15), 0 0 30px rgba(200, 200, 220, 0.1);
}

/* Gradient fade on edges */
.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg) 0%, var(--color-bg) 20%, transparent 100%);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg) 0%, var(--color-bg) 20%, transparent 100%);
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-shrink: 0;
    padding-right: 48px;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    flex-shrink: 0;
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.marquee-divider {
    color: var(--color-accent-light);
    font-size: 14px;
}

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

/* ==================== INTRO ==================== */
.intro {
    min-height: 100vh;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    overflow: hidden;
}

.intro-content {
    max-width: 1000px;
    transform-style: preserve-3d;
}

.intro-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: labelPulsate 2s ease-in-out infinite;
    animation-play-state: paused;
}

.intro-label.visible {
    animation-play-state: running;
}

@keyframes labelPulsate {
    0%, 100% {
        text-shadow: 0 0 10px rgba(138, 92, 184, 0.5), 0 0 20px rgba(138, 92, 184, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(138, 92, 184, 0.8), 0 0 40px rgba(138, 92, 184, 0.5), 0 0 60px rgba(138, 92, 184, 0.3);
    }
}

.label-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-light);
    border-radius: 50%;
    animation: dotPulsate 2s ease-in-out infinite;
    animation-play-state: paused;
}

.intro-label.visible .label-dot {
    animation-play-state: running;
}

@keyframes dotPulsate {
    0%, 100% {
        box-shadow: 0 0 8px rgba(138, 92, 184, 0.6), 0 0 16px rgba(138, 92, 184, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 16px rgba(138, 92, 184, 1), 0 0 32px rgba(138, 92, 184, 0.7), 0 0 48px rgba(138, 92, 184, 0.4);
        transform: scale(1.2);
    }
}

.intro-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
    transform-style: preserve-3d;
}

.intro-title .word {
    display: inline-block;
    opacity: 0;
    cursor: default;
    transform-style: preserve-3d;
}

.intro-title .char-wrap {
    display: inline-block;
    transform-style: preserve-3d;
    --hover-x: 0px;
    --hover-y: 0px;
    --hover-z: 0px;
    --hover-rx: 0deg;
    --hover-ry: 0deg;
    transform: translate3d(var(--hover-x), var(--hover-y), var(--hover-z))
               rotateX(var(--hover-rx)) rotateY(var(--hover-ry));
    transition: transform 0.3s ease-out;
}

.intro-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
}

@media (max-width: 768px) {
    .intro {
        padding: 24px;
    }
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 80px 48px 150px;
    margin-top: -100vh;
    position: relative;
    z-index: 1;
}

.features-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 17px;
    color: var(--color-text-secondary);
    margin-top: 16px;
}

/* Feature Tabs Navigation */
.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 8px;
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
}

.feature-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    overflow: hidden;
}

/* Animated gradient border for active state */
.feature-tab::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, transparent, var(--color-accent-light), var(--color-accent), transparent 40%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: tabBorderSpin 2.5s linear infinite;
}

.feature-tab::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--color-bg-elevated);
    border-radius: inherit;
    z-index: -1;
    transition: background 0.3s ease;
}

@keyframes tabBorderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-tab svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    z-index: 1;
}

.feature-tab span {
    position: relative;
    z-index: 1;
}

.feature-tab:hover {
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-tab.active {
    color: var(--color-text);
    border-color: transparent;
}

.feature-tab.active::before {
    opacity: 1;
}

.feature-tab.active svg {
    stroke: var(--color-text);
}

/* Feature Content Panels */
.feature-content {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-panel {
    display: none;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.feature-panel.active {
    display: grid;
}

.feature-panel .feature-info,
.feature-panel .feature-visual {
    will-change: transform, opacity;
}

/* Feature Info */
.feature-info {
    padding: 20px 0;
}

.feature-number {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent-light);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.feature-description {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--color-text-secondary);
}

.feature-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-badge {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

/* Feature Visual - Floating Video Card */
.feature-visual {
    position: relative;
    perspective: 1000px;
}

.feature-video-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.video-card-inner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(80, 38, 127, 0.2);
    transform: translateZ(0);
    transition: box-shadow 0.4s var(--ease-out-expo);
}

.video-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(80, 38, 127, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
    border-radius: var(--radius-xl);
}

.video-card-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 3;
}

.video-card-inner video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

/* Glow effect that follows tilt */
.video-card-glow {
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: radial-gradient(
        circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(80, 38, 127, 0.4) 0%,
        rgba(80, 38, 127, 0.1) 40%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease-out;
    pointer-events: none;
    z-index: -1;
}

.feature-video-card:hover .video-card-glow {
    opacity: 1;
}

.feature-video-card:hover .video-card-inner {
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(80, 38, 127, 0.3);
}

/* Floating animation with default tilt */
.feature-video-card {
    transform: rotateY(-4deg);
    animation: floatTilted 6s ease-in-out infinite;
}

@keyframes floatTilted {
    0%, 100% {
        transform: translateY(0) rotateY(-4deg);
    }
    50% {
        transform: translateY(-10px) rotateY(-4deg);
    }
}

/* Feature Tabs Mobile */
@media (max-width: 1024px) {
    .feature-tabs {
        flex-wrap: wrap;
        border-radius: var(--radius-xl);
    }

    .feature-tab span {
        display: none;
    }

    .feature-tab {
        padding: 14px 18px;
    }

    .feature-panel {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feature-info {
        order: 1;
    }

    .feature-visual {
        order: 2;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 100px 24px;
    }

    .feature-tabs {
        gap: 4px;
        padding: 6px;
    }

    .feature-tab {
        padding: 12px 14px;
    }

    .feature-tab svg {
        width: 18px;
        height: 18px;
    }

    .feature-panel {
        gap: 32px;
    }

    .feature-title {
        font-size: 28px;
    }

    .feature-description {
        font-size: 15px;
    }
}

/* ==================== BIG TEXT SECTION ==================== */
.big-text-section {
    padding: 200px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Ambient glow behind the text */
.big-text-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(80, 38, 127, 0.25) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.big-text-wrapper {
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.big-text {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.big-text-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.big-text-line.accent {
    background: linear-gradient(135deg, var(--color-accent-lighter) 0%, var(--color-accent-light) 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: textGlow 3s ease-in-out infinite;
}

/* Glow effect behind the accent text */
.big-text-line.accent::before {
    content: 'Your rules.';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(135deg, var(--color-accent-lighter) 0%, var(--color-accent-light) 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(30px);
    opacity: 0.7;
    z-index: -1;
    animation: textGlowPulse 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

@keyframes textGlowPulse {
    0%, 100% {
        opacity: 0.5;
        filter: blur(30px);
    }
    50% {
        opacity: 0.8;
        filter: blur(40px);
    }
}

@media (max-width: 768px) {
    .big-text-section {
        padding: 120px 24px;
    }
}

/* ==================== SOCIAL PROOF ==================== */
.proof {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: var(--color-bg);
}

.proof-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.proof-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    pointer-events: none;
}

.proof-panel-stats { z-index: 3; }
.proof-panel-testimonial { z-index: 2; }
.proof-panel-supports { z-index: 1; }

.proof-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
}

.proof-stat {
    flex: 1;
    text-align: center;
    padding: 20px 40px;
    opacity: 0;
    transform: translateY(40px);
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0.15) 80%,
        transparent
    );
    opacity: 0;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 56px);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-number span {
    color: inherit;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.proof-testimonial {
    max-width: 800px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 40px;
    color: var(--color-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 50%;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
}

.author-title {
    font-size: 14px;
    color: var(--color-text-tertiary);
}

.proof-logos {
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
}

.supports-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.supports-image {
    max-width: 100%;
    width: 900px;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.supports-image:hover {
    opacity: 1;
}

@media (max-width: 1024px) {
    .proof-stats {
        flex-wrap: wrap;
        gap: 40px;
        max-width: 600px;
    }

    .proof-stat {
        flex: 0 0 calc(50% - 20px);
        padding: 20px;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .proof-panel {
        padding: 24px;
    }

    .proof-stats {
        flex-direction: column;
        gap: 32px;
    }

    .proof-stat {
        flex: none;
        width: 100%;
    }

    .stat-number {
        font-size: 48px;
    }

    .supports-image {
        width: 100%;
    }
}

/* ==================== PRICING ==================== */
.pricing {
    padding: 150px 48px;
    background: var(--color-bg);
}

.pricing-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.section-text {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-top: 16px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.card-cta {
    margin-top: auto;
    padding-top: 24px;
}

.pricing-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(80, 38, 127, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(80, 38, 127, 0.5);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-6px);
    background: linear-gradient(135deg, rgba(80, 38, 127, 0.25) 0%, rgba(255, 255, 255, 0.07) 100%);
}

.card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-header {
    text-align: center;
    margin-bottom: 24px;
}

.plan-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
}

.price-period {
    font-size: 14px;
    color: var(--color-text-tertiary);
}

.plan-features {
    list-style: none;
    margin-bottom: 24px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: var(--color-text-secondary);
}

.plan-features li:last-child {
    border-bottom: none;
}

.check {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 3px;
    border-left: 1.5px solid white;
    border-bottom: 1.5px solid white;
    transform: translate(-50%, -60%) rotate(-45deg);
}

/* Label Card - Full Width Below */
.pricing-label-card {
    max-width: 960px;
    margin: 32px auto 0;
}

.pricing-card.wide {
    padding: 36px 40px;
}

.label-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.label-card-info {
    flex: 1;
}

.label-card-info .plan-name {
    text-align: left;
    margin-bottom: 12px;
}

.label-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    max-width: 500px;
}

.label-card-info .plan-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
    margin-bottom: 0;
}

.label-card-info .plan-features li {
    padding: 10px 0;
}

.label-card-cta {
    text-align: center;
    min-width: 200px;
}

.label-card-cta .plan-price {
    margin-bottom: 24px;
    flex-direction: column;
    gap: 0;
}

.label-card-cta .price-amount {
    font-size: 40px;
}

.label-card-cta .price-period {
    font-size: 14px;
}

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

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .label-card-content {
        flex-direction: column;
        text-align: center;
    }

    .label-card-info .plan-name {
        text-align: center;
    }

    .label-description {
        max-width: none;
    }

    .label-card-info .plan-features {
        grid-template-columns: 1fr;
    }

    .pricing-label-card {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 100px 24px;
    }

    .pricing-card.wide {
        padding: 40px 24px;
    }
}

/* ==================== CTA ==================== */
.cta {
    position: relative;
    padding: 200px 48px;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 50%);
    opacity: 0.4;
}

.cta-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    padding: 0 10%;
}

.cta-lines span {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.03), transparent);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta-line {
    display: block;
    will-change: transform, opacity, filter;
}

.cta-line.accent {
    color: var(--color-accent-light);
}

.cta-text {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    will-change: transform, opacity, filter;
}

.cta .btn-primary {
    will-change: transform, opacity;
}

@media (max-width: 768px) {
    .cta {
        padding: 120px 24px;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--color-bg);
    padding: 32px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-nav a {
    font-size: 13px;
    color: var(--color-text-tertiary);
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-tertiary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-accent-light);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .footer {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 8px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* ==================== UTILITY ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
