/* ===================================
   GAINTRACE - Design System & Styles
   Premium B2B SaaS Landing Page
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors - Purple & Cyan Theme */
    --primary: #4A24B2;
    --primary-dark: #31107A;
    --primary-light: #34D1ED;
    --primary-glow: rgba(74, 36, 178, 0.15);
    --bg-white: #ffffff;

    /* Purple & Cyan Tints */
    --bg-light: rgba(52, 209, 237, 0.05);
    --bg-muted: rgba(74, 36, 178, 0.08);
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: #ffffff;

    --text-primary: #1A0A3D;
    --text-secondary: #4A24B2;
    --text-muted: #6D5B8E;

    --border-subtle: rgba(74, 36, 178, 0.1);
    --border-card: rgba(74, 36, 178, 0.1);

    --gradient-hero: linear-gradient(180deg, #F5F3FF 0%, #E0F2FE 40%, #ffffff 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(52, 209, 237, 0.3) 0%, rgba(74, 36, 178, 0.1) 35%, transparent 70%);

    /* Blue-tinted Shadows */
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 2px 8px rgba(15, 23, 42, 0.03), 0 8px 24px rgba(15, 23, 42, 0.04);

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);
    --glass-blur: blur(20px);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --glass-gradient-subtle: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: 'Outfit', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Layout */
    --max-width: 1200px;
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;

    /* Transitions */
    --transition-base: all 0.2s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Apply Glassmorphism Globally to Body Background to show effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(74, 36, 178, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(52, 209, 237, 0.08) 0%, transparent 25%);
    pointer-events: none;
}

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

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    /* Keep white base, translucent cards sit on top */
    overflow-x: hidden;
    font-feature-settings: "cv11", "cv01", "ss01";
}

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

/* ===== PROCESSING VISUAL GLASS UPDATE ===== */
.processing-visual {
    width: 100%;
    height: 200px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Apply Glass to other cards explicitly if needed, but processing visual was the main request */
.floating-card,
.what-if-card,
.signal-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.what-if-card {
    /* Ensure footer aligns with glass border */
    overflow: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

body {
    font-feature-settings: "cv11", "cv01", "ss01";
}

.heading-display {
    font-size: clamp(var(--font-size-4xl), 8vw, var(--font-size-7xl));
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.heading-1 {
    font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
    font-weight: 600;
}

.heading-2 {
    font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
    font-weight: 600;
}

.heading-3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.text-gradient {
    /* Deep Purple gradient for visibility on both Lavender and White backgrounds */
    background: linear-gradient(135deg, #31107A 0%, #4A24B2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.text-gradient-vibrant {
    /* High contrast vibrant gradient for dark backgrounds */
    background: linear-gradient(135deg, #A5B4FC 0%, #34D1ED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Subtle glow for maximum readability */
    filter: drop-shadow(0 0 10px rgba(52, 209, 237, 0.2));
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.ai-description {
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.01em;
    position: relative;
    color: var(--text-secondary);
}

.ai-description em {
    font-style: normal;
    color: var(--primary);
    font-weight: 600;
}

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

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

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

.section-lg {
    padding: var(--space-20) 0;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
    backdrop-filter: blur(0px);
}

.nav.scrolled {
    padding: var(--space-3) 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition-base);
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-cta {
    padding: var(--space-2) var(--space-5);
    background: var(--text-primary);
    color: var(--bg-white);
    border-radius: var(--border-radius-full);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--font-size-lg);
}

/* Button shimmer effect */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--space-20);
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero>.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 1000px;
    background: var(--gradient-glow);
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

@keyframes pulseGlow {

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

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    max-width: 1000px;
    margin: 0 auto var(--space-6);
    opacity: 1;
    color: #0f172a;
    /* Dark Slate 900 for high contrast */
    text-shadow: none;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto var(--space-10);
    font-size: var(--font-size-lg);
    color: #334155;
    /* Slate 700 */
    opacity: 1;
    line-height: 1.6;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    opacity: 1;
}

.hero-form {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-2);
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
}

.hero-form:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-card), 0 0 0 4px var(--primary-glow);
}

.hero-input {
    background: transparent;
    border: none;
    outline: none;
    padding: var(--space-3) var(--space-4);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    min-width: 280px;
}

.hero-input::placeholder {
    color: var(--text-muted);
}

.hero-trust {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ===== HERO VISUAL (Floating Card) ===== */
.hero-visual {
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: var(--space-8) auto 0;
    perspective: 1000px;
    animation: fadeInUp 0.6s ease 0.3s forwards;

    opacity: 0;
}

.floating-card {
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Subtle border */
    position: relative;
    overflow: hidden;
    transform: rotateX(5deg) scale(0.95);
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual:hover .floating-card {
    transform: rotateX(0deg) scale(1);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(52, 209, 237, 0.15), transparent 60%);
    pointer-events: none;
}

.card-content {
    width: 80%;
    height: 70%;
    background: var(--bg-light);
    /* Inner content area */
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    /* Changed from row/default */
    align-items: center;
    justify-content: flex-end;
    padding-bottom: var(--space-8);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    /* For stacking context */
}

/* App Dock */
.app-dock {
    display: flex;
    gap: var(--space-4);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--space-3) var(--space-4);
    border-radius: 24px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    transform: translateY(20px);
    animation: slideUpDock 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
    opacity: 0;
}

@keyframes slideUpDock {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.app-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    animation: popInIcon 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: var(--delay, 0s);
    opacity: 0;
    transform: scale(0.5);
}

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

.app-icon:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.app-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.integration-cluster {
    display: flex;
    gap: 8px;
    align-items: center;
}

.integration-cluster img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    background: white;
    padding: 4px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-logos .logo-row img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    background: white;
    padding: 2px;
    border-radius: 4px;
}

