/* ============================================
   HELLO BY AIWAH LABS - BRAND COLORS
   ============================================ */

/* CSS Variables - Strict Brand Palette */
:root {
    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Primary Colors - Brand Navy */
    --primary: #1d364e;
    --primary-light: #2a4a6a;
    --primary-dark: #0f172a;
    --primary-glow: rgba(29, 54, 78, 0.2);

    /* Accent Color - Vibrant Orange */
    --accent: #ff8000;
    --accent-hover: #e67300;
    --accent-light: #fff3e6;
    --accent-glow: rgba(255, 128, 0, 0.25);

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    /* Light Grey */
    --bg-tertiary: #e5e5e5;
    /* Slightly darker grey */
    --bg-dark: #1d364e;
    /* Brand Navy */
    --bg-card: #ffffff;
    /* White */

    /* Text Colors */
    --text-primary: #1d364e;
    /* Brand Navy */
    --text-secondary: #4a4a4a;
    /* Dark Grey */
    --text-muted: #777777;
    /* Medium Grey */
    --text-inverse: #ffffff;

    /* Borders */
    --border-light: #e0e0e0;
    /* Light Grey */
    --border-medium: #cccccc;
    /* Medium Grey */

    /* Gradients - Navy only */
    --gradient-primary: linear-gradient(135deg, #1d364e 0%, #2a4a6a 100%);
    --gradient-accent: linear-gradient(135deg, #1d364e 0%, #2a4a6a 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(29, 54, 78, 0.1) 0%, transparent 60%);

    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Spacing & Sizes */
    --section-padding: 100px 0;
    /* Generous section spacing */
    --container-max: 1280px;
    --container-padding: 24px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
}

/* ============================================
   GLOBAL MOBILE OVERFLOW FIX
   ============================================ */
@media screen and (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Force all containers to respect mobile width */
    .section-container,
    .container,
    section,
    .analytics,
    .analytics-carousel-container {
        max-width: 100vw !important;
        width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Center all section titles and subtitles on mobile */
    .section-title,
    .section-subtitle,
    h2 {
        text-align: center !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
    }

    /* ============================================
       MOBILE TYPOGRAPHY STANDARDIZATION
       Consistent sizes across all pages
       ============================================ */

    /* Hero h1 - 2rem (32px) */
    h1,
    .hero-content-left h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    /* Section headers h2 - 1.5rem (24px) */
    h2,
    .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    /* Card Headings - 14px compact (Matches Integrations Page) */
    h3,
    .feature-card h3 {
        font-size: 0.875rem !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }

    /* Card Body Text - 13px compact (Matches Integrations Page) */
    .section-subtitle,
    .hero-subtitle,
    .feature-card p,
    section p {
        font-size: 0.8125rem !important;
        line-height: 1.5 !important;
    }

    /* Bullet points and list items - 0.875rem (14px) */
    .card-list li,
    ul li,
    .feature-list li {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }

    /* Force carousel to be horizontal on mobile - ULTRA COMPACT */
    #analytics-carousel,
    .analytics-bento-grid.mobile-carousel {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 8px !important;
        padding: 0 12px 16px !important;
        margin-top: 8px !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    /* ZERO GAP above carousel */
    .analytics-carousel-container {
        margin-top: 0 !important;
        margin: 0 !important;
        padding-top: 0 !important;
    }

    /* Fix analytics section mobile spacing */
    .analytics {
        min-height: auto !important;
        padding: 80px 16px !important;
        overflow-x: hidden !important;
    }

    .analytics .section-container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .analytics .section-title {
        margin-bottom: 8px !important;
    }

    .analytics .section-subtitle,
    .analytics p:not(.bento-card p) {
        margin-bottom: 8px !important;
    }

    #analytics-carousel::-webkit-scrollbar,
    .analytics-bento-grid.mobile-carousel::-webkit-scrollbar {
        display: none !important;
    }

    /* Force cards to 80% viewport width - COMPACT but FULL CONTENT */
    #analytics-carousel>.bento-card,
    #analytics-carousel>.bento-card-xl,
    #analytics-carousel>.bento-card-lg,
    #analytics-carousel>.bento-card-md,
    #analytics-carousel>.bento-card-cta,
    .analytics-bento-grid.mobile-carousel>* {
        min-width: 80vw !important;
        width: 80vw !important;
        max-width: 80vw !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center !important;
        box-sizing: border-box !important;
        padding: 12px !important;
    }

    /* SHOW all visual content but make it compact */
    #analytics-carousel .bento-card-visual,
    .analytics-bento-grid.mobile-carousel .bento-card-visual {
        padding: 4px !important;
        gap: 6px !important;
        margin-top: 6px !important;
    }

    /* Compact stats */
    #analytics-carousel .mini-stats,
    .analytics-bento-grid.mobile-carousel .mini-stats {
        gap: 4px !important;
        padding: 4px !important;
    }

    #analytics-carousel .stat-item,
    .analytics-bento-grid.mobile-carousel .stat-item {
        padding: 4px !important;
    }

    #analytics-carousel .stat-value,
    .analytics-bento-grid.mobile-carousel .stat-value {
        font-size: 0.9rem !important;
    }

    #analytics-carousel .stat-label,
    .analytics-bento-grid.mobile-carousel .stat-label {
        font-size: 0.5rem !important;
    }

    /* Compact checklist/SOP items */
    #analytics-carousel .sop-item,
    #analytics-carousel .checklist-item,
    .analytics-bento-grid.mobile-carousel .sop-item {
        padding: 2px 0 !important;
        font-size: 0.7rem !important;
    }

    /* Compact score rings */
    #analytics-carousel .score-ring,
    .analytics-bento-grid.mobile-carousel .score-ring {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
    }

    #analytics-carousel .score-value,
    .analytics-bento-grid.mobile-carousel .score-value {
        font-size: 0.75rem !important;
    }

    #analytics-carousel .score-label,
    .analytics-bento-grid.mobile-carousel .score-label {
        font-size: 0.45rem !important;
    }

    /* Center analytics section headers */
    .analytics .section-title,
    .analytics .section-subtitle,
    .analytics h2 {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-bottom: 8px !important;
    }

    /* Compact bento card content on mobile */
    .bento-card-content {
        padding: 4px !important;
        gap: 4px !important;
    }

    .bento-card-content h3 {
        font-size: 0.9rem !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .bento-card-content p {
        font-size: 0.7rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
    }

    /* Smaller icons */
    .bento-card-icon {
        width: 28px !important;
        height: 28px !important;
        margin-bottom: 4px !important;
    }

    .bento-card-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    .bento-card-content h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .bento-card-content p {
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }

    /* Compact mini stats */
    .mini-stats {
        gap: 8px !important;
        padding: 12px !important;
    }

    .stat-item {
        padding: 8px !important;
    }

    .stat-value {
        font-size: 1.25rem !important;
    }

    .stat-label {
        font-size: 0.65rem !important;
    }

    /* Compact checklist */
    .checklist-item {
        padding: 6px 0 !important;
        font-size: 0.875rem !important;
    }

    /* Reduce bento visual height */
    .bento-card-visual {
        padding: 12px !important;
    }
}


/* ============================================
   UTILITY CLASSES & BADGES
   ============================================ */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.text-success {
    color: #1d364e;
}

/* Badges */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(29, 54, 78, 0.1);
    border: 1px solid rgba(29, 54, 78, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: #1d364e;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #1d364e;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(29, 54, 78, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(29, 54, 78, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(29, 54, 78, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 191, 166, 0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    /* 10px */
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 28px;
    /* Larger padding for hero */
    font-size: 1.05rem;
    min-width: 140px;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -2px var(--accent-glow);
}

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 72px;
    /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo img {
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Navbar Contact Icons */
.nav-contact-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    color: var(--accent);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--accent-glow);
    border-color: var(--accent);
    background: var(--accent-light);
}

.nav-icon-btn svg {
    width: 20px;
    height: 20px;
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

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

    /* Mobile menu active state */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 1000;
    }

    .nav-links.active a {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 8px;
        transition: background 0.2s;
    }

    .nav-links.active a:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .nav-mobile-cta {
        display: block !important;
        width: 100%;
        padding: 14px !important;
        margin-top: 8px;
        font-weight: 700;
        text-align: center;
    }
}

.nav-mobile-cta {
    display: none;
}

/* Hamburger animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   HERO SECTION (CENTERED)
   ============================================ */
.hero {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #e8eef3 0%, #f5f5f5 40%, #ffffff 100%);
}

/* Background Glow - Subtle radial gradient */
.hero-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(29, 54, 78, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 600px;
}

.hero-content-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 600px;
}

.hero-logo {
    margin-bottom: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-logo-img {
    height: 80px;
    width: auto;
    filter: brightness(0.8);
    opacity: 0.95;
}

.hero-content-left h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--primary);
    margin: 0;
    text-align: left;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-visual-right {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
}

/* ============================================
   CONVERSATION ROTATOR - 8 BUBBLES PER CONVERSATION
   ============================================ */
.conversation-rotator {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
    box-sizing: border-box;
}

.conversation-scenario {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    padding: 0 10px;
    transform: translateY(0);
    box-sizing: border-box;
}

/* Scenario timing - each conversation completes before next one starts */
/* Calculation: Bubble 8 appears at 9.8s, needs 3s visibility = 12.8s total */
/* Each conversation takes ~13s (from first bubble at 0.3s to last at 9.8s + 3s visibility) */
.conversation-scenario[data-scenario="1"] {
    animation: scenarioCycle 39s infinite;
    animation-delay: 0s;
}

.conversation-scenario[data-scenario="2"] {
    animation: scenarioCycle 39s infinite;
    animation-delay: 13s;
}

.conversation-scenario[data-scenario="3"] {
    animation: scenarioCycle 39s infinite;
    animation-delay: 26s;
}

/* Voice Bubbles - Phone Call Style */
.voice-bubble {
    max-width: 320px;
    width: fit-content;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
}

.voice-bubble-user {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    align-self: flex-start;
    flex-direction: row;
    margin-right: auto;
}

.voice-bubble-ai {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    align-self: flex-end;
    flex-direction: row-reverse;
    margin-left: auto;
    box-shadow: var(--shadow-md), 0 0 15px rgba(29, 54, 78, 0.15);
}

/* Voice Content - Contains waveform and text */
.voice-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.voice-content p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    width: 100%;
}

.voice-bubble-ai .voice-content p {
    color: var(--text-inverse);
}

/* Voice Icon */
.voice-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.voice-bubble-user .voice-icon {
    background: rgba(29, 54, 78, 0.1);
    color: var(--primary);
}

.voice-bubble-ai .voice-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.voice-icon svg {
    width: 20px;
    height: 20px;
}

/* Waveform Animation */
.waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    width: 100%;
}

