/* ================================================
   PROJECT ALPHA - ENTERPRISE DESIGN SYSTEM
   Premium Futuristic AI Marketing Website
   ================================================ */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === DESIGN TOKENS === */
:root {
    /* Brand Colors - World-Class Marketing Website Palette */
    --primary: #6366F1;        /* Indigo-500 - Confident, professional, modern */
    --primary-dark: #4F46E5;   /* Indigo-600 - Depth and hierarchy */
    --primary-light: #818CF8;  /* Indigo-400 - Softer accents */
    --accent: #3B82F6;         /* Blue-500 - Trustworthy, enterprise-grade */
    --accent-light: #60A5FA;   /* Blue-400 - Interactive elements */
    --accent-dark: #2563EB;    /* Blue-600 - Strong CTAs */
    --success: #10B981;        /* Emerald-500 - Positive outcomes */
    --warning: #F59E0B;        /* Amber-500 - Attention without alarm */
    --error: #EF4444;          /* Red-500 - Critical alerts */
    
    /* Dark Mode Foundation - Warmer, More Inviting */
    --dark-base: #0F172A;      /* Slate-900 - Rich, warm black */
    --dark-elevation: #1E293B; /* Slate-800 - Cards and elevated surfaces */
    --dark-card: #334155;      /* Slate-700 - Interactive backgrounds */
    --dark-hover: #475569;     /* Slate-600 - Hover states */
    
    /* Text Hierarchy - Perfect Readability */
    --text-primary: #F8FAFC;   /* Slate-50 - Crisp white, easy on eyes */
    --text-secondary: #CBD5E1; /* Slate-300 - Body text, high readability */
    --text-tertiary: #94A3B8;  /* Slate-400 - Subtle labels and meta */
    --text-muted: #64748B;     /* Slate-500 - Deemphasized content */
    
    /* Borders & Strokes */
    --glass-stroke: rgba(248, 250, 252, 0.08);
    --glass-stroke-strong: rgba(248, 250, 252, 0.12);
    --border-subtle: rgba(248, 250, 252, 0.05);
    --border-focus: rgba(99, 102, 241, 0.4);
    
    /* Gradients - Premium & Sophisticated */
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #3B82F6 100%);
    --gradient-accent: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    --gradient-warm: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    --gradient-hero: linear-gradient(135deg, #6366F1 0%, #3B82F6 50%, #06B6D4 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
                     radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.10) 0px, transparent 50%),
                     radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.12) 0px, transparent 50%);
    
    /* Shadows & Glows - Professional Depth */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.10);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.14);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.24);
    --shadow-2xl: 0 24px 56px rgba(0, 0, 0, 0.32);
    --glow-primary: 0 0 32px rgba(99, 102, 241, 0.20);
    --glow-accent: 0 0 32px rgba(59, 130, 246, 0.20);
    --glow-success: 0 0 32px rgba(16, 185, 129, 0.20);
    --glow-strong: 0 0 48px rgba(99, 102, 241, 0.30);
    
    /* Typography */
    --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GLOBAL STYLES === */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--dark-base);
    background-image: var(--gradient-mesh);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === SELECTION STYLING === */
::selection {
    background: rgba(99, 102, 241, 0.25);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(99, 102, 241, 0.25);
    color: var(--text-primary);
}

/* === FOCUS STYLES === */
*:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* === ANIMATED BACKGROUND GRID === */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
}

/* === GLASS MORPHISM UTILITY === */
.glass {
    background: rgba(30, 27, 75, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-stroke);
}

.glass-strong {
    background: rgba(30, 27, 75, 0.6);
    backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-stroke);
    transition: all var(--transition-base);
}

nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
}

.logo:hover {
    filter: brightness(1.2);
    text-shadow: var(--glow-primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-base);
    letter-spacing: 0.02em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
    background: var(--gradient-primary);
}

.nav-links a.active::after {
    width: 100%;
    background: var(--primary);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--glow-strong);
    filter: brightness(1.15);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow-xl), var(--glow-accent);
    transform: translateY(-3px) scale(1.02);
    border-color: var(--accent-light);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

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

/* === HERO SECTION === */
.hero {
    min-height: 85vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-lg) var(--space-md);
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    margin-top: 80px;
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Animated Gradient Orbs - Softer, More Sophisticated */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    animation: float 20s ease-in-out infinite;
}