.integration-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.app-icon.dropdown-trigger {
    background: var(--gradient-primary);
    color: white;
}

.app-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@keyframes pulseHub {

    0%,
    100% {
        box-shadow: 0 0 60px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 100px var(--primary-glow);
    }
}

/* Data particles */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px var(--primary);
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    background-color: #0f172a;
    /* Deep Navy Background - Fixed Readability */
    color: #ffffff;
    position: relative;
    padding-top: var(--space-12);
    padding-bottom: var(--space-8);
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.problem-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    color: #a5b4fc;
    /* Light Indigo */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.problem-title {
    color: var(--bg-white);
    margin-bottom: var(--space-6);
}

.problem-subtitle {
    color: #94a3b8;
    /* Slate-400 equivalent for dark mode text */
    font-size: var(--font-size-xl);
    max-width: 600px;
    margin: 0 0 var(--space-8) 0;
    /* Reduced from space-16 for better flow to tagline */
    text-align: left;
}

.problem-tagline {
    color: var(--bg-white);
    font-size: var(--font-size-base);
    font-weight: 500;
    margin-bottom: var(--space-4);
    /* Tight space to cards */
    text-align: left;
    opacity: 0.8;
}

/* Silo Grid - Dark Glass */
.silo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-20);
    position: relative;
    z-index: 2;
}

.silo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle dark border */
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    text-align: left;
    transition: all 0.3s ease;
    cursor: default;
}

.silo-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.silo-card-icon {
    display: inline-flex;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-4);
    /* Icons inherit color from inline style in HTML, which works well on dark */
}

.silo-card-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--bg-white);
}

.silo-card-desc {
    font-size: var(--font-size-sm);
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

/* Tools pills in Silo Card */
.silo-card-tools {
    display: flex;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
    align-items: center;
}

/* ===== VOICES SECTION ===== */
.voices-section {
    background-color: #0f172a;
    color: #ffffff;
    position: relative;
    padding: var(--space-4) 0 var(--space-12);
    /* Tightened top space, kept comfy bottom */
    overflow: hidden;
}

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

.voices-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    color: #a5b4fc;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: var(--space-6);
}

.voice-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(8px);
    overflow: hidden;
    min-height: 240px;
}

.voice-profile {
    flex: 0 0 35%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(74, 36, 178, 0.1), rgba(52, 209, 237, 0.05));
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.voice-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.6s ease;
}

.voice-content {
    flex: 1;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.voice-card.featured .voice-profile {
    flex-basis: 40%;
}

.voice-card.wide .voice-profile {
    flex-basis: 30%;
}

/* Reading Progress Bar Container */
.read-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.03);
    z-index: 5;
}

.read-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    transition: width 0.1s linear;
}