.waveform span {
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    /* Animation pulses during transcription (first 40% of bubble cycle), then stops */
    animation: waveformTranscribe 39s ease-in-out forwards;
}

.voice-bubble-ai .waveform span {
    background: rgba(255, 255, 255, 0.9);
}

.waveform span:nth-child(1) {
    height: 12px;
    animation-delay: 0s;
}

.waveform span:nth-child(2) {
    height: 20px;
    animation-delay: 0.15s;
}

.waveform span:nth-child(3) {
    height: 28px;
    animation-delay: 0.3s;
}

.waveform span:nth-child(4) {
    height: 20px;
    animation-delay: 0.45s;
}

.waveform span:nth-child(5) {
    height: 12px;
    animation-delay: 0.6s;
}

/* Waveform transcription animation - pulses during transcription, then stops */
@keyframes waveformTranscribe {
    0% {
        transform: scaleY(0.4);
        opacity: 0.6;
    }

    2.5% {
        transform: scaleY(1);
        opacity: 1;
    }

    5% {
        transform: scaleY(0.4);
        opacity: 0.6;
    }

    7.5% {
        transform: scaleY(1);
        opacity: 1;
    }

    10% {
        transform: scaleY(0.4);
        opacity: 0.6;
    }

    12.5% {
        transform: scaleY(1);
        opacity: 1;
    }

    15% {
        transform: scaleY(0.4);
        opacity: 0.6;
    }

    17.5% {
        transform: scaleY(1);
        opacity: 1;
    }

    20% {
        transform: scaleY(0.4);
        opacity: 0.6;
    }

    22.5% {
        transform: scaleY(1);
        opacity: 1;
    }

    25% {
        transform: scaleY(0.4);
        opacity: 0.6;
    }

    27.5% {
        transform: scaleY(1);
        opacity: 1;
    }

    30% {
        transform: scaleY(0.4);
        opacity: 0.6;
    }

    32.5% {
        transform: scaleY(1);
        opacity: 1;
    }

    35% {
        transform: scaleY(0.4);
        opacity: 0.6;
    }

    37.5% {
        transform: scaleY(1);
        opacity: 1;
    }

    40% {
        /* Transcription completes - stop animation and keep static */
        transform: scaleY(0.6);
        opacity: 0.8;
    }

    100% {
        /* Keep waveform static for the rest of the bubble's visibility */
        transform: scaleY(0.6);
        opacity: 0.8;
    }
}

/* Bubble timing - Bubble appears, waveform animates, and text types simultaneously */
/* All bubbles use the same 39s cycle */
.bubble-1 {
    animation: bubbleSequence 39s infinite;
    animation-delay: 0.3s;
}

.bubble-2 {
    animation: bubbleSequence 39s infinite;
    animation-delay: 1.5s;
}

.bubble-3 {
    animation: bubbleSequence 39s infinite;
    animation-delay: 2.8s;
}

.bubble-4 {
    animation: bubbleSequence 39s infinite;
    animation-delay: 4.2s;
}

.bubble-5 {
    animation: bubbleSequence 39s infinite;
    animation-delay: 5.8s;
}

.bubble-6 {
    animation: bubbleSequence 39s infinite;
    animation-delay: 7.2s;
}

.bubble-7 {
    animation: bubbleSequence 39s infinite;
    animation-delay: 8.5s;
}

.bubble-8 {
    animation: bubbleSequence 39s infinite;
    animation-delay: 9.8s;
}

/* Scenario 2 - bubbles appear 13s later (after scenario 1 completely finishes) */
.conversation-scenario[data-scenario="2"] .bubble-1 {
    animation-delay: 13.3s;
}

.conversation-scenario[data-scenario="2"] .bubble-2 {
    animation-delay: 14.5s;
}

.conversation-scenario[data-scenario="2"] .bubble-3 {
    animation-delay: 15.8s;
}

.conversation-scenario[data-scenario="2"] .bubble-4 {
    animation-delay: 17.2s;
}

.conversation-scenario[data-scenario="2"] .bubble-5 {
    animation-delay: 18.8s;
}

.conversation-scenario[data-scenario="2"] .bubble-6 {
    animation-delay: 20.2s;
}

.conversation-scenario[data-scenario="2"] .bubble-7 {
    animation-delay: 21.5s;
}

.conversation-scenario[data-scenario="2"] .bubble-8 {
    animation-delay: 22.8s;
}

/* Scenario 3 - bubbles appear 26s later (after scenario 2 completely finishes) */
.conversation-scenario[data-scenario="3"] .bubble-1 {
    animation-delay: 26.3s;
}

.conversation-scenario[data-scenario="3"] .bubble-2 {
    animation-delay: 27.5s;
}

.conversation-scenario[data-scenario="3"] .bubble-3 {
    animation-delay: 28.8s;
}

.conversation-scenario[data-scenario="3"] .bubble-4 {
    animation-delay: 30.2s;
}

.conversation-scenario[data-scenario="3"] .bubble-5 {
    animation-delay: 31.8s;
}

.conversation-scenario[data-scenario="3"] .bubble-6 {
    animation-delay: 33.2s;
}

.conversation-scenario[data-scenario="3"] .bubble-7 {
    animation-delay: 34.5s;
}

.conversation-scenario[data-scenario="3"] .bubble-8 {
    animation-delay: 35.8s;
}

/* Scenario Animation - Starts sliding immediately after 3rd bubble, keeps bubbles visible */
/* Timeline: Bubble 8 at 9.8s (25% of 39s), fade out at 13s (33% of 39s) */
@keyframes scenarioCycle {
    0% {
        opacity: 0;
        pointer-events: none;
        transform: translateY(0);
    }

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

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    13% {
        opacity: 1;
        transform: translateY(-15px);
    }

    18% {
        opacity: 1;
        transform: translateY(-40px);
    }

    23% {
        opacity: 1;
        transform: translateY(-80px);
    }

    28% {
        opacity: 1;
        transform: translateY(-130px);
    }

    30% {
        opacity: 1;
        transform: translateY(-150px);
    }

    32% {
        opacity: 1;
        transform: translateY(-170px);
    }

    33% {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-200px);
    }

    100% {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-200px);
    }
}

/* Bubble Sequence - Appears with waveform, text types simultaneously */
@keyframes bubbleSequence {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

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

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

    75% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

    100% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
}

/* Typing Text Animation - Real-time transcription effect */
@keyframes typingText {
    0% {
        max-width: 0;
    }

    100% {
        max-width: 1000px;
    }
}

/* Hero Dashboard Preview */
.hero-dashboard-preview {
    width: 100%;
    max-width: 1000px;
    perspective: 1000px;
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    overflow: hidden;
    transform: rotateX(2deg) translateY(10px);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: rotateX(0) translateY(0);
}

