/* ===================================
   ELEVEA - MODERN DESIGN SYSTEM
   =================================== */

:root {
    /* Primary Colors */
    --primary: #0369A1;
    --primary-light: #0ea5e9;
    --primary-dark: #075985;
    --secondary: #0097D7;
    --accent: #06b6d4;
    --teal: #245E51;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #0369A1 0%, #0097D7 50%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #0369A1 0%, #0097D7 50%, #06b6d4 100%);
    --gradient-glow: linear-gradient(135deg, rgba(3, 105, 161, 0.4) 0%, rgba(0, 151, 215, 0.4) 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --black: #020617;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --header-height: 80px;
    --section-padding: 120px 0;
    --container-max-width: 1280px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 60px rgba(3, 105, 161, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: #050a14;
    color: var(--gray-100);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   UTILITIES
   =================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(3, 105, 161, 0.1);
    border: 1px solid rgba(3, 105, 161, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    width: fit-content;
}

/* Badge Icon Styles */
.badge-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Center badges in sections with centered text */
.section--problem .container,
.section--integrations .integrations-header,
.section--benefits .container,
.section--audience .container,
.section--testimonials .container,
.section--faq .container {
    text-align: center;
}

/* Reset text alignment for grids and their children */
.benefits-grid,
.audience-grid,
.testimonials-row,
.faq-accordion,
.problem-visual-layout {
    text-align: left;
}

/* ===================================
   NETWORK ANIMATION BACKGROUND
   =================================== */
#org-chart {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

.connection-line {
    stroke: var(--primary-dark);
    stroke-width: 1;
    fill: none;
    opacity: 0;
    animation: fadeInLine 1.5s ease-out forwards;
}

.network-node {
    fill: var(--primary-dark);
    opacity: 0;
    animation: nodeAppear 1s ease-out forwards;
}

.employee-node {
    fill: var(--primary-dark);
    stroke: var(--primary-dark);
    stroke-width: 1;
    opacity: 0;
    animation: nodeAppear 1s ease-out forwards;
}

.network-pulse {
    animation: networkPulse 2.5s ease-in-out forwards;
}

@keyframes fadeInLine {
    to { opacity: 0.3; }
}

@keyframes nodeAppear {
    to { opacity: 0.5; transform: scale(1); }
}

@keyframes networkPulse {
    0% { opacity: 0; fill: var(--secondary); }
    20% { opacity: 0.9; fill: var(--secondary); }
    100% { opacity: 0; fill: var(--teal); }
}

/* ===================================
   HEADER
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 10000;
    transition: all var(--transition-base);
}

.header--scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header--hidden {
    transform: translateY(-100%);
}

.header-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo {
    height: 28px;
    width: auto;
}

.header-company-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--white);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Header CTAs */
.header-ctas {
    display: flex;
    gap: 0.75rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ===================================
   CTA BUTTONS
   =================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.cta-button--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

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

.cta-button--glow {
    position: relative;
    overflow: hidden;
}

.cta-button--glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button--glow:hover::before {
    transform: translateX(100%);
}

.cta-button--secondary {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary);
}

.cta-button--secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.cta-button--glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.cta-button--glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-button--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.cta-button--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.cta-button--full {
    width: 100%;
}

/* ===================================
   PAGE CONTENT
   =================================== */
.page-content {
    position: relative;
    z-index: 1;
}

/* ===================================
   SECTIONS BASE
   =================================== */
.section {
    position: relative;
    padding: var(--section-padding);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ===================================
   HERO SECTION
   =================================== */
.section--hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + 2rem) 0 4rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(3, 105, 161, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.section--hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    background: rgba(3, 105, 161, 0.15);
    border: 1px solid rgba(3, 105, 161, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Video */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.video-glow {
    position: absolute;
    inset: -20px;
    background: var(--gradient-glow);
    filter: blur(60px);
    opacity: 0.5;
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.video-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-video {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Screenshot */
.hero-screenshot-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.screenshot-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, var(--primary-light) 0%, var(--primary) 40%, transparent 70%);
    filter: blur(80px);
    opacity: 0.6;
    border-radius: var(--radius-2xl);
    z-index: -1;
    transition: all 0.3s ease-out;
}

.hero-screenshot {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
    transform: scale(0.65);
    transition: transform 0.15s cubic-bezier(0.33, 1, 0.68, 1);
}

.hero-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-screenshot.scaled + .screenshot-glow,
.hero-screenshot-wrapper.scaled .screenshot-glow {
    opacity: 0.7;
    filter: blur(80px);
}

/* Hero Mockups Composite */
.hero-mockups-composite {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 520px;
    margin: 0 auto;
}

.hero-mockup {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    will-change: transform;
    transition: transform 0.3s ease;
}

.hero-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

/* Overlapping positions - centered using left/right from center */
.hero-mockup--insights {
    width: 360px;
    top: 0;
    left: 50%;
    margin-left: -370px;
    z-index: 4;
    transform: rotate(-2deg);
    transform-origin: bottom right;
}

.hero-mockup--goals {
    width: 360px;
    top: 20px;
    left: 50%;
    margin-left: 10px;
    z-index: 3;
    transform: rotate(1.5deg);
    transform-origin: bottom left;
}

.hero-mockup--feedback {
    width: 380px;
    top: 260px;
    left: 50%;
    margin-left: -350px;
    z-index: 1;
    transform: rotate(1deg);
    transform-origin: top right;
}

.hero-mockup--trends {
    width: 380px;
    top: 240px;
    left: 50%;
    margin-left: 0px;
    z-index: 2;
    transform: rotate(-1deg);
    transform-origin: top left;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-mockups-composite {
        max-width: 700px;
        height: 420px;
    }

    .hero-mockup--insights { width: 340px; }
    .hero-mockup--goals { width: 340px; }
    .hero-mockup--feedback { width: 300px; }
    .hero-mockup--trends { width: 360px; }
}

@media (max-width: 768px) {
    .hero-mockups-composite {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 0 1rem !important;
        position: relative !important;
    }

    .hero-mockup {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        transform-origin: center center !important;
        width: 100% !important;
    }

    .hero-mockup--insights,
    .hero-mockup--goals,
    .hero-mockup--feedback,
    .hero-mockup--trends {
        position: relative !important;
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        transform-origin: center center !important;
    }

    /* Hide goals and feedback mockups on mobile, show only insights and trends */
    .hero-mockup--goals,
    .hero-mockup--feedback {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-mockups-composite {
        gap: 0.5rem !important;
        padding: 0 0.5rem !important;
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-500);
    font-size: 0.8125rem;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

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

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

/* ===================================
   PROBLEM SECTION
   =================================== */
.section--problem {
    background: rgba(15, 23, 42, 0.95);
}

.section--problem .section-title {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Problem Visual Layout - Two column */
.problem-visual-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

/* Chaos Visual - Left Side */
.problem-chaos-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Interactive Logo Ball */
.logo-ball {
    position: relative;
    width: 420px;
    height: 420px;
}

/* Chaos Items - Website Theme Colors (Dark Blue) */
.chaos-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.9;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    will-change: transform;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(7, 89, 133, 0.95) 0%, rgba(3, 105, 161, 0.9) 100%);
    color: #fff;
    border: 1px solid rgba(7, 89, 133, 0.5);
}

.chaos-label {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chaos-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    background: rgba(255, 255, 255, 0.95);
    color: #075985;
}

/* Logo styling */
.chaos-logo {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

.chaos-logo--svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chaos-logo--svg svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Problem Right Side Container */
.problem-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


/* Problem Points - Right Side */
.problem-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-point {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.point-x {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
}

.point-x--result {
    color: var(--secondary);
    background: rgba(0, 151, 215, 0.1);
}

.point-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
}

.point-icon--result {
    color: var(--secondary);
    background: rgba(0, 151, 215, 0.1);
}

.point-content h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.5;
    margin: 0;
    margin-bottom: 0.375rem;
}

.point-content h3 strong {
    font-weight: 700;
    color: var(--white);
}

.point-content p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.problem-point--result {
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.problem-point--result .point-content h3 strong {
    color: var(--secondary);
}

/* Legacy styles - keep for backwards compatibility */
.problem-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(3, 105, 161, 0.3);
    transform: translateY(-4px);
}

.problem-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.problem-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.problem-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.problem-card p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* Remove old problem-flow styles that are no longer used */
.problem-card--result .problem-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    margin-left: auto;
    margin-right: auto;
}

.problem-card--result h3 {
    color: var(--secondary);
}

.problem-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(3, 105, 161, 0.3);
    transform: translateY(-4px);
}

.problem-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.problem-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.problem-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.problem-card p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ===================================
   SOLUTION SECTION
   =================================== */
.section--solution {
    background: rgba(30, 41, 59, 0.95);
    overflow: hidden;
}

/* New Solution Layout */
.solution-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-text {
    max-width: 520px;
}

.solution-text .section-badge {
    margin-bottom: 1.5rem;
}

.solution-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.solution-description {
    font-size: 1.25rem;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.solution-description strong {
    font-weight: 600;
}

.solution-sub-description {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.solution-sub-description strong {
    color: var(--gray-300);
    font-weight: 500;
}

/* ===================================
   NEW SOLUTION FLOW VISUAL
   =================================== */
.solution-flow-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Solution Chat Visual - Modern Design */
.solution-chat-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Modern Chat Window */
.modern-chat-window {
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(3, 105, 161, 0.15);
}

.modern-chat-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modern-chat-logo {
    width: 22px;
    height: 22px;
}

.modern-chat-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}

/* Chat Messages Area */
.modern-chat-messages {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 140px;
    overflow: hidden;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.chat-message--user {
    justify-content: flex-end;
    padding-left: 2rem;
    max-width: 100%;
    overflow: hidden;
}

.user-message-bubble {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 18px 18px 4px 18px;
    font-size: 0.875rem;
    color: var(--white);
    line-height: 1.4;
    min-height: 20px;
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.chat-message--user .chat-input-text {
    display: inline;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.chat-message--user .chat-cursor {
    display: none;
}

.chat-message--user.typing .chat-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--white);
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}

.chat-message--ai {
    padding-right: 2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-message--ai.visible {
    opacity: 1;
    transform: translateY(0);
}

.ai-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.ai-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.ai-message-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 4px 18px 18px 18px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    min-height: 20px;
}

.solution-response-text {
    display: inline;
}

.solution-typing-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: var(--primary-light);
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

.solution-typing-cursor.hidden {
    display: none;
}

/* Modern Input Container */
.modern-chat-input-container {
    padding: 0 1rem 1rem 1rem;
}

.modern-chat-input-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modern-chat-input-box:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.modern-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.625rem;
}

.modern-input-placeholder {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
}

.modern-input-footer {
    display: flex;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.input-sources {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.input-action-icon {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.2s ease;
}

.input-action-icon:hover {
    color: rgba(255, 255, 255, 0.7);
}

.sources-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.source-pill {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    cursor: default;
    transition: background 0.2s ease;
}

.source-pill:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pill-icon {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

.pill-icon--zendesk {
    background: #fff;
    padding: 1px;
}

.pill-icon-fa {
    font-size: 0.75rem;
    color: var(--primary-light);
}

.pill-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    white-space: nowrap;
}

.modern-send-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.modern-send-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.modern-send-btn i {
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Chat Interface Output */
.chat-interface-output {
    width: 100%;
    position: relative;
    z-index: 10;
}

.chat-window {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(3, 105, 161, 0.15);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-header-dots {
    display: flex;
    gap: 6px;
}

.chat-header-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.chat-header-dots span:nth-child(1) { background: #ef4444; }
.chat-header-dots span:nth-child(2) { background: #eab308; }
.chat-header-dots span:nth-child(3) { background: #22c55e; }

.chat-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-300);
}

.chat-body {
    padding: 1.5rem;
}

.chat-input-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.chat-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 24px;
}

.chat-input-text {
    font-size: 0.9375rem;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
}

.chat-cursor {
    width: 2px;
    height: 20px;
    background: var(--primary-light);
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(3, 105, 161, 0.5);
}

.chat-send-btn i {
    font-size: 0.875rem;
}

/* AI Processing Wrapper with Data Flow */
.ai-processing-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 0;
    z-index: 5;
}

/* 2D AI Processing Filter */
.ai-filter-2d {
    position: relative;
    z-index: 10;
}

.ai-filter-2d .ai-filter-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(3, 105, 161, 0.4) 0%, transparent 70%);
    filter: blur(20px);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.ai-filter-2d .ai-filter-box {
    position: relative;
    width: 180px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow:
        0 10px 30px rgba(3, 105, 161, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ai-filter-logo {
    width: 24px;
    height: 24px;
}

/* Data Flow Animation: AI Processing to Chat */
.data-flow-connector {
    position: absolute;
    width: 2px;
    height: 80px;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    z-index: -1;
    overflow: hidden;
}

.data-flow-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to top,
        transparent 0%,
        rgba(3, 105, 161, 0.8) 20%,
        rgba(6, 182, 212, 0.6) 60%,
        rgba(14, 165, 233, 0.3) 100%
    );
    border-radius: 1px;
}

.data-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    bottom: -10px;
    box-shadow:
        0 0 10px rgba(6, 182, 212, 0.8),
        0 0 20px rgba(6, 182, 212, 0.5),
        0 0 30px rgba(6, 182, 212, 0.3);
    animation: particleRise 1.6s ease-out infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

.data-particle::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.data-particle::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 15px;
    background: linear-gradient(to top, rgba(6, 182, 212, 0.6), transparent);
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

@keyframes particleRise {
    0% {
        bottom: -10px;
        opacity: 0;
        transform: scale(0.5);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        bottom: calc(100% + 10px);
        opacity: 0;
        transform: scale(0.5);
    }
}

.data-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    animation: dataPulse 2s ease-in-out infinite;
}

@keyframes dataPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Streaming Inputs with Curves */
.streaming-inputs {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
}

.stream-curve {
    position: relative;
    width: 160px;
    height: 100%;
}

.stream-curve--left {
    /* Left side curve */
}

.stream-curve--right {
    /* Right side curve */
}

.stream-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    padding: 0.5rem 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-align: center;
    z-index: 20;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(3, 105, 161, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stream-curve--left .stream-label {
    /* Same styling as right */
}

.stream-curve--right .stream-label {
    /* Same styling as left */
}

/* Stream items animation */
.stream-items {
    position: absolute;
    inset: 0;
}

.stream-item {
    position: absolute;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    opacity: 0;
    animation: streamUp 8s linear infinite;
    animation-delay: var(--delay);
    /* GPU acceleration for smooth animations on mobile */
    will-change: offset-distance, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.stream-item img,
.stream-item svg {
    width: 30px;
    height: 30px;
    filter: grayscale(30%) brightness(1.1);
}

.stream-item svg {
    fill: var(--gray-300);
}

/* Left stream (logos) - path from center of label curving up through AI filter */
.stream-items--logos .stream-item {
    offset-path: path('M 80 480 Q 100 380 140 280 Q 170 200 160 140');
    offset-rotate: 0deg;
    animation-name: streamUpLeft;
}

@keyframes streamUpLeft {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

/* Right stream (thought bubbles) - path from center of container curving up through AI filter */
.stream-items--thoughts .stream-item {
    offset-path: path('M 80 480 Q 60 380 20 280 Q -10 200 0 140');
    offset-rotate: 0deg;
    animation-name: streamUpRight;
}

@keyframes streamUpRight {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

/* Thought bubble styling */
.thought-bubble {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
}

.thought-bubble i {
    font-size: 1.4rem;
    color: var(--accent);
}

/* Legacy Flow Diagram styles - kept for compatibility */
.solution-flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.flow-output,
.flow-processing,
.flow-inputs {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Flow Boxes */
.flow-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.flow-box--output {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.15);
}

.flow-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--white);
}

.flow-box-header i {
    color: var(--primary);
    font-size: 1.125rem;
}

.flow-box-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.flow-box-features span {
    font-size: 0.8125rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flow-box-features span::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

/* AI Processing Box */
.flow-processing {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.flow-connector--up {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.flow-box--ai {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9375rem;
}

.flow-box--ai i {
    font-size: 1.125rem;
}

.flow-connector-split {
    position: relative;
    width: 200px;
    height: 30px;
}

.split-line {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
}

.split-line--left {
    left: 25%;
}

.split-line--right {
    right: 25%;
}

.flow-connector-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
}

/* Input Boxes */
.flow-inputs {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.flow-box--input {
    flex: 1;
    max-width: 180px;
    text-align: center;
}

.flow-box--input .flow-box-header {
    justify-content: center;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.flow-box-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    justify-items: center;
}

.flow-box-icons img,
.flow-box-icons svg {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    filter: grayscale(30%);
}

.flow-box-icons svg {
    fill: var(--gray-400);
}

.flow-box-avatars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    justify-items: center;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar i {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Setup Badge - hidden by default now */
.flow-setup-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 151, 215, 0.1);
    border: 1px solid rgba(0, 151, 215, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
}

.flow-setup-badge i {
    font-size: 0.875rem;
}

/* Legacy styles - keep for backwards compatibility */
.solution-header {
    text-align: center;
    margin-bottom: 4rem;
}

.solution-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Screenshot */
.screenshot-wrapper {
    position: relative;
}

.screenshot-glow {
    position: absolute;
    inset: -30px;
    background: var(--gradient-glow);
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.screenshot-frame {
    position: relative;
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
}

.frame-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.frame-dots {
    display: flex;
    gap: 6px;
}

.frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-600);
}

.frame-dots span:nth-child(1) { background: #ef4444; }
.frame-dots span:nth-child(2) { background: #eab308; }
.frame-dots span:nth-child(3) { background: #22c55e; }

.frame-title {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
}

.solution-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* Solution Features */
.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.solution-feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(3, 105, 161, 0.3);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
}

.feature-icon-wrapper i {
    font-size: 1.25rem;
    color: var(--white);
}

.feature-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.375rem;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* ===================================
   FEATURES SECTION - STICKY SIDEBAR
   =================================== */
.section--features-sticky {
    background: rgba(15, 23, 42, 0.98);
    position: relative;
    padding: 0;
}

.features-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Left: Sticky Navigation */
.features-nav {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 45%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    padding-right: 3rem;
}

.features-nav .section-badge {
    text-align: left;
}

.features-nav .section-title {
    text-align: left;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.features-nav .section-subtitle {
    text-align: left;
    font-size: 1rem;
    color: var(--gray-400);
    margin-bottom: 2.5rem;
    max-width: 400px;
    margin-left: 0;
    margin-right: 0;
}

/* Navigation List */
.features-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.features-nav__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 0;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.features-nav__line {
    width: 3px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.features-nav__text {
    font-size: 0.9375rem;
    color: var(--gray-500);
    transition: all 0.3s ease;
    line-height: 1.4;
}

/* Active state */
.features-nav__item.active .features-nav__line {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(3, 105, 161, 0.5);
    height: 28px;
}

.features-nav__item.active .features-nav__text {
    color: var(--white);
    font-weight: 500;
}

/* Hover state */
.features-nav__item:hover:not(.active) .features-nav__line {
    background: rgba(255, 255, 255, 0.3);
}

.features-nav__item:hover:not(.active) .features-nav__text {
    color: var(--gray-300);
}

/* Right: Scrolling Visuals */
.features-visuals {
    flex: 1;
    padding: 4rem 4rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-visual {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 0;
    opacity: 0.3;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.feature-visual.in-view {
    opacity: 1;
    transform: translateY(0);
}

.feature-visual__header {
    text-align: left;
    margin-bottom: 2rem;
    max-width: 500px;
}

.feature-visual__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature-visual__subtitle {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* ===================================
   FEATURE 1: CUSTOMIZE VISUAL
   =================================== */
.visual-customize {
    width: 100%;
    max-width: 520px;
}

.visual-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Question rows with frequency dropdowns */
.question-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.question-row:last-child {
    border-bottom: none;
}

.question-row--faded {
    opacity: 0.5;
}

.question-text {
    font-size: 0.875rem;
    color: var(--gray-300);
    flex: 2;
    line-height: 1.4;
}

.frequency-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(3, 105, 161, 0.15);
    border: 1px solid rgba(3, 105, 161, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    width: 95px;
}

.frequency-select:hover {
    background: rgba(3, 105, 161, 0.25);
    border-color: rgba(3, 105, 161, 0.5);
}

.frequency-value {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.frequency-select i {
    font-size: 0.625rem;
    color: var(--primary);
    opacity: 0.7;
}

/* Visibility select dropdown */
.visibility-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    width: 135px;
}

.visibility-select:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
}

.visibility-value {
    font-size: 0.75rem;
    font-weight: 500;
    color: #a78bfa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.visibility-select i {
    font-size: 0.625rem;
    color: #a78bfa;
    opacity: 0.7;
}

/* Legacy toggle styles (kept for potential reuse) */
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-label {
    font-size: 0.9375rem;
    color: var(--gray-300);
}

.toggle {
    width: 48px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle.active {
    background: var(--primary);
}

.toggle-knob {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle.active .toggle-knob {
    transform: translateX(22px);
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
}

.slider-label {
    font-size: 0.9375rem;
    color: var(--gray-300);
    flex: 0 0 auto;
}

.slider {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
}

.slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 70%;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.slider-thumb {
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider-value {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    flex: 0 0 auto;
}

/* ===================================
   FEATURE 2: REAL-TIME FEED VISUAL
   =================================== */
.visual-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.feed-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: feedSlideIn 0.5s ease-out forwards;
}

.feed-card--1 { animation-delay: 0.3s; }
.feed-card--2 { animation-delay: 0.5s; }
.feed-card--3 { animation-delay: 0.7s; }

.feature-panel.in-view .feed-card {
    animation-play-state: running;
}

@keyframes feedSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-card__dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    box-shadow: 0 0 8px var(--primary);
}

.feed-card--1 .feed-card__dot { background: #10b981; box-shadow: 0 0 8px #10b981; }
.feed-card--2 .feed-card__dot { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.feed-card--3 .feed-card__dot { background: var(--primary); }

.feed-card__content {
    flex: 1;
}

.feed-card__title {
    font-size: 0.9375rem;
    color: var(--white);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.feed-card__time {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ===================================
   FEATURE 2: EVIDENCE-BACKED INSIGHTS (COMBINED)
   =================================== */
.visual-evidence-feed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 420px;
}

.visual-evidence-feed .feed-card {
    animation: none;
    opacity: 1;
    transform: none;
}

.visual-evidence-feed .feed-card--collapsed {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.visual-evidence-feed .feed-card--expanded {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(3, 105, 161, 0.3);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.feed-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    box-sizing: border-box;
}

.feed-card__expand-icon {
    color: var(--primary);
    font-size: 0.75rem;
    opacity: 0.7;
    margin-left: auto;
    flex-shrink: 0;
}

.feed-card__evidence {
    padding: 1rem 1.25rem 1.25rem;
    position: relative;
    padding-left: 2.5rem;
}

.feed-card__evidence .evidence-line {
    position: absolute;
    left: 1.25rem;
    top: 1rem;
    bottom: 1.25rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(3, 105, 161, 0.2));
    border-radius: 1px;
}

.feed-card__evidence .evidence-quote {
    animation: none;
    opacity: 1;
    transform: none;
    margin-bottom: 0.75rem;
}

.feed-card__evidence .evidence-quote:last-child {
    margin-bottom: 0;
}

/* ===================================
   FEATURE 3 (OLD): EVIDENCE VISUAL - DEPRECATED
   =================================== */
.visual-evidence {
    width: 100%;
    max-width: 400px;
}

.evidence-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
}

.evidence-insight {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.25rem;
}

.evidence-sources {
    position: relative;
    padding-left: 1.5rem;
}

.evidence-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(3, 105, 161, 0.2));
    border-radius: 1px;
}

.evidence-quote {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    animation: quoteSlideIn 0.4s ease-out forwards;
}

.evidence-quote--1 { animation-delay: 0.4s; }
.evidence-quote--2 { animation-delay: 0.6s; }
.evidence-quote--3 { animation-delay: 0.8s; }

.feature-panel.in-view .evidence-quote {
    animation-play-state: running;
}

@keyframes quoteSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.evidence-quote i {
    color: var(--primary);
    font-size: 0.75rem;
    margin-top: 2px;
    opacity: 0.7;
}

.evidence-quote span {
    font-size: 0.9375rem;
    color: var(--gray-400);
    font-style: italic;
    line-height: 1.5;
}

/* ===================================
   FEATURE 3: CHAT VISUAL (Enhanced)
   =================================== */
.visual-chat {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 420px;
}

.chat-bubble {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    max-width: 95%;
}

.chat-bubble--user {
    background: var(--primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble--user span {
    color: white;
    font-size: 0.9375rem;
}

.chat-bubble--ai {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    max-width: 100%;
    width: 100%;
}

/* AI Response Content */
.ai-response-content {
    min-height: 3.5rem;
    font-size: 0.9375rem;
    color: var(--gray-300);
    line-height: 1.6;
}

.chat-response-text {
    display: inline;
}

.chat-typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--primary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 1s infinite;
}

.chat-typing-cursor.hidden {
    display: none;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* AI Response Meta (confidence + evidence button) */
.ai-response-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ai-response-meta.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Confidence Indicator */
.confidence-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.confidence-indicator i {
    color: var(--success);
    font-size: 0.875rem;
}

.confidence-bar {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.confidence-fill {
    display: block;
    width: 85%;
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--primary-light));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.ai-response-meta.visible .confidence-fill {
    transform: scaleX(1);
}

/* View Evidence Button */
.view-evidence-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 20px;
    color: var(--primary-light);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.view-evidence-btn:hover {
    background: rgba(14, 165, 233, 0.25);
    border-color: rgba(14, 165, 233, 0.5);
    transform: translateY(-1px);
}

.view-evidence-btn i:first-child {
    font-size: 0.75rem;
}

.evidence-arrow {
    font-size: 0.625rem;
    transition: transform 0.3s ease;
}

.view-evidence-btn.active .evidence-arrow {
    transform: rotate(180deg);
}

/* Evidence Panel */
.evidence-panel {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.4s ease, margin-top 0.3s ease;
}

.evidence-panel.expanded {
    max-height: 400px;
    margin-top: 1rem;
}

.evidence-panel__header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.75rem;
}

.evidence-count {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.evidence-panel__quotes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Individual Evidence Quote */
.evidence-quote-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 0.875rem 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.evidence-panel.expanded .evidence-quote-item {
    opacity: 1;
    transform: translateX(0);
}

.evidence-panel.expanded .evidence-quote-item:nth-child(1) { transition-delay: 0.1s; }
.evidence-panel.expanded .evidence-quote-item:nth-child(2) { transition-delay: 0.2s; }
.evidence-panel.expanded .evidence-quote-item:nth-child(3) { transition-delay: 0.3s; }

.quote-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.quote-source img,
.quote-source svg {
    width: 16px;
    height: 16px;
}

.quote-source i {
    font-size: 0.875rem;
    color: var(--primary-light);
}

.quote-source span {
    font-size: 0.6875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.evidence-quote-item p {
    font-size: 0.8125rem;
    color: var(--gray-300);
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Legacy typing indicator (kept for compatibility) */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gray-500);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

.chat-response {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-300);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.feature-panel.in-view .typing-indicator {
    display: none;
}

.feature-panel:not(.in-view) .chat-response {
    display: none;
}

/* ===================================
   FEATURE 4: AI SCORING VISUAL
   =================================== */
.visual-ai-scoring {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.ai-scoring-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(3, 105, 161, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-scoring-header i {
    color: var(--primary);
    font-size: 1rem;
}

.ai-scoring-header span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-scoring-list {
    padding: 0.5rem 0;
}

.ai-score-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-score-item:last-child {
    border-bottom: none;
}

.ai-score-item--top {
    background: rgba(16, 185, 129, 0.08);
}

.ai-score-item--faded {
    opacity: 0.5;
}

.ai-score-rank {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    width: 28px;
    flex-shrink: 0;
}

.ai-score-item--top .ai-score-rank {
    color: #10b981;
}

.ai-score-content {
    flex: 1;
    min-width: 0;
}

.ai-score-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.ai-score-bars {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.score-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.score-label {
    font-size: 0.6875rem;
    color: var(--gray-500);
    width: 72px;
    flex-shrink: 0;
}

.score-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.6s ease-out;
}

.score-fill--high {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.score-fill--med {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.score-fill--low {
    background: linear-gradient(90deg, var(--gray-500), var(--gray-400));
}

.score-value {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-400);
    width: 24px;
    text-align: right;
}

.ai-score-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-400);
    width: 40px;
    text-align: right;
    flex-shrink: 0;
}

.ai-score-item--top .ai-score-total {
    color: #10b981;
}

.ai-scoring-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(3, 105, 161, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-scoring-footer i {
    color: var(--primary);
    font-size: 0.75rem;
}

.ai-scoring-footer span {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* ===================================
   FEATURE 5: COMMENTS VISUAL
   =================================== */
.visual-comments {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 350px;
}

.comment-thread {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(10px);
    animation: commentSlideIn 0.4s ease-out forwards;
}

.comment--1 { animation-delay: 0.3s; }
.comment--2 { animation-delay: 0.5s; }

.feature-panel.in-view .comment {
    animation-play-state: running;
}

@keyframes commentSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.comment-text {
    font-size: 0.9375rem;
    color: var(--gray-300);
    line-height: 1.5;
}

.agent-gathering {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(3, 105, 161, 0.1);
    border: 1px solid rgba(3, 105, 161, 0.2);
    border-radius: 12px;
}

.agent-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-icon i {
    font-size: 1rem;
    color: white;
}

.agent-status {
    flex: 1;
    font-size: 0.875rem;
    color: var(--gray-300);
}

.agent-dots {
    display: flex;
    gap: 4px;
}

.agent-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: agentDot 1.2s infinite;
}

.agent-dots span:nth-child(2) { animation-delay: 0.2s; }
.agent-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes agentDot {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Agent Outreach Section */
.agent-outreach {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

.outreach-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.outreach-header i {
    color: var(--primary-light);
    font-size: 0.75rem;
}

.outreach-list {
    display: flex;
    flex-direction: column;
}

.outreach-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.outreach-item:last-child {
    border-bottom: none;
}

.outreach-item img {
    width: 18px;
    height: 18px;
}

.outreach-name {
    font-size: 0.8125rem;
    color: var(--gray-200);
    font-weight: 500;
}

.outreach-role {
    flex: 1;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.outreach-status {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.outreach-status--sent {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.outreach-status--pending {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

/* Goal Tracking Visual */
.visual-goals {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.goals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.goals-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-100);
    margin: 0;
}

.ai-suggest-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--primary-light);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-suggest-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(6, 182, 212, 0.25));
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-1px);
}

.ai-suggest-btn i {
    font-size: 0.875rem;
}

.goals-table {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.goals-table__header {
    display: grid;
    grid-template-columns: 1fr 100px 150px;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.goals-table__row {
    display: grid;
    grid-template-columns: 1fr 100px 150px;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    align-items: center;
    transition: background 0.2s ease;
}

.goals-table__row:last-child {
    border-bottom: none;
}

.goals-table__row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.goals-table__row--ai-suggested {
    background: rgba(139, 92, 246, 0.05);
    border-left: 3px solid var(--primary);
}

.goals-table__row--ai-suggested:hover {
    background: rgba(139, 92, 246, 0.08);
}

.goals-col {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-200);
    white-space: nowrap;
}

.goals-col--goal {
    font-weight: 500;
}

.goal-icon {
    color: var(--primary-light);
    font-size: 0.875rem;
}

.ai-icon {
    color: var(--primary);
    font-size: 0.875rem;
}

.ai-tag {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 4px;
    color: var(--primary-light);
}

.accept-goal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 6px;
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.accept-goal-btn:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.5);
}

.accept-goal-btn i {
    font-size: 0.75rem;
}

.accept-goal-btn--icon-only {
    padding: 0.5rem;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    justify-content: center;
}

.accept-goal-btn--icon-only i {
    font-size: 0.875rem;
}

/* AI Goal with integrated insight */
.ai-goal-with-insight {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.25rem !important;
    white-space: normal;
}

.ai-goal-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-goal-insight {
    font-size: 0.6875rem;
    color: var(--gray-400);
    margin: 0;
    padding-left: 1.625rem;
    line-height: 1.3;
}

/* Simple checkmark icon for accept */
.accept-check-icon {
    color: var(--success);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.accept-check-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Fix AI suggested row alignment */
.goals-table__row--ai-suggested .goals-col--status,
.goals-table__row--ai-suggested .goals-col--owner {
    align-self: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-badge--on-track {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.status-badge--at-risk {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.status-badge--completed {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.status-badge--draft {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary-light);
}

.status-badge--pending {
    background: rgba(100, 116, 139, 0.15);
    color: var(--gray-400);
}

.owner-avatar {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.owner-avatar--empty {
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: var(--gray-500);
}

.text-muted {
    color: var(--gray-500) !important;
}

.ai-insight-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    margin-top: 0.5rem;
}

.ai-insight-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-insight-icon i {
    font-size: 1rem;
    color: white;
}

.ai-insight-content {
    flex: 1;
}

.ai-insight-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-light);
    margin-bottom: 0.375rem;
}

.ai-insight-text {
    font-size: 0.875rem;
    color: var(--gray-300);
    line-height: 1.5;
    margin: 0;
}

/* ===================================
   FEATURES STICKY - MOBILE
   =================================== */
@media (max-width: 1024px) {
    .features-container {
        flex-direction: column;
    }

    .features-nav {
        position: relative;
        height: auto;
        width: 100%;
        padding: 4rem 2rem 2rem;
    }

    .features-nav .section-title,
    .features-nav .section-subtitle {
        text-align: center;
    }

    .features-nav .section-subtitle {
        max-width: 100%;
    }

    .features-nav__list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.5rem;
    }

    .features-nav__item {
        padding: 0.5rem 0;
    }

    .features-nav__line {
        width: 2px;
        height: 16px;
    }

    .features-nav__item.active .features-nav__line {
        height: 20px;
    }

    .features-nav__text {
        font-size: 0.8125rem;
    }

    .features-visuals {
        padding: 2rem;
    }

    .feature-visual {
        min-height: 70vh;
    }
}

@media (max-width: 600px) {
    .features-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .features-nav .section-title,
    .features-nav .section-subtitle {
        text-align: left;
    }

    .feature-visual {
        min-height: auto;
        padding: 3rem 0;
    }

    .visual-card,
    .visual-feed,
    .visual-evidence,
    .visual-chat,
    .visual-filter,
    .visual-comments,
    .visual-goals {
        max-width: 100%;
    }

    .visual-card {
        padding: 1.25rem;
    }

    .toggle-label,
    .slider-label {
        font-size: 0.875rem;
    }

    /* Goals mobile styles */
    .goals-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .goals-table__header {
        display: none;
    }

    .goals-table__row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }

    .goals-col {
        white-space: normal;
    }

    .goals-col--goal {
        font-size: 0.9375rem;
        width: 100%;
    }

    .goals-col--status,
    .goals-col--owner {
        font-size: 0.8125rem;
        width: auto;
        display: inline-flex;
        align-items: center;
    }

    .goals-col--owner {
        margin-left: 0.5rem;
    }
}

/* ===================================
   INTEGRATIONS SECTION
   =================================== */
.section--integrations {
    background: rgba(30, 41, 59, 0.95);
    overflow: hidden;
    padding-bottom: 80px;
}

.integrations-header {
    text-align: center;
    margin-bottom: 3rem;
}

.integrations-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

/* Edge fade gradients */
.marquee-glow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.marquee-glow--left {
    left: 0;
    background: linear-gradient(to right, rgba(30, 41, 59, 1) 0%, rgba(30, 41, 59, 0) 100%);
}

.marquee-glow--right {
    right: 0;
    background: linear-gradient(to left, rgba(30, 41, 59, 1) 0%, rgba(30, 41, 59, 0) 100%);
}

/* Marquee rows */
.marquee-row {
    display: flex;
    width: 100%;
    overflow: hidden;
    margin: 1rem 0;
}

.marquee-track {
    display: flex;
    gap: 1.5rem;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    width: max-content;
}

.marquee-track--left {
    animation: marquee-left 35s linear infinite;
}

.marquee-track--right {
    animation: marquee-right 40s linear infinite;
}

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

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

/* Integration items */
.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: default;
    flex-shrink: 0;
}

.integration-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(3, 105, 161, 0.4);
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(3, 105, 161, 0.2);
}

.integration-item img,
.integration-item svg {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: all var(--transition-base);
}

.integration-item:hover img,
.integration-item:hover svg {
    transform: scale(1.1);
}

.integration-item span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-400);
    text-align: center;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.integration-item:hover span {
    color: var(--white);
}

.integrations-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.9375rem;
    color: var(--gray-500);
    font-style: italic;
}

/* ===================================
   BENEFITS SECTION
   =================================== */
.section--benefits {
    background: rgba(15, 23, 42, 0.95);
}

.benefits-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 80px;
}

/* Timeline line container */
.timeline-line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 2rem;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Gradient that fills in as animation progresses */
.timeline-gradient {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #0369A1 0%, #0097D7 50%, #06b6d4 100%);
    border-radius: 2px;
    transition: height 0.05s linear;
    box-shadow: 0 0 10px rgba(3, 105, 161, 0.6);
}

/* Traveling dot */
.timeline-dot {
    position: absolute;
    left: 27px;
    top: 0;
    width: 12px;
    height: 12px;
    background: #0ea5e9;
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.8), 0 0 30px rgba(3, 105, 161, 0.4);
    z-index: 2;
}

/* When animation is active */
.benefits-timeline.animate .timeline-dot {
    opacity: 1;
}

/* Timeline number animation states */
.timeline-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Glow pulse animation for active numbers */
@keyframes numberGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(14, 165, 233, 0.8), 0 0 30px rgba(3, 105, 161, 0.5);
    }
}

.timeline-number.active {
    animation: numberGlow 2s ease-in-out infinite;
}

/* Keep number glowing after activation (persistent state) */
.timeline-number.revealed {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
    animation: none;
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-of-type {
    padding-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -80px;
    top: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.95);
    z-index: 2;
}

/* Base timeline-number styles merged with animation states above */

.timeline-content {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.timeline-content p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin: 0;
}

/* Legacy support for old benefit-card if needed elsewhere */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.benefit-number {
    font-size: 6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    line-height: 1;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
    position: relative;
}

/* ===================================
   AUDIENCE SECTION
   =================================== */
.section--audience {
    background: rgba(30, 41, 59, 0.95);
}

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

.audience-card {
    position: relative;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    transition: background var(--transition-base), transform var(--transition-base);
}

/* Gradient underline that draws in */
.audience-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #0369A1, #0097D7, #06b6d4);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

/* Card content - starts hidden for animation */
.audience-card .audience-title,
.audience-card p {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Animated state - underline draws in from center */
.audience-card.animate-border::after {
    width: 80%;
}

.audience-card.animate-border .audience-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.audience-card.animate-border p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Completed state - subtle glow remains */
.audience-card.border-complete::after {
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.audience-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.audience-card:hover::after {
    width: 90%;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
}

.audience-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.audience-card p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.section--testimonials {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.section--testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.section--testimonials .section-badge {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.section--testimonials .section-title {
    color: var(--white);
    margin-bottom: 2rem;
}

/* Testimonials viewport - shows multiple rows */
.testimonials-viewport {
    position: relative;
    height: 720px;
    overflow: hidden;
}

.testimonials-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    will-change: transform;
    animation: testimonials-scroll 30s linear infinite;
}


@keyframes testimonials-scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-50%));
    }
}

.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    flex-shrink: 0;
    min-height: 200px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    margin-bottom: 1.25rem;
}

.testimonial-quote i {
    font-size: 2.5rem;
    opacity: 0.3;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
}

.author-title {
    font-weight: 600;
    font-size: 0.9375rem;
}

.author-company {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Hide expand button on desktop */
.testimonials-expand-btn {
    display: none;
}

/* ===================================
   FAQ SECTION
   =================================== */
.section--faq {
    background: rgba(30, 41, 59, 0.95);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition-fast);
    gap: 1rem;
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-question span {
    flex: 1;
}

.faq-question i {
    flex-shrink: 0;
    color: var(--primary-light);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--gray-400);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ===================================
   FINAL CTA SECTION
   =================================== */
.section--cta {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.section--cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(3, 105, 161, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    color: var(--gray-400);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    position: relative;
    z-index: 1;
    background: rgba(2, 6, 23, 0.98);
    color: var(--gray-400);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    height: 28px;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--white);
}

.footer-links a {
    color: var(--gray-400);
    font-size: 1.5rem;
    transition: color var(--transition-fast);
}

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

.footer-copyright {
    font-size: 0.875rem;
}

/* ===================================
   MODAL
   =================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 20, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-content {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(20px) scale(0.95);
    transition: transform var(--transition-base);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--gray-500);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-right: 1.5rem;
}

.modal-header h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--white);
    letter-spacing: -0.01em;
}

.modal-header p {
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.modal-header.hidden {
    display: none;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 0;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-400);
}

.form-group .required {
    color: var(--primary-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-family: var(--font-primary);
    color: var(--white);
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(3, 105, 161, 0.08);
}

.form-group select {
    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 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--gray-800);
    color: var(--white);
}

.form-group textarea {
    resize: none;
    min-height: 72px;
}

.form-group--checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.625rem;
    margin-top: 0.25rem;
}

.form-group--checkbox input {
    width: 16px;
    height: 16px;
    min-width: 16px;
    padding: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-group--checkbox label {
    font-size: 0.8125rem;
    font-weight: 400;
    cursor: pointer;
    color: var(--gray-400);
    line-height: 1.4;
}

.contact-form .cta-button {
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 1.5rem 0;
}

.form-success.active {
    display: block;
}

.contact-form.hidden {
    display: none;
}

.success-icon {
    margin-bottom: 1rem;
}

.success-icon i {
    font-size: 3rem;
    color: #22c55e;
}

.form-success h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.form-success p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}

/* ===================================
   SCROLL REVEAL
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .solution-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .solution-flow-visual {
        max-width: 450px;
        margin: 0 auto;
    }

    .solution-chat-visual {
        max-width: 450px;
        margin: 0 auto;
    }

    .solution-flow-diagram {
        max-width: 450px;
        margin: 0 auto;
    }

    .solution-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .solution-visual {
        order: -1;
    }

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-padding: 80px 0;
    }

    .header {
        padding: 0 1rem;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition-base);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .header-ctas {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .problem-visual-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .problem-chaos-visual {
        display: flex;
        min-height: 350px;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .chaos-composition {
        width: 340px;
        height: 340px;
    }

    .tangle-image {
        width: 200px;
    }

    .logo-ball {
        width: 340px;
        height: 340px;
        margin: 0 auto;
    }

    .chaos-item {
        font-size: 0.7rem;
        padding: 0.4rem 0.7rem;
    }

    .chaos-item i {
        font-size: 0.8rem;
    }

    /* Solution flow visual responsive */
    .solution-flow-visual {
        min-height: 450px;
        max-width: 380px;
    }

    .solution-chat-visual {
        max-width: 100%;
    }

    .modern-chat-window {
        border-radius: 12px;
    }

    .modern-chat-content {
        padding: 2rem 1rem;
        min-height: 80px;
    }

    .chat-welcome-text {
        font-size: 1.25rem;
    }

    .modern-input-footer {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .sources-pills {
        flex-wrap: wrap;
        gap: 0.375rem;
    }

    .source-pill {
        padding: 0.3rem 0.5rem;
    }

    .pill-icon {
        width: 12px;
        height: 12px;
    }

    .pill-text {
        font-size: 0.6875rem;
    }

    .streaming-inputs {
        height: 220px;
        width: 300px;
    }

    .stream-curve {
        width: 130px;
    }

    .stream-item {
        width: 30px;
        height: 30px;
    }

    .stream-item img,
    .stream-item svg {
        width: 16px;
        height: 16px;
    }

    .thought-bubble i {
        font-size: 0.875rem;
    }

    .ai-filter-2d .ai-filter-box {
        width: 150px;
        height: 50px;
        font-size: 0.8125rem;
        gap: 0.5rem;
    }

    .ai-filter-logo {
        width: 20px;
        height: 20px;
    }

    .data-flow-connector {
        height: 60px;
        top: -45px;
    }

    .data-particle {
        width: 6px;
        height: 6px;
    }

    .chat-body {
        padding: 1rem;
    }

    .chat-input-area {
        padding: 0.75rem 1rem;
    }

    .chat-input-text {
        font-size: 0.8125rem;
    }

    .features-grid,
    .benefits-grid,
    .audience-grid,
    .testimonials-row {
        grid-template-columns: 1fr;
    }

    .benefits-timeline {
        padding-left: 60px;
    }

    .timeline-svg {
        left: 22px;
    }

    .timeline-marker {
        left: -60px;
        width: 48px;
        height: 48px;
    }

    .timeline-number {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 1.25rem 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.125rem;
    }

    .testimonials-viewport {
        height: auto !important;
        overflow: visible !important;
    }

    .testimonials-viewport::before,
    .testimonials-viewport::after {
        display: none;
    }

    .testimonials-scroll-container {
        animation: none !important;
        transform: none !important;
        gap: 1rem;
    }

    /* Hide duplicate rows used for infinite scroll effect */
    .testimonials-row:nth-child(n+4) {
        display: none !important;
    }

    /* Mobile testimonials expand/collapse */
    .testimonials-expand-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 1rem 1.5rem;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        color: var(--white);
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 0.5rem;
    }

    .testimonials-expand-btn:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    .testimonials-expand-btn .expand-icon {
        width: 20px;
        height: 20px;
        transition: transform 0.3s ease;
    }

    /* "Show less" button has rotated icon */
    .testimonials-expand-btn--after .expand-icon {
        transform: rotate(180deg);
    }

    /* Hide "after" button by default, show "before" button */
    .testimonials-expand-btn--after {
        display: none !important;
    }

    /* When expanded: hide "before" button, show "after" button */
    .testimonials-scroll-container.expanded .testimonials-expand-btn--before {
        display: none !important;
    }

    .testimonials-scroll-container.expanded .testimonials-expand-btn--after {
        display: flex !important;
    }

    .testimonials-row--collapsible {
        display: none !important;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease, max-height 0.4s ease;
    }

    .testimonials-scroll-container.expanded .testimonials-row--collapsible {
        display: grid !important;
        opacity: 1;
        max-height: 2000px;
    }

    .testimonials-row {
        opacity: 1;
        transform: scale(1);
        filter: none;
        gap: 1rem;
        min-height: auto;
    }

    .testimonial-card {
        min-height: auto;
    }

    .section--testimonials {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .marquee-glow {
        width: 80px;
    }

    .integration-item {
        padding: 1rem;
        min-width: 100px;
    }

    .integration-item img,
    .integration-item svg {
        width: 28px;
        height: 28px;
    }

    .integration-item span {
        font-size: 0.6875rem;
    }

    .marquee-track--left {
        animation-duration: 25s;
    }

    .marquee-track--right {
        animation-duration: 30s;
    }

    .cta-content {
        padding: 2.5rem 1.5rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1.5rem;
        max-width: 100%;
    }

    .modal-header {
        padding-right: 1rem;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-ctas .cta-button {
        width: 100%;
    }

    .marquee-glow {
        width: 50px;
    }

    .integration-item {
        padding: 0.75rem;
        min-width: 85px;
        gap: 0.5rem;
    }

    .integration-item img,
    .integration-item svg {
        width: 24px;
        height: 24px;
    }

    .integration-item span {
        font-size: 0.625rem;
    }

    .marquee-track--left {
        animation-duration: 20s;
    }

    .marquee-track--right {
        animation-duration: 25s;
    }

    .problem-chaos-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 280px;
        width: 100%;
    }

    .logo-ball {
        display: block;
        width: 300px;
        height: 300px;
    }

    .problem-visual-layout {
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .cta-button {
        width: 100%;
    }

    .modal {
        padding: 0.75rem;
    }

    .modal-content {
        padding: 1.25rem;
        border-radius: var(--radius-lg);
    }

    .modal-header {
        margin-bottom: 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.125rem;
    }

    .modal-header p {
        font-size: 0.875rem;
    }

    .contact-form {
        gap: 0.875rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .form-group label {
        font-size: 0.75rem;
    }

    .contact-form .cta-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Solution flow visual - small screens */
    .solution-flow-visual {
        min-height: 400px;
        max-width: 320px;
    }

    .streaming-inputs {
        height: 180px;
        width: 260px;
    }

    .stream-curve {
        width: 110px;
    }

    .stream-label {
        font-size: 0.6rem;
        padding: 0.4rem 0.75rem;
        letter-spacing: 0.05em;
    }

    .ai-filter-2d {
        margin: 1.5rem 0;
    }

    .ai-filter-2d .ai-filter-box {
        width: 130px;
        height: 44px;
        font-size: 0.75rem;
    }

    .ai-filter-logo {
        width: 18px;
        height: 18px;
    }

    .data-flow-connector {
        height: 50px;
        top: -35px;
    }

    .data-particle {
        width: 5px;
        height: 5px;
    }

    .data-pulse {
        width: 14px;
        height: 14px;
    }

    .chat-header {
        padding: 0.625rem 1rem;
    }

    .chat-header-dots span {
        width: 8px;
        height: 8px;
    }

    .chat-title {
        font-size: 0.75rem;
    }

    .chat-send-btn {
        width: 32px;
        height: 32px;
    }
}

/* ===================================
   MOBILE OPTIMIZATION FIXES
   =================================== */

/* Solution section animation fixes for mobile */
@media (max-width: 768px) {
    .solution-layout {
        gap: 2rem;
    }

    .solution-flow-visual {
        position: relative;
        min-height: 420px;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

    /* Keep animation working on mobile - scaled down paths */
    .streaming-inputs {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 280px;
        height: 100%;
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 1;
    }

    .stream-curve {
        position: relative;
        width: 120px;
        height: 100%;
    }

    .stream-curve--left,
    .stream-curve--right {
        height: 100%;
    }

    .stream-label {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        min-width: 100px;
        max-width: 120px;
        padding: 0.4rem 0.6rem;
        font-size: 0.6rem;
        white-space: nowrap;
    }

    .stream-items {
        position: absolute;
        inset: 0;
    }

    /* Mobile-scaled animation paths - start from bottom labels, end behind AI box */
    /* Path starts at Y=370 (near bottom labels) and ends at Y=200 (behind AI box) */
    .stream-items--logos .stream-item {
        position: absolute;
        offset-path: path('M 60 370 Q 75 320 95 270 Q 110 230 105 200');
        offset-rotate: 0deg;
        animation: streamUpLeft 8s linear infinite;
        animation-delay: var(--delay);
        opacity: 0;
        width: 32px;
        height: 32px;
    }

    .stream-items--thoughts .stream-item {
        position: absolute;
        offset-path: path('M 60 370 Q 45 320 25 270 Q 10 230 15 200');
        offset-rotate: 0deg;
        animation: streamUpRight 8s linear infinite;
        animation-delay: var(--delay);
        opacity: 0;
        width: 32px;
        height: 32px;
    }

    .stream-item img,
    .stream-item svg {
        width: 16px;
        height: 16px;
    }

    .thought-bubble i {
        font-size: 0.75rem;
    }

    .ai-processing-wrapper {
        margin: 1.5rem 0;
        order: 1;
        position: relative;
        z-index: 10;
    }

    .data-flow-connector {
        height: 50px;
        top: -35px;
    }

    .chat-interface-output {
        margin-bottom: 0;
        order: 0;
    }

    .streaming-inputs {
        order: 2;
    }
}

@media (max-width: 480px) {
    .solution-flow-visual {
        min-height: 380px;
        padding: 0 0.5rem;
    }

    .streaming-inputs {
        width: 240px;
    }

    .stream-curve {
        width: 100px;
    }

    .stream-label {
        font-size: 0.55rem;
        padding: 0.35rem 0.5rem;
        min-width: 85px;
        max-width: 100px;
    }

    /* Even smaller paths for tiny screens - end behind AI box */
    /* Path starts at Y=330 (near bottom labels) and ends at Y=180 (behind AI box) */
    .stream-items--logos .stream-item {
        offset-path: path('M 50 330 Q 60 280 75 230 Q 85 200 80 180');
        width: 28px;
        height: 28px;
    }

    .stream-items--thoughts .stream-item {
        offset-path: path('M 50 330 Q 40 280 25 230 Q 15 200 20 180');
        width: 28px;
        height: 28px;
    }

    .stream-item img,
    .stream-item svg {
        width: 14px;
        height: 14px;
    }

    .thought-bubble i {
        font-size: 0.65rem;
    }

    .ai-filter-2d .ai-filter-box {
        width: 110px;
        height: 38px;
        font-size: 0.65rem;
        gap: 0.35rem;
    }

    .ai-filter-logo {
        width: 14px;
        height: 14px;
    }

    .data-flow-connector {
        height: 40px;
        top: -30px;
    }
}

/* Extreme Configurability - fix dropdowns overflow */
@media (max-width: 768px) {
    .visual-customize {
        max-width: 100%;
        overflow: hidden;
    }

    .visual-card {
        overflow: hidden;
    }

    .question-row {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .question-text {
        flex: 1 1 100%;
        font-size: 0.8125rem;
        margin-bottom: 0.25rem;
    }

    .frequency-select {
        flex: 0 0 auto;
        width: auto;
        order: 1;
    }

    .visibility-select {
        flex: 0 0 auto;
        width: auto;
        order: 2;
    }

    .frequency-value {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .question-row {
        padding: 0.75rem 0;
    }

    .question-text {
        font-size: 0.8125rem;
    }

    .frequency-select {
        padding: 0.4rem 0.6rem;
        order: 1;
    }

    .visibility-select {
        order: 2;
    }

    .frequency-value {
        font-size: 0.6875rem;
    }

    .frequency-select i {
        font-size: 0.5rem;
    }
}

/* Who's It For section - remove blank space */
@media (max-width: 768px) {
    .section--audience {
        padding: var(--section-padding);
    }

    .audience-grid {
        gap: 1rem;
    }

    .audience-card {
        padding: 2rem 1.5rem;
    }

    .audience-title {
        font-size: 1.5rem;
    }

    .audience-card p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .section--audience {
        padding: 60px 0;
    }

    .audience-card {
        padding: 1.5rem 1.25rem;
    }

    .audience-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .audience-card p {
        font-size: 0.8125rem;
    }
}

/* Form fields - maintain dark theme when filled */
.form-group input,
.form-group select,
.form-group textarea {
    color: var(--white);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active,
.form-group select:-webkit-autofill,
.form-group select:-webkit-autofill:hover,
.form-group select:-webkit-autofill:focus,
.form-group select:-webkit-autofill:active,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(15, 23, 42, 1) inset !important;
    -webkit-text-fill-color: var(--white) !important;
    background-color: rgba(15, 23, 42, 1) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    caret-color: var(--white) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-group input:focus:-webkit-autofill,
.form-group select:focus:-webkit-autofill,
.form-group textarea:focus:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(3, 105, 161, 0.08) inset !important;
    border-color: var(--primary) !important;
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.cta-button:focus-visible,
.faq-question:focus-visible,
.modal-close:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}