/* Highlight States */
.voice-card.is-reading {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(52, 209, 237, 0.3);
    box-shadow: 0 0 40px rgba(74, 36, 178, 0.2);
}

.voice-card.is-reading .voice-profile img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

.voice-card.is-reading .voice-quote {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.voice-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.voice-card.featured {
    grid-column: span 2;
    background: radial-gradient(circle at top left, rgba(74, 36, 178, 0.1), rgba(255, 255, 255, 0.02));
}

.voice-card.featured .voice-quote {
    font-size: var(--font-size-xl);
    color: #f1f5f9;
}

.voice-card.wide {
    grid-column: span 2;
}

.voice-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.voice-quote {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: var(--space-6);
    font-weight: 400;
}

.voice-name {
    font-weight: 600;
    color: #f1f5f9;
    font-size: var(--font-size-base);
}

.voice-role {
    font-size: var(--font-size-xs);
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .voice-card {
        flex-direction: column;
        min-height: auto;
    }

    .voice-profile {
        height: 240px;
        flex-basis: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .voice-card,
    .voice-card.featured,
    .voice-card.wide {
        grid-column: span 1;
    }

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

/* Impact Wrapper */
.impact-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: var(--space-10);
    position: relative;
}

.impact-heading {
    text-align: center;
    font-family: var(--font-family-heading);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--space-10);
    color: var(--bg-white);
}

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

.impact-card {
    background: rgba(255, 255, 255, 0.03);
    /* Dark Glass */
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
}

.impact-card.highlight {
    background: rgba(239, 68, 68, 0.1);
    /* Red Tint for "Revenue Leak" */
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.impact-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--bg-white);
}

.impact-icon-wrapper.blue {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.15);
}

.impact-icon-wrapper.orange {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
}

.impact-icon-wrapper.red {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

.impact-stat {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-family-heading);
    margin-bottom: var(--space-1);
    color: var(--bg-white);
    /* Force White */
}

.impact-stat.text-red {
    color: #f87171;
    text-shadow: 0 0 20px rgba(248, 113, 113, 0.3);
}

.impact-label {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
    color: #cbd5e1;
    /* Light Slate */
}

.impact-label.text-red {
    color: #f87171;
}

.impact-desc {
    font-size: var(--font-size-sm);
    color: #94a3b8;
    /* Slate-400 */
    line-height: 1.4;
}

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

/* ===== FEATURE DEEP DIVE CARDS (New Solution Section) ===== */
.features-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    margin-top: var(--space-16);
}