.mockup-header {
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.control.red {
    background: #888888;
}

.control.yellow {
    background: #aaaaaa;
}

.control.green {
    background: #cccccc;
}

.address-bar {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 60%;
    text-align: center;
}

.mockup-body {
    padding: 24px;
    background: #ffffff;
    min-height: 300px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Chat Interface Styles */
.chat-body {
    padding: 20px;
    font-size: 0.85rem;
    line-height: 1.6;
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.chat-message.customer {
    justify-content: flex-start;
}

.chat-message.agent {
    justify-content: flex-end;
}

.message-content {
    max-width: 75%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-text {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.customer .message-text {
    background: rgba(200, 200, 200, 0.2);
    color: var(--text-primary);
    border: 1px solid rgba(200, 200, 200, 0.3);
}

[data-theme="dark"] .chat-message.customer .message-text {
    background: rgba(200, 200, 200, 0.15);
    border-color: rgba(200, 200, 200, 0.25);
}

.chat-message.agent .message-text {
    background: rgba(29, 54, 78, 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(29, 54, 78, 0.15);
}

[data-theme="dark"] .chat-message.agent .message-text {
    background: rgba(29, 54, 78, 0.15);
    border-color: rgba(29, 54, 78, 0.3);
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 0 4px;
}

.chat-message.customer .message-time {
    text-align: left;
}

.chat-message.agent .message-time {
    text-align: right;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(29, 54, 78, 0.08);
    border: 1px solid rgba(29, 54, 78, 0.15);
    border-radius: 12px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-4px);
    }
}


.floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float-reverse 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes float-reverse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #1d364e;
    border-radius: 50%;
}

.status-metric {
    padding-left: 16px;
    border-left: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.status-metric .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.status-metric .value {
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .terminal-window {
        max-width: 100%;
        transform: none;
        /* Disable 3D on mobile for performance/layout */
    }

    .terminal-window:hover {
        transform: none;
    }

    .floating-card {
        right: 0;
        bottom: -10px;
    }
}

/* ============================================
   COLLABORATORS CAROUSEL
   ============================================ */
.collaborators {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.collaborators-title {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: normal;
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 100px;
}

.partner-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.brand-wordmark {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.partner-item:hover .brand-wordmark {
    opacity: 1;
}

/* Brand-specific colors */
.brand-anthropic {
    color: #D4A27F;
}

.brand-gemini {
    color: #4285F4;
}

.brand-meta {
    color: #0081FB;
}

.brand-groq {
    color: #F55036;
}

.brand-mistral {
    color: #FF7000;
}

.brand-vapi {
    color: #1DB954;
}

.brand-deepgram {
    color: #13EF93;
}

.brand-twilio {
    color: #F22F46;
}

.brand-n8n {
    color: #EA4B71;
}

.brand-make {
    color: #6D00CC;
}

.partner-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.partner-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partner-item:hover .partner-logo,
.partner-item:hover .partner-logo-text {
    opacity: 0.7;
}

.carousel-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 40s linear infinite;
    /* Faster animation */
}

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

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

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

.carousel-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    opacity: 1;
    /* Made fully opaque */
    transition: opacity var(--transition-fast);
}

.carousel-item:hover {
    opacity: 1;
}

.carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity var(--transition-fast);
}

.partner-logo {
    width: 120px;
    height: 40px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.partner-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    opacity: 0.8;
}

.partner-item:hover .partner-logo,
.partner-item:hover .partner-name {
    opacity: 1;
}

.partner-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.carousel-item:hover .partner-logo-img {
    opacity: 1;
}

.partner-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.partner-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
    opacity: 0.8;
}

.carousel-item:hover .partner-logo-text {
    opacity: 1;
}

/* ============================================
   AGENT TYPES SECTION
   ============================================ */
.agent-types {
    padding: var(--section-padding);
    text-align: center;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.agent-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: left;
    transition: all var(--transition-base);
}

.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.agent-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: white;
}

.agent-icon.inbound {
    background: linear-gradient(135deg, #1d364e, #2a4a6a);
}

.agent-icon.outbound {
    background: linear-gradient(135deg, #2a4a6a, #3a5a7a);
}

.agent-icon.booking {
    background: linear-gradient(135deg, #4a4a4a, #666666);
}

.agent-icon.survey {
    background: linear-gradient(135deg, #1d364e, #2a4a6a);
}

.agent-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.agent-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.agent-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.agent-features li {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   OMNICHANNEL SECTION (Minimalist Icon Layout)
   ============================================ */
.omnichannel {
    padding: var(--section-padding);
    background: var(--bg-dark);
    /* Brand Navy Background */
    text-align: center;
    color: white;
}

.omnichannel .section-title {
    color: white;
}

.omnichannel .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.omni-content-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: flex-start;
}

.omni-card {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: none;
}

/* Remove active line */
.omni-card::before {
    display: none;
}

.omni-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.omni-icon-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    margin-bottom: 24px;
    color: var(--primary);
    border-radius: 50%;
    /* Circular */
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.omni-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.omni-card:hover .omni-icon-wrapper {
    background: var(--accent);
    /* Orange hover to pop on navy */
    color: white;
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: scale(1.1);
}

.omni-icon-wrapper.whatsapp {
    color: #25D366;
    background: #ffffff;
}

.omni-card:hover .omni-icon-wrapper.whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.omni-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    /* White text */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Status Indicator */
.omni-card h3::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    opacity: 0.7;
}

.omni-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    /* Light text */
    line-height: 1.6;
    max-width: 240px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .omni-content-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 600px;
    }
}

@media (max-width: 600px) {
    .omni-content-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .omni-icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .omni-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    .omni-card h3 {
        font-size: 0.9375rem;
    }

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

.omni-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.omni-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.omni-image:hover {
    transform: scale(1.02);
}




/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.how-it-works-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.how-it-works-content {
    text-align: left;
}

.how-it-works-content .section-title {
    text-align: left;
}

.how-it-works-content .section-subtitle {
    text-align: left;
    margin-bottom: 40px;
}

.process-steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.process-step-v {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.process-step-v .step-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0;
}

.process-step-v .step-icon.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.step-content-v h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-content-v p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.how-it-works-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Phone Mockup - iPhone 17 Pro Style */
.phone-mockup {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    perspective: 1000px;
    padding: 8px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 56px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    background: #ffffff;
    border-radius: 48px;
    padding: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: #000;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.phone-header {
    background: transparent;
    padding: 8px 20px 8px;
    border-radius: 48px 48px 0 0;
    position: relative;
    z-index: 5;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0;
    letter-spacing: -0.01em;
}

.phone-time {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.signal-bar {
    width: 3px;
    background: #000;
    border-radius: 1px;
    opacity: 0.9;
}

.signal-bar:nth-child(1) {
    height: 4px;
}

.signal-bar:nth-child(2) {
    height: 6px;
}

.signal-bar:nth-child(3) {
    height: 8px;
}

.signal-bar:nth-child(4) {
    height: 10px;
}

.battery-icon {
    width: 24px;
    height: 12px;
    border: 1.5px solid #000;
    border-radius: 2px;
    position: relative;
    opacity: 0.9;
}

.battery-icon::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 6px;
    background: #000;
    border-radius: 0 1px 1px 0;
}

.battery-level {
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 7px;
    background: #000;
    border-radius: 1px;
}

.phone-content {
    background: #ffffff;
    border-radius: 48px;
    min-height: 600px;
    padding: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.call-interface {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
    height: 100%;
    padding: 0 24px 24px 24px;
    flex: 1;
}

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

.caller-avatar {
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding: 20px;
}

.caller-info h4 {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.call-status {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.animated-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: logo-pulse 2s ease-in-out infinite;
    filter: brightness(0.85);
}

@keyframes logo-pulse {

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

    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

.call-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.call-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.call-btn.mute,
.call-btn.speaker {
    background: rgba(245, 245, 245, 0.9);
    color: var(--text-primary);
}

.call-btn.mute:hover,
.call-btn.speaker:hover {
    background: rgba(230, 230, 230, 0.9);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.call-btn.end-call {
    background: #ff3b30;
    color: white;
    width: 70px;
    height: 70px;
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
}

.call-btn.end-call:hover {
    background: #ff2d20;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.5);
}

@media (max-width: 900px) {
    .how-it-works-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .how-it-works-content {
        text-align: center;
    }

    .how-it-works-content .section-title,
    .how-it-works-content .section-subtitle {
        text-align: center;
    }

    .process-steps-vertical {
        flex-direction: column;
        gap: 16px;
        padding-bottom: 0px;
    }

    .process-step-v {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        background: transparent;
        border: none;
        padding: 0;
        gap: 12px;
        box-shadow: none;
    }

    .process-step-v .step-icon {
        flex-shrink: 0;
        margin-bottom: 0;
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .process-step-v .step-icon {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .how-it-works-visual {
        order: 1;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    /* Mobile Visual Styles */
    .mobile-visual {
        width: 100%;
        padding: 40px 20px;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
    }

    .mobile-call-interface {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        max-width: 400px;
        margin: 0 auto;
    }

    .mobile-caller-info {
        text-align: center;
    }

    .mobile-caller-avatar {
        width: 140px;
        height: 140px;
        background: transparent;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
        padding: 24px;
        position: relative;
    }

    .mobile-caller-avatar::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 128, 0, 0.1) 0%, transparent 70%);
        animation: pulse-ring 2s ease-in-out infinite;
    }

    @keyframes pulse-ring {

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

        50% {
            transform: scale(1.1);
            opacity: 0.3;
        }
    }

    .mobile-caller-info h4 {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }

    .mobile-call-status {
        font-size: 1rem;
        color: var(--text-secondary);
        font-weight: 500;
    }

    .mobile-call-actions {
        display: flex;
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    .mobile-call-btn {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all var(--transition-base);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
    }

    .mobile-call-btn.mute,
    .mobile-call-btn.speaker {
        background: rgba(245, 245, 245, 0.9);
        color: var(--text-primary);
    }

    .mobile-call-btn.mute:hover,
    .mobile-call-btn.speaker:hover {
        background: rgba(230, 230, 230, 0.9);
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .mobile-call-btn.end-call {
        background: #ff3b30;
        color: white;
        width: 76px;
        height: 76px;
        box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
    }

    .mobile-call-btn.end-call:hover {
        background: #ff2d20;
        transform: scale(1.05);
        box-shadow: 0 8px 24px rgba(255, 59, 48, 0.5);
    }
}

@media (max-width: 480px) {
    .mobile-visual {
        padding: 32px 16px;
    }

    .mobile-call-interface {
        gap: 28px;
    }

    .mobile-caller-avatar {
        width: 120px;
        height: 120px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .mobile-caller-info h4 {
        font-size: 1.5rem;
    }

    .mobile-call-status {
        font-size: 0.9375rem;
    }

    .mobile-call-actions {
        gap: 16px;
    }

    .mobile-call-btn {
        width: 56px;
        height: 56px;
    }

    .mobile-call-btn.end-call {
        width: 68px;
        height: 68px;
    }
}

/* Build Step Visual */
.flow-node {
    display: inline-block;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.flow-node.start {
    border-color: var(--primary);
    background: var(--gradient-cta);
}

.flow-line {
    width: 40px;
    height: 2px;
    background: var(--border-light);
    display: inline-block;
    vertical-align: middle;
    margin: 0 8px;
}

/* Test Step Visual */
.test-window {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.test-header {
    background: var(--bg-tertiary);
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.test-message {
    padding: 12px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Deploy Step Visual */
.deploy-channels {
    display: flex;
    gap: 12px;
}

.deploy-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
}

.deploy-icon {
    font-size: 1.5rem;
}

.deploy-item span:last-child {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Monitor Step Visual */
.monitor-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.monitor-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
}

.monitor-time {
    font-family: monospace;
    color: var(--text-muted);
}

.monitor-status {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
}

.monitor-status.success {
    background: rgba(29, 54, 78, 0.15);
    color: #1d364e;
}

.monitor-status.warning {
    background: rgba(120, 120, 120, 0.2);
    color: #555555;
}

/* ============================================
   ANALYTICS SECTION - Call Intelligence Dashboard
   ============================================ */
.analytics {
    padding: 40px var(--container-padding);
    text-align: center;
    background: var(--bg-secondary);
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.analytics-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 48px;
    width: 100%;
    position: relative;
    padding: 0;
}

.analytics {
    padding: var(--section-padding);
    text-align: center;
    background: var(--bg-secondary);
}

/* ============================================
   ANALYTICS BENTO GRID
   ============================================ */
.analytics-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Base Bento Card */
.bento-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: left;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Carousel Container */
.analytics-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 48px auto 0;
}

/* Nav Buttons (Hidden on Desktop) */
.carousel-nav-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    z-index: 10;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
    background: var(--bg-secondary);
    color: var(--accent);
}

.carousel-nav-btn.prev {
    left: -20px;
}

.carousel-nav-btn.next {
    right: -20px;
}

/* Note: .analytics-bento-grid is defined earlier at line 2385 */

.bento-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.bento-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.bento-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Bento Card Icon - Simple Stroke Style */
.bento-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.bento-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    stroke-width: 1.5;
}

/* Card Sizes */
.bento-card-xl {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.bento-card-lg {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-card-md {
    grid-column: span 1;
}

/* CTA Card - Orange Accent Theme */
.bento-card-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: none;
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.bento-card-cta h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.bento-card-cta .btn-light {
    background: white;
    color: var(--accent);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.bento-card-cta .btn-light:hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

/* XL Card - Quality Assurance Content */
.bento-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bento-card-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mini Stats */
.mini-stats {
    display: flex;
    gap: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    flex: 1;
}

.stat-icon {
    font-size: 1.25rem;
}

.stat-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* SOP Checklist */
.sop-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.sop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 6px 0;
}

.sop-item.active {
    color: var(--primary);
    font-weight: 500;
}

.sop-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
}

.sop-item.active .sop-dot {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Score Rings */
.score-rings {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.score-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    flex: 1;
    text-align: center;
}

.score-ring .score-value {
    font-size: 1.5rem;
    font-weight: 700;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid;
}

.score-ring.good .score-value {
    border-color: #10b981;
    color: #10b981;
}

.score-ring.average .score-value {
    border-color: #f59e0b;
    color: #f59e0b;
}

.score-ring.bad .score-value {
    border-color: #ef4444;
    color: #ef4444;
}

.score-ring .score-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Waveform Visual */
.waveform-visual {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 20px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-top: auto;
}

.wave-bar {
    width: 6px;
    height: 20px;
    background: linear-gradient(180deg, #f97316, #ea580c);
    border-radius: 3px;
    animation: waveAnimation 1s ease-in-out infinite;
}

.wave-bar.tall {
    height: 35px;
}

.wave-bar:nth-child(2) {
    animation-delay: 0.1s;
}

.wave-bar:nth-child(3) {
    animation-delay: 0.2s;
}

.wave-bar:nth-child(4) {
    animation-delay: 0.3s;
}

.wave-bar:nth-child(5) {
    animation-delay: 0.4s;
}

.wave-bar:nth-child(6) {
    animation-delay: 0.5s;
}

.wave-bar:nth-child(7) {
    animation-delay: 0.6s;
}

.wave-bar:nth-child(8) {
    animation-delay: 0.7s;
}

.wave-bar:nth-child(9) {
    animation-delay: 0.8s;
}

.wave-bar:nth-child(10) {
    animation-delay: 0.9s;
}

.wave-bar:nth-child(11) {
    animation-delay: 1s;
}

.wave-bar:nth-child(12) {
    animation-delay: 1.1s;
}

@keyframes waveAnimation {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.5);
    }
}

/* Sentiment Bars */
.sentiment-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.sentiment-bar {
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.sentiment-bar span {
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
}

.sentiment-bar.positive {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.sentiment-bar.neutral {
    background: linear-gradient(90deg, #6b7280, #9ca3af);
}

.sentiment-bar.negative {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

/* Mini Table */
.mini-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: auto;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 10px 14px;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--border-light);
}

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

.table-row.header {
    background: #e2e8f0;
    font-weight: 600;
    color: var(--text-secondary);
}

.status-badge {
    font-size: 0.6875rem;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 500;
}

.status-badge.success {
    background: #dcfce7;
    color: #16a34a;
}

.status-badge.warning {
    background: #fef3c7;
    color: #d97706;
}

/* Compliance Badge */
.compliance-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: var(--radius-md);
    margin-top: auto;
}

.compliance-badge .check-icon {
    width: 28px;
    height: 28px;
    background: #16a34a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.compliance-badge span:last-child {
    font-weight: 600;
    color: #16a34a;
}

/* Responsive Bento Grid */
@media (max-width: 1024px) {
    .analytics-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card-xl {
        grid-column: span 2;
    }

    .bento-card-lg {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .analytics-carousel-container {
        margin: 32px -24px 0;
        /* Negative margin to pull to edges */
        padding: 0 24px;
        position: relative;
    }

    .section-title,
    .section-subtitle {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .carousel-nav-btn {
        display: flex;
        /* Show buttons on mobile */
    }

    .carousel-nav-btn.prev {
        left: 10px;
    }

    .carousel-nav-btn.next {
        right: 10px;
    }

    .analytics-bento-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 16px !important;
        padding-bottom: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .analytics-bento-grid::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .bento-card-xl,
    .bento-card-lg,
    .bento-card-md,
    .bento-card-cta {
        min-width: 80% !important;
        width: 80% !important;
        scroll-snap-align: center;
        grid-column: auto !important;
        flex-shrink: 0 !important;
    }



    /* Ensure visual content stacks on mobile cards */
    .bento-card-xl {
        grid-template-columns: 1fr;
    }

    .score-rings {
        flex-wrap: wrap;
    }

    .score-ring {
        min-width: calc(50% - 8px);
    }
}

/* Call Analysis Feature Cards */
.call-analysis-features {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
    position: relative;
    z-index: 2;
}

.features-grid-cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
    align-items: stretch;
    position: relative;
    z-index: 11;
    width: 100%;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition-base);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    height: 100%;
}

/* Card widths - Uneven sizing */
.feature-card:nth-child(1) {
    grid-column: span 3;
}

.feature-card:nth-child(2) {
    grid-column: span 4;
}

.feature-card:nth-child(3) {
    grid-column: span 5;
}

.feature-card:nth-child(4) {
    grid-column: span 3;
}

.feature-card:nth-child(5) {
    grid-column: span 4;
}

.feature-card:nth-child(6) {
    grid-column: span 5;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

/* Brand color cards */
.feature-card:nth-child(1) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.feature-card:nth-child(1) .feature-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-card:nth-child(1) h4,
.feature-card:nth-child(1) p {
    color: white;
}

.feature-card:nth-child(2) {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.feature-card:nth-child(2) .feature-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-card:nth-child(2) h4,
.feature-card:nth-child(2) p {
    color: white;
}

.feature-card:nth-child(4) {
    background: #4a5568;
    color: white;
    border-color: #4a5568;
}

.feature-card:nth-child(4) .feature-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-card:nth-child(4) h4,
.feature-card:nth-child(4) p {
    color: white;
}

.feature-card:nth-child(6) {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.feature-card:nth-child(6) .feature-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-card:nth-child(6) h4,
.feature-card:nth-child(6) p {
    color: white;
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.feature-card-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .features-grid-cards {
        grid-template-columns: repeat(6, 1fr);
    }

    .feature-card:nth-child(n) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .call-analysis-features {
        padding: 24px 16px;
    }

    .features-grid-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card:nth-child(n) {
        grid-column: span 1;
    }

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

/* Remove duplicate section */
.metric-label {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

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

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

.mac-dot.green {
    background: #28ca42;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.header-brand {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-icons {
    display: flex;
    gap: 8px;
}

.header-icon-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.header-right {
    display: flex;
    align-items: center;
}

.call-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--accent-light);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Dashboard Content Wrapper */
.dashboard-content-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Left Sidebar Navigation */
.dashboard-sidebar-nav {
    width: 60px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    gap: 8px;
}

.nav-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-icon:hover {
    background: rgba(29, 54, 78, 0.05);
    color: var(--primary);
}

.nav-icon.active {
    background: var(--primary);
    color: white;
}

/* Main Content Area */
.dashboard-main-content {
    flex: 1;
    display: grid;
    grid-template-columns: 350px 1fr;
    overflow: hidden;
}

/* Call List Panel */
.call-list-panel {
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.call-list-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.call-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-light);
}

.call-tab {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
}

.call-tab:hover {
    color: var(--primary);
}

.call-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.call-list-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    background: white;
    color: var(--text-primary);
}

.action-icon-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.call-list-items {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.call-item {
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.call-item:hover {
    background: var(--bg-secondary);
}

.call-item.active {
    background: rgba(29, 54, 78, 0.05);
    border: 1px solid rgba(29, 54, 78, 0.1);
}

.call-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
    color: var(--accent);
    flex-shrink: 0;
}

.call-item-icon.phone {
    background: rgba(29, 54, 78, 0.1);
    color: var(--primary);
}

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

.call-item-status {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.call-item-status.answered {
    color: #28ca42;
}

.call-item-status.missed {
    color: #ef4444;
}

.call-item-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.call-item-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.call-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.call-duration {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
}

/* Call Details Panel */
.call-details-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    overflow-y: auto;
    gap: 0;
}

.call-details-left {
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.call-analytics-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
    overflow-y: auto;
    background: var(--bg-secondary);
}

.analytics-card {
    min-height: 140px;
}

.call-details-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.call-status-badge-large {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    width: fit-content;
}

.call-status-badge-large.answered {
    background: rgba(40, 202, 66, 0.1);
    color: #28ca42;
}

.call-number-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.call-details-tabs {
    display: flex;
    gap: 0;
    padding: 0 24px;
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
}

.detail-tab {
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    margin-bottom: -1px;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.detail-tab:hover {
    color: var(--primary);
}

.detail-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.call-details-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-section-header {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.detail-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.call-id-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-primary);
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    word-break: break-all;
}

.detail-value.confidential {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.detail-section.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.detail-value {
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 500;
}

.detail-value-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 500;
}

.detail-value.positive {
    color: #28ca42;
    font-weight: 600;
}

.detail-value.synced {
    color: var(--primary);
    font-weight: 600;
}

/* Recording Player */
.recording-player {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recording-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.recording-time {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.recording-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recording-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.recording-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-medium);
}

.recording-btn.download {
    width: auto;
    padding: 8px 16px;
    gap: 8px;
    display: flex;
    align-items: center;
}

.speed-select {
    padding: 6px 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    background: white;
    color: var(--text-primary);
}

/* Analytics Cards */
.analytics-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.card-header h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.card-badge {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-badge.excellent {
    background: rgba(40, 202, 66, 0.1);
    color: #28ca42;
}

.card-badge.compliant {
    background: rgba(29, 54, 78, 0.1);
    color: var(--primary);
}

/* Call Score Card */
.score-display {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(40, 202, 66, 0.1) 0%, rgba(29, 54, 78, 0.1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(40, 202, 66, 0.2);
}

.score-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.score-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.score-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
}

.score-item span:first-child {
    width: 80px;
    color: var(--text-secondary);
    font-weight: 500;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.score-item span:last-child {
    width: 40px;
    text-align: right;
    font-weight: 600;
    color: var(--primary);
}

/* Summary Card */
.summary-content p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Compliance Card */
.compliance-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.compliance-item svg {
    color: #28ca42;
    flex-shrink: 0;
}

/* Agent Assistance Card */
.assistance-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.assistance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.assistance-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    color: var(--accent);
    flex-shrink: 0;
}

.assistance-info {
    flex: 1;
}

.assistance-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.assistance-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Keywords Card */
.keywords-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.keyword-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.keyword-badge {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
}

.keyword-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Next Actions Card */
.actions-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.action-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-medium);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-checkbox.checked {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.action-checkbox:not(.checked) {
    background: transparent;
}

.action-checkbox svg {
    width: 12px;
    height: 12px;
}

/* Metrics Card */
.metrics-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.metric-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    color: var(--accent);
    flex-shrink: 0;
}

.metric-info {
    flex: 1;
}

.metric-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Call Analysis Feature Cards */
.call-analysis-features {
    width: 100%;
    padding: 40px 24px;
    position: relative;
    z-index: 10;
    background: transparent;
    flex: 0 0 60%;
    overflow-y: visible;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.features-grid-cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
    align-items: stretch;
    position: relative;
    z-index: 11;
    width: 100%;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition-base);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    height: 100%;
}

/* Card widths - Uneven sizing */
.feature-card-analysis:nth-child(1) {
    grid-column: span 3;
}

.feature-card-analysis:nth-child(2) {
    grid-column: span 4;
}

.feature-card-analysis:nth-child(3) {
    grid-column: span 5;
}

.feature-card-analysis:nth-child(4) {
    grid-column: span 3;
}

.feature-card-analysis:nth-child(5) {
    grid-column: span 4;
}

.feature-card-analysis:nth-child(6) {
    grid-column: span 5;
}

.feature-card-analysis:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

/* Brand color cards */
.feature-card-analysis:nth-child(1) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.feature-card-analysis:nth-child(1) .feature-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-card-analysis:nth-child(1) h4,
.feature-card-analysis:nth-child(1) p {
    color: white;
}

.feature-card-analysis:nth-child(2) {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.feature-card-analysis:nth-child(2) .feature-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-card-analysis:nth-child(2) h4,
.feature-card-analysis:nth-child(2) p {
    color: white;
}

.feature-card-analysis:nth-child(4) {
    background: #4a5568;
    color: white;
    border-color: #4a5568;
}

.feature-card-analysis:nth-child(4) .feature-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-card-analysis:nth-child(4) h4,
.feature-card-analysis:nth-child(4) p {
    color: white;
}

.feature-card-analysis:nth-child(6) {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.feature-card-analysis:nth-child(6) .feature-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-card-analysis:nth-child(6) h4,
.feature-card-analysis:nth-child(6) p {
    color: white;
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.feature-card-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card-analysis h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-card-analysis p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .features-grid-cards {
        grid-template-columns: repeat(6, 1fr);
    }

    .feature-card-analysis:nth-child(n) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .call-analysis-features {
        padding: 24px 16px;
    }

    .features-grid-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card-analysis:nth-child(n) {
        grid-column: span 1;
    }

    .feature-card-analysis {
        min-height: auto;
    }
}

/* Card 1: Violation Tracking - Uneven width */
.feature-card-analysis:nth-child(1) {
    grid-column: span 3;
}

/* Card 2: Sentiment Analysis - Uneven width */
.feature-card-analysis:nth-child(2) {
    grid-column: span 4;
}

/* Card 3: Performance Scoring - Uneven width */
.feature-card-analysis:nth-child(3) {
    grid-column: span 5;
}

/* Card 4: Audit Copilot - Uneven width */
.feature-card-analysis:nth-child(4) {
    grid-column: span 3;
}

/* Card 5: Interaction Analysis - Uneven width */
.feature-card-analysis:nth-child(5) {
    grid-column: span 4;
}

/* Card 6: Compliance Monitoring - Uneven width */
.feature-card-analysis:nth-child(6) {
    grid-column: span 5;
}


/* Card 4: Audit Copilot - Medium width, standard height */
.feature-card-analysis:nth-child(4) {
    grid-column: span 3;
    grid-row: span 1;
}

/* Card 5: Interaction Analysis - Medium width, standard height */
.feature-card-analysis:nth-child(5) {
    grid-column: span 4;
    grid-row: span 1;
}

/* Card 6: Compliance Monitoring - Medium width, standard height */
.feature-card-analysis:nth-child(6) {
    grid-column: span 5;
    grid-row: span 1;
}

.feature-card-analysis:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

/* Brand color cards */
.feature-card-analysis:nth-child(1) {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}

.feature-card-analysis:nth-child(1) h4,
.feature-card-analysis:nth-child(1) p {
    color: var(--text-inverse);
}

.feature-card-analysis:nth-child(2) {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}

.feature-card-analysis:nth-child(2) h4,
.feature-card-analysis:nth-child(2) p {
    color: var(--text-inverse);
}

.feature-card-analysis:nth-child(3) {
    background: var(--bg-secondary);
    border-color: var(--border-medium);
}

.feature-card-analysis:nth-child(4) {
    background: var(--text-secondary);
    color: var(--text-inverse);
    border-color: var(--text-secondary);
}

.feature-card-analysis:nth-child(4) h4,
.feature-card-analysis:nth-child(4) p {
    color: var(--text-inverse);
}

.feature-card-analysis:nth-child(5) {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}

.feature-card-analysis:nth-child(5) h4,
.feature-card-analysis:nth-child(5) p {
    color: var(--text-inverse);
}

.feature-card-analysis:nth-child(6) {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}

.feature-card-analysis:nth-child(6) h4,
.feature-card-analysis:nth-child(6) p {
    color: var(--text-inverse);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.feature-card-icon.violation {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.feature-card-analysis:nth-child(1) .feature-card-icon.violation {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.feature-card-icon.sentiment {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.feature-card-analysis:nth-child(2) .feature-card-icon.sentiment {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.feature-card-icon.performance {
    background: rgba(29, 54, 78, 0.1);
    color: var(--primary);
}

.feature-card-icon.audit {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.feature-card-analysis:nth-child(4) .feature-card-icon.audit {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.feature-card-icon.interaction {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.feature-card-analysis:nth-child(5) .feature-card-icon.interaction {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.feature-card-icon.compliance {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.feature-card-analysis:nth-child(6) .feature-card-icon.compliance {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-inverse);
}

.feature-card-analysis h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card-analysis p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Styles for Call Intelligence Dashboard */
@media (max-width: 1200px) {
    .dashboard-main-content {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 900px) {
    .call-intelligence-dashboard {
        min-height: auto;
    }

    .dashboard-header {
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .header-center {
        order: 3;
        width: 100%;
        margin-top: 8px;
    }

    .dashboard-content-wrapper {
        flex-direction: column;
    }

    .nav-links.active a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .dashboard-sidebar-nav {
        width: 100%;
        flex-direction: row;
        padding: 12px;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-icon {
        flex-shrink: 0;
    }

    .dashboard-main-content {
        grid-template-columns: 1fr;
        max-height: 600px;
    }

    .call-list-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        max-height: 300px;
    }

    .call-details-content {
        padding: 16px;
    }

    .call-details-panel {
        grid-template-columns: 1fr;
    }

    .call-details-left {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .call-analytics-cards {
        padding: 16px;
        grid-template-columns: 1fr;
    }

    .call-list-panel,
    .call-details-left,
    .call-analytics-cards {
        max-height: none;
    }

    .detail-section.two-column {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .call-intelligence-dashboard {
        border-radius: var(--radius-md);
    }

    .call-list-header {
        padding: 12px;
    }

    .call-tabs {
        font-size: 0.8125rem;
    }

    .call-tab {
        padding: 6px 12px;
    }

    .call-details-header {
        padding: 16px;
    }

    .call-number-large {
        font-size: 1.25rem;
    }

    .call-details-tabs {
        padding: 0 16px;
        font-size: 0.8125rem;
    }

    .detail-tab {
        padding: 10px 12px;
    }

    .call-details-content {
        padding: 12px;
        gap: 16px;
    }
}

.window-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.badge-live {
    background: #ef4444;
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.window-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    height: 500px;
    /* Fixed height for scrollable areas */
}

/* Left Column */
.dashboard-main {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid var(--border-light);
    overflow-y: auto;
}

.call-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.caller-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.caller-profile h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.sub-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.call-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.stat-value {
    font-weight: 600;
    font-size: 0.9375rem;
}

.text-success {
    color: #1d364e;
}

.call-transcript-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.message {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9375rem;
    line-height: 1.5;
    max-width: 90%;
}

.message.received {
    background: var(--bg-secondary);
    align-self: flex-start;
    border-top-left-radius: 0;
}

.message.sent {
    background: rgba(var(--primary-rgb), 0.1);
    /* Fallback/Generic */
    background: #eff6ff;
    align-self: flex-end;
    border-top-right-radius: 0;
}

[data-theme="dark"] .message.sent {
    background: rgba(200, 200, 200, 0.15);
}

.msg-sender {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}

.ai-summary-box {
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.05), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
}

.ai-summary-box h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-summary-box p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Right Column */
.dashboard-sidebar {
    background: var(--bg-secondary);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.crm-integration-status {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
}

.integrator-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.sync-status {
    font-size: 0.75rem;
    color: #1d364e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sync-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #1d364e;
    border-radius: 50%;
}

.crm-record {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.record-row {
    width: 45%;
    display: flex;
    flex-direction: column;
}

.record-row.full {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.check-icon {
    color: #1d364e;
    font-weight: bold;
}

.next-actions h5 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist li {
    font-size: 0.9375rem;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
}

.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    border: 1px solid var(--border-light);
    border-radius: 3px;
}

.checklist li.checked {
    text-decoration: line-through;
    color: var(--text-muted);
}

.checklist li.checked::before {
    background: var(--primary);
    border-color: var(--primary);
}

.checklist li.checked::after {
    content: '✓';
    position: absolute;
    left: 2px;
    top: 1px;
    font-size: 10px;
    color: white;
}

/* Responsive Dashboard */
@media (max-width: 900px) {
    .window-content {
        grid-template-columns: 1fr;
        height: auto;
    }

    .dashboard-main {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .call-intelligence-dashboard {
        min-height: 700px;
    }

    .dashboard-content-wrapper {
        flex: 0 0 40%;
    }

    .call-analysis-features {
        padding: 24px 16px;
        flex: 1 1 60%;
        margin-top: -40px;
    }

    .features-grid-cards {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }

    .feature-card-analysis:nth-child(1),
    .feature-card-analysis:nth-child(2),
    .feature-card-analysis:nth-child(3),
    .feature-card-analysis:nth-child(4),
    .feature-card-analysis:nth-child(5),
    .feature-card-analysis:nth-child(6) {
        grid-column: span 3;
        grid-row: span 1;
    }

    .feature-card-analysis:nth-child(3) {
        grid-column: span 6;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .call-intelligence-dashboard {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .call-intelligence-dashboard {
        height: auto;
        max-height: none;
    }

    .dashboard-content-wrapper {
        height: auto;
        min-height: 300px;
        flex: 0 0 auto;
        border-bottom: 2px solid var(--border-light);
    }

    .call-analysis-features {
        padding: 24px 16px;
        height: auto;
        flex: 0 0 auto;
        margin-top: 0;
        position: relative;
        background: var(--bg-secondary);
    }

    .features-grid-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card-analysis:nth-child(1),
    .feature-card-analysis:nth-child(2),
    .feature-card-analysis:nth-child(3),
    .feature-card-analysis:nth-child(4),
    .feature-card-analysis:nth-child(5),
    .feature-card-analysis:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .call-intelligence-dashboard::after {
        display: none;
    }
}

/* ============================================
   INTEGRATIONS SECTION
   ============================================ */
.integrations {
    padding: 60px var(--container-padding);
    background: var(--bg-primary);
}

.integrations-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Side: Content */
.integrations-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.integrations-headline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
}

.integrations-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    text-align: left;
}

.integrations-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.integrations-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-primary);
}

.integrations-features-list li svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.integrations-features-list li span {
    line-height: 1.5;
}

/* Right Side: 6x4 Logo Grid - Scattered Layout */
.integrations-hex-grid {
    position: relative;
    padding: 20px 10px;
    overflow: hidden;
    height: 380px;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.hexagon {
    width: 72px;
    height: 72px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: absolute;
}

.hexagon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.hexagon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(20%) opacity(0.8);
    transition: all 0.3s ease;
    min-width: 40px;
    min-height: 40px;
}

.hexagon:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Scattered 6x4 layout - 24 logos (6 columns x 4 rows) with organic scatter */
/* Row 1: 6 logos - scattered with varied heights */
.integrations-hex-grid .hexagon:nth-child(1) {
    left: 0px;
    top: 12px;
}

.integrations-hex-grid .hexagon:nth-child(2) {
    left: 88px;
    top: 0;
}

.integrations-hex-grid .hexagon:nth-child(3) {
    left: 178px;
    top: 18px;
}

.integrations-hex-grid .hexagon:nth-child(4) {
    left: 265px;
    top: 5px;
}

.integrations-hex-grid .hexagon:nth-child(5) {
    left: 350px;
    top: 20px;
}

.integrations-hex-grid .hexagon:nth-child(6) {
    left: 438px;
    top: 8px;
}

/* Row 2: 6 logos - more offset variation */
.integrations-hex-grid .hexagon:nth-child(7) {
    left: 8px;
    top: 105px;
}

.integrations-hex-grid .hexagon:nth-child(8) {
    left: 95px;
    top: 88px;
}

.integrations-hex-grid .hexagon:nth-child(9) {
    left: 180px;
    top: 98px;
}

.integrations-hex-grid .hexagon:nth-child(10) {
    left: 270px;
    top: 82px;
}

.integrations-hex-grid .hexagon:nth-child(11) {
    left: 355px;
    top: 105px;
}

.integrations-hex-grid .hexagon:nth-child(12) {
    left: 442px;
    top: 92px;
}

/* Row 3: 6 logos - scattered pattern */
.integrations-hex-grid .hexagon:nth-child(13) {
    left: 5px;
    top: 175px;
}

.integrations-hex-grid .hexagon:nth-child(14) {
    left: 90px;
    top: 190px;
}

.integrations-hex-grid .hexagon:nth-child(15) {
    left: 172px;
    top: 168px;
}

.integrations-hex-grid .hexagon:nth-child(16) {
    left: 262px;
    top: 185px;
}

.integrations-hex-grid .hexagon:nth-child(17) {
    left: 348px;
    top: 172px;
}

.integrations-hex-grid .hexagon:nth-child(18) {
    left: 435px;
    top: 195px;
}

/* Row 4: 6 logos - varied scatter */
.integrations-hex-grid .hexagon:nth-child(19) {
    left: 10px;
    top: 270px;
}

.integrations-hex-grid .hexagon:nth-child(20) {
    left: 85px;
    top: 285px;
}

.integrations-hex-grid .hexagon:nth-child(21) {
    left: 178px;
    top: 262px;
}

.integrations-hex-grid .hexagon:nth-child(22) {
    left: 268px;
    top: 278px;
}

.integrations-hex-grid .hexagon:nth-child(23) {
    left: 352px;
    top: 268px;
}

.integrations-hex-grid .hexagon:nth-child(24) {
    left: 440px;
    top: 290px;
}


/* Responsive Styles */
@media (max-width: 1200px) {
    .integrations-split-layout {
        gap: 60px;
    }

    .integrations-headline {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {
    .integrations-split-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .integrations-headline {
        font-size: 1.75rem;
        text-align: center;
    }

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

    .integrations-features-list {
        align-items: flex-start;
        max-width: 400px;
        margin: 8px auto 0;
    }

    .integrations-hex-grid {
        padding: 15px 5px;
        max-width: 100%;
        overflow: hidden;
        height: 280px;
    }

    .hexagon {
        width: 55px;
        height: 55px;
        position: absolute;
    }

    .hexagon img {
        width: 28px;
        height: 28px;
    }

    /* Mobile scattered layout - 6 logos per row, 4 rows with organic scatter */
    .integrations-hex-grid .hexagon:nth-child(1) {
        left: 0px;
        top: 8px;
    }

    .integrations-hex-grid .hexagon:nth-child(2) {
        left: 58px;
        top: 0;
    }

    .integrations-hex-grid .hexagon:nth-child(3) {
        left: 118px;
        top: 12px;
    }

    .integrations-hex-grid .hexagon:nth-child(4) {
        left: 175px;
        top: 4px;
    }

    .integrations-hex-grid .hexagon:nth-child(5) {
        left: 235px;
        top: 15px;
    }

    .integrations-hex-grid .hexagon:nth-child(6) {
        left: 292px;
        top: 5px;
    }

    .integrations-hex-grid .hexagon:nth-child(7) {
        left: 5px;
        top: 72px;
    }

    .integrations-hex-grid .hexagon:nth-child(8) {
        left: 62px;
        top: 58px;
    }

    .integrations-hex-grid .hexagon:nth-child(9) {
        left: 122px;
        top: 68px;
    }

    .integrations-hex-grid .hexagon:nth-child(10) {
        left: 180px;
        top: 55px;
    }

    .integrations-hex-grid .hexagon:nth-child(11) {
        left: 238px;
        top: 70px;
    }

    .integrations-hex-grid .hexagon:nth-child(12) {
        left: 295px;
        top: 62px;
    }

    .integrations-hex-grid .hexagon:nth-child(13) {
        left: 2px;
        top: 125px;
    }

    .integrations-hex-grid .hexagon:nth-child(14) {
        left: 60px;
        top: 138px;
    }

    .integrations-hex-grid .hexagon:nth-child(15) {
        left: 116px;
        top: 120px;
    }

    .integrations-hex-grid .hexagon:nth-child(16) {
        left: 176px;
        top: 132px;
    }

    .integrations-hex-grid .hexagon:nth-child(17) {
        left: 234px;
        top: 118px;
    }

    .integrations-hex-grid .hexagon:nth-child(18) {
        left: 290px;
        top: 135px;
    }

    .integrations-hex-grid .hexagon:nth-child(19) {
        left: 8px;
        top: 190px;
    }

    .integrations-hex-grid .hexagon:nth-child(20) {
        left: 65px;
        top: 202px;
    }

    .integrations-hex-grid .hexagon:nth-child(21) {
        left: 120px;
        top: 185px;
    }

    .integrations-hex-grid .hexagon:nth-child(22) {
        left: 178px;
        top: 198px;
    }

    .integrations-hex-grid .hexagon:nth-child(23) {
        left: 238px;
        top: 188px;
    }

    .integrations-hex-grid .hexagon:nth-child(24) {
        left: 294px;
        top: 205px;
    }
}

@media (max-width: 600px) {
    .integrations-headline {
        font-size: 1.5rem;
    }

    .integrations-description {
        font-size: 1rem;
    }

    .integrations-hex-grid {
        height: 260px;
    }

    .hexagon {
        width: 48px;
        height: 48px;
    }

    .hexagon img {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }

    /* Small screen scattered layout */
    .integrations-hex-grid .hexagon:nth-child(1) {
        left: 0px;
        top: 6px;
    }

    .integrations-hex-grid .hexagon:nth-child(2) {
        left: 52px;
        top: 0;
    }

    .integrations-hex-grid .hexagon:nth-child(3) {
        left: 106px;
        top: 10px;
    }

    .integrations-hex-grid .hexagon:nth-child(4) {
        left: 158px;
        top: 3px;
    }

    .integrations-hex-grid .hexagon:nth-child(5) {
        left: 212px;
        top: 12px;
    }

    .integrations-hex-grid .hexagon:nth-child(6) {
        left: 264px;
        top: 4px;
    }

    .integrations-hex-grid .hexagon:nth-child(7) {
        left: 4px;
        top: 58px;
    }

    .integrations-hex-grid .hexagon:nth-child(8) {
        left: 56px;
        top: 48px;
    }

    .integrations-hex-grid .hexagon:nth-child(9) {
        left: 108px;
        top: 56px;
    }

    .integrations-hex-grid .hexagon:nth-child(10) {
        left: 162px;
        top: 45px;
    }

    .integrations-hex-grid .hexagon:nth-child(11) {
        left: 214px;
        top: 58px;
    }

    .integrations-hex-grid .hexagon:nth-child(12) {
        left: 268px;
        top: 50px;
    }

    .integrations-hex-grid .hexagon:nth-child(13) {
        left: 2px;
        top: 105px;
    }

    .integrations-hex-grid .hexagon:nth-child(14) {
        left: 54px;
        top: 115px;
    }

    .integrations-hex-grid .hexagon:nth-child(15) {
        left: 104px;
        top: 100px;
    }

    .integrations-hex-grid .hexagon:nth-child(16) {
        left: 158px;
        top: 110px;
    }

    .integrations-hex-grid .hexagon:nth-child(17) {
        left: 210px;
        top: 98px;
    }

    .integrations-hex-grid .hexagon:nth-child(18) {
        left: 264px;
        top: 112px;
    }

    .integrations-hex-grid .hexagon:nth-child(19) {
        left: 6px;
        top: 160px;
    }

    .integrations-hex-grid .hexagon:nth-child(20) {
        left: 58px;
        top: 172px;
    }

    .integrations-hex-grid .hexagon:nth-child(21) {
        left: 108px;
        top: 155px;
    }

    .integrations-hex-grid .hexagon:nth-child(22) {
        left: 160px;
        top: 168px;
    }

    .integrations-hex-grid .hexagon:nth-child(23) {
        left: 214px;
        top: 158px;
    }

    .integrations-hex-grid .hexagon:nth-child(24) {
        left: 266px;
        top: 175px;
    }
}

/* ============================================
   FEATURES MINIMAL GRID
   ============================================ */
.features-minimal {
    padding: var(--section-padding);
    text-align: center;
    background: #ffffff;
}

.features-icon-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    flex-shrink: 0;
}

.feature-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all var(--transition-base);
}

.feature-icon-circle svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
}

.feature-icon-item:hover .feature-icon-circle {
    background: var(--accent);
    border-color: var(--accent);
}

.feature-icon-item:hover .feature-icon-circle svg {
    stroke: white;
}

.feature-icon-item span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 100px;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-icon-grid {
        flex-wrap: wrap;
        gap: 24px 32px;
    }
}

@media (max-width: 768px) {
    .features-icon-grid {
        gap: 20px 24px;
    }

    .feature-icon-circle {
        width: 40px;
        height: 40px;
    }

    .feature-icon-circle svg {
        width: 18px;
        height: 18px;
    }

    .feature-icon-item span {
        font-size: 0.75rem;
    }
}

/* ============================================
   FEATURES COMPACT GRID
   ============================================ */
.features-compact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 24px;
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-compact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    text-align: center;
    transition: all var(--transition-base);
}

.feature-compact-item:hover {
    transform: translateY(-2px);
}

.feature-compact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all var(--transition-base);
}

.feature-compact-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
}

.feature-compact-item:hover .feature-compact-icon {
    background: var(--accent);
    border-color: var(--accent);
}

.feature-compact-item:hover .feature-compact-icon svg {
    stroke: white;
}

.feature-compact-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-compact-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.feature-compact-desc {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Responsive Compact Grid */
@media (max-width: 1024px) {
    .features-compact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 16px;
    }
}

@media (max-width: 768px) {
    .features-compact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .feature-compact-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .feature-compact-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .feature-compact-icon svg {
        width: 16px;
        height: 16px;
    }

    .feature-compact-title {
        font-size: 0.75rem;
    }

    .feature-compact-desc {
        font-size: 0.625rem;
    }
}

@media (max-width: 480px) {
    .features-compact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .feature-compact-item {
        padding: 8px 10px;
        gap: 8px;
    }

    .feature-compact-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: 6px;
    }

    .feature-compact-icon svg {
        width: 14px;
        height: 14px;
    }

    .feature-compact-title {
        font-size: 0.6875rem;
    }

    .feature-compact-desc {
        font-size: 0.5625rem;
    }
}

/* Keep old classes for backward compatibility */
.features-bento {
    padding: var(--section-padding);
    text-align: center;
    background: var(--bg-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    /* Forces equal height rows */
    gap: 24px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.bento-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: left;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.bento-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.bento-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    padding: var(--section-padding);
    background: var(--primary);
    text-align: center;
}

.pricing-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.pricing-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: left;
    flex: 1;
    max-width: 360px;
    transition: all var(--transition-base);
}

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

.pricing-card.featured {
    background: var(--accent);
    border-color: var(--accent);
}

.pricing-card.featured:hover {
    background: var(--accent-hover);
}

.plan-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 8px;
}

.pricing-card.featured .plan-label {
    color: rgba(255, 255, 255, 0.8);
}

.plan-name {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    padding: 8px 0;
}

.plan-features .check-icon {
    color: var(--accent);
    font-weight: bold;
}

.pricing-card.featured .plan-features .check-icon {
    color: white;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    width: 100%;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-accent {
    background: white;
    border: none;
    color: var(--accent);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    width: 100%;
}

.btn-accent:hover {
    background: #f8f9fa;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 100%;
        width: 100%;
    }
}

/* Keep old CTA section styles for backward compatibility */
.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-cta);
}

.cta-content.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    text-align: left;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-content.split-layout h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content.split-layout>p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.google-form-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    overflow: hidden;
    height: 520px;
    /* Adjust based on form size */
}

@media (max-width: 900px) {
    .cta-content.split-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .cta-content.split-layout>p {
        margin: 0 auto 32px;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    padding: 0;
    border: none;
    background: transparent;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal[open]::backdrop {
    opacity: 1;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    height: 80vh;
    margin: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal[open] .modal-box {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.modal-form {
    flex: 1;
    overflow: hidden;
    background: white;
}

[data-theme="dark"] .modal-form {
    filter: invert(1) hue-rotate(180deg);
}

/* Helper to hide scrollbar on body when modal open */
body.modal-open {
    overflow: hidden;
}

/* Inline CTA Form */
.inline-cta-form {
    max-width: 400px;
    margin: 32px auto 0;
    text-align: left;
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .inline-cta-form {
    background: var(--bg-card);
}

.form-group {
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--bg-card);
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.form-subtext {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

/* ============================================
   FEATURES SECTION (Voice AI Agents - REDESIGNED)
   Premium glassmorphism cards with gradient hover
   ============================================ */
.features {
    padding: 80px 24px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.features .section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.features .section-header {
    text-align: center;
    margin-bottom: 56px;
}

.features .section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.features .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid: 4 columns on desktop, 2 on tablet, 1 on mobile */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
    max-width: 100%;
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .features {
        padding: 40px 12px;
    }

    .feature-card {
        padding: 16px !important;
        display: grid !important;
        grid-template-areas:
            "icon title"
            "desc desc"
            "list list" !important;
        grid-template-columns: 48px 1fr;
        align-items: center;
        gap: 6px 12px;
        text-align: left !important;
    }

    .feature-card .card-icon {
        grid-area: icon;
        width: 40px;
        height: 40px;
        margin-bottom: 0 !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .feature-card h3 {
        grid-area: title;
        margin: 0 !important;
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
    }

    .feature-card p {
        grid-area: desc;
        margin: 0 !important;
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }

    .feature-card .card-list {
        grid-area: list;
        display: block !important;
        margin: 4px 0 0 !important;
        padding-left: 18px !important;
    }

    .feature-card .card-list li {
        font-size: 0.85rem !important;
        margin-bottom: 2px !important;
        line-height: 1.3 !important;
    }
}

/* Feature Card Links */
.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Premium Feature Card */
.features .feature-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 20px -4px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    grid-column: span 1 !important;
    color: inherit !important;
}

.features .feature-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px -12px rgba(255, 128, 0, 0.15),
        0 8px 24px -8px rgba(0, 0, 0, 0.1);
}

/* Card Icon */
.features .card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.features .card-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.8;
}

/* Industry-specific icon colors */
.features .card-icon.sales {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: #3b82f6;
}

.features .card-icon.support {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: #10b981;
}

.features .card-icon.healthcare {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: #ef4444;
}

.features .card-icon.realestate {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
    color: #8b5cf6;
}

.features .card-icon.restaurant {
    background: linear-gradient(135deg, rgba(255, 128, 0, 0.15) 0%, rgba(255, 128, 0, 0.05) 100%);
    color: var(--accent);
}

.features .card-icon.ecommerce {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(236, 72, 153, 0.05) 100%);
    color: #ec4899;
}

.features .card-icon.finance {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    color: #22c55e;
}

.features .card-icon.education {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0.05) 100%);
    color: #0ea5e9;
}

/* Card Content */
.features .feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.features .feature-card p {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Card Bullet List */
.features .card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.features .card-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    padding: 4px 0;
}

.features .card-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.card-list li:last-child {
    margin-bottom: 0;
}

/* Hover state for card list */
.feature-card:hover .card-list li::before {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary, #00a378) 100%);
}

/* Mobile optimizations */
@media (max-width: 600px) {
    .feature-card {
        padding: 24px;
        border-radius: 16px;
    }

    .card-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 16px;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-card h3 {
        font-size: 1.0625rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .card-list li {
        font-size: 0.8125rem;
    }
}

/* ============================================
   FOOTER (DARK THEME)
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: 80px 0 32px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-icon {
    height: 36px;
    width: auto;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.footer-logo-full {
    height: 44px;
    width: auto;
}

/* Minimal Footer */
/* ============================================
   MINIMAL DARK FOOTER (Synced with Homepage)
   ============================================ */
.footer-minimal {
    background-color: var(--primary);
    /* Navy */
    color: white;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-minimal-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0.8;
}

.footer-right {
    display: flex;
    align-items: center;
    /* Aligns children vertically */
    gap: 24px;
    opacity: 0.8;
    /* Adjusted visibility */
}

.footer-right a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-right a:hover {
    opacity: 1;
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: color 0.2s;
}

.footer-social-link:hover {
    color: white;
    transform: translateY(-2px);
}

/* Footer divider default style */
.footer-divider {
    height: 16px;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
}

/* Footer CTA Buttons */
.footer-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-cta-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* WhatsApp specific hover */
.footer-cta-btn[title="WhatsApp"]:hover {
    background: #25d366;
    border-color: #25d366;
}

/* Email specific hover */
.footer-cta-btn[title="Email"]:hover {
    background: var(--accent);
    /* Using orange accent for this page */
    border-color: var(--accent);
}

.footer-cta-btn[title="Call"]:hover {
    background: var(--primary-light);
    border-color: white;
}

/* Footer Logo Sizing */
.footer-logo {
    height: 42px;
    width: auto;
    /* filter: brightness(0) invert(1); Using SVG directly which is white/light */
    opacity: 0.95;
    transition: height 0.3s ease;
}


@media (max-width: 900px) {
    .footer-minimal-container {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 16px;
    }

    .footer-right {
        flex-direction: column;
        gap: 16px;
    }

    .footer-cta-group {
        justify-content: center;
    }

    .footer-divider {
        display: none;
        /* Hide vertical dividers on mobile stack */
    }
}

/* Old footer styles for backward compatibility */
/* Old footer styles removed to prevent conflict */

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

.footer-links {
    display: flex;
    flex: 1;
    gap: 60px;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

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

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

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .omni-content-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .analytics-showcase {
        flex-direction: column;
    }

    .analytics-dashboard {
        grid-template-columns: 1fr;
    }

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

    .bento-item.large,
    .bento-item.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-links {
        display: none;
    }

    /* Override: Show menu when active */
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 1000;
    }

    /* Overlay handled by global.css .mobile-menu-overlay - no duplicate here */

    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .nav-links.active a {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 8px;
        transition: background 0.2s;
    }

    .nav-links.active a:hover {
        background: rgba(0, 0, 0, 0.05);
    }

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

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero-logo-img {
        height: 80px;
    }

    .hero-content-left h1 {
        font-size: 2.25rem !important;
        line-height: 1.15 !important;
        margin-bottom: 1rem;
        text-align: center;
    }

    .hero-split-wrapper {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
        min-height: calc(100vh - 80px);
        /* Fill viewport */
        justify-content: center;
    }

    .hero-content-left {
        text-align: center;
        align-items: center;
        padding-top: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .hero-visual-right {
        order: -1;
        min-height: 350px !important;
        padding-top: 10px;
        display: flex;
        justify-content: center;
    }

    .conversation-rotator {
        height: 380px !important;
        transform: scale(0.85);
        transform-origin: top center;
        margin-bottom: -40px;
        width: 100%;
        max-width: 420px;
    }

    .hero {
        padding: 80px 0 40px !important;
    }


    .voice-bubble {
        max-width: calc(100% - 40px);
        width: fit-content;
        padding: 12px 16px;
        margin-left: 0;
        margin-right: 0;
    }

    .voice-bubble-user {
        max-width: calc(100% - 60px);
    }

    .voice-bubble-ai {
        max-width: calc(100% - 60px);
    }

    .voice-content p {
        font-size: 0.8125rem;
    }

    .voice-icon {
        width: 36px;
        height: 36px;
    }

    .voice-icon svg {
        width: 18px;
        height: 18px;
    }

    .waveform {
        height: 20px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 12px;
    }

    /* Mobile Carousel Adjustments */
    .carousel-track {
        gap: 30px;
        /* Reduced gap for mobile */
    }

    .partner-logo {
        width: 80px;
        /* Smaller logos for mobile */
        height: 32px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .agent-grid,
    .steps-grid,
    .integration-grid {
        grid-template-columns: 1fr;
    }



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

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* FINAL Override: Analytics section mobile spacing */
    .analytics,
    section.analytics {
        min-height: auto !important;
        padding: 80px 16px !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    .analytics .section-container {
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-logo-img {
        height: 60px;
    }

    .hero-content-left h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        text-align: center;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        text-align: center;
    }

    .hero-actions {
        max-width: 100%;
    }

    .hero-visual-right {
        min-height: 350px;
        overflow: hidden;
        padding: 15px 0;
    }

    .conversation-rotator {
        height: 350px;
        overflow: hidden;
        padding: 10px 0;
        max-width: 100%;
    }

    .voice-bubble {
        max-width: calc(100% - 50px);
        width: fit-content;
        padding: 10px 14px;
        gap: 10px;
    }

    .voice-bubble-user {
        max-width: calc(100% - 70px);
    }

    .voice-bubble-ai {
        max-width: calc(100% - 70px);
    }

    .voice-content p {
        font-size: 0.75rem;
    }

    .voice-icon {
        width: 32px;
        height: 32px;
    }

    .voice-icon svg {
        width: 16px;
        height: 16px;
    }

    .waveform {
        height: 18px;
        gap: 3px;
    }

    .waveform span {
        width: 3px;
    }

    /* Compact Mobile Visual for Get Started */
    .mobile-visual {
        padding: 20px 16px;
    }

    .mobile-call-interface {
        gap: 16px;
    }

    .mobile-caller-avatar {
        width: 100px;
        height: 100px;
        padding: 16px;
        margin-bottom: 12px;
    }

    .mobile-caller-info h4 {
        font-size: 1.25rem;
    }

    .mobile-call-actions {
        gap: 12px;
    }

    .mobile-call-btn {
        width: 48px;
        height: 48px;
    }

    .mobile-call-btn.end-call {
        width: 60px;
        height: 60px;
    }
}

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

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

.hero-content,
.hero-visual {
    animation: fadeInUp 0.8s ease-out;
}

.hero-visual {
    animation-delay: 0.2s;
}

/* ============================================
   MOBILE CAROUSEL OVERRIDE (HIGH PRIORITY)
   ============================================ */
@media screen and (max-width: 768px) {

    /* Force carousel layout on mobile using ID for highest specificity */
    #analytics-carousel,
    .analytics-bento-grid.mobile-carousel,
    .mobile-carousel {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        gap: 16px !important;
        padding: 0 16px 24px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        max-width: 100% !important;
    }

    #analytics-carousel::-webkit-scrollbar,
    .analytics-bento-grid.mobile-carousel::-webkit-scrollbar,
    .mobile-carousel::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* Cards - 85% width, compact */
    #analytics-carousel>*,
    .analytics-bento-grid.mobile-carousel>*,
    .mobile-carousel>* {
        min-width: 85% !important;
        width: 85% !important;
        max-width: 85% !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center !important;
        padding: 16px !important;
        box-sizing: border-box !important;
    }

    /* Show carousel nav buttons */
    .carousel-nav-btn {
        display: flex !important;
    }

    /* CENTER SECTION HEADERS - Full width centered */
    .analytics .section-title,
    .analytics .section-subtitle,
    .analytics h2,
    section.analytics .section-title,
    section.analytics .section-subtitle {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }

    /* Compact card content */
    #analytics-carousel .bento-card-content,
    .analytics-bento-grid .bento-card-content {
        padding: 12px !important;
        gap: 8px !important;
    }

    #analytics-carousel .bento-card-content h3,
    .analytics-bento-grid .bento-card-content h3 {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }

    #analytics-carousel .bento-card-content p,
    .analytics-bento-grid .bento-card-content p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }

    /* Compact mini stats */
    #analytics-carousel .mini-stats,
    .analytics-bento-grid .mini-stats {
        gap: 6px !important;
        padding: 8px !important;
    }

    #analytics-carousel .stat-item,
    .analytics-bento-grid .stat-item {
        padding: 6px !important;
    }

    #analytics-carousel .stat-value,
    .analytics-bento-grid .stat-value {
        font-size: 1.1rem !important;
    }

    #analytics-carousel .stat-label,
    .analytics-bento-grid .stat-label {
        font-size: 0.6rem !important;
    }

    /* Compact checklist */
    #analytics-carousel .checklist-item,
    .analytics-bento-grid .checklist-item {
        padding: 4px 0 !important;
        font-size: 0.8rem !important;
    }

    /* Reduce visual area */
    #analytics-carousel .bento-card-visual,
    .analytics-bento-grid .bento-card-visual {
        padding: 8px !important;
        gap: 8px !important;
    }

    /* Reduce bento card icon size */
    #analytics-carousel .bento-card-icon,
    .analytics-bento-grid .bento-card-icon {
        width: 36px !important;
        height: 36px !important;
    }

    #analytics-carousel .bento-card-icon svg,
    .analytics-bento-grid .bento-card-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-medium);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
}

.faq-item summary {
    padding: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    list-style: none;
    position: relative;
    padding-right: 48px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-item summary {
        font-size: 1rem;
        padding: 20px;
        padding-right: 40px;
    }

    .faq-item p {
        padding: 0 20px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

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