/* ========================================
   SYSTEM OPTIMIZER PRO - PURPLE EDITION
   Dark violet + black premium theme
   With noise texture and interactive cursor gradient
   ======================================== */

/* CSS @property for smooth animations */
@property --rotate {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}
@property --glow-opacity {
    syntax: "<number>";
    inherits: true;
    initial-value: 0.6;
}
@property --float-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}
@property --float-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}
@property --pulse {
    syntax: "<number>";
    inherits: true;
    initial-value: 1;
}

html {
    scroll-behavior: smooth;
}

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

:root {
    /* Deep purple + black theme */
    --ground: #050508;
    --ground-deep: #020205;
    --surface: rgba(20, 15, 35, 0.7);
    --surface-elevated: rgba(30, 25, 50, 0.8);

    /* Purple accent palette */
    --purple-primary: 242, 0, 137;      /* RGB for rgba */
    --purple-light: 209, 0, 209;
    --purple-dark: 161, 0, 242;
    --purple-deep: 45, 0, 247;
    --purple-rgb: 168, 85, 247;

    /* For direct color use */
    --purple-color: #A855F7;
    --purple-light-color: #C084FC;
    --purple-dark-color: #7C3AED;
    --purple-deep-color: #6B21A8;
    --purple-glow: rgba(168, 85, 247, 0.5);
    --purple-dim: rgba(168, 85, 247, 0.15);
    --purple-subtle: rgba(168, 85, 247, 0.08);

    /* Pink accent */
    --pink-accent: #EC4899;
    --pink-dim: rgba(236, 72, 153, 0.12);
    --pink-glow: rgba(236, 72, 153, 0.4);

    /* Blue accent */
    --blue-accent: #3B82F6;
    --blue-dim: rgba(59, 130, 246, 0.12);

    /* Cyan accent */
    --cyan-accent: #06B6D4;
    --cyan-dim: rgba(6, 182, 212, 0.12);

    /* Green for success */
    --green-accent: #10B981;
    --green-dim: rgba(16, 185, 129, 0.12);

    /* Text colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dim: rgba(255, 255, 255, 0.35);

    /* Borders */
    --border: rgba(168, 85, 247, 0.15);
    --border-strong: rgba(168, 85, 247, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Spacing scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-7: 64px;
    --space-8: 80px;
    --space-9: 96px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Interactive gradient variables */
    --cursor-x: 50%;
    --cursor-y: 50%;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--ground);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   NOISE TEXTURE OVERLAY
   ======================================== */
/* Noise texture for colored elements only */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
}

.noise-overlay-heavy {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(168, 85, 247, 0.03) 2px,
            rgba(168, 85, 247, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(168, 85, 247, 0.03) 2px,
            rgba(168, 85, 247, 0.03) 4px
        );
}

/* ========================================
   SPOTLIGHT BACKGROUND
   ======================================== */
.spotlight-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(107, 33, 168, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, #050508 0%, #020205 100%);
}

.spotlight {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--spotlight-color) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    will-change: transform;
    mix-blend-mode: screen;
}

/* Spotlight 1 - Purple - Top Left */
.spotlight-1 {
    --spotlight-color: rgba(242, 0, 137, 0.3);
    top: -300px;
    left: -200px;
    animation: spotlightFloat1 30s ease-in-out infinite;
}

/* Spotlight 2 - Pink - Right */
.spotlight-2 {
    --spotlight-color: rgba(236, 72, 153, 0.25);
    top: 20%;
    right: -250px;
    width: 700px;
    height: 700px;
    animation: spotlightFloat2 25s ease-in-out infinite;
}

/* Spotlight 3 - Deep Purple - Bottom */
.spotlight-3 {
    --spotlight-color: rgba(124, 58, 237, 0.28);
    bottom: -200px;
    left: 30%;
    width: 900px;
    height: 900px;
    animation: spotlightFloat3 35s ease-in-out infinite;
}

/* Spotlight 4 - Blue accent - Left */
.spotlight-4 {
    --spotlight-color: rgba(59, 130, 246, 0.2);
    top: 50%;
    left: -300px;
    width: 600px;
    height: 600px;
    animation: spotlightFloat4 28s ease-in-out infinite;
}

@keyframes spotlightFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, 80px) scale(1.15); }
    66% { transform: translate(50px, -40px) scale(0.9); }
}

@keyframes spotlightFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-120px, 100px) scale(1.2); }
}

@keyframes spotlightFloat3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-100px, -60px) rotate(180deg); }
}

@keyframes spotlightFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, -80px) scale(1.1); }
}

