/* ============================================
   IA LISTENING - Premium Design System v2.0
   Professional Grade CSS Architecture
   ============================================ */

/* === DESIGN TOKENS === */
:root {
    /* Brand Colors */
    --blue: #007BFF;
    --blue-light: #4da3ff;
    --blue-dark: #0056b3;
    --violet: #7A40FF;
    --violet-light: #9d6fff;
    --violet-dark: #5a2ed9;
    --violet-deep: #4520a8;
    --orange: #FF6D3A;
    --orange-light: #ff8a5c;

    /* Light Theme - Clean whites and grays */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-tertiary: #f0f2f7;
    --bg-accent: #e8ebf2;
    --surface: #ffffff;
    --surface-elevated: #ffffff;

    /* Text colors for light theme */
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-tertiary: #6b7280;
    --text-muted: #9ca3af;

    /* Border colors */
    --border-light: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    --border-strong: rgba(0, 0, 0, 0.15);

    /* Legacy variables (for compatibility) */
    --dark-900: #1a1a2e;
    --dark-800: #2d2d44;
    --gray-500: #6c757d;
    --gray-400: #8a919c;
    --gray-300: #adb5bd;
    --gray-200: #d1d5db;
    --white: #ffffff;

    /* Gradients - Light theme */
    --gradient-primary: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
    --gradient-primary-hover: linear-gradient(135deg, var(--violet-light) 0%, var(--blue-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--orange) 0%, var(--violet) 100%);
    --gradient-hero: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-card: linear-gradient(180deg, var(--surface) 0%, var(--bg-secondary) 100%);
    --gradient-card-hover: linear-gradient(180deg, var(--surface) 0%, var(--bg-tertiary) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(122, 64, 255, 0.08) 0%, transparent 70%);
    --gradient-accent: linear-gradient(135deg, rgba(122, 64, 255, 0.05) 0%, rgba(0, 123, 255, 0.05) 100%);

    /* Shadows - Soft shadows for light theme */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.05);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.12), 0 12px 24px rgba(0,0,0,0.06);
    --shadow-glow-violet: 0 4px 20px rgba(122, 64, 255, 0.15), 0 0 40px rgba(122, 64, 255, 0.08);
    --shadow-glow-blue: 0 4px 20px rgba(0, 123, 255, 0.15), 0 0 40px rgba(0, 123, 255, 0.08);
    --shadow-inner: inset 0 1px 2px rgba(0,0,0,0.06);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 8px 30px rgba(122, 64, 255, 0.12), 0 4px 12px rgba(0,0,0,0.08);

    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Type Scale - Perfect fourth (1.333) */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 2rem;        /* 32px */
    --text-4xl: 2.5rem;      /* 40px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.15;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;
    --leading-loose: 1.8;

    /* Letter Spacing */
    --tracking-tighter: -0.03em;
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.02em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    /* Spacing Scale */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Layout */
    --container-max: 1200px;
    --section-padding: clamp(80px, 12vh, 140px);

    /* Transitions - Refined easings */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 150ms var(--ease-out-expo);
    --transition-base: 250ms var(--ease-out-expo);
    --transition-smooth: 400ms var(--ease-out-quint);
    --transition-slow: 600ms var(--ease-out-quint);

    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal: 2000;
    --z-tooltip: 3000;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgba(122, 64, 255, 0.2);
    color: var(--text-primary);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

/* === UTILITIES === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

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

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

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-light {
    background: var(--bg-primary);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    line-height: var(--leading-none);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

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

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary:active {
    opacity: 0.8;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--border-strong);
}

.btn-white {
    background: var(--white);
    color: var(--text-primary);
}

.btn-white:hover {
    opacity: 0.9;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    padding: var(--space-5) 0;
    transition: all var(--transition-smooth);
}

.header.scrolled {
    padding: var(--space-3) 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 110px;
    width: auto;
    transition: var(--transition-fast);
}

.logo:hover img {
    opacity: 0.9;
}

.header.scrolled .logo img {
    height: 80px;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-10);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    letter-spacing: var(--tracking-wide);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--violet);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.lang-switch {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-1);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.lang-btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    transition: var(--transition-fast);
    letter-spacing: var(--tracking-wide);
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--violet);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    background: var(--bg-secondary);
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse at center top, rgba(122, 64, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--violet);
    margin-bottom: var(--space-6);
    letter-spacing: var(--tracking-wide);
}

.hero-label-dot {
    width: 8px;
    height: 8px;
    background: var(--violet);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-regular);
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: var(--space-10);
}

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

.hero-platforms {
    padding-top: var(--space-12);
    border-top: 1px solid var(--border-light);
}

.hero-platforms-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    font-weight: var(--font-weight-medium);
}

.hero-platforms-list {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
}

.platform-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* === STATS - Minimal Modern === */
.stats {
    padding: var(--space-16) 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

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

.stat-card {
    text-align: center;
    padding: var(--space-6);
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: var(--space-3);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-regular);
    color: var(--text-tertiary);
    line-height: 1.5;
}