.hero::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366F1, transparent);
    top: -200px;
    left: -200px;
}

.hero::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3B82F6, transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
    text-align: left;
    padding-right: 1rem;
}

@media (max-width: 968px) {
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
}

/* === HERO VISUAL === */
.hero-visual {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.dashboard-mockup {
    position: relative;
    perspective: 1000px;
}

.mockup-browser {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-stroke-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2xl), var(--glow-primary);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s ease;
}

.dashboard-mockup:hover .mockup-browser {
    transform: rotateY(0deg) rotateX(0deg);
}

.browser-bar {
    background: rgba(15, 23, 42, 0.8);
    padding: 1rem;
    border-bottom: 1px solid var(--glass-stroke);
    display: flex;
    align-items: center;
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.browser-dots span:nth-child(1) {
    background: #EF4444;
}

.browser-dots span:nth-child(2) {
    background: #F59E0B;
}

.browser-dots span:nth-child(3) {
    background: #10B981;
}

.mockup-content {
    padding: 2rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.waveform {
    height: 80px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--primary) 5%, 
        transparent 5%, 
        transparent 10%,
        var(--primary) 10%,
        var(--primary) 12%,
        transparent 12%,
        transparent 15%,
        var(--accent) 15%,
        var(--accent) 25%,
        transparent 25%,
        transparent 30%,
        var(--primary) 30%,
        var(--primary) 35%,
        transparent 35%
    );
    background-size: 200% 100%;
    background-repeat: repeat-x;
    border-radius: var(--radius-sm);
    opacity: 0.6;
    animation: waveformSlide 3s linear infinite;
}

@keyframes waveformSlide {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric-card {
    height: 100px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-sm);
    animation: pulse 2s ease-in-out infinite;
}

.metric-card:nth-child(2) {
    animation-delay: 0.3s;
}

.metric-card:nth-child(3) {
    animation-delay: 0.6s;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite, fadeInUp 1s ease-out 0.4s backwards;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

/* === SECTION LAYOUTS === */
section {
    position: relative;
    z-index: 1;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.10);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    transition: all 0.3s ease;
}

.section-badge:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* === FEATURE CARDS === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-card {
    padding: var(--space-lg);
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow-2xl), var(--glow-strong);
    animation: glow 2s ease-in-out infinite;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    color: white;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.feature-card:hover .feature-icon::before {
    transform: translateX(100%);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--glow-strong), var(--shadow-lg);
    animation: pulse 1s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

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

/* === STATS SECTION === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-md);
}

.stat-card {
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    padding: 0 0.5rem;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: visible;
    display: block;
    width: 100%;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    line-height: 1.4;
}

/* === SPLIT SECTION === */
.split-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
    align-items: center;
    margin: 0;
}

.split-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.split-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
}

.split-content ul {
    list-style: none;
    padding: 0;
}

.split-content li {
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.split-content li:last-child {
    border-bottom: none;
}

.split-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === PRODUCT MOCKUPS === */
.product-mockup {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.mockup-window {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-stroke-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s ease;
}

.mockup-window:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl), var(--glow-primary);
}

.window-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-stroke);
}

.window-dots {
    display: flex;
    gap: 0.4rem;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.window-dots span:nth-child(1) {
    background: #EF4444;
}

.window-dots span:nth-child(2) {
    background: #F59E0B;
}

.window-dots span:nth-child(3) {
    background: #10B981;
}

.window-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.mockup-screen {
    padding: 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(59, 130, 246, 0.05));
}

.import-visual, .processing-visual, .coaching-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.progress-bars {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.progress-bar {
    height: 8px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 70%;
    background: var(--gradient-primary);
    border-radius: 50px;
    animation: progressSlide 2s ease-in-out infinite;
}

.progress-bar:nth-child(2)::after {
    width: 45%;
    animation-delay: 0.3s;
}

.progress-bar:nth-child(3)::after {
    width: 85%;
    animation-delay: 0.6s;
}

@keyframes progressSlide {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

.stats-mini {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.stat-mini {
    flex: 1;
    height: 60px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-sm);
    animation: pulse 2s ease-in-out infinite;
}

.stat-mini:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-mini:nth-child(3) {
    animation-delay: 0.4s;
}

.waveform-mini {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--primary) 3%, 
        transparent 3%, 
        transparent 6%,
        var(--accent) 6%,
        var(--accent) 10%,
        transparent 10%
    );
    background-size: 200% 100%;
    border-radius: var(--radius-sm);
    opacity: 0.6;
    animation: waveformSlide 3s linear infinite;
}