/* ========================================
   INTERACTIVE CURSOR GRADIENT
   ======================================== */
.interactive-gradients {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    opacity: 0.6;
    filter: blur(60px);
    pointer-events: none;
}

/* Static background blobs - barely moving */
.gradient-blob:nth-child(1) {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.5) 0%, rgba(168, 85, 247, 0) 70%);
    top: 40%;
    left: 30%;
    animation: subtleFloat1 12s ease-in-out infinite;
}

.gradient-blob:nth-child(2) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.45) 0%, rgba(236, 72, 153, 0) 70%);
    top: 60%;
    left: 70%;
    animation: subtleFloat2 14s ease-in-out infinite;
}

.gradient-blob:nth-child(3) {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0) 70%);
    top: 30%;
    left: 60%;
    animation: subtleFloat3 13s ease-in-out infinite;
}

.gradient-blob:nth-child(4) {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, rgba(124, 58, 237, 0) 70%);
    top: 70%;
    left: 40%;
    animation: subtleFloat4 15s ease-in-out infinite;
}

.gradient-blob:nth-child(5) {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.3) 0%, rgba(192, 132, 252, 0) 70%);
    top: 50%;
    left: 50%;
    animation: subtleFloat5 16s ease-in-out infinite;
}

/* Mouse trail blobs - created dynamically */
.trail-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
}

@keyframes subtleFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
}

@keyframes subtleFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-25px, -30px); }
}

@keyframes subtleFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -25px); }
}

@keyframes subtleFloat4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 15px); }
}

@keyframes subtleFloat5 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, 20px); }
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(-50%, -50%) translate(0, 0) scale(1); }
    25% { transform: translate(-50%, -50%) translate(40px, -30px) scale(1.1); }
    50% { transform: translate(-50%, -50%) translate(-20px, 50px) scale(0.95); }
    75% { transform: translate(-50%, -50%) translate(-40px, -20px) scale(1.05); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(-50%, -50%) translate(-100px, -80px) rotate(0deg); }
    33% { transform: translate(-50%, -50%) translate(-60px, -120px) rotate(120deg) scale(1.1); }
    66% { transform: translate(-50%, -50%) translate(-140px, -40px) rotate(240deg) scale(0.9); }
}

@keyframes blobFloat3 {
    0%, 100% { transform: translate(-50%, -50%) translate(100px, 80px) scale(1); }
    50% { transform: translate(-50%, -50%) translate(140px, 40px) scale(1.2); }
}

@keyframes blobFloat4 {
    0%, 100% { transform: translate(-50%, -50%) translate(-80px, 100px) scale(1); }
    50% { transform: translate(-50%, -50%) translate(-40px, 140px) scale(0.85); }
}

@keyframes blobFloat5 {
    0%, 100% { transform: translate(-50%, -50%) translate(80px, -100px) scale(1); }
    25% { transform: translate(-50%, -50%) translate(120px, -60px) scale(1.15); }
    75% { transform: translate(-50%, -50%) translate(40px, -140px) scale(0.95); }
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -50px) scale(1.2); }
    50% { transform: translate(-50px, 100px) scale(0.9); }
    75% { transform: translate(-100px, -80px) scale(1.1); }
}

@keyframes blobFloat2x {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(80px, 60px) rotate(120deg); }
    66% { transform: translate(-60px, -40px) rotate(240deg); }
}

@keyframes blobFloat3x {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-150px, 100px) scale(1.3); }
}

@keyframes blobFloat4x {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(120px, 80px) scale(0.8); }
}

@keyframes blobFloat5x {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-80px, -100px) scale(1.15); }
    75% { transform: translate(100px, 60px) scale(0.95); }
}

/* Grid pattern overlay */
.grid-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.03;
}

.content-above {
    position: relative;
    z-index: 10;
}

/* ========================================
   CONTAINER
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.container-narrow {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

/* ========================================
   BADGE
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.badge-purple {
    background: var(--purple-dim);
    color: var(--purple-light-color);
    border: 1px solid var(--purple-glow);
    box-shadow: 0 0 20px var(--purple-glow);
}

.badge-green {
    background: var(--green-dim);
    color: var(--green-accent);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pink {
    background: var(--pink-dim);
    color: var(--pink-accent);
    border: 1px solid var(--pink-glow);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    height: 54px;
    padding: 0 var(--space-6);
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn:hover::before {
    opacity: 0.03;
}

.btn:focus-visible {
    outline: 2px solid var(--purple-light-color);
    outline-offset: 2px;
}

.btn-lg {
    height: 60px;
    padding: 0 var(--space-7);
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink-accent), var(--purple-dark-color));
    color: #FFF;
    box-shadow: 0 0 40px var(--purple-glow);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px var(--purple-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--purple-light-color);
}

.btn-white {
    background: rgba(255, 255, 255, 0.95);
    color: var(--purple-dark-color);
}

.btn-white:hover {
    background: #FFF;
}

/* ========================================
   CARDS - Premium glassmorphism
   ======================================== */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(168, 85, 247, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    border-color: var(--purple-light-color);
    background: var(--surface-elevated);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(107, 33, 168, 0.3);
}