.stats-source {
    text-align: center;
    margin-top: var(--space-8);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* === SECTION HEADERS - Clean Modern === */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--violet);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-5);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-regular);
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* === PROBLEM SECTION - Clean Layout === */
.problem-layout {
    max-width: 800px;
    margin: 0 auto;
}

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

.problem-content {
    margin-bottom: var(--space-10);
}

.problem-content p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

.problem-content p strong {
    color: var(--violet);
    font-weight: var(--font-weight-semibold);
}

.problem-lead {
    font-size: var(--text-xl) !important;
    color: var(--text-primary) !important;
    font-weight: var(--font-weight-regular);
    margin-bottom: var(--space-6) !important;
}

.problem-quote {
    border-left: 3px solid var(--violet);
    padding: var(--space-6) var(--space-8);
    margin: var(--space-10) 0;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.problem-quote p {
    font-size: var(--text-lg);
    color: var(--text-primary);
    font-style: italic;
    font-weight: var(--font-weight-medium);
    margin: 0;
    line-height: 1.6;
}

.problem-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--violet);
    font-size: var(--text-sm);
}

/* === PROCESS SECTION - Clean Modern === */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.process-card {
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    transition: border-color var(--transition-base);
}

.process-card:hover {
    border-color: var(--border-medium);
}

.process-number {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--violet);
    margin-bottom: var(--space-4);
    letter-spacing: var(--tracking-wide);
}

.process-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    margin-bottom: var(--space-5);
    color: var(--white);
}

.process-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.process-card > p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-5);
}

.process-list {
    list-style: none;
}

.process-list li {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-2);
    padding-left: var(--space-4);
    position: relative;
}

.process-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: var(--violet);
    border-radius: 50%;
}

/* === DIFFERENTIATORS === */
.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.diff-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.diff-step {
    display: flex;
    gap: var(--space-5);
    padding: var(--space-5);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-base);
}

.diff-step:hover {
    border-color: var(--border-medium);
}

.diff-step-number {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--violet);
    line-height: var(--leading-none);
    flex-shrink: 0;
}

.diff-step h4 {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-2);
    letter-spacing: var(--tracking-tight);
}

.diff-step p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.diff-table-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.diff-table-title {
    padding: var(--space-6);
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    border-bottom: 1px solid var(--border-light);
    letter-spacing: var(--tracking-tight);
}

.diff-table {
    width: 100%;
    border-collapse: collapse;
}

.diff-table th,
.diff-table td {
    padding: var(--space-4) var(--space-5);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.diff-table th {
    background: var(--bg-tertiary);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--text-secondary);
}

.diff-table td {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.diff-table tr:last-child td {
    border-bottom: none;
}

.diff-table td:first-child {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.diff-table tr:hover td {
    background: var(--bg-secondary);
}

/* === RANKINGS PREVIEW === */
.rankings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.ranking-card {
    display: block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
}

.ranking-card:hover {
    border-color: var(--violet);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(122, 64, 255, 0.1);
}

.ranking-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    margin: 0 auto var(--space-4);
    color: var(--white);
}

.ranking-card h3 {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.ranking-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* === CTA SECTION === */
.cta {
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-4);
    letter-spacing: var(--tracking-tight);
    color: var(--white);
}

.cta-text {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
    color: var(--white);
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-16);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: border-color var(--transition-base);
}

.contact-card:hover {
    border-color: var(--border-medium);
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
    color: var(--white);
}

.contact-card h3 {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-2);
}

.contact-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.contact-card a {
    color: var(--violet);
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
}

.contact-card a:hover {
    color: var(--violet-dark);
}

.contact-form-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
}

.contact-form-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-2);
    letter-spacing: var(--tracking-tight);
}