.coaching-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.coaching-card {
    height: 80px;
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    animation: slideInRight 0.6s ease-out;
}

.coaching-card:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === FORMS === */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-lg);
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), var(--glow-primary);
    background: rgba(15, 23, 42, 0.9);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* === SUCCESS MESSAGE === */
.success-message {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.5s ease-out;
    box-shadow: var(--shadow-lg), var(--glow-success);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.success-message p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* === LOGO GRID === */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.logo-item:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: var(--glass-stroke-strong);
    transform: translateY(-4px);
}

.company-logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.testimonial-card {
    padding: var(--space-lg);
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-xl), var(--glow-primary);
}

.quote-icon {
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: var(--glow-primary);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Features page specific spacing */
.features-grid {
    margin-top: 0;
}

/* === CTA SECTION === */
.cta-section {
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.12), transparent 70%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.cta-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* === FOOTER === */
footer {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-stroke);
    padding: var(--space-xl) var(--space-md) var(--space-md);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
}

.footer-brand h3 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--glass-stroke);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    .section-container {
        padding: var(--space-lg) var(--space-md);
    }
    
    .visual-placeholder {
        height: 300px;
    }
}

@media (max-width: 968px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero {
        min-height: 90vh;
        padding: var(--space-lg) var(--space-md);
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 6vw, 4rem) !important;
    }
    
    .split-section {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .form-container {
        padding: var(--space-md);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    /* Demo page specific */
    .section-container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    [style*="position: sticky"] {
        position: static !important;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 1rem;
        flex-wrap: nowrap;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo svg {
        width: 32px;
        height: 32px;
    }
    
    .nav-links {
        gap: 0.75rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: var(--space-md) 1rem;
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        order: 2;
        margin-top: var(--space-lg);
        display: none; /* Hide on mobile for cleaner look */
    }
    
    .hero-content {
        order: 1;
    }
    
    .dashboard-mockup {
        transform: scale(0.9);
    }
    
    .mockup-browser {
        transform: none;
    }
    
    .product-mockup {
        width: 100%;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .mockup-content {
        padding: 1rem;
        min-height: 250px;
    }
    
    .mockup-screen {
        padding: 1.5rem;
        min-height: 200px;
    }
    
    .product-mockup {
        transform: scale(0.95);
    }
    
    .window-title {
        font-size: 0.75rem;
    }
    
    /* Comparison table mobile */
    div[style*="grid-template-columns: 2fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    div[style*="grid-template-columns: 2fr 1fr 1fr"] > div {
        border-left: none !important;
        border-bottom: 1px solid var(--glass-stroke) !important;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-container {
        padding: var(--space-lg) 1rem;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
    
    .section-description {
        font-size: 1rem !important;
    }
    
    .feature-card {
        padding: var(--space-md);
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .stat-card {
        padding: var(--space-sm);
    }
    
    .stat-number {
        font-size: 2rem !important;
        padding: 0 0.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .cta-title {
        font-size: 2rem !important;
    }
    
    .cta-description {
        font-size: 1rem !important;
    }
    
    .visual-placeholder {
        height: 250px;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    /* Hide sticky positioning on mobile */
    [style*="position: sticky"] {
        position: static !important;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .hero h1 {
        font-size: 1.75rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .stat-card {
        padding: var(--space-md);
    }
    
    .stat-number {
        font-size: 2.5rem !important;
        white-space: normal;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-brand,
    .footer-links {
        text-align: center;
    }
}

/* === UTILITIES === */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    filter: drop-shadow(0 0 20px currentColor);
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

/* === ANIMATION KEYFRAMES === */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: var(--shadow-lg);
    }
    50% {
        box-shadow: var(--glow-primary), var(--shadow-xl);
    }
}

/* === SCROLL-TRIGGERED ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.features-grid .feature-card:nth-child(1) {
    animation-delay: 0s;
}

.features-grid .feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.features-grid .feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.features-grid .feature-card:nth-child(4) {
    animation-delay: 0.3s;
}

.features-grid .feature-card:nth-child(5) {
    animation-delay: 0.4s;
}

.features-grid .feature-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-base);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 2px solid var(--dark-base);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
    box-shadow: var(--glow-primary);
}