.card:hover::before {
    opacity: 0.03;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    padding: var(--space-9) 0 var(--space-8);
    text-align: center;
}

.hero-badge {
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: clamp(4rem, 12vw, 7rem);
    line-height: 0.9;
    margin-bottom: var(--space-5);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.85) 50%, rgba(242, 0, 137, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .emphasis {
    background: linear-gradient(135deg, var(--purple-light-color), var(--pink-accent), var(--purple-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px var(--purple-glow));
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: drop-shadow(0 0 40px var(--purple-glow)); }
    50% { filter: drop-shadow(0 0 60px var(--pink-glow)); }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto var(--space-8);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.hero-trust {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
    margin-bottom: var(--space-3);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
    color: var(--text-secondary);
}

.trust-item i {
    font-size: 16px;
    color: var(--purple-color);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    padding: var(--space-4) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-4);
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Noise texture on stat cards */
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    opacity: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 1;
}

/* Noise only on gradient bottom bar when hovering */
.stat-card:hover::before {
    opacity: 0.03;
}

.stat-card:hover {
    border-color: var(--purple-light-color);
    background: var(--surface-elevated);
    transform: translateY(-4px);
}

.stat-card:hover::after {
    opacity: 0.03;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-2);
    background: linear-gradient(180deg, #FFFFFF, var(--purple-light-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    padding: var(--space-9) 0;
}

.features-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.features-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--space-4);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.features-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent), var(--cyan-accent));
    -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;
}

/* Noise texture on feature cards */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    opacity: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 1;
}

/* Noise only on gradient border when hovering */
.feature-card:hover::before {
    opacity: 0.03;
}

.feature-card:hover {
    border-color: var(--purple-light-color);
    background: var(--surface-elevated);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(107, 33, 168, 0.4);
}

.feature-card:hover::after {
    opacity: 0.03;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    font-size: 28px;
    background: var(--purple-dim);
    color: var(--purple-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
    color: #FFF;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px var(--purple-glow);
}

.feature-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: var(--space-4);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    font-size: 14px;
    color: var(--text-muted);
}

.feature-list li i {
    color: var(--purple-color);
    font-size: 12px;
}

/* ========================================
   DETAILED FEATURES SECTION
   ======================================== */
.detailed-features {
    padding: var(--space-9) 0;
    background: linear-gradient(180deg, transparent, rgba(107, 33, 168, 0.1), transparent);
}

.detailed-features-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.detailed-feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-5);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Noise texture on detailed feature cards */
.detailed-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    opacity: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 1;
}

/* Noise only on border when hovering */
.detailed-feature-card:hover::before {
    opacity: 0.03;
}

.detailed-feature-card:hover {
    border-color: var(--purple-light-color);
    background: var(--surface-elevated);
}

.detailed-feature-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.detailed-feature-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, var(--purple-dim), var(--pink-dim));
    color: var(--purple-color);
    flex-shrink: 0;
}

.detailed-feature-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.detailed-feature-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.detailed-feature-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.spec-item {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid var(--purple-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(168, 85, 247, 0.12);
    border-color: var(--purple-dim);
}

.spec-item-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-1);
}

.spec-item-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--purple-light-color);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: var(--space-9) 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark-color));
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto var(--space-4);
    box-shadow: 0 0 30px var(--purple-glow);
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: var(--space-9) 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--purple-dim) 0%, var(--pink-dim) 50%, var(--blue-dim) 100%);
    border: 1px solid var(--purple-glow);
    border-radius: 28px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-accent), var(--blue-accent), var(--purple-primary));
    background-size: 300% 100%;
    animation: gradientFlow 8s linear infinite;
}

/* Noise texture on CTA card gradient background */
.cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 1;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.cta-content {
    text-align: center;
    padding: var(--space-9) var(--space-7);
    position: relative;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-4);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto var(--space-6);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: var(--space-7) 0;
    margin-top: var(--space-9);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-text {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-3);
}

.footer-link {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    background: var(--purple-dim);
    color: var(--purple-color);
    border-color: var(--purple-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--purple-glow);
}