.contact-form-subtitle {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-8);
}

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

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input:hover,
.form-textarea:hover {
    border-color: var(--border-strong);
    background: var(--surface);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 2px rgba(122, 64, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

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

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2.22 4.22a.75.75 0 011.06 0L6 6.94l2.72-2.72a.75.75 0 111.06 1.06l-3.25 3.25a.75.75 0 01-1.06 0L2.22 5.28a.75.75 0 010-1.06z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

select.form-input option {
    padding: var(--space-3);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-top: var(--space-6);
    margin-bottom: var(--space-6);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--violet);
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    line-height: var(--leading-relaxed);
    cursor: pointer;
}

.form-checkbox a {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-checkbox a:hover {
    color: var(--violet-dark);
}

/* === FOOTER === */
.footer {
    background: #1a1a2e;
    border-top: none;
    padding: var(--space-20) 0 var(--space-8);
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-4);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
    font-size: var(--text-sm);
}

.footer-initiative {
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.footer-initiative a {
    color: var(--violet);
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
}

.footer-initiative a:hover {
    color: var(--violet-dark);
}

.s4i-logo {
    height: 32px;
    width: auto;
    vertical-align: middle;
    transition: opacity var(--transition-fast);
}

.s4i-logo:hover {
    opacity: 0.8;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.footer-social a:hover {
    background: var(--violet);
    border-color: var(--violet);
    color: var(--white);
}

.footer-links h4 {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-5);
    letter-spacing: var(--tracking-wide);
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: var(--space-2);
}

.footer-newsletter h4 {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-3);
    letter-spacing: var(--tracking-wide);
    color: var(--white);
}

.footer-newsletter > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.newsletter-form {
    display: flex;
    gap: var(--space-2);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--violet);
    background: rgba(122, 64, 255, 0.08);
}

.newsletter-form button {
    padding: var(--space-3) var(--space-5);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--white);
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-width: 300px;
}

.cookie-banner a {
    color: var(--violet);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner p {
        min-width: auto;
    }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .diff-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

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

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-6);
        gap: 0;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-xl);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: var(--space-4) 0;
        font-size: var(--text-base);
    }

    .menu-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .process-grid,
    .stats-grid,
    .rankings-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: var(--space-4) var(--space-6);
    }

    .hero-platforms-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }

    .hero-platforms-label {
        text-align: center;
        display: block;
        width: 100%;
    }

    /* Hide heavy effects on mobile for performance */
    .floating-orb {
        display: none;
    }

    .hero-mesh::before {
        animation: none;
    }

    .grid-pattern {
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: clamp(60px, 10vh, 100px);
    }

    .hero {
        padding-top: 100px;
        padding-bottom: var(--space-12);
    }

    .hero-title {
        font-size: var(--text-2xl);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: var(--text-sm);
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-label {
        font-size: var(--text-xs);
    }

    .stat-number {
        font-size: var(--text-2xl);
    }

    .stat-card {
        padding: var(--space-4);
    }

    .process-card {
        padding: var(--space-5);
    }

    .contact-form-wrapper {
        padding: var(--space-5);
    }

    .section-title {
        font-size: var(--text-xl);
    }

    .problem-quote {
        padding: var(--space-4);
    }

    .platform-item {
        font-size: var(--text-xs);
    }

    .platform-item img {
        width: 20px;
        height: 20px;
    }

    .hero-platforms {
        margin-top: var(--space-6);
    }

    .hero-platforms-label {
        font-size: var(--text-xs);
    }

    /* Simplify animations on small screens */
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* === ANIMATIONS === */
@media (prefers-reduced-motion: no-preference) {
    /* Fade in on scroll - add .animate class via JS */
    .animate-fade-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s var(--ease-out-quint), transform 0.6s var(--ease-out-quint);
    }

    .animate-fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animations */
    .stagger-1 { transition-delay: 0.1s; }
    .stagger-2 { transition-delay: 0.2s; }
    .stagger-3 { transition-delay: 0.3s; }
    .stagger-4 { transition-delay: 0.4s; }
}

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

/* ============================================
   SPECTACULAR VISUAL EFFECTS
   ============================================ */

/* Animated Mesh Gradient Background */
.hero-mesh {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-mesh::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 20%, rgba(122, 64, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 40% 70%, rgba(255, 109, 58, 0.08) 0%, transparent 30%);
    animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 4%) rotate(0deg); }
    75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* Floating Orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: floatOrb 15s ease-in-out infinite;
}

.floating-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(122, 64, 255, 0.3), rgba(0, 123, 255, 0.2));
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.25), rgba(122, 64, 255, 0.15));
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.floating-orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 109, 58, 0.2), rgba(122, 64, 255, 0.15));
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

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

/* Grid Pattern Background */
.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(122, 64, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 64, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    z-index: 0;
}

/* Gradient Text Animation */
.gradient-text-animated {
    background: linear-gradient(90deg, var(--violet), var(--blue), var(--violet));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
}

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

/* Premium Card Hover Effects */
.card-premium {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(122, 64, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-premium:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(122, 64, 255, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(122, 64, 255, 0.2);
}

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

.card-premium:hover::after {
    transform: scaleX(1);
}

/* Glow Button Effect */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s ease;
}

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

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for reveal */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Counter Animation */
.stat-number {
    font-variant-numeric: tabular-nums;
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Pulse Ring Effect */
.pulse-ring {
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--violet);
    border-radius: inherit;
    opacity: 0;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Magnetic Hover Effect (requires JS) */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text Gradient Underline */
.underline-gradient {
    position: relative;
    display: inline;
}

.underline-gradient::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.underline-gradient:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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