.feature-card {
    /* Glass / Gradient Background */
    background: #fff;
    /* Fallback */
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    /* Slightly tighter radius */
    padding: var(--space-10);
    /* Reduced from space-16 (64px) to space-10 (40px) */
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    /* Balanced split */
    gap: var(--space-8);
    /* Reduced from space-20 (80px) to space-8 (32px) for tighter cohesion */
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    /* Reduced from 520px to avoid vertical empty space */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Theme: Indigo (Analyze) */
.feature-card.theme-indigo {
    background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
    /* Subtle Indigo Tint */
    border-color: #e0e7ff;
}

.feature-card.theme-indigo:hover {
    border-color: #818cf8;
}

.feature-card.theme-indigo .feature-icon-box {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.feature-card.theme-indigo .mockup-window {
    border-color: #e0e7ff;
}

.feature-card.theme-indigo .status-dot {
    background: #6366f1;
}

.feature-card.theme-indigo .feature-visual {
    color: #6366f1;
}

/* For SVG stroke inheritance */

/* Theme: Amber (Compute) */
.feature-card.theme-amber {
    background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%);
    /* Subtle Amber Tint */
    border-color: #fef3c7;
}

.feature-card.theme-amber:hover {
    border-color: #fbbf24;
}

.feature-card.theme-amber .feature-icon-box {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.feature-card.theme-amber .mockup-window {
    border-color: #fef3c7;
}

.feature-card.theme-amber .feature-visual {
    color: #f59e0b;
}

/* Theme: Teal (Action) */
.feature-card.theme-teal {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
    /* Subtle Teal Tint */
    border-color: #ccfbf1;
}

.feature-card.theme-teal:hover {
    border-color: #2dd4bf;
}

.feature-card.theme-teal .feature-icon-box {
    background: #f0fdfa;
    color: #0d9488;
    border: 1px solid #99f6e4;
}

.feature-card.theme-teal .mockup-window {
    border-color: #ccfbf1;
}

.feature-card.theme-teal .feature-visual {
    color: #14b8a6;
}

/* Common Feature Content */
.feature-content {
    position: relative;
    z-index: 2;
}

.feature-icon-box {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-title {
    font-size: 2.5rem;
    /* Large display size */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.feature-desc {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    max-width: 440px;
    color: #64748b;
    /* Slate 500 - neutral gray for readability */
    font-weight: 400;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6) 0;
    font-size: var(--font-size-lg);
    color: #64748b;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    line-height: 1.5;
}

.feature-list li svg {
    flex-shrink: 0;
    margin-right: 12px;
    margin-top: 4px;
    /* Align with first line of text */
    color: var(--primary);
    /* Defaults */
    width: 20px;
    height: 20px;
}

/* Specific theme overrides */
.feature-card.theme-teal .feature-list li svg {
    color: #0d9488;
}

.feature-card.theme-cyan .feature-list li svg {
    color: #0891b2;
}

.feature-card.theme-purple .feature-list li svg {
    color: #7c3aed;
}

.feature-subtitle {
    margin-top: var(--space-4);
    font-weight: 500;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-logos {
    margin-top: var(--space-8);
}

.logo-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.logo-row {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
}

/* Mockup Windows (Common) */
.mockup-window {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    width: 100%;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.feature-card:hover .mockup-window {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
}

.mockup-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

.mockup-dots span:nth-child(1) {
    background: #ff5f57;
}

/* Red */
.mockup-dots span:nth-child(2) {
    background: #febc2e;
}

/* Yellow */
.mockup-dots span:nth-child(3) {
    background: #28c840;
}

/* Green */

.mockup-title {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    margin-left: auto;
    letter-spacing: 0.5px;
}

.mockup-body {
    padding: 24px;
    min-height: 240px;
    position: relative;
    background: #fff;
}

.mockup-body.no-padding {
    padding: 0;
}

.mockup-body.padding-lg {
    padding: 32px;
}

/* Signal Feed Mockup (Feature 1) */
.mockup-signal-feed {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.activity-card {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: slideInFeature 0.5s ease-out backwards;
}

.activity-card:nth-child(1) {
    animation-delay: 0.1s;
}

.activity-card:nth-child(2) {
    animation-delay: 0.2s;
}

.activity-card:nth-child(3) {
    animation-delay: 0.3s;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

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

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2px;
}

.activity-account {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
}

.activity-time {
    font-size: 11px;
    color: var(--text-muted);
}

.activity-action {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.activity-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-top: 6px;
}

.activity-badge.growth {
    background: #e0e7ff;
    color: #4338ca;
}

/* Indigo */
.activity-badge.depth {
    background: #f3e8ff;
    color: #7e22ce;
}

/* Purple */
.activity-badge.intent {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Blue */

.mockup-text-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.line {
    height: 4px;
    background: #f1f5f9;
    border-radius: 2px;
}

.line.w-80 {
    width: 80%;
}

.line.w-40 {
    width: 40%;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.mockup-chart-area {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.mockup-stat-big {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.mockup-stat-big small {
    display: block;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
}

.mockup-wave {
    width: 100%;
    height: 60px;
}

/* Specific Mockup: Compute (Logic) */
.logic-block-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logic-label {
    font-weight: 600;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 4px;
}

.logic-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    width: 100%;
    justify-content: space-between;
}

.logic-pill {
    background: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #475569;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logic-text {
    font-size: 13px;
    color: #64748b;
}

.logic-value {
    font-family: monospace;
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.logic-connector {
    font-size: 10px;
    font-weight: 800;
    color: #cbd5e1;
    background: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.logic-arrow {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    margin: 4px 0;
}

.logic-result {
    width: 100%;
}

.status-badge.risk {
    display: block;
    width: 100%;
    text-align: center;
    background: #fef2f2;
    color: #991b1b;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid #fee2e2;
}

/* Specific Mockup: Action (Table) */
.mockup-table {
    width: 100%;
}

.table-row {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}

.table-row.head {
    background: #f8fafc;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.col {
    flex: 1;
    font-size: 13px;
    color: #334155;
}

.col:last-child {
    text-align: right;
}

.logo-col {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.tiny-logo {
    width: 20px;
    height: 20px;
    background: #e2e8f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
}

.tiny-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.tiny-badge.red {
    background: #fee2e2;
    color: #ef4444;
}

.tiny-badge.yellow {
    background: #fef3c7;
    color: #d97706;
}

@media (max-width: 960px) {
    .feature-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-8);
        padding: var(--space-6);
        min-height: auto;
    }

    .feature-content {
        order: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-visual {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin-top: var(--space-4);
        overflow: hidden;
        /* Critical for preventing overflow */
    }

    .feature-card .mockup-window {
        margin: 0 auto;
        /* Center horizontally */
        width: 100%;
        max-width: 100%;
        transform: none !important;
        /* Force disable 3D transform */
    }

    .feature-title {
        font-size: 2rem;
    }

    .feature-subtitle {
        text-align: center;
        align-items: center;
    }

    .feature-desc {
        text-align: center;
        max-width: 100%;
    }

    .feature-list {
        text-align: left;
        display: inline-block;
        /* Keeps bullets aligned but block centered */
    }

    /* Redesign Logic Rows for Mobile */
    .logic-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        text-align: center;
    }

    .logic-pill {
        justify-content: center;
        width: 100%;
    }

    .logic-text {
        font-size: 12px;
    }

    .logic-connector {
        align-self: center;
    }

    /* Tweak Table for Mobile */
    .mockup-table .col:nth-child(2) {
        display: none;
        /* Hide middle column on very small screens if needed, or just shrink */
    }

    .mockup-table .col {
        padding: 8px 4px;
        font-size: 11px;
    }
}

/* ===== UNIFIED VIEW SECTION ===== */
.unified-section {
    background: var(--bg-light);
    text-align: center;
}

.unified-mockup {
    position: relative;
    max-width: 1000px;
    margin: var(--space-12) auto 0;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-card);
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red {
    background: #ff5f57;
}

.mockup-dot.yellow {
    background: #ffbd2e;
}

.mockup-dot.green {
    background: #28ca41;
}

.mockup-content {
    padding: var(--space-8);
    min-height: 400px;
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: var(--space-6);
}

/* Signal cards */
.signal-stream {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.signal-card {
    padding: var(--space-3) var(--space-4);
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    opacity: 0;
    animation: slideInSignal 0.5s ease forwards;
    box-shadow: var(--shadow-sm);
}

.signal-card:nth-child(1) {
    animation-delay: 0.5s;
}

.signal-card:nth-child(2) {
    animation-delay: 1s;
}

.signal-card:nth-child(3) {
    animation-delay: 1.5s;
}

.signal-card:nth-child(4) {
    animation-delay: 2s;
}

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

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

.signal-card.hot {
    border-left: 3px solid #28ca41;
}

.signal-card.risk {
    border-left: 3px solid #ff5f57;
}

.signal-card.upsell {
    border-left: 3px solid #ffbd2e;
}



/* Output signals */
.output-stream .signal-card {
    animation-name: slideInRight;
}

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

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

/* ===== HOW IT WORKS ===== */
.how-section {
    text-align: center;
}

/* ===== PROCESS PIPELINE ===== */
.process-pipeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-8) 0;
}

/* Segmented Connectors */
.step-connector {
    flex: 1;
    height: 2px;
    background: var(--border-subtle);
    margin-top: 40px;
    /* Align with center of 80px icons */
    position: relative;
    overflow: hidden;
    min-width: 40px;
    /* Ensure connector has space */
}

/* Connector Signal Animation */
.connector-signal {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
    border-radius: 2px;
}

.connector-signal.delay-1 {
    animation: signalSegment 3s ease-in-out infinite;
    animation-delay: 0s;
}

.connector-signal.delay-2 {
    animation: signalSegment 3s ease-in-out infinite;
    animation-delay: 1.5s;
    /* Valid sequential delay */
}

@keyframes signalSegment {
    0% {
        width: 0%;
        left: 0;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    40% {
        width: 100%;
        left: 0;
    }

    50% {
        width: 100%;
        left: 100%;
        opacity: 0;
    }

    100% {
        width: 100%;
        left: 100%;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .process-pipeline {
        flex-direction: column;
        gap: var(--space-8);
    }

    .pipeline-trace {
        display: none;
    }

    .step-connector {
        flex: 0;
        height: 40px;
        width: 2px;
        margin: 0 auto;
        min-height: 40px;
        min-width: 2px;
    }
}

.step-item {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--space-4);
}

.step-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.app-logo-icon {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item:hover .step-icon {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.step-item:hover .step-number {
    border-color: var(--primary);
    color: var(--primary);
}

.step-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.step-desc {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    max-width: 280px;
}

/* ===== INTEGRATIONS ===== */
.integrations-section {
    background: var(--bg-white);
    overflow: hidden;
}

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

.integrations-track {
    display: flex;
    gap: var(--space-8);
    animation: scroll 30s linear infinite;
}

.integrations-wrapper {
    display: flex;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.integration-logo {
    flex-shrink: 0;
    width: 140px;
    height: 60px;
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.integration-logo:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.integration-icon {
    font-size: 20px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #F5F3FF 60%, #E0F2FE 100%);
    padding: var(--space-32) 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(52, 209, 237, 0.3), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

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

.cta-title {
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    color: var(--text-primary);
    margin-bottom: var(--space-8);
    font-size: var(--font-size-lg);
    opacity: 0.9;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.cta-input {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-full);
    padding: var(--space-4) var(--space-6);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    min-width: 300px;
    outline: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.cta-input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm), 0 0 0 4px var(--primary-glow);
}

.cta-launch {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border: 1px dashed var(--text-primary);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-20) 0 var(--space-12);
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-white);
}

.footer-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-12);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.footer-logo {
    display: inline-block;
}

.footer-logo .logo-image {
    height: 32px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    max-width: 400px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-full);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-link {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
    width: fit-content;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.footer-copy {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

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

.footer-legal .footer-link {
    font-size: var(--font-size-xs);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-form {
        flex-direction: column;
        border-radius: var(--border-radius-lg);
    }

    .hero-input {
        min-width: 100%;
    }

    .data-flow {
        height: 350px;
    }

    .silo-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .central-hub {
        width: 80px;
        height: 80px;
    }

    .central-hub-inner {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .mockup-content {
        grid-template-columns: 1fr;
        padding: var(--space-4);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .processing-visual {
        width: 100%;
        height: 120px;
        margin: var(--space-4) 0;
        background: transparent;
        border: none;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: visible;
    }

    /* Vertical dashed connector line for mobile */
    .processing-visual::before {
        content: '';
        position: absolute;
        top: -20px;
        bottom: -20px;
        left: 50%;
        width: 2px;
        background: repeating-linear-gradient(to bottom, var(--primary-light) 0, var(--primary-light) 4px, transparent 4px, transparent 8px);
        transform: translateX(-50%);
        z-index: 0;
        opacity: 0.5;
    }

    .processing-lines {
        display: none;
    }

    .signal-stream {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
    }

    .signal-card {
        width: 100% !important;
        max-width: 320px !important;
        opacity: 0;
        animation: fadeInUp 0.5s ease forwards !important;
        animation-delay: calc(var(--i, 0) * 0.1s + 0.5s) !important;
        transform: none !important;
    }

    .cta-input {
        min-width: 100%;
    }
}

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

/* ===== HERO SIGNAL INTERFACE ===== */
.signal-interface {
    flex: 1;
    width: 100%;
    margin-bottom: var(--space-4);
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
    overflow: hidden;
    position: relative;
    /* Optional: background pattern or subtle gradient */
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding: 0 var(--space-2);
}

.signal-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    background-color: #ef4444;
    /* Red for recording/live */
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.signal-actions {
    display: flex;
    gap: 4px;
}

.action-dot {
    width: 8px;
    height: 8px;
    background-color: var(--border-subtle);
    border-radius: 50%;
}

.signal-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    position: relative;
    /* Mask the bottom fade out */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.signal-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    animation: slideInSignal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: var(--delay, 0s);
    transform-origin: center bottom;
}

@keyframes slideInSignal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.signal-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.signal-icon.intent {
    background: rgba(74, 36, 178, 0.1);
    color: #4A24B2;
}

.signal-icon.risk {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.signal-icon.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.signal-info {
    flex: 1;
    min-width: 0;
    /* Text truncation */
}

.signal-title {
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: 2px;
}

.signal-desc {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.signal-time {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Old processing visual style removed */

.processing-node {
    width: 60px;
    height: 60px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 20px rgba(74, 36, 178, 0.3);
    position: relative;
    animation: pulseNode 2s ease-in-out infinite;
    overflow: hidden;
    padding: 10px;
}

.processing-node-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.node-ripple {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 2s ease-out infinite;
}

@keyframes pulseNode {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(74, 36, 178, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(74, 36, 178, 0.5);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.processing-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-line {
    fill: none;
    stroke: url(#lineGradient);
    stroke-width: 2;
    stroke-dasharray: 10 10;
    animation: flowLine 1s linear infinite;
    opacity: 0.5;
}

.connection-line.delay-1 {
    animation-delay: -0.25s;
}

.connection-line.delay-2 {
    animation-delay: -0.5s;
}

.connection-line.delay-3 {
    animation-delay: -0.75s;
}

@keyframes flowLine {
    to {
        stroke-dashoffset: -20;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

@media (max-width: 1024px) {
    .feature-card {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        padding: var(--space-8);
        min-height: auto;
    }

    .feature-visual {
        order: 2;
    }

    .feature-content {
        order: 1;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    :root {
        --space-16: 40px;
        --space-20: 60px;
        --space-24: 80px;
    }

    .container {
        padding: 0 var(--space-6);
    }

    .hero {
        padding-top: var(--space-32);
        padding-bottom: var(--space-16);
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-8);
    }

    .hero-form,
    .cta-form {
        flex-direction: column;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: 100%;
        max-width: 400px;
        border-radius: 0 !important;
    }

    .hero-input,
    .cta-input {
        background: var(--bg-white) !important;
        border: 1px solid var(--border-subtle) !important;
        border-radius: var(--border-radius-lg) !important;
        width: 100%;
        min-width: 0 !important;
        padding: var(--space-4) var(--space-5) !important;
        margin-bottom: var(--space-3);
        box-shadow: var(--shadow-sm) !important;
        height: auto !important;
        text-align: center;
    }

    .hero-form .btn,
    .cta-form .btn {
        width: 100%;
        border-radius: var(--border-radius-lg) !important;
        justify-content: center;
        padding: var(--space-4) !important;
    }

    .hero-visual {
        height: 300px;
        margin-top: var(--space-10);
    }

    .floating-card {
        transform: rotateX(0) scale(1);
    }

    .card-content {
        width: 90%;
        height: 80%;
    }

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

    .impact-wrapper {
        padding: var(--space-6);
    }

    .impact-stat {
        font-size: 1.8rem;
    }

    .app-dock {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-2);
        padding: var(--space-3);
        transform: translateY(0);
        opacity: 1;
        animation: none;
    }

    .app-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        border-radius: 10px;
    }

    .app-icon img {
        width: 20px;
        height: 20px;
    }

    .problem-header,
    .solution-header,
    .integrations-header {
        text-align: center;
    }

    .problem-subtitle {
        text-align: center;
        margin: 0 auto var(--space-10);
    }

    .nav {
        padding: var(--space-3) 0;
    }
}

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

    .heading-1 {
        font-size: 1.6rem;
    }

    .logo {
        font-size: var(--font-size-lg);
    }
}

/* ===== MOBILE VOICES OPTIMIZATION ===== */
.mobile-avatar {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    filter: grayscale(0%);
    /* Always color on mobile per request/implication or keeping standard */
}

@media (max-width: 768px) {
    .voice-profile {
        display: none;
    }

    .voice-content {
        padding: 24px;
        text-align: left;
    }

    .voice-info {
        display: flex;
        align-items: center;
        margin-top: 16px;
    }

    .mobile-avatar {
        display: block;
    }

    /* Disable highlight effects on mobile */
    .voice-card.is-reading {
        background: rgba(255, 255, 255, 0.02) !important;
        border-color: rgba(255, 255, 255, 0.06) !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .voice-card.is-reading .voice-quote {
        color: #94a3b8 !important;
        text-shadow: none !important;
    }

    .read-progress {
        display: none !important;
    }
}