/* ========================================
   TITLEBAR
   ======================================== */
.app-window {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-5);
    background: rgba(5, 5, 8, 0.95);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.titlebar-left {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.titlebar-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-accent));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #FFF;
    box-shadow: 0 0 25px var(--purple-glow);
}

.titlebar-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.titlebar-right {
    display: flex;
    gap: var(--space-2);
}

.titlebar-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.titlebar-btn:hover {
    background: rgba(168, 85, 247, 0.15);
    color: var(--text-primary);
}

.titlebar-btn.close:hover {
    background: #FF3333;
    color: white;
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-container {
    flex: 1;
    overflow-y: auto;
}

.main-container::-webkit-scrollbar {
    width: 10px;
}

.main-container::-webkit-scrollbar-track {
    background: transparent;
}

.main-container::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

.main-container::-webkit-scrollbar-thumb:hover {
    background: var(--purple-dim);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }
.delay-6 { animation-delay: 0.6s; opacity: 0; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }

    .hero-section {
        padding: var(--space-8) 0 var(--space-7);
    }

    .stats-section {
        padding: var(--space-7) 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .detailed-feature-card {
        padding: var(--space-6);
    }

    .detailed-feature-header {
        flex-direction: column;
        text-align: center;
    }

    .detailed-feature-specs {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: var(--space-7) var(--space-5);
    }

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

    .titlebar-title {
        display: none;
    }

    .hero-trust {
        gap: var(--space-4);
    }

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

    .interactive-gradients {
        filter: blur(30px);
    }

    .gradient-blob {
        filter: blur(30px) !important;
    }

    .gradient-blob:nth-child(1),
    .gradient-blob:nth-child(2),
    .gradient-blob:nth-child(3),
    .gradient-blob:nth-child(4),
    .gradient-blob:nth-child(5) {
        width: 200px !important;
        height: 200px !important;
    }

    .interactive-gradients::after {
        width: 150px !important;
        height: 150px !important;
        filter: blur(30px) !important;
    }

    .cursor-gradient {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ========================================
   SELECTION & FOCUS
   ======================================== */
::selection {
    background: var(--purple-primary);
    color: #FFF;
}

:focus-visible {
    outline: 2px solid var(--purple-light-color);
    outline-offset: 2px;
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .spotlight {
        display: none;
    }

    .grid-overlay {
        display: none;
    }

    .noise-overlay {
        opacity: 0.2;
    }

    .noise-overlay-heavy {
        display: none;
    }

    .interactive-gradients {
        display: none;
    }
}

/* ========================================
   NEW FEATURES - WEBGL SHADER BACKGROUND
   ======================================== */

/* WebGL Shader Canvas */
.shader-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    animation: fadeInShader 2s ease-out forwards;
}

@keyframes fadeInShader {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Brand Logo Marquee - Optimized */
.brand-marquee-section {
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.05) 0%, transparent 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
    contain: layout style paint; /* Optimize repaints */
    transform: translateZ(0); /* Force GPU layer */
}

.marquee-label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    contain: layout style paint;
    /* Simplified mask for better performance */
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-content {
    position: relative;
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

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

.brand-logos {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px;
}

.brand-logo {
    width: auto;
    height: 28px;
    max-width: 120px;
    opacity: 0.4;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.brand-logo:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

/* Brand logo colors */
.fill-cyan {
    fill: #06B6D4;
}

.fill-white {
    fill: rgba(255, 255, 255, 0.7);
}

.fill-orange {
    fill: #FF9900;
}

.brand-logo-text text {
    fill: rgba(255, 255, 255, 0.6);
}

/* Duplicate for infinite scroll */
.marquee-track::after {
    content: '';
    position: absolute;
    left: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Tahoe Glass Text Effect - Optimized */
.tahoe-glass-text {
    color: transparent;
    /* Simplified gradient for better performance */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.3) 40%,
        rgba(255, 255, 255, 0.95) 60%,
        rgba(255, 255, 255, 0.95) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
    /* Simplified shadows */
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
    animation: shimmer 10s linear infinite; /* Slower = less CPU */
    will-change: background-position;
    transform: translateZ(0); /* Force GPU layer */
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: 0% center;
    }
}

/* Mobile responsive for marquee */
@media (max-width: 768px) {
    .brand-logos {
        gap: 40px;
    }

    .brand-logo {
        width: 60px;
        height: 24px;
    }

    .marquee-label {
        font-size: 10px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }

    .tahoe-glass-text {
        animation: none;
    }

    .brand-logo {
        transition: none;
    }
}
