/*
Theme Name: Primeassist.ai
Theme URI: https://primeai.com
Author: Primeassist.ai
Author URI: https://primeai.com
Description: Modern Stripe-style SaaS theme for Primeassist.ai — AI Voice Calling & WhatsApp Chat platform.
Version: 3.1.9
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: primeai
*/

/* ============================================
   Design System — CWILL-inspired Light / Navy-Violet
   ============================================ */
:root {
    /* Page & section backgrounds */
    --white: #ffffff;
    --bg-cream: #fbf7f1;
    --bg-light: #f5f0ea;
    --surface: #ffffff;
    /* Borders */
    --border: rgba(16, 24, 40, 0.1);
    --border-light: rgba(16, 24, 40, 0.07);
    /* Brand accent — CWILL #676BFB */
    --primary: #676bfb;
    --primary-dark: #4f52d9;
    --primary-light: #9497fc;
    --secondary: #818cf8;
    --accent: #a5b4fc;
    /* Gradients */
    --gradient: linear-gradient(135deg, #676bfb, #818cf8);
    --gradient-soft: linear-gradient(135deg, rgba(103, 107, 251, 0.08), rgba(129, 140, 248, 0.08));
    --gradient-hero: linear-gradient(135deg, #676bfb 0%, #818cf8 50%, #a5b4fc 100%);
    --gradient-aurora: linear-gradient(135deg, #676bfb 0%, #818cf8 30%, #a5b4fc 60%, #c7d2fe 100%);
    /* Text — dark on light */
    --text-dark: #101828;
    --text-body: #374151;
    --text-muted: #6b7280;
    /* Semantic */
    --green: #10b981;
    --amber: #f59e0b;
    --rose: #f43f5e;
    /* Shadows — lighter for a bright theme */
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08);
    --shadow-md: 0 4px 16px rgba(16, 24, 40, 0.10);
    --shadow-lg: 0 12px 40px rgba(16, 24, 40, 0.12);
    --shadow-xl: 0 20px 60px rgba(16, 24, 40, 0.15);
    --shadow-primary: 0 8px 30px rgba(103, 107, 251, 0.28);
    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --transition: 0.3s ease;
    --container-max: 1440px;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    /* Dark section tokens — CWILL navy */
    --dark-bg: #101828;
    --dark-surface: #1a2236;
    --dark-border: rgba(255, 255, 255, 0.08);
    --dark-text: #f0f0f5;
    --dark-text-muted: rgba(255, 255, 255, 0.55);
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(16, 24, 40, 0.08);
    --glass-blur: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    background: var(--bg-cream);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input { font-family: inherit; border: none; outline: none; background: none; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(103, 107, 251, 0.10);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(103, 107, 251, 0.2);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 620px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

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

/* ============================================
   Dark Section Utility
   ============================================ */
.section-dark {
    background: var(--dark-bg);
    color: var(--dark-text);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: #ffffff;
}

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

.section-dark .section-label {
    background: rgba(103, 107, 251, 0.18);
    color: #c7d2fe;
    border: 1px solid rgba(103, 107, 251, 0.3);
}

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

.section-dark .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
}

.section-dark .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

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

/* ============================================
   Light Section Utility
   ============================================ */
.section-light {
    background: #ffffff !important;
    color: var(--text-body);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 {
    color: var(--text-dark);
}

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

.section-light .section-label {
    background: rgba(103, 107, 251, 0.09);
    color: var(--primary);
    border: 1px solid rgba(103, 107, 251, 0.18);
}

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

.section-light .section-title {
    color: var(--text-dark);
}

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

.section-light .btn-outline {
    border-color: #d0d0dc;
    color: #333;
    background: transparent;
}

.section-light .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(103, 107, 251, 0.12);
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

/* Aurora Gradient Text */
.gradient-text-aurora {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dot Grid Background */
.dot-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    box-shadow: 0 12px 40px rgba(103, 107, 251, 0.38);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid rgba(16, 24, 40, 0.15);
    color: var(--text-body);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; border-radius: 10px; }

.btn-white {
    background: #ffffff;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

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

/* ============================================
   Header / Navbar
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 32px;
    transition: padding var(--transition);
    background: transparent;
}

.site-header.scrolled {
    padding: 10px 32px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 20px rgba(16, 24, 40, 0.07);
    transition: box-shadow var(--transition), padding var(--transition);
}

.site-header.scrolled .nav-container {
    box-shadow: 0 4px 30px rgba(16, 24, 40, 0.12);
    padding: 8px 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 4px;
}

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

@keyframes logo-entry {
    from {
        opacity: 0.35;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-img-main {
    height: 28px;
    width: auto;
    display: block;
    filter: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: logo-entry 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.05s;
}

/* Footer logo — keep original colors (light background) */
.footer-logo-img {
    height: 36px;
    filter: none;
}

.nav-menu { display: flex; align-items: center; gap: 32px; }

.nav-menu a {
    font-size: 0.93rem;
    font-weight: 500;
    color: #374151;
    transition: color var(--transition);
}

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

.nav-menu a.nav-active {
    color: var(--primary);
    font-weight: 600;
}

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

.nav-login-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    transition: color var(--transition);
}
.nav-login-link:hover { color: var(--primary); }

.btn-primary-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: var(--gradient);
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1.5px solid transparent;
    box-shadow: 0 4px 14px rgba(103, 107, 251, 0.30);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary-pill:hover {
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.btn-dark-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: var(--text-dark);
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1.5px solid var(--text-dark);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-dark-pill:hover {
    background: #1e293b;
    border-color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.22);
}

/* ============================================
   Platform Mega Menu — Full-Width
   ============================================ */

/* nav-dropdown has no position:relative so the menu
   positions relative to .site-header (full-viewport fixed bar) */
.nav-dropdown { }

/* Toggle button */
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.93rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: #374151;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.18s ease;
    position: relative;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle { color: var(--primary); }

/* Thin underline indicator that grows on open */
.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--gradient);
    border-radius: 1px;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.nav-dropdown.open .nav-dropdown-toggle::after {
    transform: translateX(-50%) scaleX(1);
}

/* Chevron */
.nav-dropdown-chevron {
    opacity: 0.6;
    flex-shrink: 0;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.18s ease;
}

.nav-dropdown.open .nav-dropdown-chevron,
.nav-dropdown-toggle:hover .nav-dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--primary);
}

/* ── Full-width panel — anchored flush to header bottom ── */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    /* No border-top — mega menu has its own shadow for visual separation */
    box-shadow: 0 12px 40px rgba(16, 24, 40, 0.09), 0 4px 12px rgba(16, 24, 40, 0.05);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Subtle lift animation — small Y so it feels like part of the header unfolding */
    transform: translateY(-5px);
    transition:
        opacity 0.2s ease-out,
        transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s linear 0.2s;
    border-radius: 0;
}

.nav-dropdown-menu::before { display: none; }

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
        opacity 0.18s ease-out,
        transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s;
}

/* ── Page backdrop — dims content behind open mega menu ── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 40, 0);
    z-index: 998;           /* below header (1000) + mega menu (999) */
    pointer-events: none;
    transition: background 0.22s ease;
}

body.mega-menu-open::after {
    background: rgba(16, 24, 40, 0.18);
}

/* ── Content constrained to site max-width ── */
.mega-inner {
    display: flex;
    align-items: stretch;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 32px 24px 28px;
    gap: 0;
}

/* Section label */
.mega-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #9ca3af;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* ── Left: Platforms ── */
.mega-platforms {
    flex: 1;
    min-width: 0;
    padding-right: 40px;
}

/* Separator-line grid — GoKwik style */
.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.mega-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 24px 22px 20px;
    text-decoration: none;
    border-right: 1px solid rgba(16, 24, 40, 0.07);
    border-bottom: 1px solid rgba(16, 24, 40, 0.07);
    position: relative;
    transition: background 0.15s ease;
    background: #ffffff;
}

/* remove right border from right column */
.mega-card:nth-child(even)  { border-right: none; }
/* remove bottom border from bottom row */
.mega-card:nth-child(3),
.mega-card:nth-child(4)     { border-bottom: none; }

/* left accent strip on hover */
.mega-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    background: var(--gradient);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: center;
    transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-card:hover { background: rgba(103, 107, 251, 0.025); }
.mega-card:hover::after { opacity: 1; transform: scaleY(1); }

/* no accent strip on right-column cards (borderless side) */
.mega-card:nth-child(even)::after { display: none; }

.mega-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icon */
.mpc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.mega-card:hover .mpc-icon { transform: scale(1.06); }

.mpc-icon--voice {
    background: linear-gradient(135deg, rgba(103, 107, 251, 0.13), rgba(103, 107, 251, 0.04));
    color: var(--primary);
    border: 1px solid rgba(103, 107, 251, 0.16);
}

.mpc-icon--whatsapp {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.13), rgba(16, 185, 129, 0.04));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.16);
}

.mpc-icon--sms {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.13), rgba(59, 130, 246, 0.04));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.16);
}

.mpc-icon--chat {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.13), rgba(129, 140, 248, 0.04));
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.16);
}

/* Name + badge */
.mpc-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mpc-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #101828;
    font-family: var(--font-heading);
    line-height: 1;
    transition: color 0.15s ease;
}

.mega-card:hover .mpc-name { color: var(--primary); }

.mpc-badge {
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.mpc-badge--popular  { background: rgba(103, 107, 251, 0.09); color: var(--primary); border: 1px solid rgba(103, 107, 251, 0.18); }
.mpc-badge--official { background: rgba(16, 185, 129, 0.09);  color: #059669;        border: 1px solid rgba(16, 185, 129, 0.18); }
.mpc-badge--new      { background: rgba(245, 158, 11, 0.09);  color: #d97706;        border: 1px solid rgba(245, 158, 11, 0.18); }

/* Description */
.mpc-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.45;
    margin: 0;
    transition: color 0.15s ease;
}

.mega-card:hover .mpc-desc { color: #4b5563; }

/* Feature tags */
.mpc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.mpc-tag {
    font-size: 0.67rem;
    font-weight: 500;
    color: #6b7280;
    background: rgba(16, 24, 40, 0.04);
    border: 1px solid rgba(16, 24, 40, 0.07);
    border-radius: 4px;
    padding: 2px 7px;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mega-card:hover .mpc-tag {
    background: rgba(103, 107, 251, 0.07);
    color: var(--primary);
    border-color: rgba(103, 107, 251, 0.15);
}

/* ── Vertical divider ── */
.mega-divider {
    width: 1px;
    background: rgba(16, 24, 40, 0.07);
    flex-shrink: 0;
    align-self: stretch;
    margin: 0;
}

/* ── Right: Featured ── */
.mega-featured {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 36px;
}

/* Featured card with gradient visual banner */
.mega-featured-card {
    flex: 1;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Gradient banner area */
.mfc-visual {
    height: 128px;
    background: linear-gradient(135deg, #676bfb 0%, #818cf8 55%, #a5b4fc 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.mfc-visual::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    top: -70px; right: -50px;
}

.mfc-visual::after {
    content: '';
    position: absolute;
    width: 130px; height: 130px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    bottom: -50px; left: -30px;
}

.mfc-visual-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Text content below banner */
.mfc-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mfc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(103, 107, 251, 0.08);
    border: 1px solid rgba(103, 107, 251, 0.18);
    border-radius: 4px;
    padding: 3px 8px;
    width: fit-content;
}

.mfc-title {
    font-size: 1rem;
    font-weight: 700;
    color: #101828;
    font-family: var(--font-heading);
    margin: 0;
    line-height: 1.25;
}

.mfc-stat {
    font-size: 0.79rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}

.mfc-stat strong { color: var(--primary); font-weight: 700; }

.mfc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.15s ease;
    margin-top: 4px;
}

.mfc-link:hover { gap: 9px; color: var(--primary-dark); }

/* Demo CTA */
.mega-demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 16px;
    background: var(--gradient);
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(103, 107, 251, 0.28);
    transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
}

.mega-demo-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(103, 107, 251, 0.38);
}

/* ── Footer bar (full-width, content constrained) ── */
.mega-footer {
    border-top: 1px solid rgba(16, 24, 40, 0.07);
    background: #fafafa;
}

.mega-footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 11px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mega-footer-text {
    font-size: 0.72rem;
    color: #9ca3af;
}

.mega-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.15s ease;
    white-space: nowrap;
}

.mega-footer-link:hover { gap: 8px; color: var(--primary-dark); }


.nav-cta .btn { padding: 10px 24px; font-size: 0.9rem; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile toggle — dark bars on white header */
.mobile-toggle span { background: #374151; }

/* ============================================
   Hero Section — Two-column split
   ============================================ */
.hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: #ffffff;
}

/* Subtle radial glow behind the right visual column */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(103, 107, 251, 0.09) 0%, rgba(129, 140, 248, 0.04) 50%, transparent 72%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content { max-width: 540px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(103, 107, 251, 0.10);
    border: 1px solid rgba(103, 107, 251, 0.22);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    color: var(--text-dark);
}

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

.hero-description {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Value props: Acquire · Engage · Convert · Retain */
.hero-values {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.hero-value-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}
.hero-value-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    display: inline-block;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start; }
.btn-pill { border-radius: 50px !important; }

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

/* Concentric arcs decoration */
.hero-arcs {
    position: absolute;
    inset: -60px;
    z-index: 0;
    pointer-events: none;
}
.hero-arcs-svg { width: 100%; height: 100%; }

/* Arch frame wrapper */
.hero-arch-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 340px;
}

/* Arch-shaped visual panel */
.hero-arch-visual {
    border-radius: 170px 170px 20px 20px;
    background: linear-gradient(160deg, rgba(235, 235, 255, 0.9) 0%, rgba(248, 248, 255, 0.95) 50%, #ffffff 100%);
    border: 1.5px solid rgba(103, 107, 251, 0.18);
    padding: 36px 24px 28px;
    box-shadow: 0 32px 80px rgba(103, 107, 251, 0.14), 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Floating stat chips */
.hero-chip {
    position: absolute;
    background: #ffffff;
    border: 1px solid rgba(103, 107, 251, 0.14);
    border-radius: 40px;
    padding: 9px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
    z-index: 2;
    white-space: nowrap;
}
.hero-chip-1 { top: 22%; left: -28px; }
.hero-chip-2 { bottom: 28%; right: -18px; }
.chip-icon { font-size: 1rem; line-height: 1; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; flex-shrink: 0; }

/* Mockup content inside arch */
.hero-mockup-inner { display: flex; flex-direction: column; gap: 16px; }

.hmi-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(103, 107, 251, 0.12);
}
.hmi-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    flex-shrink: 0;
}
.hmi-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.hmi-line { height: 7px; border-radius: 4px; background: rgba(103, 107, 251, 0.12); }
.hmi-line--wide { width: 72%; }
.hmi-line--short { width: 42%; }
.hmi-badge {
    font-size: 0.66rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.hmi-badge--live {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.hmi-chat { display: flex; flex-direction: column; gap: 8px; }
.hmi-bubble {
    padding: 8px 13px;
    border-radius: 14px;
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: 92%;
}
.hmi-bubble--in {
    background: rgba(103, 107, 251, 0.07);
    border: 1px solid rgba(103, 107, 251, 0.10);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.hmi-bubble--out {
    background: var(--primary);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.hmi-stats { display: flex; border-top: 1px solid rgba(103, 107, 251, 0.10); padding-top: 14px; }
.hmi-stat { flex: 1; text-align: center; }
.hmi-stat + .hmi-stat { border-left: 1px solid rgba(103, 107, 251, 0.10); }
.hmi-stat-num { display: block; font-size: 1rem; font-weight: 700; color: var(--text-dark); font-family: var(--font-heading); }
.hmi-stat-lbl { display: block; font-size: 0.66rem; color: var(--text-muted); margin-top: 2px; }

/* Voice AI waveform inside arch mockup */
.vai-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 36px;
    padding: 4px 0;
}
.vai-waveform span {
    display: block;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    animation: vai-wave 1.4s ease-in-out infinite;
}
.vai-waveform span:nth-child(1)  { height: 8px;  animation-delay: 0s; }
.vai-waveform span:nth-child(2)  { height: 16px; animation-delay: .1s; }
.vai-waveform span:nth-child(3)  { height: 26px; animation-delay: .2s; }
.vai-waveform span:nth-child(4)  { height: 32px; animation-delay: .3s; }
.vai-waveform span:nth-child(5)  { height: 36px; animation-delay: .4s; }
.vai-waveform span:nth-child(6)  { height: 28px; animation-delay: .35s; }
.vai-waveform span:nth-child(7)  { height: 36px; animation-delay: .45s; }
.vai-waveform span:nth-child(8)  { height: 30px; animation-delay: .5s; }
.vai-waveform span:nth-child(9)  { height: 36px; animation-delay: .4s; }
.vai-waveform span:nth-child(10) { height: 28px; animation-delay: .3s; }
.vai-waveform span:nth-child(11) { height: 32px; animation-delay: .2s; }
.vai-waveform span:nth-child(12) { height: 20px; animation-delay: .1s; }
.vai-waveform span:nth-child(13) { height: 10px; animation-delay: 0s; }
.vai-waveform span:nth-child(14) { height: 16px; animation-delay: .07s; }
.vai-waveform span:nth-child(15) { height: 8px;  animation-delay: .14s; }

/* ============================================
   Voice AI — Sample Call Player (Plivo-style)
   ============================================ */

.vai-sample-player {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border: 1.5px solid rgba(103, 107, 251, 0.16);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 32px 80px rgba(103, 107, 251, 0.13), 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vsp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vsp-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
    animation: vsp-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes vsp-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22); }
    50%       { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.06); }
}

.vsp-label {
    font-size: 0.70rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.vsp-scenario {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.vsp-lang-badge {
    font-size: 0.64rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(103, 107, 251, 0.08);
    color: var(--primary);
    border: 1px solid rgba(103, 107, 251, 0.18);
    letter-spacing: 0.05em;
}

.vsp-waveform-area {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(103, 107, 251, 0.04);
    border: 1px solid rgba(103, 107, 251, 0.10);
    border-radius: 12px;
    padding: 10px 14px;
}

.vsp-play-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 14px rgba(103, 107, 251, 0.38);
    flex-shrink: 0;
}

.vsp-play-btn:hover  { transform: scale(1.09); box-shadow: 0 6px 20px rgba(103, 107, 251, 0.52); }
.vsp-play-btn:active { transform: scale(0.95); }

.vsp-waveform {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2.5px;
    height: 32px;
    overflow: hidden;
}

.vsp-waveform span {
    display: block;
    width: 3px;
    border-radius: 3px;
    background: rgba(103, 107, 251, 0.22);
    flex-shrink: 0;
    transform-origin: center;
}

/* Idle bar heights */
.vsp-waveform span:nth-child(1)  { height: 4px;  }
.vsp-waveform span:nth-child(2)  { height: 8px;  }
.vsp-waveform span:nth-child(3)  { height: 14px; }
.vsp-waveform span:nth-child(4)  { height: 20px; }
.vsp-waveform span:nth-child(5)  { height: 26px; }
.vsp-waveform span:nth-child(6)  { height: 18px; }
.vsp-waveform span:nth-child(7)  { height: 10px; }
.vsp-waveform span:nth-child(8)  { height: 22px; }
.vsp-waveform span:nth-child(9)  { height: 30px; }
.vsp-waveform span:nth-child(10) { height: 26px; }
.vsp-waveform span:nth-child(11) { height: 32px; }
.vsp-waveform span:nth-child(12) { height: 22px; }
.vsp-waveform span:nth-child(13) { height: 16px; }
.vsp-waveform span:nth-child(14) { height: 28px; }
.vsp-waveform span:nth-child(15) { height: 32px; }
.vsp-waveform span:nth-child(16) { height: 24px; }
.vsp-waveform span:nth-child(17) { height: 32px; }
.vsp-waveform span:nth-child(18) { height: 20px; }
.vsp-waveform span:nth-child(19) { height: 28px; }
.vsp-waveform span:nth-child(20) { height: 16px; }
.vsp-waveform span:nth-child(21) { height: 24px; }
.vsp-waveform span:nth-child(22) { height: 32px; }
.vsp-waveform span:nth-child(23) { height: 20px; }
.vsp-waveform span:nth-child(24) { height: 12px; }
.vsp-waveform span:nth-child(25) { height: 26px; }
.vsp-waveform span:nth-child(26) { height: 18px; }
.vsp-waveform span:nth-child(27) { height: 10px; }
.vsp-waveform span:nth-child(28) { height: 16px; }
.vsp-waveform span:nth-child(29) { height: 8px;  }
.vsp-waveform span:nth-child(30) { height: 4px;  }

/* Playing state — animated waveform */
.vai-sample-player.is-playing .vsp-waveform span {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    animation: vsp-wave 1.2s ease-in-out infinite;
}

.vai-sample-player.is-playing .vsp-waveform span:nth-child(1)  { animation-delay: 0s;    }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(2)  { animation-delay: 0.04s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(3)  { animation-delay: 0.08s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(4)  { animation-delay: 0.12s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(5)  { animation-delay: 0.16s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(6)  { animation-delay: 0.20s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(7)  { animation-delay: 0.24s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(8)  { animation-delay: 0.28s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(9)  { animation-delay: 0.32s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(10) { animation-delay: 0.36s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(11) { animation-delay: 0.40s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(12) { animation-delay: 0.36s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(13) { animation-delay: 0.32s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(14) { animation-delay: 0.28s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(15) { animation-delay: 0.24s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(16) { animation-delay: 0.20s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(17) { animation-delay: 0.16s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(18) { animation-delay: 0.12s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(19) { animation-delay: 0.08s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(20) { animation-delay: 0.04s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(21) { animation-delay: 0s;    }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(22) { animation-delay: 0.04s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(23) { animation-delay: 0.08s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(24) { animation-delay: 0.12s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(25) { animation-delay: 0.16s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(26) { animation-delay: 0.20s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(27) { animation-delay: 0.24s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(28) { animation-delay: 0.28s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(29) { animation-delay: 0.32s; }
.vai-sample-player.is-playing .vsp-waveform span:nth-child(30) { animation-delay: 0.36s; }

@keyframes vsp-wave {
    0%, 100% { transform: scaleY(0.3); opacity: 0.55; }
    50%       { transform: scaleY(1);  opacity: 1;    }
}

.vsp-duration {
    font-size: 0.70rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    min-width: 64px;
    text-align: right;
}

.vsp-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid rgba(103, 107, 251, 0.08);
    border-bottom: 1px solid rgba(103, 107, 251, 0.08);
}

.vsp-metric        { flex: 1; text-align: center; }

.vsp-metric-divider {
    width: 1px;
    height: 28px;
    background: rgba(103, 107, 251, 0.10);
    flex-shrink: 0;
}

.vsp-metric-num {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.vsp-metric-lbl {
    display: block;
    font-size: 0.60rem;
    color: var(--text-muted);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vsp-breakdown          { display: flex; flex-direction: column; gap: 7px; }

.vsp-breakdown-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vsp-bd-label {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 28px;
}

.vsp-bd-bar {
    flex: 1;
    height: 5px;
    border-radius: 5px;
    background: rgba(103, 107, 251, 0.08);
    overflow: hidden;
}

.vsp-bd-fill          { height: 100%; border-radius: 5px; background: var(--primary); }
.vsp-bd-fill--llm     { background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.vsp-bd-fill--tts     { background: #10b981; }

.vsp-bd-time {
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 38px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.vsp-transcript { display: flex; flex-direction: column; gap: 7px; }

.vsp-turn {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.vsp-turn-tag {
    font-size: 0.60rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    margin-top: 2px;
}

.vsp-turn--user .vsp-turn-tag {
    background: rgba(103, 107, 251, 0.08);
    color: var(--primary);
    border: 1px solid rgba(103, 107, 251, 0.18);
}

.vsp-turn--ai .vsp-turn-tag {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.vsp-turn-text {
    font-size: 0.73rem;
    color: var(--text-body);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .vai-sample-player { max-width: 100%; }
}

/* ============================================
   Hero v2 — Zipchat-style centered gradient
   ============================================ */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(
        170deg,
        #b8cef8 0%,
        #c5d8fb 15%,
        #d4e3fc 30%,
        #e0ebfd 45%,
        #eaeefc 55%,
        #f0ece6 70%,
        #ede7dc 85%,
        #e8e0d4 100%
    );
    overflow: hidden;
    padding: 160px 40px 100px;
}

.hero-v2-inner {
    position: relative;
    z-index: 1;
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tag pills */
.hero-v2-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-v2-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.06);
}

.hero-v2-tag svg { color: var(--primary); flex-shrink: 0; }

/* Headline */
.hero-v2-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.09;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 24px;
}

/* Subtitle */
.hero-v2-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #4b5563;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 40px;
}

/* CTA buttons */
.hero-v2-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.btn-v2-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    background: var(--text-dark);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: 1.5px solid var(--text-dark);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-v2-dark:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.2);
}

/* On dark backgrounds, flip btn-v2-dark to the purple gradient so it stands out */
.article-cta-box .btn-v2-dark {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(103, 107, 251, 0.40);
}
.article-cta-box .btn-v2-dark:hover {
    background: linear-gradient(135deg, #5a5ef0, #7280f6);
    border-color: transparent;
    box-shadow: 0 8px 28px rgba(103, 107, 251, 0.50);
    transform: translateY(-2px);
}

/* On dark backgrounds, flip pfc-btn-outline to white text + white border */
.article-cta-box .pfc-btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.40);
}
.article-cta-box .pfc-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.70);
    color: #ffffff;
}

.btn-v2-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
}
.btn-v2-light:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.1);
}

/* Micro copy */
.hero-v2-note {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 44px;
}

/* Rating badges row */
.hero-v2-ratings {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-v2-rating-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-v2-stars {
    color: #f59e0b;
    font-size: 0.78rem;
    letter-spacing: -0.5px;
    line-height: 1;
}

.hero-v2-rating-score {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-v2-rating-platform {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hero-v2-rating-sep {
    color: #c4c9d4;
    font-size: 1rem;
    line-height: 1;
}

/* Hero Mockup (legacy — used by sub-pages) */
.hero-mockup { position: relative; }

.mockup-wrapper {
    position: relative;
    background: var(--bg-light);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.mockup-dashboard {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.mockup-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #676bfb; }

.mockup-body { padding: 16px; }

.mockup-voice-card,
.mockup-chat-card {
    border-radius: var(--radius-xs);
    padding: 14px;
    margin-bottom: 10px;
}

.mockup-voice-card {
    background: linear-gradient(135deg, rgba(103, 107, 251, 0.06), rgba(129, 140, 248, 0.04));
    border: 1px solid rgba(103, 107, 251, 0.1);
}

.mockup-voice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mockup-voice-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.mockup-voice-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--green);
}

.mockup-voice-status .pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

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

.voice-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 32px;
    padding: 0 4px;
}

.voice-wave {
    width: 4px;
    border-radius: 4px;
    background: var(--gradient);
    animation: waveAnim 1.2s ease-in-out infinite;
}

.voice-wave:nth-child(1)  { height: 8px;  animation-delay: 0s; }
.voice-wave:nth-child(2)  { height: 16px; animation-delay: 0.1s; }
.voice-wave:nth-child(3)  { height: 24px; animation-delay: 0.2s; }
.voice-wave:nth-child(4)  { height: 32px; animation-delay: 0.3s; }
.voice-wave:nth-child(5)  { height: 20px; animation-delay: 0.4s; }
.voice-wave:nth-child(6)  { height: 28px; animation-delay: 0.5s; }
.voice-wave:nth-child(7)  { height: 12px; animation-delay: 0.6s; }
.voice-wave:nth-child(8)  { height: 24px; animation-delay: 0.7s; }
.voice-wave:nth-child(9)  { height: 16px; animation-delay: 0.8s; }
.voice-wave:nth-child(10) { height: 8px;  animation-delay: 0.9s; }
.voice-wave:nth-child(11) { height: 20px; animation-delay: 1.0s; }
.voice-wave:nth-child(12) { height: 28px; animation-delay: 1.1s; }

@keyframes waveAnim {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.mockup-chat-card {
    background: linear-gradient(135deg, rgba(103, 107, 251, 0.05), rgba(129, 140, 248, 0.04));
    border: 1px solid rgba(103, 107, 251, 0.12);
}

.mockup-chat-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--green);
    margin-bottom: 10px;
}

.chat-bubbles { display: flex; flex-direction: column; gap: 6px; }

.chat-bubble {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    max-width: 82%;
    line-height: 1.4;
}

.chat-bubble.incoming {
    background: #f1f5f9;
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.outgoing {
    background: var(--gradient);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mockup-stat {
    text-align: center;
    padding: 10px 6px;
    background: var(--bg-light);
    border-radius: var(--radius-xs);
}

.mockup-stat .ms-number { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--text-dark); }
.mockup-stat .ms-label { font-size: 0.6rem; color: var(--text-muted); margin-top: 2px; }

/* Floating badges on mockup */
.mockup-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatBadge 4s ease-in-out infinite;
}

.mockup-float.top-left { top: -16px; left: -20px; }
.mockup-float.bottom-right { bottom: -16px; right: -20px; animation-delay: 2s; }

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

.mockup-float-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mockup-float-icon.green { background: rgba(103, 107, 251, 0.1); color: var(--green); }
.mockup-float-icon.purple { background: rgba(103, 107, 251, 0.1); color: var(--primary); }
.mockup-float-text .mf-number { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.mockup-float-text .mf-label { font-size: 0.7rem; color: var(--text-muted); }

/* ============================================
   Logos / Social Proof Bar
   ============================================ */
.logos-bar {
    padding: 32px 0;
    background: #ffffff;
    border-top: 1px solid rgba(16, 24, 40, 0.07);
    border-bottom: 1px solid rgba(16, 24, 40, 0.07);
    overflow: hidden;
}

/* Trust label left + marquee right */
.logos-bar-inner {
    display: flex;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.logos-trust-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-shrink: 0;
    padding-right: 36px;
}

.ltl-count {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    color: #1e1e2e;
    font-family: var(--font-heading);
    line-height: 1;
    letter-spacing: -0.04em;
}

.ltl-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 400;
    margin-top: 2px;
}

.logos-divider-v {
    width: 1px;
    height: 44px;
    background: rgba(16, 24, 40, 0.12);
    flex-shrink: 0;
}

/* Marquee wrapper */
.logos-marquee-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.logos-marquee-track {
    display: flex;
    width: max-content;
}

.logos-marquee-slide {
    display: flex;
    align-items: center;
    gap: 52px;
    padding: 0 26px;
    animation: logosMarquee 32s linear infinite;
}

@keyframes logosMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.logos-marquee-track:hover .logos-marquee-slide {
    animation-play-state: paused;
}

/* Logo images — dark high-contrast on white */
.logo-img {
    height: 28px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    opacity: 0.82;
    filter: grayscale(100%) brightness(0);
    transition: opacity 0.3s ease, filter 0.3s ease;
    display: block;
    flex-shrink: 0;
}

.logo-img:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}


/* ============================================
   Network Effect Section
   ============================================ */
.net-effect {
    background: #ffffff;
    padding: 80px 0 64px;
    overflow: hidden;
}

.net-effect-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Left text column — title at top, description at bottom */
.net-effect-left {
    flex: 0 0 195px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 44px 0 0;
}

.net-effect-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 4.4vw, 5.2rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0;
}

.net-effect-kicker {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.net-effect-desc {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* Vertical rule */
.net-effect-vline {
    flex-shrink: 0;
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0,0,0,0.11) 8%,
        rgba(0,0,0,0.11) 92%,
        transparent 100%);
    margin: 0 18px 0 0;
}

/* Cards row — 4 equal pills, evenly spaced */
.net-effect-cards {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ── Circular metric cards ── */
.net-card {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #fefcf5 0%, #f8e8c0 42%, #ddb86a 100%);
    border: 1px solid rgba(210, 175, 100, 0.35);
    box-shadow:
        0 8px 32px rgba(190, 148, 55, 0.22),
        0 2px 8px rgba(190, 148, 55, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.net-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow:
        0 18px 48px rgba(190, 148, 55, 0.32),
        0 6px 16px rgba(190, 148, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.net-card-num {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 2.6vw, 2.6rem);
    font-weight: 800;
    color: #7a5415;
    line-height: 1;
    letter-spacing: -0.03em;
}

.net-card-lbl {
    display: block;
    font-size: 0.76rem;
    color: #9a7438;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.01em;
    max-width: 100px;
}

/* Responsive */
@media (max-width: 960px) {
    .net-effect                { padding: 56px 0 40px; }
    .net-effect-inner          { flex-direction: column; align-items: flex-start; gap: 36px; padding: 0 24px; }
    .net-effect-left           { flex: none; width: 100%; padding: 0; justify-content: flex-start; gap: 20px; }
    .net-effect-title          { font-size: clamp(2.4rem, 8vw, 3.4rem); }
    .net-effect-vline          { display: none; }
    .net-effect-cards          { width: 100%; overflow-x: auto; gap: 10px; padding-bottom: 4px; }
    .net-card                  { flex: 0 0 150px; width: 150px; height: 150px; gap: 7px; padding: 16px; }
    .net-card-num              { font-size: 1.6rem; }
    .net-card-lbl              { font-size: 0.68rem; }
    .net-card-num              { font-size: 2rem; margin-bottom: 8px; }
    .net-card-lbl              { font-size: 0.78rem; }
    .net-card-rings            { top: 42%; }
}

/* ============================================
   Metrics Circles Section
   ============================================ */
.metrics-circles {
    background: #ffffff;
    padding: 64px 0 72px;
}

.mc-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

/* Circle card */
.mc-card {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 30%, #ffffff 0%, #fef8ec 35%, #f5e4b4 70%, #e8ca7a 100%);
    border: 1px solid rgba(210, 175, 95, 0.32);
    box-shadow:
        0 4px 24px rgba(190, 148, 50, 0.16),
        0 1px 6px rgba(190, 148, 50, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 24px;
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.32s ease;
    cursor: default;
    overflow: hidden;
}

/* Subtle inner ring decoration */
.mc-ring {
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px solid rgba(200, 162, 72, 0.18);
    pointer-events: none;
}

.mc-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 20px 52px rgba(190, 148, 50, 0.28),
        0 6px 16px rgba(190, 148, 50, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Accent variant — slightly deeper gold for visual variety */
.mc-card--accent {
    background: radial-gradient(circle at 38% 30%, #fffdf5 0%, #fdefc8 35%, #f0d080 70%, #d4a830 100%);
    box-shadow:
        0 6px 32px rgba(180, 136, 30, 0.24),
        0 2px 8px rgba(180, 136, 30, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mc-num {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 800;
    color: #7a5212;
    line-height: 1;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.mc-card--accent .mc-num { color: #5c3c08; }

.mc-lbl {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #9a7235;
    line-height: 1.45;
    letter-spacing: 0.01em;
    max-width: 100px;
    position: relative;
    z-index: 1;
}

.mc-card--accent .mc-lbl { color: #7a5810; }

/* Responsive */
@media (max-width: 960px) {
    .metrics-circles { padding: 48px 0 56px; }
    .mc-inner { gap: 20px; padding: 0 24px; }
    .mc-card  { width: 160px; height: 160px; gap: 8px; padding: 18px; }
    .mc-num   { font-size: 1.8rem; }
    .mc-lbl   { font-size: 0.7rem; }
}

@media (max-width: 600px) {
    .mc-card { width: 140px; height: 140px; }
    .mc-num  { font-size: 1.6rem; }
}

/* ============================================
   Impact Showcase — reference card layout
   ============================================ */

/* ── White header zone ── */
.impact-showcase {
    background: #ffffff;
    display: none;
}

.ish-head {
    padding: 72px 0 64px;
}

.ish-head-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px;
}

.ish-title {
    font-size: clamp(2.6rem, 4.5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #111111;
    margin: 16px 0 20px;
}

.ish-sub {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 520px;
    margin: 0;
}

/* ── Dark stage ── */
.ish-stage {
    background: linear-gradient(135deg, #1a1005 0%, #0d0d0d 100%);
    padding: 0 0 80px;
}

/* Cards row — floats up over the white/dark boundary */
.ish-cards {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    gap: 16px;
    transform: translateY(-52px);
}

/* ── Individual card ── */
.ish-card {
    flex: 1;
    min-width: 0;
    background: #f5f2ec;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Icon */
.ish-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.07);
    color: #111111;
    margin-bottom: 20px;
    flex-shrink: 0;
}

/* Metric number */
.ish-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    font-weight: 800;
    color: #111111;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

/* Label */
.ish-lbl {
    font-size: 1rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
    margin-bottom: 10px;
}

/* Description */
.ish-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

/* CTA link */
.ish-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.ish-cta:hover { gap: 9px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ish-cards { gap: 12px; }
    .ish-card  { padding: 22px 18px 20px; }
    .ish-num   { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .ish-head  { padding: 64px 0 52px; }
    .ish-head-inner { padding: 0 24px; }
    .ish-stage { padding-bottom: 56px; }
    .ish-cards {
        padding: 0 24px;
        flex-wrap: wrap;
        transform: translateY(-36px);
    }
    .ish-card  { flex: 0 0 calc(50% - 6px); }
}

@media (max-width: 480px) {
    .ish-card  { flex: 0 0 100%; }
}

/* ============================================
   AI Agents Section
   ============================================ */
.ai-agents {
    background: #ffffff;
    padding-bottom: 80px;
    overflow: hidden;
    color: #374151;
}

.ai-agents h1,
.ai-agents h2,
.ai-agents h3,
.ai-agents h4,
.ai-agents h5,
.ai-agents h6 {
    color: #0f172a;
}

.ai-agents p,
.ai-agents .section-subtitle {
    color: #6b7280;
}

.ai-agents .section-label {
    background: rgba(103, 107, 251, 0.1);
    color: #676bfb;
    border-color: rgba(103, 107, 251, 0.2);
}

.ai-agents .agent-pill {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ai-agents .agent-pill:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

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

/* Sparkle Hub */
/* AI Sparkle Orb */
.ai-orb-hub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    position: relative;
}

.ai-orb-container {
    position: relative;
    flex-shrink: 0;
}

.ai-orb {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e879a8, #c084fc, #818cf8, #60a5fa);
    background-size: 300% 300%;
    animation: orbGradientShift 4s ease-in-out infinite, orbFloat 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow:
        0 0 20px rgba(192, 132, 252, 0.4),
        0 0 60px rgba(103, 107, 251, 0.2),
        0 8px 32px rgba(129, 140, 248, 0.3);
}

.ai-orb-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.2) 0%, rgba(103, 107, 251, 0.05) 60%, transparent 80%);
    z-index: 1;
    animation: orbPulseGlow 3s ease-in-out infinite;
}

.ai-orb-sparkle {
    position: absolute;
    opacity: 0.95;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.6));
}

.ai-orb-sparkle.sparkle-lg {
    animation: sparkleSpin 6s linear infinite;
}

.ai-orb-sparkle.sparkle-sm.sparkle-tl {
    top: 8px;
    left: 10px;
    opacity: 0.7;
    animation: sparkleFlicker 2s ease-in-out infinite 0.5s;
}

.ai-orb-sparkle.sparkle-sm.sparkle-br {
    bottom: 12px;
    right: 10px;
    opacity: 0.5;
    animation: sparkleFlicker 2.5s ease-in-out infinite 1s;
}

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

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.04); }
}

@keyframes orbPulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

@keyframes sparkleSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sparkleFlicker {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

.ai-orb-line {
    height: 3px;
    width: 140px;
    position: relative;
    border-radius: 2px;
}

.ai-orb-line.left {
    background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.5));
}

.ai-orb-line.right {
    background: linear-gradient(90deg, rgba(129, 140, 248, 0.5), transparent);
}

.ai-orb-line::before {
    content: '';
    position: absolute;
    top: -3px;
    width: 100%;
    height: 9px;
    border-radius: 4px;
}

.ai-orb-line.left::before {
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.1));
}

.ai-orb-line.right::before {
    left: 0;
    background: linear-gradient(90deg, rgba(129, 140, 248, 0.1), transparent);
}

/* Light section variant */
.section-light .ai-orb {
    box-shadow:
        0 0 20px rgba(192, 132, 252, 0.3),
        0 0 60px rgba(103, 107, 251, 0.1),
        0 8px 32px rgba(129, 140, 248, 0.15);
}

.section-light .ai-orb-line.left {
    background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.35));
}

.section-light .ai-orb-line.right {
    background: linear-gradient(90deg, rgba(129, 140, 248, 0.35), transparent);
}

/* ========== ENGAGE EVERYWHERE / CHANNELS MAP (Flow Builder) ========== */
.engage-everywhere {
    overflow: hidden;
}

.channels-map {
    position: relative;
    max-width: 900px;
    height: 520px;
    margin: 48px auto 0;
}

/* SVG Flow Lines */
.channels-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.flow-line {
    stroke: #676bfb;
    stroke-width: 2;
    stroke-dasharray: 8 8;
    fill: none;
    opacity: 0.35;
    animation: flowDash 5s linear infinite;
}

.flow-delay-1 { animation-delay: -1.2s; }
.flow-delay-2 { animation-delay: -2.5s; }
.flow-delay-3 { animation-delay: -0.6s; }
.flow-delay-4 { animation-delay: -3.8s; }

.flow-dot {
    fill: #676bfb;
    opacity: 0.5;
}

@keyframes flowDash {
    to {
        stroke-dashoffset: 200;
    }
}

/* Channel Nodes */
.channels-map .channel-node {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1.5px solid #e2e2ea;
    border-radius: 60px;
    padding: 8px 18px 8px 8px;
    position: absolute;
    z-index: 2;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.channels-map .channel-node:hover {
    border-color: rgba(103, 107, 251, 0.4);
    box-shadow: 0 6px 28px rgba(103, 107, 251, 0.15);
}

.channels-map .channel-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ch-blue { background: rgba(129, 140, 248, 0.1); }
.ch-indigo { background: rgba(129, 140, 248, 0.1); }
.ch-green { background: rgba(37, 211, 102, 0.1); }
.ch-amber { background: rgba(245, 158, 11, 0.1); }
.ch-purple { background: rgba(103, 107, 251, 0.1); }

.channels-map .channel-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    color: #1a1a2e;
    white-space: nowrap;
}

/* Central Hub - bottom center */
.channels-hub-center {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.channels-hub-shadow {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(103, 107, 251, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.channels-hub-center .channels-hub-icon {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    background: linear-gradient(145deg, #9497fc, #4f52d9, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 30px rgba(124, 58, 237, 0.35),
        0 0 0 6px rgba(103, 107, 251, 0.08),
        0 0 0 14px rgba(103, 107, 251, 0.03);
    position: relative;
    animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% {
        box-shadow:
            0 8px 30px rgba(124, 58, 237, 0.35),
            0 0 0 6px rgba(103, 107, 251, 0.08),
            0 0 0 14px rgba(103, 107, 251, 0.03);
    }
    50% {
        box-shadow:
            0 8px 35px rgba(124, 58, 237, 0.5),
            0 0 0 8px rgba(103, 107, 251, 0.12),
            0 0 0 18px rgba(103, 107, 251, 0.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .channels-map {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 20px 0;
    }

    .channels-map .channel-node {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .channels-lines {
        display: none;
    }

    .channels-hub-center {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 16px;
    }
}

/* Pills Wrapper & Marquee */
.agents-pills-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.agents-pills-track {
    display: flex;
    width: max-content;
}

.agents-pills-row {
    display: flex;
    gap: 14px;
    padding: 4px 0;
}

.agents-pills-track.track-left .agents-pills-row {
    animation: scrollLeft 30s linear infinite;
}

.agents-pills-track.track-right .agents-pills-row {
    animation: scrollRight 35s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.agents-pills-track:hover .agents-pills-row {
    animation-play-state: paused;
}

/* Individual Pill */
.agent-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    transition: none;
    cursor: default;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.agent-pill:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: none;
    color: rgba(255, 255, 255, 0.82);
}

.agent-pill svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.1);
    stroke-width: 1.5;
    padding: 7px;
    box-sizing: border-box;
}

/* ============================================
   Platform / AI-Native CRM Section
   ============================================ */
.platform { background: var(--white); }

.platform-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: start;
    margin-top: 56px;
}

/* Left Info Column */
.platform-info { position: relative; }

.platform-dashed-line {
    width: 100%;
    height: 2px;
    background-image: repeating-linear-gradient(90deg, var(--primary) 0, var(--primary) 8px, transparent 8px, transparent 16px);
    opacity: 0.25;
    margin-bottom: 32px;
    border-radius: 2px;
}

.platform-icon-block { margin-bottom: 20px; }

.platform-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(103, 107, 251, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.platform-heading {
    font-size: 1.75rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* Tags */
.platform-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.platform-tag {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    border: 1px solid var(--border);
    background: var(--white);
    transition: all var(--transition);
    cursor: default;
}

.platform-tag.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(103, 107, 251, 0.25);
}

/* Description Block */
.platform-desc-block {
    display: flex;
    gap: 16px;
}

.platform-desc-accent {
    width: 3px;
    flex-shrink: 0;
    border-radius: 3px;
    background: var(--gradient);
}

.platform-desc-block h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.platform-desc-block p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* Right: Platform Visual */
.platform-visual { position: relative; }

/* Omnichannel Pill */
.platform-omni-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px 8px 10px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    margin-left: 60px;
}

.platform-omni-icons {
    display: flex;
    gap: 6px;
}

.omni-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.omni-icon.whatsapp  { background: rgba(37, 211, 102, 0.1); }
.omni-icon.instagram { background: rgba(228, 64, 95, 0.1); }
.omni-icon.gmail     { background: rgba(234, 67, 53, 0.1); }
.omni-icon.messenger { background: rgba(0, 132, 255, 0.1); }

.omni-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.omni-arrow {
    flex-shrink: 0;
    transform: rotate(0deg);
}

/* Platform Mockup */
.platform-mockup {
    background: linear-gradient(160deg, #0f0f1a 0%, #12121e 50%, #0a0a14 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(103, 107, 251, 0.15);
}

.platform-mockup-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pm-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.pm-dot:nth-child(1) { background: rgba(239, 68, 68, 0.7); }
.pm-dot:nth-child(2) { background: rgba(245, 158, 11, 0.7); }
.pm-dot:nth-child(3) { background: rgba(103, 107, 251, 0.7); }

.platform-mockup-body {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 0;
    min-height: 320px;
}

/* Canvas (flow area) */
.pm-canvas {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Flow Nodes */
.pm-node {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
}

.pm-node-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.pm-node-icon.purple-bg { background: rgba(103, 107, 251, 0.15); }
.pm-node-icon.orange-bg { background: rgba(245, 158, 11, 0.15); }

.pm-node-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.pm-node-title.purple-text { color: #c7d2fe; }
.pm-node-title.orange-text { color: #fbbf24; }

.pm-node-desc {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

.pm-node-analytics {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pm-stat-mini { text-align: center; }

.pm-stat-val {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-heading);
}

.pm-stat-lbl {
    display: block;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Connector */
.pm-connector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
}

.pm-connector-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.pm-connector-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Smart button inside node */
.pm-smart-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #4f52d9;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: default;
    border: none;
}

/* Sidebar */
.pm-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 12px;
}

.pm-sidebar-title {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pm-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.pm-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
}

.pm-action-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.pm-action-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-action-icon.rose-bg   { background: rgba(244, 63, 94, 0.15); }
.pm-action-icon.green-bg  { background: rgba(22, 163, 74, 0.15); }
.pm-action-icon.blue-bg   { background: rgba(129, 140, 248, 0.15); }
.pm-action-icon.purple-bg { background: rgba(103, 107, 251, 0.15); }
.pm-action-icon.orange-bg { background: rgba(245, 158, 11, 0.15); }
.pm-action-icon.cyan-bg   { background: rgba(129, 140, 248, 0.15); }

.pm-action-item span {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.2;
}

/* ============================================
   Conversational AI Tabs (merged into Platform)
   ============================================ */
.conv-tabs-merged {
    border-top: 1px solid var(--border-light);
    padding-top: 48px;
}

.conv-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.conv-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    transition: all var(--transition);
}

.conv-tag.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(103, 107, 251, 0.25);
}

.conv-details-grid {
    margin-top: 0;
}

.conv-info-detail {
    display: flex;
    gap: 16px;
}

.conv-detail-accent {
    width: 4px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--secondary);
}

.conv-info-detail h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.conv-info-detail p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ============================================
   Features Section
   ============================================ */
.features { background: var(--bg-light); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
}

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

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

.feature-icon.purple { background: rgba(103, 107, 251, 0.08); }
.feature-icon.blue   { background: rgba(129, 140, 248, 0.08); }
.feature-icon.cyan   { background: rgba(129, 140, 248, 0.08); }

.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

.feature-card p {
    font-size: 0.93rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list { display: flex; flex-direction: column; gap: 10px; }

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-body);
}

.feature-list li svg { width: 16px; height: 16px; flex-shrink: 0; }
.feature-list li svg.check-purple { color: var(--primary); }
.feature-list li svg.check-blue   { color: var(--secondary); }
.feature-list li svg.check-cyan   { color: var(--accent); }
/* Features — dark bento grid */
.features.section-dark {
    background: var(--dark-bg);
}

.features-bento {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    margin-top: 56px;
}

.features.section-dark .feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.features.section-dark .feature-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.feature-card-lg {
    grid-row: 1 / 3;
}

.features.section-dark .feature-card h3 {
    color: #ffffff;
}

.features.section-dark .feature-card p {
    color: var(--dark-text-muted);
}

.features.section-dark .feature-icon.purple { background: rgba(103, 107, 251, 0.15); }
.features.section-dark .feature-icon.blue   { background: rgba(129, 140, 248, 0.15); }
.features.section-dark .feature-icon.cyan   { background: rgba(129, 140, 248, 0.15); }

.features.section-dark .feature-list li {
    color: rgba(255, 255, 255, 0.7);
}

.features.section-dark .feature-list li svg.check-purple { color: #c7d2fe; }
.features.section-dark .feature-list li svg.check-blue   { color: #818cf8; }
.features.section-dark .feature-list li svg.check-cyan   { color: #a5b4fc; }


/* ============================================
   Use Cases Section (Scenario-based)
   ============================================ */
.use-cases { background: var(--white); }

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.use-case-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

.use-case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.use-case-card:hover::before { opacity: 1; }

.use-case-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.use-case-icon.uc-purple { background: rgba(103, 107, 251, 0.08); }
.use-case-icon.uc-blue   { background: rgba(129, 140, 248, 0.08); }
.use-case-icon.uc-cyan   { background: rgba(129, 140, 248, 0.08); }
.use-case-icon.uc-green  { background: rgba(103, 107, 251, 0.08); }
.use-case-icon.uc-amber  { background: rgba(245, 158, 11, 0.08); }

.use-case-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.use-case-card p { color: var(--text-body); font-size: 0.82rem; line-height: 1.5; }

/* ============================================
   How It Works
   ============================================ */
.how-it-works { background: var(--bg-light); }

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    margin-top: 56px;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.2;
}

.step-card { text-align: center; position: relative; padding: 0 12px; }

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}

.step-card:hover .step-number {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
    transform: scale(1.05);
}

.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card p { color: var(--text-body); font-size: 0.93rem; line-height: 1.6; }

/* How It Works — light variant */
.how-it-works.section-light {
    background: #ffffff !important;
}

.how-it-works.section-light .step-number {
    background: #ffffff;
    border-color: #e0e0e8;
    color: var(--primary);
}

.how-it-works.section-light .step-card:hover .step-number {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

.how-it-works.section-light .step-card h3 {
    color: #1a1a2e;
}

.how-it-works.section-light .step-card p {
    color: #5a5a6e;
}

.how-it-works.section-light .steps-container::before {
    opacity: 0.3;
}

/* ============================================
   Business Impact / Stats
   ============================================ */
.business-impact {
    background-color: #000000;
    /* Neural-network grid: glowing dots at intersections + faint connecting lines */
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 40px 40px;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

/* Soft indigo glow — top centre, adds depth without colour dominance */
.business-impact::before {
    display: block;
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 780px;
    height: 520px;
    background: radial-gradient(ellipse, rgba(103, 107, 251, 0.09) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Accent violet glow — bottom right corner */
.business-impact::after {
    display: block;
    content: '';
    position: absolute;
    bottom: -100px;
    right: 4%;
    width: 440px;
    height: 380px;
    background: radial-gradient(ellipse, rgba(129, 140, 248, 0.06) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.impact-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}

.impact-header .section-label {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.impact-header h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.025em;
}

.impact-header p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.98rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
    z-index: 2;
}

.impact-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 40px 28px 36px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.impact-card::before { display: none; }

.impact-card:hover {
    background: #222222;
    border-color: #3a3a3a;
    transform: translateY(-4px);
}

.impact-number {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    margin-bottom: 12px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.impact-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0;
    margin-bottom: 0;
    line-height: 1.5;
}

.impact-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 6px;
    line-height: 1.5;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    background: var(--bg-cream);
}

/* Header */
.tm-header {
    margin-bottom: 32px;
}

.tm-header .section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 0;
}

.tm-highlight {
    color: #000000;
}

/* Brand Tabs */
.tm-brand-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tm-brand-tab {
    flex: 1;
    background: #f5f5f8;
    border: 1.5px solid #e8e8f0;
    cursor: pointer;
    padding: 14px 20px;
    border-radius: 20px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-brand-tab img {
    height: 26px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.4);
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.tm-brand-tab.active {
    background: #1a1a2e;
    border-color: #1a1a2e;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.18);
}

.tm-brand-tab.active img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.tm-brand-tab:hover:not(.active) {
    background: #ececf4;
    border-color: #d4d4e4;
    border-radius: 20px;
}

.tm-brand-tab:hover:not(.active) img {
    filter: grayscale(1) opacity(0.65);
}

/* Panel card */
.tm-panel {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e0e0ea;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
}

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

.tm-panel-item {
    display: none;
    flex-direction: row;
    min-height: 380px;
}

.tm-panel-item.active {
    display: flex;
    animation: tmSlideIn 0.35s ease forwards;
}

/* Left image area */
.tm-panel-img {
    flex-shrink: 0;
    width: 320px;
    overflow: hidden;
    position: relative;
}

.tm-panel-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.18) 0%, transparent 60%);
    pointer-events: none;
}

.tm-panel-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right content area */
.tm-panel-content {
    flex: 1;
    padding: 44px 52px;
    border-left: 1px solid #e8e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

/* Decorative large quote mark */
.tm-panel-content::before {
    content: '\201C';
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 11rem;
    color: #818cf8;
    opacity: 0.07;
    position: absolute;
    top: 8px;
    left: 36px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Stars */
.tm-stars {
    font-size: 1.1rem;
    color: #f59e0b;
    letter-spacing: 3px;
    line-height: 1;
}

.tm-panel-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #3a3a4a;
    font-style: italic;
    position: relative;
}

/* Footer: brand logo + name (left) | counter + arrows (right) */
.tm-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #ebebf0;
    position: relative;
}

.tm-panel-footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-panel-brand-logo {
    height: 20px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6);
}

.tm-panel-brand {
    font-size: 0.8rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tm-panel-footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tm-counter {
    font-size: 0.8rem;
    color: #aaa;
    letter-spacing: 0.05em;
    font-weight: 500;
    min-width: 44px;
    text-align: right;
}

/* Navigation arrows */
.tm-panel-nav {
    display: flex;
    gap: 8px;
}

.tm-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0ea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #555;
}

.tm-nav-btn:hover {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

/* Autoplay progress bar — sits at the bottom of the card */
.tm-progress-bar {
    height: 4px;
    background: #ececf4;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    flex-shrink: 0;
}

.tm-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #818cf8, #818cf8);
    border-radius: 0 0 20px 20px;
}

@keyframes tmProgress {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing { background: var(--bg-cream); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

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

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #ffffff;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pricing-card h3 { font-size: 1.25rem; margin-bottom: 6px; }

.pricing-card .price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 12px 0;
}

.pricing-card .price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-card .price-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; }

.pricing-features { text-align: left; margin-bottom: 32px; }

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ============================================
   FAQ v2 — Two-column GoKwik-style layout
   ============================================ */
.faq2 {
    background: #eef2fe;
    padding: 100px 0 120px;
}

.faq2-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 34% 1fr;
    gap: 100px;
    align-items: start;
}

/* ── Left: sticky heading ── */
.faq2-head {
    position: sticky;
    top: 100px;
}

.faq2-head h2 {
    font-size: clamp(2.6rem, 3.8vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: #111111;
    letter-spacing: -0.02em;
    margin: 0 0 28px;
}

.faq2-head p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #666666;
    max-width: 280px;
}

/* ── Right: accordion list ── */
.faq2-list {
    border-top: 1px solid #e5e5e5;
}

/* ── Each item ── */
.faq2-item {
    border-bottom: 1px solid #e5e5e5;
    transition: background 0.25s ease, border-color 0.25s ease;
}

/* Open item gets warm cream card — no margin/border-dimension changes */
.faq2-item.faq2-open {
    background: #ececed;
    border-radius: 0;
    border-bottom-color: transparent; /* keeps 1px height; just hides the line */
}

/* ── Trigger button — padding never changes so nothing shifts ── */
.faq2-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 24px 20px; /* fixed — identical in open & closed state */
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq2-qtext {
    font-size: 1rem;
    font-weight: 600;
    color: #111111;
    line-height: 1.4;
}

/* ── Icon pill ── */
.faq2-icon {
    flex-shrink: 0;
    width: 56px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(0, 0, 0, 0.18);
    background: transparent;
    color: #444444;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* Open state: amber filled pill with minus */
.faq2-item.faq2-open .faq2-icon {
    background: #0d0d0d;
    border-color: #0d0d0d;
    color: #ffffff;
}

/* ── Answer body — grid-row collapse (no layout shift) ── */
.faq2-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq2-item.faq2-open .faq2-body {
    grid-template-rows: 1fr;
}

.faq2-inner {
    overflow: hidden;
}

.faq2-body p {
    padding: 4px 20px 24px; /* horizontal matches trigger so text aligns */
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.75;
    color: #666666;
}

/* ── Plus/minus icon animation ── */
.faq2-vbar {
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.faq2-item.faq2-open .faq2-vbar {
    transform: scaleY(0);
    opacity: 0;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .faq2 { padding: 64px 0 80px; }

    .faq2-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }

    .faq2-head {
        position: relative;
        top: 0;
    }

    .faq2-head h2 { font-size: 2.2rem; }
    .faq2-head p  { max-width: 100%; }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq { background: #ffffff; /* white card on cream body */ }

.faq-container { max-width: 768px; margin: 56px auto 0; }

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
    transition: all var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-item.active {
    border-color: rgba(103, 107, 251, 0.2);
    box-shadow: 0 4px 20px rgba(103, 107, 251, 0.06);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-body);
    transition: color var(--transition);
}

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

.faq-icon {
    font-size: 1.4rem;
    transition: transform var(--transition);
    flex-shrink: 0;
    color: var(--text-muted);
    font-weight: 300;
}

.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-body); font-size: 0.95rem; line-height: 1.7; }

/* FAQ — light variant: gradient that flows seamlessly into prefooter */
.faq.section-light {
    background: linear-gradient(180deg, #f8f9ff 0%, #eef2fe 100%) !important;
}

.faq.section-light .faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 0;
    margin-bottom: 0;
}

.faq.section-light .faq-item:last-child {
    border-bottom: none;
}

.faq.section-light .faq-item:hover {
    background: rgba(103, 107, 251, 0.03);
    box-shadow: none;
}

.faq.section-light .faq-item.active {
    background: transparent;
    border-color: rgba(16, 24, 40, 0.08);
    box-shadow: none;
}

.faq.section-light .faq-question {
    color: #1a1a2e;
}

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

.faq.section-light .faq-icon {
    color: #999;
}

.faq.section-light .faq-item.active .faq-icon {
    color: var(--primary);
}

.faq.section-light .faq-answer-inner {
    color: #5a5a6e;
}

/* ============================================
   AI Capabilities Section (v3 — dark cards)
   ============================================ */
.ai-cap {
    background: var(--dark-bg);
    color: var(--dark-text);
    position: relative;
    overflow: hidden;
}

.ai-cap-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.ai-cap-glow-1 {
    width: 500px; height: 500px;
    background: rgba(103, 107, 251, 0.10);
    top: -160px; right: -120px;
    animation: aiCapGlow 14s ease-in-out infinite;
}

.ai-cap-glow-2 {
    width: 420px; height: 420px;
    background: rgba(129, 140, 248, 0.08);
    bottom: -120px; left: -100px;
    animation: aiCapGlow 18s ease-in-out infinite reverse;
}

.ai-cap-glow-3 {
    width: 300px; height: 300px;
    background: rgba(129, 140, 248, 0.06);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: aiCapGlow 20s ease-in-out infinite;
}

@keyframes aiCapGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -25px) scale(1.1); }
}

.ai-cap .container { position: relative; z-index: 1; }

/* Header */
.ai-cap-header { text-align: center; margin-bottom: 48px; }

.ai-cap-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.ai-cap-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Stats Bar ---- */
.ai-cap-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 60px;
    padding: 22px 48px;
    margin-bottom: 56px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
}

.ai-cap-stat { text-align: center; flex: 1; padding: 0 20px; }

.ai-cap-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.ai-cap-stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.ai-cap-stat-divider {
    width: 1px; height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* ---- Hero Capability Cards (dark glassmorphism) ---- */
.ai-cap-heroes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 48px;
}

.ai-cap-hero-card {
    background: linear-gradient(160deg, #0c0c18 0%, #10101c 50%, #08080f 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #fff;
}

.ai-cap-card-glow {
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.ai-cap-voice .ai-cap-card-glow {
    background: rgba(103, 107, 251, 0.25);
    top: -60px; right: -60px;
}

.ai-cap-chat .ai-cap-card-glow {
    background: rgba(129, 140, 248, 0.25);
    top: -60px; right: -60px;
}

.ai-cap-hero-card:hover .ai-cap-card-glow { opacity: 1; }

.ai-cap-hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.ai-cap-hero-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.ai-cap-hero-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ai-cap-icon-purple {
    background: rgba(103, 107, 251, 0.15);
    color: var(--primary-light);
}

.ai-cap-icon-blue {
    background: rgba(129, 140, 248, 0.15);
    color: #818cf8;
}

.ai-cap-hero-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 50px;
}

.ai-cap-badge-purple { background: rgba(103, 107, 251, 0.15); color: var(--primary-light); }
.ai-cap-badge-blue { background: rgba(129, 140, 248, 0.15); color: #818cf8; }

.ai-cap-hero-card h3 {
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.ai-cap-hero-card > p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

/* ---- Embedded Mockups inside cards ---- */
.ai-cap-mockup {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.ai-cap-mock-bar {
    display: flex;
    gap: 5px;
    margin-bottom: 16px;
}

.ai-cap-mock-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.ai-cap-mock-dot:first-child { background: #ef4444; }
.ai-cap-mock-dot:nth-child(2) { background: #f59e0b; }
.ai-cap-mock-dot:nth-child(3) { background: #676bfb; }

/* Voice waveform mockup */
.ai-cap-voice-wave-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 48px;
    margin-bottom: 14px;
}

.ai-cap-voice-wave-lg span {
    width: 4px;
    border-radius: 4px;
    background: var(--primary-light);
    animation: convWave 1.3s ease-in-out infinite;
}

.ai-cap-voice-wave-lg span:nth-child(1)  { height: 8px;  animation-delay: 0s; }
.ai-cap-voice-wave-lg span:nth-child(2)  { height: 20px; animation-delay: 0.06s; }
.ai-cap-voice-wave-lg span:nth-child(3)  { height: 34px; animation-delay: 0.12s; }
.ai-cap-voice-wave-lg span:nth-child(4)  { height: 16px; animation-delay: 0.18s; }
.ai-cap-voice-wave-lg span:nth-child(5)  { height: 42px; animation-delay: 0.24s; }
.ai-cap-voice-wave-lg span:nth-child(6)  { height: 28px; animation-delay: 0.30s; }
.ai-cap-voice-wave-lg span:nth-child(7)  { height: 12px; animation-delay: 0.36s; }
.ai-cap-voice-wave-lg span:nth-child(8)  { height: 36px; animation-delay: 0.42s; }
.ai-cap-voice-wave-lg span:nth-child(9)  { height: 22px; animation-delay: 0.48s; }
.ai-cap-voice-wave-lg span:nth-child(10) { height: 40px; animation-delay: 0.54s; }
.ai-cap-voice-wave-lg span:nth-child(11) { height: 14px; animation-delay: 0.60s; }
.ai-cap-voice-wave-lg span:nth-child(12) { height: 32px; animation-delay: 0.66s; }
.ai-cap-voice-wave-lg span:nth-child(13) { height: 10px; animation-delay: 0.72s; }
.ai-cap-voice-wave-lg span:nth-child(14) { height: 26px; animation-delay: 0.78s; }
.ai-cap-voice-wave-lg span:nth-child(15) { height: 18px; animation-delay: 0.84s; }

.ai-cap-mock-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-cap-mock-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #676bfb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-cap-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #676bfb;
    animation: aiCapLivePulse 1.5s ease-in-out infinite;
}

@keyframes aiCapLivePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(103, 107, 251, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(103, 107, 251, 0); }
}

.ai-cap-mock-timer {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-heading);
}

/* Chat messages mockup */
.ai-cap-chat-msgs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 6px;
}

.ai-cap-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.45;
    max-width: 88%;
    animation: convBubbleFade 0.6s ease both;
}

.ai-cap-msg-user {
    background: rgba(103, 107, 251, 0.2);
    color: rgba(255, 255, 255, 0.85);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    animation-delay: 0.1s;
}

.ai-cap-msg-ai {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    animation-delay: 0.4s;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.ai-cap-msg-typing {
    display: flex;
    gap: 3px;
    align-items: center;
    flex-shrink: 0;
}

.ai-cap-msg-typing span {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #818cf8;
    animation: aiCapDot 1.4s ease-in-out infinite;
}

.ai-cap-msg-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-cap-msg-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes aiCapDot {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.7); }
    40% { opacity: 1; transform: scale(1); }
}

/* Checks (light text for dark cards) */
.ai-cap-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.ai-cap-checks li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    line-height: 1.4;
}

.ai-cap-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(103, 107, 251, 0.12);
    border: 1px solid rgba(103, 107, 251, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-light);
}

/* ---- Bento Use Case Grid ---- */
.ai-cap-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.ai-cap-bento-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.ai-cap-bento-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: transparent;
}

.ai-cap-bento-icon {
    width: 46px; height: 46px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.4s ease;
}

.ai-cap-bento-card:hover .ai-cap-bento-icon { transform: scale(1.1) rotate(-5deg); }

.ai-cap-bi-purple { background: rgba(103, 107, 251, 0.08); color: var(--primary); }
.ai-cap-bi-blue { background: rgba(129, 140, 248, 0.08); color: var(--secondary); }
.ai-cap-bi-cyan { background: rgba(129, 140, 248, 0.08); color: var(--accent); }
.ai-cap-bi-amber { background: rgba(245, 158, 11, 0.08); color: var(--amber); }
.ai-cap-bi-green { background: rgba(22, 163, 74, 0.08); color: var(--green); }
.ai-cap-bi-rose { background: rgba(244, 63, 94, 0.08); color: var(--rose); }

.ai-cap-bento-card h4 {
    font-size: 1.02rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.ai-cap-bento-card p {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.65;
    flex: 1;
}

.ai-cap-bento-tag {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

/* Bottom CTA */
.ai-cap-bottom { padding-top: 8px; }

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* AI Capabilities Responsive */
@media (max-width: 1024px) {
    .ai-cap-bento { grid-template-columns: repeat(2, 1fr); }
    .ai-cap-stats { padding: 18px 32px; }
    .ai-cap-stat-num { font-size: 1.3rem; }
}

@media (max-width: 768px) {
    .ai-cap-heroes { grid-template-columns: 1fr; }
    .ai-cap-hero-card { padding: 28px; }
    .ai-cap-bento { grid-template-columns: repeat(2, 1fr); }
    .ai-cap-glow { display: none; }
    .ai-cap-stats {
        flex-wrap: wrap;
        border-radius: var(--radius);
        padding: 20px;
        gap: 16px;
    }
    .ai-cap-stat { min-width: 120px; padding: 8px 12px; }
    .ai-cap-stat-divider { display: none; }
}

@media (max-width: 480px) {
    .ai-cap-bento { grid-template-columns: 1fr; }
    .ai-cap-hero-card { padding: 24px; }
    .ai-cap-stats { gap: 8px; }
    .ai-cap-stat { min-width: 100px; }
    .ai-cap-stat-num { font-size: 1.15rem; }
    .ai-cap-voice-wave-lg { gap: 3px; height: 36px; }
    .ai-cap-voice-wave-lg span { width: 3px; }
}

/* ============================================
   Integrations Section
   ============================================ */
.integrations-section {
    background: #0d0d0d;
    overflow: hidden;
}

.integrations-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 520px;
}

.integrations-text {
    flex: 0 0 400px;
    max-width: 400px;
}

.integrations-text .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.integrations-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Section label — white variant for dark/black backgrounds */
.integrations-section .section-label {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
}

/* White pill button for dark backgrounds */
.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #ffffff;
    color: var(--text-dark);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1.5px solid #ffffff;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-dark:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.12);
}

/* Grid wrapper */
.integrations-grid-wrapper {
    flex: 1;
    position: relative;
    height: 520px;
    overflow: hidden;
}

.integrations-grid {
    display: flex;
    gap: 20px;
    height: 100%;
}

/* Columns */
.intg-col {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.intg-col-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Upward scroll — normal speed */
.intg-col-up .intg-col-inner {
    animation: intgScrollUp 25s linear infinite;
}

/* Upward scroll — slower speed */
.intg-col-up-slow .intg-col-inner {
    animation: intgScrollUp 35s linear infinite;
}

@keyframes intgScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Pause on hover */
.integrations-grid-wrapper:hover .intg-col-inner {
    animation-play-state: paused;
}

/* Cards */
.intg-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all 0.35s ease;
}

.intg-card:hover {
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 4px 20px rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
}

.intg-card img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    opacity: 0.55;
    filter: invert(1) brightness(1);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.intg-card:hover img {
    opacity: 0.9;
    filter: invert(1) brightness(1.15);
}

/* Fade overlays for smooth edges */
.intg-fade {
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}

.intg-fade-top {
    top: 0;
    background: linear-gradient(to bottom, #0d0d0d, transparent);
}

.intg-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, #0d0d0d, transparent);
}

/* Responsive */
@media (max-width: 1024px) {
    .integrations-layout {
        flex-direction: column;
        gap: 40px;
    }
    .integrations-text {
        flex: none;
        max-width: 100%;
        text-align: center;
    }
    .integrations-text .btn-dark {
        margin: 0 auto;
    }
    .integrations-grid-wrapper {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 640px) {
    .integrations-grid {
        gap: 12px;
    }
    .intg-card img {
        width: 32px;
        height: 32px;
    }
    .integrations-grid-wrapper {
        height: 340px;
    }
    .intg-col:nth-child(4) {
        display: none;
    }
}

/* ============================================
   Blog Section (v2 — 2-card clean layout)
   ============================================ */
.blog-section { background: #f8f8fc; }

/* Header: title left, button right */
.blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.blog-header-left {
    max-width: 520px;
}

.blog-header-left .section-title {
    font-size: clamp(2.6rem, 3.8vw, 3.8rem);
    margin-bottom: 12px;
}

.blog-header-desc {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

.blog-see-more-desktop {
    flex-shrink: 0;
    white-space: nowrap;
}

.blog-see-more-mobile {
    display: none;
    text-align: center;
    margin-top: 40px;
}

/* 2-column grid */
.blog-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Blog Card (v2) */
.blogcard {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blogcard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* Thumbnail */
.blogcard-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.blogcard-gradient {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.blogcard:hover .blogcard-gradient {
    transform: scale(1.03);
}

.blogcard-gradient.purple-grad {
    background: linear-gradient(135deg, #676bfb 0%, #818cf8 40%, #3b82f6 100%);
}

.blogcard-gradient.green-grad {
    background: linear-gradient(135deg, #818cf8 0%, #3b82f6 40%, #60a5fa 100%);
}

.blogcard-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* Real photo thumbnails */
.blogcard-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.blogcard:hover .blogcard-img {
    transform: scale(1.03);
}

.blogcard-gradient svg {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: transform 0.4s ease;
}

.blogcard:hover .blogcard-gradient svg {
    transform: scale(1.15) rotate(-3deg);
}

/* Category pill */
.blogcard-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(12px);
    z-index: 2;
}

.blogcard-cat.cat-voice {
    background: rgba(103, 107, 251, 0.9);
    color: #fff;
}

.blogcard-cat.cat-whatsapp {
    background: rgba(37, 211, 102, 0.9);
    color: #fff;
}

/* Card Body */
.blogcard-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blogcard-meta-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.blogcard-dot {
    font-size: 0.6rem;
}

.blogcard-body h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
    font-family: var(--font-heading);
    font-weight: 700;
}

.blogcard-body h3 a {
    color: var(--text-dark);
    transition: color var(--transition);
    text-decoration: none;
}

.blogcard-body h3 a:hover {
    color: var(--primary);
}

.blogcard-body > p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

/* Footer: author + arrow */
.blogcard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: auto;
}

.blogcard-meta-bottom {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blogcard-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition);
    flex-shrink: 0;
}

.blogcard:hover .blogcard-arrow {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: rotate(-45deg);
}

/* Blog — light variant */
.blog-section.section-light {
    background: #ffffff !important;
}

.blog-section.section-light .blog-header-desc {
    color: #666;
}

.blog-section.section-light .blogcard {
    background: #fff;
    border-color: #e8e8ee;
}

.blog-section.section-light .blogcard:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.blog-section.section-light .blogcard-body h3 a {
    color: #1a1a2e;
}

.blog-section.section-light .blogcard-body > p {
    color: #5a5a6e;
}

.blog-section.section-light .blogcard-footer {
    border-top-color: #eee;
}

.blog-section.section-light .blogcard-arrow {
    border-color: #e0e0e0;
    color: #999;
}

.blog-section.section-light .blogcard-meta-bottom,
.blog-section.section-light .blogcard-meta-top {
    color: #999;
}

.blog-section.section-light .blog-see-more-desktop {
    border-color: #d0d0dc;
    color: #333;
}

.blog-section.section-light .blog-see-more-desktop:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ============================================
   Blog Section — Premium Light (bd-)
   ============================================ */
.blog-dark {
    background: #faf7f2;
    padding: 100px 0;
}

/* ── Header ── */
.bd-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 56px;
}
.bd-header-left { max-width: 580px; }

.bd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.5);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px 6px 10px;
    border-radius: 50px;
    margin-bottom: 22px;
}
.bd-eyebrow svg { flex-shrink: 0; opacity: 0.55; }

.bd-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    color: #0d0d0d;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.bd-desc {
    font-size: 1rem;
    color: rgba(0,0,0,0.45);
    line-height: 1.7;
    max-width: 420px;
    margin: 0;
}

.bd-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    color: rgba(0,0,0,0.5);
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 11px 22px;
    border-radius: 50px;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 6px;
}
.bd-see-all:hover {
    color: #0d0d0d;
    border-color: rgba(0,0,0,0.28);
    background: rgba(0,0,0,0.04);
}

/* ── Grid ── */
.bd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Card ── */
.bd-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.bd-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 24px 56px rgba(0,0,0,0.1);
}

/* ── Card Image ── */
.bd-card-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.bd-card-img {
    width: 100%;
    height: 224px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    filter: brightness(0.96);
}
.bd-card:hover .bd-card-img {
    transform: scale(1.04);
    filter: brightness(1);
}

/* ── Category pill — reference style ── */
.bd-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(10,10,12,0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.13);
    color: #ffffff;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 5px 13px 5px 9px;
    border-radius: 50px;
    z-index: 2;
}
.bd-cat svg { flex-shrink: 0; }

/* ── Card Body ── */
.bd-card-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.bd-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0d0d0d;
    line-height: 1.45;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.bd-card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.bd-card-body h3 a:hover { color: var(--primary); }

.bd-card-body p {
    font-size: 0.875rem;
    color: rgba(0,0,0,0.45);
    line-height: 1.75;
    margin-bottom: 0;
    flex: 1;
}

.bd-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(0,0,0,0.4);
    text-decoration: none;
    margin-top: 22px;
    transition: color 0.2s ease, gap 0.2s ease;
    letter-spacing: 0.1px;
}
.bd-read-link:hover {
    color: var(--primary);
    gap: 10px;
}

/* ── Mobile ── */
@media (max-width: 900px) {
    .bd-header { flex-direction: column; align-items: flex-start; gap: 24px; }
    .bd-see-all { align-self: flex-start; }
    .bd-grid { grid-template-columns: repeat(2, 1fr); }
    .bd-grid .bd-card:nth-child(3) { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
    .blog-dark { padding: 72px 0; }
    .bd-grid { grid-template-columns: 1fr; }
    .bd-grid .bd-card:nth-child(3) { grid-column: auto; max-width: none; }
    .bd-card-img { height: 196px; }
}

/* ============================================
   Final CTA Section
   ============================================ */
.final-cta {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* CTA aurora glow blobs */
.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.cta-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(103, 107, 251, 0.2) 0%, transparent 60%);
    top: -200px;
    right: -100px;
    animation: heroFloat 12s ease-in-out infinite alternate;
}

.cta-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 60%);
    bottom: -200px;
    left: -100px;
    animation: heroFloat 14s ease-in-out infinite alternate-reverse;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.final-cta h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 16px; color: #ffffff; }
.final-cta p { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; margin-bottom: 36px; line-height: 1.7; text-align: center; }

.cta-form { display: flex; gap: 12px; max-width: 540px; margin: 0 auto; }

.cta-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1rem;
    transition: all var(--transition);
}

.cta-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.cta-form input:focus { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.4); }
.cta-form .btn-white { flex-shrink: 0; }

/* ============================================
   Growth CTA Pill Section
   ============================================ */
.cta-pill-section {
    background: #eef2fe;   /* matches FAQ bottom & prefooter top — no seam */
    padding: 0 0 72px;
}

/* ── Outer decorative ring (light amber halo) ── */
.cta-pill-outer {
    border-radius: 100px;
    background: rgba(232, 162, 32, 0.22);
    padding: 18px;
    /* Scroll-reveal override: scale + fade instead of plain translateY */
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition:
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-pill-outer.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ── Inner ring (rich amber) ── */
.cta-pill-ring {
    border-radius: 84px;
    background: #e8a020;
    padding: 8px;
}

/* ── Dark card ── */
.cta-pill-card {
    border-radius: 78px;
    background: linear-gradient(125deg, #1b2236 0%, #28364f 55%, #1a2030 100%);
    padding: 72px 80px;
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: center;
}

/* Atmospheric background blobs */
.cta-pill-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}
.cpb-blob {
    position: absolute;
    border-radius: 50%;
}
.cpb-blob-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(103, 107, 251, 0.18) 0%, transparent 70%);
    right: -80px;
    top: -120px;
}
.cpb-blob-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(232, 160, 32, 0.14) 0%, transparent 70%);
    left: 35%;
    bottom: -100px;
}
.cpb-blob-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.12) 0%, transparent 70%);
    left: -40px;
    top: -40px;
}

/* Layout */
.cta-pill-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    width: 100%;
}

.cta-pill-text { max-width: 620px; }

/* Animated headline */
.cta-pill-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    opacity: 0;
    transform: translateX(-22px);
    transition: opacity 0.65s ease 0.25s, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}
.cta-pill-outer.visible .cta-pill-headline {
    opacity: 1;
    transform: translateX(0);
}

/* Animated subtitle */
.cta-pill-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.65s ease 0.36s, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.36s;
}
.cta-pill-outer.visible .cta-pill-sub {
    opacity: 1;
    transform: translateX(0);
}

/* Animated CTA button */
.cta-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border: 1.5px solid #e8a020;
    color: #e8a020;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    opacity: 0;
    transform: translateX(20px);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        opacity 0.65s ease 0.42s,
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.42s;
}
.cta-pill-outer.visible .cta-pill-btn {
    opacity: 1;
    transform: translateX(0);
}
.cta-pill-btn:hover {
    background: #e8a020;
    color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .cta-pill-card { padding: 60px 56px; }
}
@media (max-width: 768px) {
    .cta-pill-section { padding: 0 0 56px; }
    .cta-pill-outer { border-radius: 48px; padding: 14px; }
    .cta-pill-ring  { border-radius: 36px; padding: 6px; }
    .cta-pill-card  { border-radius: 32px; padding: 44px 32px; min-height: auto; }
    .cta-pill-content { flex-direction: column; align-items: flex-start; gap: 28px; }
    .cta-pill-btn { align-self: flex-start; }
}
@media (max-width: 480px) {
    .cta-pill-card { padding: 36px 24px; }
    .cta-pill-outer { border-radius: 32px; }
    .cta-pill-ring  { border-radius: 26px; }
    .cta-pill-card  { border-radius: 22px; }
}

/* ============================================
   Scroll Story Section
   ============================================ */
.scroll-story {
    background: #ffffff;
    padding: 120px 0;
}

.scroll-story-head {
    max-width: 1440px;
    margin: 0 auto 72px;
    padding: 0 80px;
    text-align: center;
}

.scroll-story-head h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 700;
    line-height: 1.18;
    color: #111827;
    letter-spacing: -0.03em;
    margin: 12px 0 16px;
}

.scroll-story-head p {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

.scroll-story-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 72px;
    align-items: start;
}

/* ── Text column ── */
.sst-col {
    display: flex;
    flex-direction: column;
}

.sst-panel {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 0;
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.sst-panel.is-active {
    opacity: 1;
    transform: translateY(0);
}

.sst-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #7c3aed;
    margin-bottom: 18px;
}

.sst-heading {
    font-size: clamp(1.75rem, 2.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.18;
    color: #111827;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
}

.sst-body {
    font-size: 1.05rem;
    line-height: 1.78;
    color: #6b7280;
    margin: 0 0 34px;
    max-width: 440px;
}

.sst-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sst-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.13);
    border-radius: 100px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.sst-tag:hover {
    border-color: #111827;
    color: #111827;
    background: rgba(0, 0, 0, 0.04);
}

/* ── Image column ── */
.ssi-col {
    position: sticky;
    top: 100px;
    height: 72vh;
    min-height: 480px;
    padding: 24px 24px 24px 0;
}

.ssi-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
}

.ssi-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px;
}

.ssi-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.ssi-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ssi-screen {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 320px;
}

/* Real image variant — fills more of the slide area */
.ssi-screen--img {
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ssi-screen--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    display: block;
}

/* Voice AI slide — slightly larger image */
.ssi-slide[data-idx="0"] {
    padding: 24px;
}

/* ── Floating stat chips ── */
.ssi-chip {
    position: absolute;
    z-index: 2;
    background: #fff;
    border-radius: 16px;
    padding: 13px 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.ssi-chip--tr { top: 32px;    right: 32px; }
.ssi-chip--bl { bottom: 32px; left: 32px;  }

.ssi-chip-big {
    font-size: 1.55rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 4px;
}

.ssi-chip-lbl {
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
}

.ssi-chip-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

.ssi-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ssi-chip-dot--green { background: #22c55e; }
.ssi-chip-dot--blue  { background: #3b82f6; }

/* ────────────────────────────────────
   Mockup: Voice AI
   ──────────────────────────────────── */
.ssi-mock {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 48px rgba(0, 0, 0, 0.11);
    overflow: hidden;
}

.ssi-mock--voice {
    padding: 44px 32px 40px;
    text-align: center;
}

.smv-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 10px rgba(124, 58, 237, 0.12);
}

.smv-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7c3aed;
    margin-bottom: 8px;
}

.smv-timer {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.smv-waves {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 18px;
    height: 40px;
}

.smv-waves span {
    display: block;
    width: 4px;
    border-radius: 4px;
    background: #7c3aed;
    animation: smv-wave 1.2s ease-in-out infinite;
}

.smv-waves span:nth-child(1) { height: 12px; animation-delay: 0.0s; }
.smv-waves span:nth-child(2) { height: 26px; animation-delay: 0.1s; }
.smv-waves span:nth-child(3) { height: 38px; animation-delay: 0.2s; }
.smv-waves span:nth-child(4) { height: 28px; animation-delay: 0.3s; }
.smv-waves span:nth-child(5) { height: 16px; animation-delay: 0.4s; }
.smv-waves span:nth-child(6) { height: 32px; animation-delay: 0.15s;}
.smv-waves span:nth-child(7) { height: 14px; animation-delay: 0.05s;}

@keyframes smv-wave {
    0%, 100% { transform: scaleY(1);   opacity: 0.6; }
    50%       { transform: scaleY(0.3); opacity: 1;   }
}

.smv-status {
    font-size: 0.78rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.smv-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: smv-pulse 1.6s ease-in-out infinite;
}

@keyframes smv-pulse {
    0%, 100% { opacity: 1;   }
    50%       { opacity: 0.3; }
}

/* ────────────────────────────────────
   Mockup: WhatsApp
   ──────────────────────────────────── */
.ssi-mock--wa {
    border-radius: 22px;
    overflow: hidden;
}

.smwa-header {
    background: #075e54;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.smwa-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.smwa-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    flex: 1;
}

.smwa-badge {
    font-size: 0.62rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 3px 9px;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

.smwa-msgs {
    background: #e5ddd5;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 160px;
}

.smwa-msg {
    max-width: 86%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10);
}

.smwa-msg--in {
    background: #fff;
    color: #333;
    align-self: flex-start;
    border-radius: 0 12px 12px 12px;
}

.smwa-msg--out {
    background: #dcf8c6;
    color: #333;
    align-self: flex-end;
    border-radius: 12px 0 12px 12px;
}

.smwa-link {
    color: #075e54;
    text-decoration: underline;
}

/* ────────────────────────────────────
   Mockup: SMS
   ──────────────────────────────────── */
.ssi-mock--sms {
    padding: 28px 24px 24px;
}

.smsms-head {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.smsms-stats {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.smsms-stat {
    flex: 1;
    text-align: center;
    padding: 14px 6px;
    border-right: 1px solid #e5e7eb;
}

.smsms-stat:last-child { border-right: none; }

.smsms-num {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    margin-bottom: 5px;
}

.smsms-lbl {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 500;
}

.smsms-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smsms-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: #6b7280;
}

.smsms-bar-row > span:first-child { width: 52px; flex-shrink: 0; }
.smsms-bar-row > span:last-child  { width: 28px; flex-shrink: 0; text-align: right; }

.smsms-bar-track {
    flex: 1;
    height: 6px;
    background: #f3f4f6;
    border-radius: 100px;
    overflow: hidden;
}

.smsms-bar-fill {
    height: 100%;
    border-radius: 100px;
}

/* ────────────────────────────────────
   Mockup: Live Chat
   ──────────────────────────────────── */
.ssi-mock--chat {
    border-radius: 22px;
    overflow: hidden;
}

.smch-header {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.smch-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.smch-dot--green { background: #4ade80; }

.smch-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    flex: 1;
}

.smch-ai-badge {
    font-size: 0.62rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 3px 9px;
    border-radius: 100px;
    letter-spacing: 0.06em;
}

.smch-msgs {
    background: #f8fafc;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 152px;
}

.smch-msg {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.79rem;
    line-height: 1.55;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}

.smch-msg--ai {
    background: #fff;
    color: #374151;
    align-self: flex-start;
    border-radius: 0 12px 12px 12px;
    border: 1px solid #e5e7eb;
}

.smch-msg--user {
    background: #0e7490;
    color: #fff;
    align-self: flex-end;
    border-radius: 12px 0 12px 12px;
}

.smch-input {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.smch-placeholder {
    font-size: 0.78rem;
    color: #9ca3af;
}

.smch-send {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0e7490;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .scroll-story-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 24px;
    }

    .scroll-story-head {
        padding: 0 24px;
    }

    .ssi-col {
        position: relative;
        top: 0;
        height: 440px;
        min-height: 0;
        order: -1;
        padding: 0;
    }

    .sst-panel {
        min-height: auto;
        padding: 36px 0;
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   Customer Success Stories
   ============================================ */
.success-stories {
    background: #0d0d0d;
    padding: 100px 0 80px;
}

.success-stories-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Heading ── */
.success-head {
    text-align: center;
    margin-bottom: 60px;
}

.success-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0 0 18px;
}

.success-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.42);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Stage: 4 cards in a flex row ── */
.success-stage {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

/* ── Card base (mini / inactive state) ── */
.success-card {
    flex: 1;
    min-width: 0;
    background: #181818;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    cursor: pointer;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
}

.success-card:hover:not(.is-active) {
    background: #1e1e1e;
}

/* ── Active (featured) card ── */
.success-card.is-active {
    flex: 3.8;
    cursor: default;
}

/* ── Featured view: hidden until active ── */
.success-feat-view {
    display: none;
    flex: 1;
}

.success-card.is-active .success-feat-view {
    display: flex;
}

/* Featured text column */
.success-feat-text {
    flex: 0 0 46%;
    padding: 22px 32px;
    display: flex;
    flex-direction: column;
}

/* Featured image column */
.success-feat-img {
    flex: 1;
    padding: 10px 10px 10px 0;
    display: flex;
}

/* Coloured gradient image placeholder */
.success-img-card {
    flex: 1;
    border-radius: 16px;
    background: radial-gradient(
        ellipse at 38% 28%,
        hsl(var(--ih, 220) 60% 52%) 0%,
        hsl(var(--ih, 220) 48% 28%) 100%
    );
    position: relative;
    overflow: hidden;
}

.success-img-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 78%, rgba(0, 0, 0, 0.28) 0%, transparent 55%),
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.14) 0%, transparent 48%);
}

.success-img-card::after {
    content: '';
    position: absolute;
    top: 12%;
    right: -18%;
    width: 65%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

/* ── Mini view: shown when card is inactive ── */
.success-mini-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 18px;
}

.success-card.is-active .success-mini-view {
    display: none;
}

/* ── Brand name ── */
.success-brand {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.01em;
}

/* ── Stat block ── */
.success-stat-block {
    margin-top: 0;
}

.ss-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

/* Larger number in featured view */
.success-feat-text .ss-num {
    font-size: clamp(2.4rem, 3.6vw, 4rem);
    margin-bottom: 8px;
}

.ss-lbl {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.45;
}

.success-feat-text .ss-lbl {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

/* Brand name spacing inside featured view */
.success-feat-text .success-brand {
    margin-bottom: 12px;
}

/* Brand logo (replaces text brand name) */
.success-brand-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 130px;
    margin-bottom: 12px;
    object-fit: contain;
    filter: brightness(0) invert(1) grayscale(18%);
    opacity: 0.82;
}

.success-mini-view .success-brand-logo {
    height: 20px;
    margin-bottom: 8px;
}

/* Stat block spacing inside featured view */
.success-feat-text .success-stat-block {
    margin-bottom: 4px;
}

/* ── Body text (featured only) ── */
.ss-body {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.36);
    line-height: 1.65;
    margin: 0 0 8px;
}

/* ── CTA link (featured only) ── */
.ss-cta {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-top: auto;
    padding-top: 14px;
    transition: color 0.2s;
}

.ss-cta:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ── Progress bar navigator ── */
@keyframes ss-fill {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.ss-progress-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 28px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    padding: 6px 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.ss-prog {
    position: relative;
    width: 52px;
    height: 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.2s;
}

.ss-prog:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.22);
}

/* Fill bar — animates left→right via scaleX */
.ss-prog-fill {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
    /* animation applied via JS */
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .success-stories       { padding: 64px 0 52px; }
    .success-stories-inner { padding: 0 24px; }
    .success-head          { margin-bottom: 40px; }
    .success-stage         { overflow-x: auto; padding-bottom: 8px; }
    .success-card          { flex: 0 0 160px; min-height: 300px; border-radius: 16px; }
    .success-card.is-active { flex: 0 0 80vw; }
    .success-feat-text     { padding: 28px 24px; flex: 0 0 52%; }
    .success-feat-text .ss-num { font-size: 2.4rem; }
    .ss-num                { font-size: 1.9rem; }
    .success-mini-view     { padding: 20px 16px; }
    .success-feat-img      { padding: 12px 12px 12px 0; }
}

/* ============================================
   Pre-footer + Footer — Zipchat style
   ============================================ */

/* Shared gradient background wrapping pre-footer + footer.
   Starts at #eef2fe — identical to the FAQ section's bottom color
   so there is zero visible seam between FAQ and this area. */
.prefooter-wrap {
    background: linear-gradient(
        180deg,
        #eef2fe 0%,
        #e8effe 20%,
        #f0ece6 65%,
        #ece6de 100%
    );
    padding-bottom: 60px;
}

/* ---- Pre-footer CTA ---- */
.prefooter-cta {
    padding: 100px 0 72px;
}

.pfc-ratings {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pfc-rating-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-body);
}

.pfc-rating-item strong { font-weight: 700; color: var(--text-dark); }

.pfc-platform-icon { flex-shrink: 0; }
.pfc-icon--shopify { color: #96BF48; }

.pfc-icon-g2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #FF492C;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 4px;
    flex-shrink: 0;
    letter-spacing: 0;
}

.pfc-icon--capterra { color: #FF6D70; }

.pfc-rating-sep { color: #c4c9d4; font-size: 1.1rem; line-height: 1; }

.pfc-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 3.8vw, 3.8rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 800px;
}

.pfc-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pfc-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    background: transparent;
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: 1.5px solid rgba(16, 24, 40, 0.3);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    text-decoration: none;
}
.pfc-btn-outline:hover {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.pfc-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---- Footer card ---- */
.site-footer {
    background: transparent;
    padding: 0;
}

.footer-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 52px 48px 44px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 64px;
    box-shadow: 0 4px 24px rgba(16, 24, 40, 0.05);
}

/* Brand column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-logo { display: inline-block; margin-bottom: 12px; }

.footer-tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 240px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.footer-legal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.footer-legal-links a {
    font-size: 0.9rem;
    color: var(--text-body);
    transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--primary); }

/* Shopify App Store badge */
.footer-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    background: var(--text-dark);
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 20px;
    width: fit-content;
    transition: background 0.2s ease;
}
.footer-app-badge:hover { background: #1e293b; color: #ffffff; }

.fab-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.fab-find {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.fab-store {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--text-dark);
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-copyright {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: auto;
}

/* Link columns grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 14px; }

.footer-col ul li a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark);
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); }

/* ============================================
   Scroll Reveal Animation
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   Book a Demo — Hero Section
   ============================================ */
.demo-hero {
    position: relative;
    padding: 140px 24px 80px;
    background: var(--white);
    overflow: hidden;
}

.demo-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.demo-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.demo-orb-1 {
    width: 700px;
    height: 700px;
    background: rgba(103, 107, 251, 0.07);
    top: -200px;
    right: -150px;
    animation: demoOrbFloat 14s ease-in-out infinite;
}

.demo-orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(129, 140, 248, 0.06);
    bottom: -150px;
    left: -100px;
    animation: demoOrbFloat 18s ease-in-out infinite reverse;
}

.demo-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(129, 140, 248, 0.05);
    top: 40%;
    left: 45%;
    animation: demoOrbFloat 10s ease-in-out infinite 2s;
}

@keyframes demoOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -25px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.demo-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: start;
}

/* Badge above heading */
.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(103, 107, 251, 0.06);
    border: 1px solid rgba(103, 107, 251, 0.12);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.demo-badge svg { flex-shrink: 0; }

/* Heading */
.demo-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.12;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

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

.demo-hero-sub {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

/* Form Card */
.demo-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.demo-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

/* Form Row (side-by-side fields) */
.demo-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.demo-form .form-group {
    margin-bottom: 18px;
}

.demo-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.demo-form label span {
    color: var(--rose);
}

.demo-form input,
.demo-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    font-family: var(--font-body);
}

.demo-form input:focus,
.demo-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(103, 107, 251, 0.1);
    outline: none;
    background: var(--white);
}

.demo-form input.error,
.demo-form textarea.error {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

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

.btn-demo-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 15px 32px;
    font-size: 1rem;
}

.demo-form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.demo-form-note svg {
    color: var(--green);
    flex-shrink: 0;
}

/* Success Message */
.demo-success {
    text-align: center;
    padding: 48px 20px;
}

.demo-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

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

.demo-success-icon svg {
    color: var(--green);
}

.demo-success h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.demo-success p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto 24px;
}

/* ============================================
   Book a Demo — Trust Column
   ============================================ */
.demo-trust-col {
    position: sticky;
    top: 100px;
}

.demo-trust-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.demo-trust-card h2 {
    font-size: 1.35rem;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.demo-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.demo-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.demo-benefit-icon.purple { background: rgba(103, 107, 251, 0.08); color: var(--primary); }
.demo-benefit-icon.blue   { background: rgba(129, 140, 248, 0.08); color: var(--secondary); }
.demo-benefit-icon.cyan   { background: rgba(129, 140, 248, 0.08); color: var(--accent); }
.demo-benefit-icon.green  { background: rgba(22, 163, 74, 0.08); color: var(--green); }

.demo-benefits li strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.demo-benefits li span {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* Stats Row */
.demo-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.demo-stat-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 20px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.demo-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.demo-stat-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ============================================
   Book a Demo — Features Section
   ============================================ */
.demo-features {
    background: var(--bg-light);
}

.demo-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.demo-feature-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.demo-fc-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: height 0.4s ease;
}

.demo-feature-card:hover .demo-fc-accent { height: 4px; }

.demo-fc-accent.purple-accent { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.demo-fc-accent.blue-accent   { background: linear-gradient(90deg, var(--secondary), var(--accent)); }
.demo-fc-accent.green-accent  { background: linear-gradient(90deg, #4f52d9, #676bfb); }
.demo-fc-accent.cyan-accent   { background: linear-gradient(90deg, var(--accent), var(--secondary)); }

.demo-feature-card .feature-icon {
    margin-bottom: 18px;
}

.demo-feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.demo-feature-card > p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 16px;
}

.demo-fc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-fc-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-dark);
    font-weight: 500;
}

.demo-fc-list li svg {
    flex-shrink: 0;
    color: var(--primary);
}

/* Bottom row: last 2 cards centered */
.demo-features-grid .demo-feature-card:nth-child(4) {
    grid-column: 1 / 2;
}

.demo-features-grid .demo-feature-card:nth-child(5) {
    grid-column: 2 / 3;
}

/* ============================================
   Book a Demo — Bottom CTA
   ============================================ */
.demo-bottom-cta {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
    padding: 72px 0;
}

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

.demo-bottom-cta .container {
    position: relative;
    z-index: 1;
}

.demo-bottom-cta h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    color: #ffffff;
    margin-bottom: 12px;
}

.demo-bottom-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content { max-width: 640px; }

    .features-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .features-bento { grid-template-columns: 1fr 1fr; }
    .feature-card-lg { grid-row: auto; }

    .platform-layout { grid-template-columns: 1fr; gap: 40px; }
    .platform-visual { max-width: 600px; }


    .use-cases-grid { grid-template-columns: repeat(3, 1fr); }

    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }


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

    .blog-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .blog-see-more-desktop { display: none; }
    .blog-see-more-mobile { display: block; }
    .blog-grid-v2 { grid-template-columns: repeat(2, 1fr); }
    .blog-grid-v2 .blogcard:nth-child(3) { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; width: 100%; }

    .demo-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .demo-trust-col { position: static; }
    .demo-features-grid { grid-template-columns: repeat(3, 1fr); }
    .demo-features-grid .demo-feature-card:nth-child(4),
    .demo-features-grid .demo-feature-card:nth-child(5) { grid-column: auto; }

    .footer-card { grid-template-columns: 1fr; gap: 40px; padding: 36px 32px; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .pfc-headline { font-size: clamp(2rem, 5vw, 2.6rem); }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }

    .logos-bar { padding: 24px 0; }
    .logos-bar-inner { padding: 0 24px; gap: 0; }
    .logos-trust-label { padding-right: 20px; }
    .logo-img { height: 22px; }

    .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 0 24px; }
    .hero-visual { min-height: 400px; }
    .hero-arch-frame { max-width: 300px; }
    .hero-arch-visual { border-radius: 150px 150px 16px 16px; }
    .hero-chip-1 { left: -10px; }
    .hero-chip-2 { right: -10px; }

    .platform-mockup-body { grid-template-columns: 1fr 110px; }
    .pm-canvas { padding: 16px 12px; }
    .pm-sidebar { padding: 12px 8px; }
    .pm-action-item span { font-size: 0.5rem; }
    .platform-omni-pill { margin-left: 20px; }
    .platform-heading { font-size: 1.45rem; }


    .site-header { padding: 12px 16px; }
    .site-header.scrolled { padding: 8px 16px; }
    .nav-container {
        border-radius: 10px;
        padding: 8px 16px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 20px;
        transition: right var(--transition);
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav-menu a { color: #374151; }
    .nav-menu a:hover { color: var(--primary); }

    .nav-menu.active { right: 0; }
    .mobile-toggle { display: flex; }
    .nav-cta { display: none; }

    /* Mobile dropdown — Mega Menu accordion */
    .nav-dropdown { width: 100%; position: relative; }

    /* suppress desktop underline indicator inside mobile drawer */
    .nav-dropdown-toggle::after { display: none; }

    .nav-dropdown-toggle {
        color: #374151;
        width: 100%;
        justify-content: space-between;
        font-size: 0.93rem;
        padding: 2px 0;
    }
    .nav-dropdown-toggle:hover { color: var(--primary); }

    /* suppress page backdrop on mobile (drawer handles focus) */
    body.mega-menu-open::after { display: none; }

    .nav-dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: rgba(103, 107, 251, 0.03);
        border: 1px solid rgba(103, 107, 251, 0.1);
        border-radius: 10px;
        margin-top: 8px;
        padding: 0;
        box-shadow: none;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 640px;
        padding: 6px;
    }

    /* Mobile mega layout overrides */
    .mega-inner { flex-direction: column; padding: 6px 4px 4px; gap: 0; max-width: none; }
    .mega-platforms { padding-right: 0; }
    .mega-divider { display: none; }
    .mega-featured { display: none; }
    .mega-footer { display: none; }
    .mega-section-label { display: none; }
    .mega-grid { grid-template-columns: 1fr; gap: 0; }

    .mega-card {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        background: transparent;
        border-right: none;
        border-bottom: 1px solid rgba(16, 24, 40, 0.06);
    }
    .mega-card:nth-child(n) { border-right: none; border-bottom: 1px solid rgba(16, 24, 40, 0.06); }
    .mega-card:last-child { border-bottom: none; }
    .mega-card::after { display: none; }
    .mega-card:hover { background: rgba(103, 107, 251, 0.06); }
    .mega-card-header { flex-shrink: 0; }
    .mpc-tags { display: none; }
    .mpc-desc { font-size: 0.72rem; color: #6b7280; }
    .mpc-icon { width: 32px; height: 32px; border-radius: 8px; }
    .mpc-icon svg { width: 15px; height: 15px; }
    .mpc-name { font-size: 0.875rem; color: #374151; }
    .mega-card:hover .mpc-name { color: var(--primary); }
    .mpc-badge { display: none; }

    .features-bento { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .hero { padding: 120px 20px 60px; }
    .hero-v2 { padding: 130px 24px 80px; }
    .hero-v2-headline { letter-spacing: -0.02em; }
    .mockup-float { display: none; }

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


    .steps-container { grid-template-columns: 1fr; gap: 32px; }
    .steps-container::before { display: none; }

    .tm-panel-item { flex-direction: column; }
    .tm-panel-img { width: 100%; height: 220px; }
    .tm-panel-content { padding: 28px 24px; border-left: none; border-top: 1px dashed #d0d0df; gap: 16px; }
    .tm-panel-content::before { font-size: 6rem; top: 8px; left: 16px; }
    .tm-panel-footer { flex-wrap: wrap; }
    .tm-brand-tabs { flex-wrap: wrap; }
    .tm-brand-tab { flex: 0 0 33.333%; padding: 8px 10px; }
    .tm-brand-tab img { height: 20px; }

    .blogcard-body { padding: 22px; }
    .blogcard-body h3 { font-size: 1.05rem; }
    .blogcard-gradient { height: 180px; }
    .blogcard-img { height: 180px; }

    .demo-hero { padding: 120px 20px 60px; }
    .demo-form-wrapper { padding: 28px; }
    .demo-form-row { grid-template-columns: 1fr; }
    .demo-trust-card { padding: 28px; }
    .demo-features-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-features-grid .demo-feature-card:nth-child(5) { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; width: 100%; }
    .demo-stats-row { grid-template-columns: repeat(3, 1fr); }
    .demo-bottom-cta { padding: 56px 0; }

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

    .footer-card { padding: 28px 24px; gap: 32px; border-radius: 14px; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
    .pfc-actions { flex-direction: column; align-items: flex-start; }
    .prefooter-cta { padding: 72px 0 56px; }
}

@media (max-width: 480px) {
    .hero-v2 { padding: 110px 20px 72px; }
    .hero-v2-actions { flex-direction: column; align-items: center; }
    .hero-v2-ratings { gap: 8px; }
    .hero-v2-rating-sep { display: none; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .logo-img { height: 20px; }
    .logos-marquee-slide { gap: 36px; }
    .hero-chip { font-size: 0.72rem; padding: 7px 14px; }
    .hero-chip-1 { left: 0; }
    .hero-chip-2 { right: 0; }
    .use-cases-grid { grid-template-columns: 1fr; }
    .platform-mockup-body { grid-template-columns: 1fr; }
    .pm-sidebar { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.06); }
    .pm-action-grid { grid-template-columns: repeat(4, 1fr); }
    .platform-omni-pill { margin-left: 0; }
    .platform-heading { font-size: 1.3rem; }
    .impact-grid { grid-template-columns: 1fr; }
    .blogcard-gradient { height: 160px; }
    .blogcard-img { height: 160px; }
    .blogcard-body { padding: 20px; }
    .blogcard-body h3 { font-size: 1rem; }
    .blogcard-body > p { font-size: 0.85rem; }
    .demo-features-grid { grid-template-columns: 1fr; }
    .demo-features-grid .demo-feature-card:nth-child(5) { max-width: 100%; }
    .demo-form-wrapper { padding: 20px; }
    .demo-trust-card { padding: 20px; }
    .demo-stats-row { gap: 8px; }
    .demo-stat-item { padding: 14px 8px; }
    .demo-stat-num { font-size: 1.1rem; }
    .demo-bottom-cta h2 { font-size: 1.4rem; }
}

/* ============================================
   Showcase Sections — Alternating Image/Text
   ============================================ */
.showcase {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.showcase-alt {
    background: var(--dark-bg);
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-row-reverse {
    direction: rtl;
}

.showcase-row-reverse > * {
    direction: ltr;
}

.showcase-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    background: var(--white);
    transition: transform var(--transition), box-shadow var(--transition);
}

.showcase-image-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.showcase-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.showcase-image-glow {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(103, 107, 251, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.showcase-image-glow.glow-alt {
    background: radial-gradient(circle, rgba(129, 140, 248, 0.15), transparent 70%);
    bottom: auto;
    top: -40px;
    left: auto;
    right: -40px;
}


/* Showcase — dark variant */
.showcase-dark {
    background: var(--dark-bg);
}

.showcase-dark .showcase-text .section-label {
    background: rgba(103, 107, 251, 0.15);
    color: #c7d2fe;
    border: 1px solid rgba(103, 107, 251, 0.3);
}

.showcase-dark .showcase-text .section-title {
    color: #ffffff;
}

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

.showcase-dark .showcase-features li {
    color: rgba(255, 255, 255, 0.8);
}

.showcase-dark .showcase-features li svg {
    color: #c7d2fe;
}

.showcase-dark .showcase-image-wrapper {
    border-color: var(--dark-border);
    background: var(--dark-surface);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.showcase-dark .showcase-image-wrapper:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.showcase-dark .showcase-image-glow {
    background: radial-gradient(circle, rgba(103, 107, 251, 0.2), transparent 70%);
}

.showcase-dark .showcase-image-glow.glow-alt {
    background: radial-gradient(circle, rgba(129, 140, 248, 0.2), transparent 70%);
}

.showcase-dark .btn-outline {
    border-color: var(--glass-border);
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
}

.showcase-dark .btn-outline:hover {
    border-color: #c7d2fe;
    color: #c7d2fe;
    box-shadow: 0 4px 20px rgba(103, 107, 251, 0.15);
}

/* Showcase — light variant */
.showcase.section-light {
    background: #ffffff !important;
}

.showcase.section-light .showcase-description {
    color: #5a5a6e;
}

.showcase.section-light .showcase-features li {
    color: #333;
}

.showcase.section-light .showcase-features li svg {
    color: var(--primary);
}

.showcase.section-light .showcase-image-wrapper {
    border-color: #e8e8ee;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.showcase.section-light .showcase-image-wrapper:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.showcase.section-light .showcase-image-glow {
    background: radial-gradient(circle, rgba(103, 107, 251, 0.1), transparent 70%);
}

.showcase-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-text .section-label {
    align-self: flex-start;
}

.showcase-text .section-title {
    text-align: left;
    font-size: 2.2rem;
    line-height: 1.25;
}

.showcase-description {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-body);
    max-width: 520px;
}

.showcase-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 8px 0 12px;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    font-family: var(--font-body);
}

.showcase-features li svg {
    flex-shrink: 0;
}

.showcase-text .btn {
    align-self: flex-start;
    margin-top: 8px;
}

/* Showcase Responsive */
@media (max-width: 1024px) {
    .showcase-row {
        gap: 50px;
    }
    .showcase-text .section-title {
        font-size: 1.8rem;
    }
    .showcase-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .showcase {
        padding: 60px 0;
    }
    .showcase-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .showcase-row-reverse {
        direction: ltr;
    }
    .showcase-text .section-title {
        font-size: 1.6rem;
        text-align: center;
    }
    .showcase-text .section-label {
        align-self: center;
    }
    .showcase-text {
        align-items: center;
        text-align: center;
    }
    .showcase-description {
        text-align: center;
    }
    .showcase-features {
        align-items: flex-start;
    }
    .showcase-text .btn {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .showcase-text .section-title {
        font-size: 1.35rem;
    }
    .showcase-description {
        font-size: 0.95rem;
    }
    .showcase-features li {
        font-size: 0.9rem;
    }
}

/* ============================================
   VOICE AI PAGE
   ============================================ */

/* Hero */
.vai-hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
}
.vai-hero-inner {
    position: relative;
    z-index: 2;
}
.vai-hero-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.vai-hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: #fff;
}
.vai-hero-content .hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin-bottom: 10px;
}
.vai-hero-content .hero-supporting {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 32px;
}

/* Animated waveform */
.vai-wave-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 28px auto 32px;
    height: 48px;
}
.vai-wave-bar span {
    display: block;
    width: 4px;
    border-radius: 4px;
    background: var(--gradient);
    animation: vai-wave 1.4s ease-in-out infinite;
}
.vai-wave-bar span:nth-child(1)  { height: 12px; animation-delay: 0s; }
.vai-wave-bar span:nth-child(2)  { height: 20px; animation-delay: .07s; }
.vai-wave-bar span:nth-child(3)  { height: 30px; animation-delay: .14s; }
.vai-wave-bar span:nth-child(4)  { height: 38px; animation-delay: .21s; }
.vai-wave-bar span:nth-child(5)  { height: 44px; animation-delay: .28s; }
.vai-wave-bar span:nth-child(6)  { height: 40px; animation-delay: .35s; }
.vai-wave-bar span:nth-child(7)  { height: 32px; animation-delay: .42s; }
.vai-wave-bar span:nth-child(8)  { height: 44px; animation-delay: .49s; }
.vai-wave-bar span:nth-child(9)  { height: 48px; animation-delay: .56s; }
.vai-wave-bar span:nth-child(10) { height: 44px; animation-delay: .63s; }
.vai-wave-bar span:nth-child(11) { height: 36px; animation-delay: .70s; }
.vai-wave-bar span:nth-child(12) { height: 44px; animation-delay: .63s; }
.vai-wave-bar span:nth-child(13) { height: 48px; animation-delay: .56s; }
.vai-wave-bar span:nth-child(14) { height: 44px; animation-delay: .49s; }
.vai-wave-bar span:nth-child(15) { height: 32px; animation-delay: .42s; }
.vai-wave-bar span:nth-child(16) { height: 40px; animation-delay: .35s; }
.vai-wave-bar span:nth-child(17) { height: 44px; animation-delay: .28s; }
.vai-wave-bar span:nth-child(18) { height: 38px; animation-delay: .21s; }
.vai-wave-bar span:nth-child(19) { height: 30px; animation-delay: .14s; }
.vai-wave-bar span:nth-child(20) { height: 12px; animation-delay: .07s; }

@keyframes vai-wave {
    0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
    50%       { transform: scaleY(1);   opacity: 1; }
}

/* Generation Comparison */
.vai-gen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.vai-gen-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}
.vai-gen-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.vai-gen-card-featured {
    background: linear-gradient(145deg, rgba(103, 107, 251,0.12), rgba(129, 140, 248,0.08));
    border: 1.5px solid rgba(103, 107, 251,0.4);
    box-shadow: 0 0 40px rgba(103, 107, 251,0.15);
}
.vai-gen-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.vai-gen-tag-old  { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.08); }
.vai-gen-tag-mid  { background: rgba(245,158,11,0.1);  color: #f59e0b; border: 1px solid rgba(245,158,11,0.2); }
.vai-gen-tag-new  { background: rgba(103, 107, 251,0.15); color: #c7d2fe; border: 1px solid rgba(103, 107, 251,0.35); }
.vai-gen-title { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-dark); }
.vai-gen-card-featured .vai-gen-title { color: #fff; }
.vai-gen-desc  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.vai-gen-list  { display: flex; flex-direction: column; gap: 10px; }
.vai-gen-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}
.vai-gen-list-no  li { color: rgba(255,255,255,0.35); }
.vai-gen-list-no  li svg { stroke: #f43f5e; flex-shrink: 0; }
.vai-gen-list-mid li { color: rgba(255,255,255,0.5); }
.vai-gen-list-mid li svg { stroke: #f59e0b; flex-shrink: 0; }
.vai-gen-list-yes li { color: rgba(255,255,255,0.8); }
.vai-gen-list-yes li svg { stroke: #676bfb; flex-shrink: 0; }

/* Core Capabilities Grid */
.vai-cap-section { position: relative; overflow: hidden; }
.vai-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.vai-cap-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    backdrop-filter: blur(var(--glass-blur));
}
.vai-cap-card:hover {
    border-color: rgba(103, 107, 251,0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(103, 107, 251,0.12);
}
.vai-cap-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(103, 107, 251,0.12);
    border: 1px solid rgba(103, 107, 251,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-light);
}
.vai-cap-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}
.vai-cap-card p {
    font-size: 0.9rem;
    color: var(--dark-text-muted);
    line-height: 1.65;
}

/* How It Works */
.vai-how { position: relative; overflow: hidden; }
.vai-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 64px;
    position: relative;
}
.vai-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.vai-step-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
    margin-bottom: -12px;
    position: relative;
    z-index: 0;
}
.vai-step-body {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    width: 100%;
    position: relative;
    z-index: 1;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.vai-step-body:hover {
    border-color: rgba(103, 107, 251,0.35);
    box-shadow: 0 8px 30px rgba(103, 107, 251,0.1);
}
.vai-step-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(103, 107, 251,0.12);
    border: 1px solid rgba(103, 107, 251,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-light);
}
.vai-step-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}
.vai-step-body p {
    font-size: 0.88rem;
    color: var(--dark-text-muted);
    line-height: 1.7;
}
.vai-step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    margin-top: 60px;
    flex-shrink: 0;
}

/* Stats */
.vai-stats { position: relative; overflow: hidden; }
.vai-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.vai-stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
}
.vai-stat-card:hover {
    border-color: rgba(103, 107, 251,0.4);
    transform: translateY(-4px);
}
.vai-stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}
.vai-stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.vai-stat-sub {
    font-size: 0.82rem;
    color: var(--dark-text-muted);
}

/* Compliance */
.vai-compliance { position: relative; overflow: hidden; }
.vai-comp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.vai-comp-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.vai-comp-card:hover {
    border-color: rgba(103, 107, 251,0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(103, 107, 251,0.1);
}
.vai-comp-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(103, 107, 251,0.1);
    border: 1px solid rgba(103, 107, 251,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-light);
}
.vai-comp-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.vai-comp-card p {
    font-size: 0.875rem;
    color: var(--dark-text-muted);
    line-height: 1.6;
}

/* Dark FAQ override for VAI page */
.faq.section-dark .faq-item {
    border-bottom-color: rgba(255,255,255,0.07);
}
.faq.section-dark .faq-question {
    color: rgba(255,255,255,0.85);
}
.faq.section-dark .faq-answer-inner {
    color: var(--dark-text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .vai-gen-grid  { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .vai-cap-grid  { grid-template-columns: repeat(2, 1fr); }
    .vai-comp-grid { grid-template-columns: repeat(2, 1fr); }
    .vai-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .vai-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .vai-step-connector { display: none; }
    .vai-step-num { font-size: 3rem; }
}

@media (max-width: 768px) {
    .vai-hero { padding: 100px 0 70px; }
    .vai-hero-content h1 { font-size: 2rem; }
    .vai-cap-grid  { grid-template-columns: 1fr; }
    .vai-comp-grid { grid-template-columns: 1fr; }
    .vai-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .vai-wave-bar span { width: 3px; }
}

@media (max-width: 480px) {
    .vai-stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .vai-stat-card { padding: 24px 16px; }
    .vai-stat-num { font-size: 2rem; }
}

/* ============================================================
   VAI AGENT CATEGORIES SECTION
   ============================================================ */
.vai-agent-cats.section-light { background: #f3f3f9 !important; }

/* Header: heading left, description right */
.vac-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 52px;
}
.vac-header-left .section-title {
    margin-bottom: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #1a1a2e;
}
.vac-header-right p {
    font-size: 1rem;
    color: #5a5a6e;
    line-height: 1.75;
    margin: 0;
}

/* Body: column — tabs on top, cards below */
.vac-body {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* ---- Horizontal pill tab navigation ---- */
.vac-tabs {
    display: flex;
    flex-direction: row;
    gap: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    padding: 5px;
    width: fit-content;
    border: none;
}
.vac-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    line-height: 1;
}
.vac-tab svg { flex-shrink: 0; opacity: 0.6; transition: opacity 0.25s; }
.vac-tab:hover { color: #1a1a2e; background: rgba(255,255,255,0.6); }
.vac-tab:hover svg { opacity: 1; }
.vac-tab-active {
    background: #1a1a2e;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.vac-tab-active svg { opacity: 1; stroke: #fff; }
.vac-tab-dot { display: none; } /* replaced by icon */

/* ---- Card panels ---- */
.vac-panel        { display: none; }
.vac-panel-active { display: block; animation: vac-fade-in 0.3s ease; }
@keyframes vac-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.vac-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* ---- Cards ---- */
.vac-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

/* Gradient accent bar — colour per panel */
#vac-convert .vac-card::before {
    content: ''; display: block; height: 3px;
    background: linear-gradient(90deg, #3b82f6, #818cf8);
}
#vac-engage .vac-card::before {
    content: ''; display: block; height: 3px;
    background: linear-gradient(90deg, #676bfb, #ec4899);
}
#vac-delight .vac-card::before {
    content: ''; display: block; height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.vac-card:hover {
    box-shadow: 0 16px 48px rgba(129, 140, 248,0.14), 0 2px 8px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}
.vac-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    padding: 20px 20px 0;
    margin: 0 0 14px;
}

/* ---- Mockup area ---- */
.vac-card-mockup {
    margin: 0 14px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ebebf8, #e2e2f4);
    min-height: 196px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    padding: 16px 14px;
    overflow: hidden;
    position: relative;
}

/* Panel-specific mockup backgrounds */
#vac-convert .vac-card-mockup { background: linear-gradient(135deg, #dbeafe, #ede9fe); }
#vac-engage  .vac-card-mockup { background: linear-gradient(135deg, #ede9fe, #fce7f3); }
#vac-delight .vac-card-mockup { background: linear-gradient(135deg, #d1fae5, #dbeafe); }

/* Image mockup variant */
.vac-card-mockup-img {
    padding: 0;
    min-height: 210px;
    justify-content: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
}
.vac-card-mockup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 0;
}

/* Chat bubbles shared */
.vac-mock-bubble {
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    line-height: 1.45;
    box-sizing: border-box;
}
.vac-mock-bubble-user {
    background: #fff;
    color: #1a1a2e;
    border: 1px solid rgba(0,0,0,0.08);
    align-self: flex-start;
    max-width: 90%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.vac-mock-bubble-ai {
    background: rgba(103, 107, 251,0.1);
    color: #5b21b6;
    border: 1px solid rgba(103, 107, 251,0.18);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.73rem;
    max-width: 95%;
}
.vac-mock-bubble-ai svg { flex-shrink: 0; margin-top: 1px; stroke: #676bfb; }

/* Voice ring / mic button */
.vac-mock-voice-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4px 0;
}
.vac-mock-mic-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #676bfb, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 7px rgba(103, 107, 251,0.12), 0 0 0 14px rgba(103, 107, 251,0.06);
}
.vac-mock-wave-bars {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 30px;
}
.vac-mock-wave-bars span {
    display: inline-block;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(to top, #676bfb, #c7d2fe);
    animation: vac-wave 1.2s ease-in-out infinite;
}
.vac-mock-wave-bars span:nth-child(1) { height: 8px;  animation-delay: 0s; }
.vac-mock-wave-bars span:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.vac-mock-wave-bars span:nth-child(3) { height: 24px; animation-delay: 0.2s; }
.vac-mock-wave-bars span:nth-child(4) { height: 30px; animation-delay: 0.3s; }
.vac-mock-wave-bars span:nth-child(5) { height: 22px; animation-delay: 0.2s; }
.vac-mock-wave-bars span:nth-child(6) { height: 14px; animation-delay: 0.1s; }
.vac-mock-wave-bars span:nth-child(7) { height: 8px;  animation-delay: 0s; }
@keyframes vac-wave {
    0%, 100% { transform: scaleY(1); }
    50%       { transform: scaleY(0.4); }
}

/* Support status indicator */
.vac-mock-support-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.71rem;
    color: #5a5a6e;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 5px 12px;
    align-self: flex-start;
}
.vac-mock-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.vac-dot-orange { background: #f59e0b; }

/* Appointment phone mockup */
.vac-mock-appt {
    background: #eeeef6;
    padding: 14px;
    align-items: center;
}
.vac-mock-phone-frame {
    width: 100%;
    max-width: 200px;
    background: #1a1a2e;
    border-radius: 20px;
    padding: 10px 12px 14px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.vac-mock-phone-top {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.vac-mock-notch {
    width: 36px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
}
.vac-mock-appt-header {
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #e2e8f0;
}
.vac-mock-appt-icon { font-size: 0.9rem; }
.vac-mock-appt-service {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}
.vac-mock-appt-confirm {
    background: rgba(103, 107, 251,0.2);
    border: 1px solid rgba(103, 107, 251,0.3);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 10px;
}
.vac-mock-appt-badge {
    display: inline-block;
    font-size: 0.6rem;
    background: rgba(103, 107, 251,0.4);
    color: #c7d2fe;
    border-radius: 4px;
    padding: 2px 6px;
    margin-bottom: 5px;
    font-weight: 600;
}
.vac-badge-gold { background: rgba(245,158,11,0.3) !important; color: #fcd34d !important; }
.vac-mock-appt-confirm p {
    font-size: 0.66rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.4;
}
.vac-mock-appt-confirm strong { color: #9497fc; }
.vac-mock-cal-row,
.vac-mock-cal-dates {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.4);
    margin-top: 3px;
}
.vac-cal-active { color: #fff; font-weight: 700; }

/* Booking mockup */
.vac-mock-booking { background: #eeeef6; gap: 8px; }
.vac-mock-booking-confirm {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.07);
}
.vac-mock-booking-audio {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}
.vac-mock-play {
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: #676bfb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6rem;
    line-height: 1;
}
.vac-mock-audio-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 18px;
    flex: 1;
}
.vac-mock-audio-wave span {
    display: inline-block;
    width: 3px;
    border-radius: 2px;
    background: #c7d2fe;
}
.vac-mock-audio-wave span:nth-child(1) { height: 6px; }
.vac-mock-audio-wave span:nth-child(2) { height: 12px; }
.vac-mock-audio-wave span:nth-child(3) { height: 9px; }
.vac-mock-audio-wave span:nth-child(4) { height: 16px; }
.vac-mock-audio-wave span:nth-child(5) { height: 7px; }
.vac-mock-audio-wave span:nth-child(6) { height: 12px; }
.vac-mock-audio-wave span:nth-child(7) { height: 5px; }
.vac-mock-audio-wave span:nth-child(8) { height: 9px; }
.vac-mock-confirm-text {
    font-size: 0.72rem;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.4;
}
.vac-mock-room-card {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 9px 11px;
    border: 1px solid rgba(0,0,0,0.07);
    display: flex;
    gap: 10px;
    align-items: center;
}
.vac-mock-room-img {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 7px;
    background: linear-gradient(135deg, #d8d8e8, #c0c0d8);
    flex-shrink: 0;
}
.vac-mock-room-img-alt  { background: linear-gradient(135deg, #fde68a, #fca5a5); }
.vac-mock-room-img-post { background: linear-gradient(135deg, #a7f3d0, #6ee7b7); }
.vac-mock-room-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.vac-mock-room-info strong { font-size: 0.75rem; color: #1a1a2e; }
.vac-mock-free-badge {
    display: inline-block;
    font-size: 0.63rem;
    background: #676bfb;
    color: #fff;
    border-radius: 20px;
    padding: 2px 8px;
    width: fit-content;
}
.vac-badge-green { background: #10b981 !important; }
.vac-badge-blue  { background: #3b82f6 !important; }
.vac-mock-cancel-link {
    font-size: 0.65rem;
    color: #676bfb;
    text-decoration: none;
}

/* NPS mockup */
.vac-mock-nps { background: #eeeef6; }
.vac-mock-nps-score {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.07);
}
.vac-mock-nps-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.vac-mock-nps-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}
.vac-nps-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: default;
    flex-shrink: 0;
}
.vac-nps-bad      { background: rgba(244,63,94,0.1);  color: #f43f5e; }
.vac-nps-mid      { background: rgba(245,158,11,0.1); color: #d97706; }
.vac-nps-good     { background: rgba(16,185,129,0.1); color: #059669; }
.vac-nps-selected { outline: 2px solid #10b981; outline-offset: 2px; }

/* ---- Card footer: tags + desc ---- */
.vac-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0 18px 10px;
    margin-top: auto;
}
.vac-tag {
    font-size: 0.67rem;
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(103, 107, 251,0.07);
    color: #4f52d9;
    border: 1px solid rgba(103, 107, 251,0.15);
    white-space: nowrap;
}
.vac-card-desc {
    font-size: 0.8rem;
    color: #5a5a6e;
    line-height: 1.55;
    padding: 0 18px 18px;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .vac-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .vac-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
    .vac-body   { gap: 24px; }
    .vac-tabs   { overflow-x: auto; }
    .vac-tab    { padding: 9px 20px; font-size: 0.88rem; }
}
@media (max-width: 600px) {
    .vac-cards  { grid-template-columns: 1fr; }
    .vac-tab    { padding: 8px 16px; font-size: 0.85rem; }
    .vac-tab svg { display: none; }
}

/* ============================================================
   PLATFORM PAGES — Shared Components (.pp-*)
   Used by: page-sms.php, page-whatsapp.php, page-chat.php,
            page-voice-ai.php
   ============================================================ */

/* ---- Section wrapper ---- */
.pp-section {
    padding: 96px 0;
}
.pp-section--dark {
    background: var(--text-dark);
    color: #fff;
}
.pp-section--alt {
    background: var(--bg-cream);
}

/* ---- Section label ---- */
.pp-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.pp-section--dark .pp-label { color: var(--accent); }

/* ---- Section title ---- */
.pp-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.15;
    margin: 0 0 16px;
}
.pp-section--dark .pp-title { color: #fff; }

/* ---- Section subtitle ---- */
.pp-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.65;
    margin: 0 auto 56px;
}
.pp-section--dark .pp-subtitle { color: rgba(255,255,255,0.6); }

/* ================================================================
   BENEFITS GRID
   ================================================================ */
.pp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pp-benefit-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px 24px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pp-benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.pp-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.pp-benefit-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
}
.pp-benefit-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ================================================================
   HOW IT WORKS — Steps
   ================================================================ */
.pp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}
.pp-step {
    text-align: center;
    padding: 0 32px;
    position: relative;
}
.pp-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -1px;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform: translateX(50%);
}
.pp-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(103,107,251,0.3);
}
.pp-step-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.pp-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px;
}
.pp-step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ================================================================
   FEATURE ROWS — Alternating left/right layout
   ================================================================ */
.pp-features-list {
    display: flex;
    flex-direction: column;
    gap: 96px;
}
.pp-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.pp-feature-row--reverse {
    direction: rtl;
}
.pp-feature-row--reverse > * {
    direction: ltr;
}
.pp-feature-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.pp-feature-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0 0 16px;
}
.pp-feature-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 24px;
}
.pp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pp-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.5;
}
.pp-feature-list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 2px;
}
.pp-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.pp-feature-link:hover { border-color: var(--primary); }
.pp-feature-visual {
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-cream);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.pp-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* ================================================================
   USE CASES GRID
   ================================================================ */
.pp-usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pp-usecase-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px 24px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pp-usecase-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.pp-usecase-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}
.pp-usecase-industry {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
}
.pp-usecase-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ================================================================
   STATS SECTION
   ================================================================ */
.pp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}
.pp-stat-card {
    background: rgba(255,255,255,0.03);
    padding: 40px 32px;
    text-align: center;
}
.pp-stat-num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}
.pp-stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin: 0 0 6px;
}
.pp-stat-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.42);
    margin: 0;
    line-height: 1.5;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.pp-cta-section {
    background: var(--text-dark);
    padding: 96px 0;
}
.pp-cta-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.pp-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(103,107,251,0.15);
    border: 1px solid rgba(103,107,251,0.3);
    color: var(--accent);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.pp-cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 16px;
}
.pp-cta-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.65;
    margin: 0 0 36px;
}
.pp-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.55);
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.pp-faq-list {
    display: flex;
    flex-direction: column;
    max-width: 780px;
    margin: 0 auto;
}
.pp-faq-item {
    border-bottom: 1px solid var(--border-light);
}
.pp-faq-q {
    width: 100%;
    text-align: left;
    padding: 22px 0;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    font-family: inherit;
}
.pp-faq-q svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--primary);
}
.pp-faq-item.open .pp-faq-q svg {
    transform: rotate(45deg);
}
.pp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding-bottom 0.25s ease;
}
.pp-faq-item.open .pp-faq-a {
    max-height: 320px;
    padding-bottom: 20px;
}
.pp-faq-a p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ================================================================
   SMS MOCKUP COMPONENTS
   ================================================================ */

/* Campaign dashboard */
.pp-mock-campaign {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    font-size: 0.85rem;
}
.pp-mock-header {
    background: var(--gradient);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.85rem;
}
.pp-mock-body { padding: 18px; }
.pp-mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.82rem;
}
.pp-mock-row:last-child { border-bottom: none; }
.pp-mock-row-label { color: var(--text-muted); }
.pp-mock-row-value { font-weight: 600; color: var(--text-dark); }
.pp-mock-progress { margin: 14px 0; }
.pp-mock-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.pp-mock-progress-bar {
    height: 6px;
    background: var(--border-light);
    border-radius: 6px;
    overflow: hidden;
}
.pp-mock-progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 6px;
    width: 0;
    animation: ppProgressFill 2s ease-out 0.5s forwards;
}
@keyframes ppProgressFill {
    to { width: var(--fill-width, 78%); }
}
.pp-mock-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}
.pp-mock-stat {
    background: var(--bg-cream);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}
.pp-mock-stat-num {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}
.pp-mock-stat-lbl {
    font-size: 0.67rem;
    color: var(--text-muted);
}

/* OTP mockup */
.pp-mock-otp {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 24px;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}
.pp-mock-otp-logo { font-size: 1.8rem; margin-bottom: 10px; }
.pp-mock-otp-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.pp-mock-otp-code {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 14px;
}
.pp-mock-otp-digit {
    width: 40px;
    height: 48px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(103,107,251,0.04);
}
.pp-mock-otp-expires {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Two-way SMS conversation mockup */
.pp-mock-twoway {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 320px;
    margin: 0 auto;
}
.pp-mock-twoway-header {
    background: var(--gradient);
    color: #fff;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pp-mock-messages {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 120px;
}
.pp-mock-msg {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.4;
}
.pp-mock-msg--in {
    background: var(--bg-cream);
    color: var(--text-dark);
    align-self: flex-start;
    border-radius: 4px 12px 12px 12px;
}
.pp-mock-msg--out {
    background: var(--gradient);
    color: #fff;
    align-self: flex-end;
    border-radius: 12px 4px 12px 12px;
}
.pp-mock-delivery {
    text-align: right;
    padding: 0 14px 10px;
    font-size: 0.68rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

/* SMS bubble (used inside arch visual) */
.pp-mock-sms-bubble {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 10px 14px;
    font-size: 0.78rem;
    color: var(--text-dark);
    max-width: 90%;
    line-height: 1.4;
}

/* ================================================================
   WHATSAPP MOCKUP COMPONENTS
   ================================================================ */
.pp-mock-wa {
    background: #ece5dd;
    border-radius: 16px;
    overflow: hidden;
    max-width: 340px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}
.pp-mock-wa-header {
    background: #075e54;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}
.pp-mock-wa-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.pp-mock-wa-messages {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ece5dd;
    min-height: 140px;
}
.pp-mock-wa-msg {
    max-width: 82%;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 0.8rem;
    line-height: 1.4;
}
.pp-mock-wa-msg--in {
    background: #fff;
    align-self: flex-start;
    border-radius: 2px 10px 10px 10px;
    color: var(--text-dark);
}
.pp-mock-wa-msg--out {
    background: #dcf8c6;
    align-self: flex-end;
    border-radius: 10px 2px 10px 10px;
    color: #1a1a1a;
}
.pp-mock-wa-time {
    font-size: 0.62rem;
    color: rgba(0,0,0,0.38);
    float: right;
    margin-left: 8px;
    margin-top: 2px;
}
.pp-mock-wa-input {
    background: #f0f0f0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pp-mock-wa-field {
    flex: 1;
    background: #fff;
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.pp-mock-wa-send {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ================================================================
   CHAT WIDGET MOCKUP (Hero)
   ================================================================ */
.chat-hero-widget {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
.chw-header {
    background: var(--gradient);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.chw-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.chw-info { flex: 1; }
.chw-name {
    font-size: 0.88rem;
    font-weight: 700;
    display: block;
}
.chw-status {
    font-size: 0.72rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.chw-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    flex-shrink: 0;
}
.chw-messages {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8f9ff;
    min-height: 140px;
}
.chw-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.45;
}
.chw-msg--bot {
    background: #fff;
    color: var(--text-dark);
    align-self: flex-start;
    border-radius: 4px 12px 12px 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.chw-msg--user {
    background: var(--gradient);
    color: #fff;
    align-self: flex-end;
    border-radius: 12px 4px 12px 12px;
}
.chw-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: #fff;
    border-radius: 4px 12px 12px 12px;
    border: 1px solid var(--border-light);
    width: fit-content;
    box-shadow: var(--shadow-sm);
}
.chw-typing span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: chwBounce 1.2s ease-in-out infinite;
}
.chw-typing span:nth-child(2) { animation-delay: 0.15s; }
.chw-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chwBounce {
    0%, 80%, 100% { opacity: 0.4; transform: translateY(0); }
    40%           { opacity: 1;   transform: translateY(-4px); }
}
.chw-input-bar {
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}
.chw-input-placeholder {
    flex: 1;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: var(--bg-cream);
    border-radius: 100px;
    padding: 7px 14px;
    border: 1px solid var(--border-light);
}
.chw-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: #fff;
}

/* ================================================================
   CHAT MOCKUP COMPONENTS (Feature sections)
   ================================================================ */
.pp-mock-chat {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
}
.pp-mock-chat-header {
    background: var(--gradient);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}
.pp-mock-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.pp-mock-chat-info { flex: 1; }
.pp-mock-chat-name {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 2px;
}
.pp-mock-chat-status {
    font-size: 0.72rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 5px;
}
.pp-mock-chat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    flex-shrink: 0;
}
.pp-mock-chat-messages {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8f9ff;
    min-height: 130px;
}
.pp-mock-chat-msg {
    max-width: 82%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.45;
}
.pp-mock-chat-msg--bot {
    background: #fff;
    color: var(--text-dark);
    align-self: flex-start;
    border-radius: 4px 12px 12px 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.pp-mock-chat-msg--user {
    background: var(--gradient);
    color: #fff;
    align-self: flex-end;
    border-radius: 12px 4px 12px 12px;
}
.pp-mock-chat-input {
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}
.pp-mock-chat-field {
    flex: 1;
    background: var(--bg-cream);
    border-radius: 100px;
    padding: 7px 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}
.pp-mock-chat-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ================================================================
   STACKING FEATURE SECTIONS
   ================================================================ */

/* ---- Stack section heading ---- */
.stack-heading-wrap {
    padding: 80px 48px 40px;
    background: #ffffff;
}

.stack-heading-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    max-width: 1344px;       /* align with card edges (1440 - 2×48px wrapper padding) */
    margin: 0 auto;
}

.stack-heading-title {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin: 0;
}

.stack-heading-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
    padding-bottom: 4px;   /* optically align baseline with title */
}

@media (max-width: 768px) {
    .stack-heading-wrap  { padding: 64px 20px 32px; }
    .stack-heading-inner { grid-template-columns: 1fr; gap: 16px; }
    .stack-heading-desc  { padding-bottom: 0; }
}

/* Section wrapper — horizontal margins create the contained card look */
.stack-wrapper {
    position: relative;
    padding: 0 48px 120px;   /* side margins keep cards away from viewport edge;
                                 120px bottom gives breathing room before footer */
    background: #ffffff;
}

.stack-card {
    position: sticky;
    top: 88px;               /* just below the floating pill nav */
    display: flex;
    align-items: center;
    overflow: visible;
}

/* z-index so each new card covers the previous */
.stack-card--1 { z-index: 1; }
.stack-card--2 { z-index: 2; }
.stack-card--3 { z-index: 3; }
.stack-card--4 { z-index: 4; }
.stack-card--5 { z-index: 5; }

/* Inner card: fixed height so ALL slides are identical during overlap */
.stack-card-inner {
    width: 100%;
    height: 460px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    transform-origin: center center;
    will-change: transform;
    box-shadow: none;
}

/* Per-card backgrounds */
.stack-card--1 .stack-card-inner { background: #bac2fa; }
.stack-card--2 .stack-card-inner { background: #bac2fa; }
.stack-card--3 .stack-card-inner { background: #f8f1c6; }
.stack-card--4 .stack-card-inner { background: #bac2fa; }
.stack-card--5 .stack-card-inner { background: #bac2fa; }

/* Layout */
.stack-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    padding: 48px 64px;   /* internal card padding */
}

.stack-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Badge */
.stack-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(103,107,251,0.09);
    color: #676bfb;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    width: fit-content;
}
.stack-card--5 .stack-badge {
    background: rgba(103,107,251,0.15);
    color: #3d42c4;
}

/* Headline */
.stack-headline {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin: 0;
}
.stack-card--5 .stack-headline { color: #0f172a; }

/* Description */
.stack-desc {
    font-size: 1.05rem;
    line-height: 1.72;
    color: #4b5563;
    max-width: 460px;
    margin: 0;
}
.stack-card--5 .stack-desc { color: #374151; }

/* Link */
.stack-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #676bfb;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.stack-link:hover { gap: 10px; }
.stack-card--5 .stack-link { color: #676bfb; }

/* Visual column */
.stack-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---- Voice AI image (Card 1) ---- */
.stv-img-wrap {
    width: 100%;
    max-width: 540px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
}
.stv-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Voice AI, SMS & Live Chat images (Cards 1, 3, 4) — no shadow ---- */
.stack-card--1 .stv-img-wrap,
.stack-card--3 .stv-img-wrap,
.stack-card--4 .stv-img-wrap {
    box-shadow: none;
    border-radius: 16px;
}

/* ---- Phone frame (Cards 2, 3) ---- */
.stv-phone {
    width: 240px;
    min-height: 340px;
    background: #1a1a2e;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25), 0 0 0 6px #2a2a40;
    display: flex;
    flex-direction: column;
}

.stv-phone-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 16px 10px;
    background: #111129;
}

.stv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}

/* ---- Call UI — Card 1 ---- */
.stv-call-ui {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    background: linear-gradient(160deg, #1e1b4b 0%, #312e81 100%);
}

.stv-call-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #676bfb, #a5b4fc);
    box-shadow: 0 0 0 4px rgba(103,107,251,0.3);
}

.stv-call-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.stv-call-status {
    color: rgba(255,255,255,0.55);
    font-size: 0.75rem;
    margin: 0;
}

.stv-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 28px;
}

.stv-waveform span {
    width: 3px;
    border-radius: 2px;
    background: rgba(103,107,251,0.85);
    animation: stv-wave 1.2s ease-in-out infinite;
}
.stv-waveform span:nth-child(1) { height: 6px;  animation-delay: 0s; }
.stv-waveform span:nth-child(2) { height: 14px; animation-delay: .1s; }
.stv-waveform span:nth-child(3) { height: 22px; animation-delay: .2s; }
.stv-waveform span:nth-child(4) { height: 18px; animation-delay: .3s; }
.stv-waveform span:nth-child(5) { height: 26px; animation-delay: .4s; }
.stv-waveform span:nth-child(6) { height: 18px; animation-delay: .3s; }
.stv-waveform span:nth-child(7) { height: 22px; animation-delay: .2s; }
.stv-waveform span:nth-child(8) { height: 14px; animation-delay: .1s; }
.stv-waveform span:nth-child(9) { height: 6px;  animation-delay: 0s; }

@keyframes stv-wave {
    0%, 100% { transform: scaleY(1); }
    50%       { transform: scaleY(0.4); }
}

.stv-call-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.stv-call-btn {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}
.stv-mute { background: rgba(255,255,255,0.15); color: #fff; }
.stv-end  { background: #ef4444; color: #fff; }

/* ---- Chat UI — Card 2 (WhatsApp) ---- */
.stv-chat-ui {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #e5ddd5;
}

.stv-chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #128c7e;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
}

.stv-online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25d366;
    display: inline-block;
}

.stv-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    overflow: hidden;
}

.stv-msg {
    max-width: 85%;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.74rem;
    line-height: 1.45;
}
.stv-msg--in  { align-self: flex-start; background: #fff; color: #1a1a1a; border-bottom-left-radius: 2px; }
.stv-msg--out { align-self: flex-end; background: #dcf8c6; color: #1a1a1a; border-bottom-right-radius: 2px; }
.stv-msg--product { display: flex; align-items: center; gap: 8px; padding: 8px; }

.stv-product-thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    flex-shrink: 0;
}

/* ---- SMS UI — Card 3 ---- */
.stv-sms-ui {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f9fafb;
}

.stv-sms-header {
    padding: 12px 16px;
    background: #1e293b;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.stv-sms-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stv-sms-item {
    padding: 11px 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #374151;
}
.stv-sms--unread {
    background: #eff6ff;
    font-weight: 600;
    color: #1d4ed8;
}

/* ---- Browser — Card 4 (Chat) ---- */
.stv-browser {
    width: 360px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
}

.stv-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}
.stv-browser-bar > span { width: 10px; height: 10px; border-radius: 50%; }
.stv-browser-bar > span:nth-child(1) { background: #ef4444; }
.stv-browser-bar > span:nth-child(2) { background: #f59e0b; }
.stv-browser-bar > span:nth-child(3) { background: #22c55e; }

.stv-url-bar {
    flex: 1;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.7rem;
    color: #6b7280;
    margin-left: 4px;
}

.stv-browser-body {
    position: relative;
    padding: 16px;
    min-height: 270px;
    background: #fafafa;
}

.stv-page-lines { display: flex; flex-direction: column; gap: 8px; }
.stv-page-lines > div { height: 10px; border-radius: 4px; background: #e5e7eb; }
.stv-page-lines > div:nth-child(1) { width: 80%; }
.stv-page-lines > div:nth-child(2) { width: 60%; }
.stv-page-lines > div:nth-child(3) { width: 70%; }

.stv-chat-widget {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 190px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.stv-widget-header {
    background: #676bfb;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 9px 12px;
}

.stv-widget-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    max-height: 150px;
    overflow: hidden;
}

.stv-wmsg {
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 0.66rem;
    line-height: 1.4;
    max-width: 92%;
}
.stv-wmsg--bot  { background: #f3f4f6; color: #374151; align-self: flex-start; }
.stv-wmsg--user { background: #676bfb; color: #fff; align-self: flex-end; border-bottom-right-radius: 2px; }

/* ---- Dashboard — Card 5 (Analytics) ---- */
.stv-dashboard {
    width: 380px;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(103,107,251,0.15);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(8px);
}

.stv-dash-row { display: flex; gap: 16px; }

.stv-dash-kpi {
    flex: 1;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stv-kpi-num { font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.stv-kpi-lbl { font-size: 0.68rem; color: #6b7280; }

.stv-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 110px;
    padding-top: 8px;
}

.stv-bar {
    flex: 1;
    background: rgba(103,107,251,0.3);
    border-radius: 4px 4px 0 0;
}
.stv-bar--active { background: #676bfb; }

.stv-dash-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: #9ca3af;
}
.stv-dash-up { color: #16a34a; font-weight: 600; }

/* Floating stat chip */
.stv-stat-chip {
    position: absolute;
    top: -16px;
    right: -16px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13), 0 0 0 1px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 88px;
}
.stack-card--5 .stv-stat-chip {
    background: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
}

.stv-stat-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: #676bfb;
    line-height: 1;
}
.stack-card--5 .stv-stat-num { color: #676bfb; }

.stv-stat-lbl {
    font-size: 0.64rem;
    color: #6b7280;
    margin-top: 2px;
    text-align: center;
}
.stack-card--5 .stv-stat-lbl { color: #6b7280; }

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .stack-wrapper { padding: 0 32px 100px; }
    .stack-layout  { gap: 48px; padding: 60px 48px; }
}

@media (max-width: 1024px) {
    .stack-layout  { gap: 40px; padding: 48px 40px; }
    .stv-browser   { width: 280px; }
    .stv-dashboard { width: 280px; }
    .stv-phone     { width: 210px; min-height: 310px; }
}

@media (max-width: 768px) {
    /* disable sticky on mobile — natural flow with card look */
    .stack-wrapper { padding: 0 20px 80px; }
    .stack-card    { position: relative; top: 0; overflow: visible; margin-bottom: 16px; }
    .stack-card-inner { height: auto; min-height: unset; border-radius: 16px; }
    .stack-card--2 .stack-card-inner,
    .stack-card--3 .stack-card-inner,
    .stack-card--4 .stack-card-inner,
    .stack-card--5 .stack-card-inner {
        box-shadow: none;
    }
    .stack-layout  {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 48px 28px;
    }
    .stack-visual  { justify-content: center; }
    .stv-phone     { width: 200px; min-height: 300px; }
    .stv-browser   { width: 100%; max-width: 320px; }
    .stv-dashboard { width: 100%; max-width: 320px; }
    .stv-stat-chip { top: -10px; right: -10px; }
}

/* ================================================================
   RESPONSIVE — Platform Pages
   ================================================================ */
@media (max-width: 1024px) {
    .pp-benefits-grid  { grid-template-columns: repeat(2, 1fr); }
    .pp-usecases-grid  { grid-template-columns: repeat(2, 1fr); }
    .pp-stats-grid     { grid-template-columns: repeat(2, 1fr); }
    .pp-feature-row    { grid-template-columns: 1fr; gap: 40px; }
    .pp-feature-row--reverse { direction: ltr; }
    .pp-features-list  { gap: 64px; }
    .pp-feature-visual { aspect-ratio: unset; min-height: 300px; }
}
@media (max-width: 768px) {
    .pp-section        { padding: 64px 0; }
    .pp-steps          { grid-template-columns: 1fr; gap: 40px; }
    .pp-step:not(:last-child)::after { display: none; }
    .pp-cta-section    { padding: 64px 0; }
    .pp-features-list  { gap: 48px; }
}
@media (max-width: 600px) {
    .pp-benefits-grid  { grid-template-columns: 1fr; }
    .pp-usecases-grid  { grid-template-columns: 1fr; }
    .pp-stats-grid     { grid-template-columns: repeat(2, 1fr); }
    .pp-stat-card      { padding: 28px 16px; }
}

/* ============================================================
   BLOG PAGE  (page-blog.php)
   ============================================================ */

/* ── Hero — matches homepage hero-v2 style ── */
.blog-page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(
        170deg,
        #b8cef8 0%,
        #c5d8fb 15%,
        #d4e3fc 30%,
        #e0ebfd 45%,
        #eaeefc 55%,
        #f0ece6 70%,
        #ede7dc 85%,
        #e8e0d4 100%
    );
    overflow: hidden;
    padding: 160px 40px 108px;
}

.bph-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tag pills — same glassmorphism style as homepage */
.bph-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.bph-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.92);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 4px rgba(16,24,40,0.06);
}

.bph-tag svg { color: var(--primary); flex-shrink: 0; }

/* Headline */
.bph-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 4.75rem);
    font-weight: 800;
    line-height: 1.09;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}

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

/* Subtitle */
.bph-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #4b5563;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 40px;
    text-align: center;
}

/* CTA buttons row */
.bph-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

/* Micro copy */
.bph-note {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 44px;
}

/* Stats row — same layout as homepage rating badges */
.bph-stats-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.bph-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bph-stat-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.bph-stat-lbl {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.bph-rating-sep {
    color: #c4c9d4;
    font-size: 1rem;
    line-height: 1;
}

/* ── Featured Post ── */
.blog-featured-section {
    background: #f7f6f3;
    padding: 72px 0 80px;
}

.bf-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 20px 48px rgba(0,0,0,0.08);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.bf-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 32px 72px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

/* ── Image column ── */
.bf-image {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 460px;
    text-decoration: none;
    align-self: stretch;
}

.bf-image-gradient {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.7s ease;
    background: linear-gradient(145deg, #5253cc 0%, #676bfb 35%, #818cf8 65%, #3b82f6 100%);
}

.bf-card:hover .bf-image-gradient { transform: scale(1.03); }

/* Concentric decorative rings */
.bf-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.14);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.bf-ring-1 { width: 180px; height: 180px; border-color: rgba(255,255,255,0.22); }
.bf-ring-2 { width: 300px; height: 300px; }
.bf-ring-3 { width: 440px; height: 440px; border-color: rgba(255,255,255,0.08); }

/* Soft glow spot behind icon */
.bf-icon-glow {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    filter: blur(24px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.bf-image-gradient svg {
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.3));
    transition: transform 0.5s ease;
}
.bf-card:hover .bf-image-gradient svg { transform: scale(1.1) rotate(-5deg); }

/* Category badge */
.bf-image .blogcard-cat {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

/* Floating stat chip on image */
.bf-float-chip {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* ── Content column ── */
.bf-content {
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
}

/* Featured badge */
.bf-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(103,107,251,0.09);
    border: 1px solid rgba(103,107,251,0.2);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-bottom: 18px;
    width: fit-content;
}

/* Meta: date + read time */
.bf-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.bf-dot { font-size: 0.45rem; }

/* Title */
.bf-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.26;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}

/* Key metric highlight block */
.bf-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: #f8f7fd;
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    margin-bottom: 22px;
}
.bf-highlight-num {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -0.03em;
}
.bf-highlight-txt {
    font-size: 0.83rem;
    color: var(--text-body);
    line-height: 1.55;
    padding-top: 4px;
}

/* Excerpt */
.bf-excerpt {
    font-size: 0.94rem;
    color: var(--text-body);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 0;
}

/* Footer: author + CTA */
.bf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.bf-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bf-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #676bfb, #3b82f6);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}
.bf-author-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}
.bf-author-role {
    font-size: 0.73rem;
    color: var(--text-muted);
}

.bf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--text-dark);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, gap 0.2s ease;
    flex-shrink: 0;
}
.bf-cta-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
    gap: 12px;
    color: #ffffff;
}

/* ── Blog Grid Section ── */
.blog-page-grid {
    background: #f8f8fc;
    padding: 80px 0 100px;
}

/* Filter tabs */
.bpg-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 52px;
}

.bft-tab {
    padding: 9px 22px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    line-height: 1;
}

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

.bft-active {
    background: #0d0d0d;
    border-color: #0d0d0d;
    color: #ffffff;
    font-weight: 600;
}

.bft-active:hover {
    background: #0d0d0d;
    border-color: #0d0d0d;
    color: #ffffff;
}

/* Posts grid */
.bpg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

/* Load more button */
.bpg-loadmore {
    text-align: center;
}

.bpg-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #ffffff;
    border: 1px solid #d0d0dc;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.bpg-load-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(103,107,251,0.12);
}

/* Extra gradient variants */
.blogcard-gradient.orange-grad {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 55%, #ec4899 100%);
}

.blogcard-gradient.teal-grad {
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 55%, #3b82f6 100%);
}

/* Extra category badges */
.blogcard-cat.cat-agents {
    background: rgba(103,107,251,0.9);
    color: #fff;
}

.blogcard-cat.cat-sms {
    background: rgba(245,158,11,0.9);
    color: #fff;
}

.blogcard-cat.cat-analytics {
    background: rgba(14,165,233,0.9);
    color: #fff;
}

/* "Read Article" link inside card footer */
.blogcard-read-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.blogcard-read-link:hover { gap: 9px; }

/* ── Newsletter ── */
.blog-newsletter {
    background: #0d0d0d;
    padding: 100px 0;
}

.bln-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.bln-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c7d2fe;
    background: rgba(103,107,251,0.18);
    border: 1px solid rgba(103,107,251,0.3);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.bln-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 18px;
    font-family: var(--font-heading);
}

.bln-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.78;
    margin: 0;
}

.bln-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bln-input-group {
    display: flex;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 6px 6px 6px 18px;
    gap: 8px;
    align-items: center;
}

.bln-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #ffffff;
    font-family: var(--font-body);
    min-width: 0;
}

.bln-input::placeholder {
    color: rgba(255,255,255,0.32);
}

.bln-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, gap 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.bln-btn:hover {
    background: #5558e8;
    gap: 12px;
}

.bln-note {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.28);
    margin: 0;
}

/* ────────────────────────────────────────────────
   Blog Page — Redesigned Components (CWILL style)
   ──────────────────────────────────────────────── */

/* Featured Post — two pill badges at top */
.bf-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.bf-badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4b5563;
    letter-spacing: 0.01em;
    line-height: 1;
}

/* Featured Post — simple author block (name + date, no avatar) */
.bf-author-simple {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
}

.bf-author-name-only {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.2;
}

.bf-author-date {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Blog card — tighter body padding for cleaner look */
.blogcard-body {
    padding: 20px 22px 22px;
}

/* Blog card — category text links below thumbnail */
.blogcard-cats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.blogcard-cat-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.blogcard-cat-link:hover {
    opacity: 0.7;
}

.blogcard-cat-sep {
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 0 4px;
    flex-shrink: 0;
}

/* Blog card — title row with diagonal arrow button */
.blogcard-content-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.blogcard-content-row h3 {
    font-size: 1.08rem;
    line-height: 1.42;
    letter-spacing: -0.015em;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.blogcard-content-row h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blogcard-content-row h3 a:hover {
    color: var(--primary);
}

/* Diagonal arrow button (top-right of card body) */
.blogcard-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    color: #9ca3af;
    flex-shrink: 0;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.blogcard:hover .blogcard-arrow-btn {
    background: #0d0d0d;
    border-color: #0d0d0d;
    color: #ffffff;
}

/* Blog card date */
.blogcard-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ────────────────────────────────────────────────
   Featured Section — Visual Improvements
   ──────────────────────────────────────────────── */

/* Compact section padding */
.blog-featured-section {
    padding: 48px 0 56px;
}

/* Equal columns, more compact */
.bf-card {
    grid-template-columns: 1fr 1fr;
}

/* Reduced image height */
.bf-image {
    min-height: 360px;
}

/* Richer, deeper gradient */
.bf-image-gradient {
    background: linear-gradient(140deg, #312e81 0%, #4338ca 20%, #676bfb 52%, #818cf8 78%, #60a5fa 100%);
}

/* Animated sheen light sweep */
.bf-sheen {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255,255,255,0.07) 50%,
        transparent 70%
    );
    z-index: 1;
    pointer-events: none;
    animation: bfSheen 5s ease-in-out infinite;
}

@keyframes bfSheen {
    0%   { transform: translateX(-120%); }
    55%  { transform: translateX(120%); }
    100% { transform: translateX(120%); }
}

/* Top-left image label badge */
.bf-img-label {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

/* Chips row at bottom of image (replaces single absolute chip) */
.bf-chips-row {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 4;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Chips inside the row are statically positioned */
.bf-chips-row .bf-float-chip {
    position: static;
}

/* Tighter content padding */
.bf-content {
    padding: 32px 38px;
}

/* Compact title */
.bf-title {
    font-size: clamp(1.3rem, 1.8vw, 1.72rem);
    margin-bottom: 14px;
}

/* Excerpt stays flexible height */
.bf-excerpt {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Short colored accent bar at top of content */
.bf-accent-line {
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #818cf8);
    border-radius: 2px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

/* Featured Post pill — purple tinted fill */
.bf-badge-featured {
    background: rgba(103,107,251,0.1);
    border-color: rgba(103,107,251,0.3);
    color: var(--primary);
    font-weight: 600;
}

/* Footer row: author (left) + read button (right) */
.bf-footer-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}

/* Reset author-simple spacing when inside footer-v2 */
.bf-footer-v2 .bf-author-simple {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Read Article button */
.bf-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: var(--text-dark);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease, gap 0.2s ease;
}

.bf-read-btn:hover {
    background: var(--primary);
    gap: 10px;
    color: #ffffff;
}

/* ── Blog Page Responsive ── */
@media (max-width: 1024px) {
    .bf-card          { grid-template-columns: 1fr; }
    .bf-image         { min-height: 300px; }
    .bf-content       { padding: 30px 36px; }
    .bpg-grid         { grid-template-columns: repeat(2, 1fr); }
    .bln-inner        { grid-template-columns: 1fr; gap: 52px; }
    .bf-ring-3        { width: 320px; height: 320px; }
    .bf-chips-row     { gap: 6px; }
}

@media (max-width: 768px) {
    .blog-page-hero   { padding: 120px 24px 80px; }
    .bph-title        { font-size: 2.6rem; }
    .bpg-grid         { grid-template-columns: 1fr; }
    .bpg-filter       { gap: 6px; }
    .bft-tab          { padding: 8px 16px; font-size: 0.82rem; }
    .bf-content       { padding: 28px 24px; }
    .bph-stats-row    { gap: 8px; }
    .bf-footer-v2     { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .blog-page-hero   { padding: 100px 20px 64px; }
    .bph-title        { font-size: 2.1rem; }
    .bph-tags         { gap: 6px; }
    .bph-tag          { font-size: 0.76rem; padding: 5px 11px; }
    .bph-actions      { flex-direction: column; align-items: center; }
}


/* ============================================================
   DEMO PAGE V2 — Zipchat-style Full Split Layout
   ============================================================ */

/* Kill default body background on the demo page */
.demo-page-v2 {
    background: #ffffff;
    margin: 0;
    padding: 0;
}

/* ── Split container ── */
.demo-split {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

/* ================================================================
   LEFT PANEL — Lavender brand showcase
   ================================================================ */
.demo-split-left {
    width: 50%;
    background: url('assets/images/book-demo-left-bg.avif') center center / cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 48px 48px;
}

/* dot-grid overlay removed */
.demo-split-left::before { display: none; }

.demo-split-left > * { position: relative; z-index: 1; }

/* Logo – top-left */
.dsl-logo {
    align-self: flex-start;
    display: block;
    margin-bottom: 0;
}

.dsl-logo img {
    height: 34px;
    width: auto;
}

/* Lime accent marks – top-right corner */
.dsl-accent {
    position: absolute;
    top: 56px;
    right: 56px;
    z-index: 2;
    opacity: 0.9;
}

/* ── Chat card mockup ── */
.dsl-chat-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(80, 60, 140, 0.18);
    overflow: hidden;
    width: 100%;
    max-width: 360px;
    margin: 28px auto 32px;
    flex-shrink: 0;
}

.dcc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f9f9fb;
    border-bottom: 1px solid #f0f0f4;
}

.dcc-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #676bfb, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dcc-header-info { flex: 1; min-width: 0; }

.dcc-brand-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #101828;
    line-height: 1.2;
}

.dcc-online {
    font-size: 0.7rem;
    color: #10b981;
    font-weight: 500;
}

.dcc-online span { color: #10b981; }

.dcc-body {
    padding: 14px 14px 10px;
}

.dcc-ai-msg {
    background: #f3f4f6;
    border-radius: 4px 14px 14px 14px;
    padding: 10px 13px;
    font-size: 0.8rem;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 10px;
    max-width: 92%;
}

.dcc-quick-btns {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dcc-quick-btn {
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 6px 13px;
    font-size: 0.76rem;
    color: #374151;
    background: #ffffff;
    cursor: default;
    text-align: center;
    font-family: var(--font-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dcc-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid #f0f0f4;
    background: #fafafa;
}

.dcc-input-text {
    flex: 1;
    font-size: 0.78rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dcc-send-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #101828;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: default;
    border: none;
}

.dcc-wa-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 14px;
    border-top: 1px solid #f0f0f4;
    font-size: 0.73rem;
    color: #9ca3af;
}

.dcc-wa-label { color: #374151; font-weight: 500; }

.dcc-powered {
    text-align: center;
    font-size: 0.66rem;
    color: #b0b7c3;
    padding: 6px 14px;
    border-top: 1px solid #f5f5f8;
}

/* ── Hero image ── */
.dsl-hero-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.dsl-hero-img img {
    width: 45%;
    max-width: 240px;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* ── Hero text ── */
.dsl-text {
    text-align: center;
    margin-bottom: 36px;
    width: 100%;
}

.dsl-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 800;
    color: #101828;
    line-height: 1.22;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

/* Yellow-green underline highlight on "AI agent" */
.dsl-highlight {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.dsl-highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 5px;
    background: #c8f04d;
    border-radius: 3px;
}

.dsl-text p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.65;
}

/* ── Brand logos ── */
.dsl-brands {
    width: 100%;
    margin-top: auto;
}

.dsl-brands-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    margin-bottom: 14px;
}

.dsl-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 28px;
}

.dsl-logo-row img {
    height: 22px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity 0.2s;
}

.dsl-logo-row img:hover { opacity: 0.75; }

/* ================================================================
   RIGHT PANEL — White booking form
   ================================================================ */
.demo-split-right {
    width: 50%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

/* ── In-panel nav ── */
.dsr-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 18px 40px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}

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

.dsr-search-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
}

.dsr-search-btn:hover { color: var(--primary); }

.dsr-login-btn {
    padding: 7px 18px;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.dsr-login-btn:hover { border-color: #374151; }

.dsr-cta-btn {
    padding: 7px 18px;
    background: #101828;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.dsr-cta-btn:hover { background: #1e3050; color: #ffffff; }

/* ── Form content area ── */
.dsr-content {
    flex: 1;
    padding: 40px 60px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

/* Rating badge */
.dsr-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 18px;
}

.dsr-rating-num { font-weight: 700; }
.dsr-rating-star { color: #f59e0b; font-size: 1rem; }

.dsr-rating-platform {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.shopify-icon {
    filter: invert(68%) sepia(44%) saturate(500%) hue-rotate(49deg) brightness(90%) contrast(92%);
    vertical-align: middle;
}

/* Heading */
.dsr-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #101828;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.035em;
}

.dsr-subtitle {
    font-size: 0.97rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 28px;
}

/* ── Form ── */
.dsr-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dsr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dsr-form input,
.dsr-form select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.93rem;
    color: #374151;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--font-body);
}

.dsr-form input::placeholder { color: #9ca3af; }

.dsr-form input:focus,
.dsr-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(103, 107, 251, 0.1);
}

.dsr-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%236B7280' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
    color: #9ca3af;
}

.dsr-form select option { color: #374151; }

/* Visitor count question */
.dsr-visitors-group { display: flex; flex-direction: column; gap: 8px; }

.dsr-visitors-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.dsr-visitors-opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dsr-visitor-opt {
    padding: 13px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.93rem;
    color: #6b7280;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    text-align: left;
    font-family: var(--font-body);
}

.dsr-visitor-opt:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(103, 107, 251, 0.04);
}

.dsr-visitor-opt.selected {
    border-color: var(--primary);
    background: rgba(103, 107, 251, 0.06);
    color: var(--primary);
    font-weight: 600;
}

/* Privacy */
.dsr-privacy {
    font-size: 0.76rem;
    color: #9ca3af;
    line-height: 1.65;
    text-align: center;
    margin: 0;
}

.dsr-privacy a {
    color: #6b7280;
    text-decoration: underline;
}

/* Schedule CTA button — yellow-green */
.dsr-schedule-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 16px 24px;
    background: #101828;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    font-family: var(--font-body);
}

.dsr-schedule-btn:hover {
    background: #1e2d45;
    transform: translateY(-1px);
}

.dsr-schedule-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

@keyframes dspin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Field wrapper ── */
.dsr-field-wrap { position: relative; }
.dsr-field-full { grid-column: 1 / -1; }

/* ── Phone row ── */
.dsr-phone-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: visible;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dsr-phone-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(103, 107, 251, 0.1);
}

/* Override default border on the tel input inside phone-wrap */
.dsr-phone-wrap input[type="tel"] {
    flex: 1;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 8px 8px 0 !important;
    padding-left: 12px;
    min-width: 0;
}

.dsr-phone-wrap input[type="tel"]:focus {
    outline: none;
    box-shadow: none !important;
}

/* ── Country selector ── */
.dsr-country-select {
    position: relative;
    flex-shrink: 0;
}

.dsr-country-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    height: 100%;
    min-height: 46px;
    background: #f9fafb;
    border: none;
    border-right: 1px solid #e5e7eb;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap;
    transition: background 0.15s;
}

.dsr-country-trigger:hover { background: #f3f4f6; }

.dsr-cc-flag  { font-size: 1.2rem; line-height: 1; }
.dsr-cc-dial  { font-size: 0.85rem; font-weight: 600; color: #374151; }
.dsr-cc-chevron { color: #9ca3af; flex-shrink: 0; transition: transform 0.2s; }

.dsr-country-select.open .dsr-cc-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.dsr-country-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 200;
    width: 280px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden;
}

.dsr-country-select.open .dsr-country-dropdown { display: block; }

.dsr-country-search-wrap {
    padding: 10px 10px 6px;
    border-bottom: 1px solid #f3f4f6;
}

.dsr-country-search {
    width: 100%;
    padding: 7px 10px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    box-shadow: none !important;
}

.dsr-country-search:focus {
    border-color: var(--primary) !important;
    box-shadow: none !important;
    outline: none;
}

.dsr-country-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 220px;
    overflow-y: auto;
}

.dsr-country-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    transition: background 0.12s;
}

.dsr-country-list li:hover,
.dsr-country-list li[aria-selected="true"] { background: #f3f4f6; }
.dsr-country-list li[aria-selected="true"]  { font-weight: 600; }

.dsr-cl-flag  { font-size: 1.1rem; flex-shrink: 0; }
.dsr-cl-name  { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dsr-cl-code  { font-size: 0.8rem; color: #6b7280; flex-shrink: 0; }

/* ── Success/error messages ── */
.dsr-form-error {
    font-size: 0.78rem;
    color: #ef4444;
    margin-top: 4px;
    display: none;
}

/* ================================================================
   RESPONSIVE — Demo Split Layout
   ================================================================ */
@media (max-width: 1100px) {
    .demo-split-left  { padding-right: 36px; padding-bottom: 44px; padding-left: 36px; }
    .dsr-content      { padding-right: 44px; padding-bottom: 44px; padding-left: 44px; }
    .dsr-nav          { padding: 16px 36px; }
}

@media (max-width: 900px) {
    .demo-split       { flex-direction: column; min-height: auto; }
    .demo-split-left,
    .demo-split-right { width: 100%; }
    .demo-split-left  { min-height: auto; padding-right: 32px; padding-bottom: 48px; padding-left: 32px; }
    .dsl-chat-card    { max-width: 340px; }
    .dsr-nav          { padding: 14px 28px; }
    .dsr-content      { padding-right: 32px; padding-bottom: 36px; padding-left: 32px; max-width: 100%; }
    .dsr-title        { font-size: 2rem; }
}

@media (max-width: 600px) {
    .demo-split-left  { padding-right: 20px; padding-bottom: 40px; padding-left: 20px; }
    .dsl-logo img     { height: 28px; }
    .dsl-chat-card    { max-width: 100%; }
    .dsr-nav          { padding: 12px 20px; }
    .dsr-nav-actions  { gap: 8px; }
    .dsr-login-btn,
    .dsr-cta-btn      { padding: 6px 13px; font-size: 0.82rem; }
    .dsr-content      { padding-right: 20px; padding-bottom: 28px; padding-left: 20px; }
    .dsr-title        { font-size: 1.7rem; }
    .dsr-form-row,
    .dsr-visitors-opts { grid-template-columns: 1fr; }
    .dsl-logo-row     { gap: 14px 20px; }
    .dsl-logo-row img { height: 18px; }
}

/* =============================================================
   DEMO SHOWCASE — auto-scrolling channel demos
   ============================================================= */

.demo-showcase {
    background: #0b0f1a;
    padding: 0 0 112px;
    position: relative;
    overflow: hidden;
}

/* ── Top bar ── */
.dshw-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 72px;
}

.dshw-topbar-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.dshw-topbar-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dshw-topbar-login {
    padding: 7px 18px;
    border: 1.5px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: border-color 0.2s, color 0.2s;
}

.dshw-topbar-login:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.dshw-topbar-cta {
    padding: 7px 18px;
    background: #c8f04d;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #101828;
    transition: background 0.2s;
}

.dshw-topbar-cta:hover { background: #d4f566; }

.demo-showcase::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1000px; height: 600px;
    background: radial-gradient(ellipse at 50% 0%, rgba(103,107,251,0.2) 0%, transparent 68%);
    pointer-events: none;
}

.dshw-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.dshw-head,
.dshw-body {
    padding: 0 40px;
}

/* ── Head ── */
.dshw-head {
    text-align: center;
    margin-bottom: 68px;
}

.dshw-eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c8f04d;
    background: rgba(200,240,77,0.1);
    border: 1px solid rgba(200,240,77,0.28);
    border-radius: 50px;
    padding: 5px 16px;
    margin-bottom: 22px;
}

.dshw-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.dshw-title em {
    font-style: normal;
    background: linear-gradient(90deg, #c8f04d 0%, #a5e828 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dshw-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Body grid ── */
.dshw-body {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 56px;
    align-items: center;
}

/* ── Tabs ── */
.dshw-tabs {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dshw-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 20px 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.dshw-tab:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.14);
    transform: translateX(4px);
}

.dshw-tab.active {
    background: rgba(255,255,255,0.09);
    border-color: rgba(200,240,77,0.4);
    transform: translateX(4px);
}

.dshw-tab-icon {
    width: 46px; height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.dshw-tab.active .dshw-tab-icon { transform: scale(1.1); }

.dshw-icon-voice { background: rgba(168,85,247,0.15); color: #c084fc; }
.dshw-icon-wa    { background: rgba(37,211,102,0.15); color: #4ade80; }
.dshw-icon-chat  { background: rgba(96,165,250,0.15); color: #60a5fa; }

.dshw-tab-text strong {
    display: block;
    font-size: 0.97rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.dshw-tab-text span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.42);
}

/* Progress bar */
.dshw-progress-track {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: rgba(255,255,255,0.07);
    border-radius: 0 0 18px 18px;
    overflow: hidden;
}

.dshw-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #c8f04d, #8be610);
    border-radius: 0 0 18px 18px;
}

/* ── Display area ── */
.dshw-display {
    position: relative;
    min-height: 480px;
}

.dshw-panel {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(28px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1),
                transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.dshw-panel.active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* Decorative glow behind each device */
.dshw-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.dshw-glow-voice { width: 320px; height: 320px; background: rgba(168,85,247,0.22); top: -70px; right: -40px; }
.dshw-glow-wa    { width: 320px; height: 320px; background: rgba(37,211,102,0.18); top: -40px; left: -60px; }
.dshw-glow-chat  { width: 320px; height: 320px; background: rgba(96,165,250,0.2);  bottom: -70px; right: -40px; }

/* ── Device shell ── */
.dshw-device {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 430px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.09),
        0 28px 70px rgba(0,0,0,0.6),
        0 4px 18px rgba(0,0,0,0.3);
}

/* =============================================================
   VOICE AI DEVICE
   ============================================================= */
.dshw-voice-device {
    background: linear-gradient(160deg, #1c0935 0%, #130b2a 50%, #0d0f1a 100%);
    color: #fff;
}

.dshw-voice-hdr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
}

.dshw-voice-av {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(168,85,247,0.55);
}

.dshw-voice-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.dshw-voice-status {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.dshw-live-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: livePulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.75); }
}

.dshw-ai-badge {
    margin-left: auto;
    font-size: 0.62rem;
    font-weight: 800;
    color: #c8f04d;
    background: rgba(200,240,77,0.1);
    border: 1px solid rgba(200,240,77,0.3);
    border-radius: 7px;
    padding: 3px 9px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

/* Waveform */
.dshw-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 20px 28px;
    height: 76px;
}

.wvb {
    display: inline-block;
    width: 4px;
    height: var(--h, 20px);
    border-radius: 4px;
    background: linear-gradient(180deg, #a855f7 0%, #7c3aed 100%);
    transform: scaleY(0.25);
    animation: wvAnim 0.65s ease-in-out infinite alternate;
    animation-delay: var(--d, 0s);
    transform-origin: center;
}

.dshw-panel:not(.active) .wvb { animation-play-state: paused; }

@keyframes wvAnim {
    to { transform: scaleY(1); }
}

/* Transcript */
.dshw-transcript {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.dshw-vm-ai, .dshw-vm-user {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.dshw-vm-user { flex-direction: row-reverse; }

.dshw-sp-lbl {
    font-size: 0.58rem;
    font-weight: 800;
    border-radius: 6px;
    padding: 3px 7px;
    flex-shrink: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dshw-sp-lbl:not(.usr) { background: rgba(168,85,247,0.2); color: #c084fc; }
.dshw-sp-lbl.usr        { background: rgba(200,240,77,0.15); color: #c8f04d; }

.dshw-bubble {
    font-size: 0.81rem;
    line-height: 1.55;
    padding: 9px 13px;
    border-radius: 14px;
    max-width: 78%;
}

.dshw-vm-ai .dshw-bubble {
    background: rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.9);
    border-radius: 4px 14px 14px 14px;
}

.dshw-vm-user .dshw-bubble {
    background: rgba(200,240,77,0.14);
    color: #ddf87e;
    border-radius: 14px 4px 14px 14px;
}

/* Voice footer */
.dshw-voice-ftr {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.dshw-btn-end {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: rgba(239,68,68,0.14);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: default;
    font-family: var(--font-body);
}

.dshw-btn-transfer {
    flex: 1.6;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: default;
    font-family: var(--font-body);
}

/* =============================================================
   WHATSAPP DEVICE
   ============================================================= */
.dshw-wa-device { background: #ece5dd; }

.dshw-wa-hdr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #128c7e;
}

.dshw-wa-av {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.dshw-wa-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.dshw-wa-online {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
}

.dshw-wa-body {
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 260px;
    background: #ece5dd;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c5b9aa' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.dshw-wa-out {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 4px;
}

.dshw-wa-in  { display: flex; justify-content: flex-start; }

.dshw-wa-out .dshw-bubble {
    background: #dcf8c6;
    color: #111827;
    border-radius: 14px 4px 14px 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.dshw-wa-in .dshw-bubble {
    background: #fff;
    color: #111827;
    border-radius: 4px 14px 14px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dshw-wa-item {
    display: block;
    padding: 2px 0;
    font-size: 0.8rem;
}

.dshw-wa-tick {
    font-size: 0.62rem;
    color: #53bdeb;
    flex-shrink: 0;
    align-self: flex-end;
    padding-bottom: 3px;
}

.dshw-wa-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    background: #f0f0f0;
    border-top: 1px solid #d9d9d9;
}

.dshw-wa-input-row span {
    font-size: 0.82rem;
    color: #9ca3af;
}

.dshw-wa-input-row button {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #128c7e;
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: default;
}

/* =============================================================
   WEB CHAT DEVICE
   ============================================================= */
.dshw-chat-device { background: #fff; }

.dshw-chat-hdr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: linear-gradient(135deg, #676bfb, #818cf8);
}

.dshw-chat-av {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.dshw-chat-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.dshw-chat-online {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.78);
}

.dshw-chat-online span { color: #4ade80; }

.dshw-chat-body {
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 270px;
    background: #fff;
}

.dshw-ch-in  { display: flex; justify-content: flex-start; }
.dshw-ch-out { display: flex; justify-content: flex-end; }

.dshw-ch-in .dshw-bubble {
    background: #f3f4f6;
    color: #1f2937;
    border-radius: 4px 14px 14px 14px;
}

.dshw-ch-out .dshw-bubble {
    background: linear-gradient(135deg, #676bfb, #818cf8);
    color: #fff;
    border-radius: 14px 4px 14px 14px;
    max-width: 82%;
}

.dshw-chat-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid #f3f4f6;
}

.dshw-chat-input-row span {
    font-size: 0.82rem;
    color: #9ca3af;
}

.dshw-chat-input-row button {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #101828;
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: default;
    color: #fff;
}

/* =============================================================
   MESSAGE REVEAL ANIMATIONS
   ============================================================= */
.dshw-panel .dshw-msg {
    opacity: 0;
    transform: translateY(10px);
}

.dshw-panel.active .dshw-msg {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.dshw-panel.active .dshw-msg:nth-child(1) { transition-delay: 0.35s; }
.dshw-panel.active .dshw-msg:nth-child(2) { transition-delay: 1.0s;  }
.dshw-panel.active .dshw-msg:nth-child(3) { transition-delay: 1.8s;  }
.dshw-panel.active .dshw-msg:nth-child(4) { transition-delay: 2.6s;  }
.dshw-panel.active .dshw-msg:nth-child(5) { transition-delay: 3.2s;  }

/* Typing dots */
.dshw-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    min-height: 16px;
}

.dshw-dots i {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    font-style: normal;
    animation: dotBounce 1.2s ease-in-out infinite;
}

.dshw-voice-device .dshw-dots i { background: rgba(255,255,255,0.5); }
.dshw-wa-device     .dshw-dots i { background: #9ca3af; }
.dshw-chat-device   .dshw-ch-out .dshw-dots i { background: rgba(255,255,255,0.65); }

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

@keyframes dotBounce {
    0%, 60%, 100% { transform: translateY(0);   opacity: 0.5; }
    30%            { transform: translateY(-6px); opacity: 1;   }
}

/* =============================================================
   SHOWCASE RESPONSIVE
   ============================================================= */
@media (max-width: 1060px) {
    .dshw-body { grid-template-columns: 290px 1fr; gap: 40px; }
}

@media (max-width: 860px) {
    .dshw-body {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .dshw-tabs {
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .dshw-tabs::-webkit-scrollbar { display: none; }
    .dshw-tab { min-width: 210px; flex-shrink: 0; }
    .dshw-display { min-height: 400px; }
    .demo-showcase { padding-bottom: 80px; }
}

@media (max-width: 540px) {
    .dshw-topbar { padding: 18px 20px; }
    .dshw-topbar-login { display: none; }
    .dshw-head, .dshw-body { padding: 0 20px; }
    .dshw-tab { min-width: 180px; padding: 16px 16px 24px; }
    .dshw-title { font-size: 1.75rem; }
    .dshw-device { max-width: 100%; }
}

/* =============================================================
   LEGAL PAGES  (Privacy Policy, Terms & Conditions, Disclaimer)
   ============================================================= */

/* ---- Hero ---- */
.legal-hero {
    background: linear-gradient(160deg, #eef1f8 0%, #f5f3ef 100%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 140px 0 60px;
    text-align: center;
}
.legal-hero-inner {
    max-width: 680px;
    margin: 0 auto;
}
.legal-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6366f1;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 100px;
    padding: 4px 14px;
    margin-bottom: 18px;
}
.legal-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #111827;
    line-height: 1.15;
    margin: 0 0 16px;
}
.legal-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 20px;
}
.legal-updated {
    font-size: 0.82rem;
    color: #9ca3af;
    margin: 0;
}
.legal-updated strong {
    color: #6b7280;
}

/* ---- Body layout ---- */
.legal-body {
    padding: 64px 0 100px;
    background: #fff;
}
.legal-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    align-items: start;
}

/* ---- Sticky TOC sidebar ---- */
.legal-toc {
    position: sticky;
    top: 96px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
}
.legal-toc-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 14px;
}
.legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.legal-toc ul li a {
    display: block;
    font-size: 0.82rem;
    color: #4b5563;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
}
.legal-toc ul li a:hover {
    background: rgba(99,102,241,0.08);
    color: #6366f1;
}

/* ---- Content ---- */
.legal-content {
    min-width: 0;
}
.legal-section {
    padding-bottom: 44px;
    margin-bottom: 44px;
    border-bottom: 1px solid #f3f4f6;
}
.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.legal-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px;
    scroll-margin-top: 100px;
}
.legal-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 24px 0 10px;
}
.legal-section p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.75;
    margin: 0 0 14px;
}
.legal-section p:last-child {
    margin-bottom: 0;
}
.legal-section ul {
    padding-left: 20px;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.legal-section ul li {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}
.legal-section ul li strong {
    color: #111827;
    font-weight: 600;
}
.legal-section a {
    color: #6366f1;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-section a:hover {
    color: #4f46e5;
}

/* ---- Highlight box ---- */
.legal-highlight {
    background: rgba(99,102,241,0.06);
    border-left: 3px solid #6366f1;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.65;
    margin-top: 16px;
}

/* ---- Contact card ---- */
.legal-contact-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 16px 0;
}
.legal-contact-card p {
    margin: 4px 0 !important;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .legal-toc {
        position: static;
    }
}
@media (max-width: 600px) {
    .legal-hero { padding: 110px 0 44px; }
    .legal-body  { padding: 40px 0 64px; }
    .legal-section h2 { font-size: 1.2rem; }
}

/* =============================================================
   DEMO TOPNAV — absolute nav spanning both split panels
   ============================================================= */

.demo-topnav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

.demo-topnav-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.demo-topnav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-topnav-search {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #374151;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.demo-topnav-search:hover { color: #101828; }

.demo-topnav-login {
    padding: 7px 18px;
    border: 1.5px solid #d1d5db;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.demo-topnav-login:hover {
    border-color: #9ca3af;
    color: #101828;
}

.demo-topnav-cta {
    padding: 7px 18px;
    background: #101828;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    transition: background 0.2s;
    white-space: nowrap;
}

.demo-topnav-cta:hover { background: #1e2d45; }

/* Ensure left panel clears the absolute nav */
.demo-split-left {
    padding-top: 88px;
}

/* Ensure right panel clears the absolute nav */
.dsr-content {
    padding-top: 104px;
}

/* Update accent mark position to clear nav */
.dsl-accent {
    top: 96px;
}

/* =============================================================
   DSL-SHOWCASE — semi-transparent card inside left panel
   ============================================================= */

.dsl-showcase {
    display: none;
}

/* Tab buttons hidden — device animations still run via JS */
.dsl-showcase .dshw-tabs {
    display: none;
}

.dsl-showcase .dshw-tab {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.dsl-showcase .dshw-tab.active {
    background: rgba(200, 240, 77, 0.12);
    border-color: rgba(200, 240, 77, 0.35);
}

.dsl-showcase .dshw-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.dsl-showcase .dshw-tab-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dsl-showcase .dshw-icon-voice { background: rgba(103, 107, 251, 0.25); color: #818cf8; }
.dsl-showcase .dshw-icon-wa    { background: rgba(37, 211, 102, 0.2);  color: #25d366; }
.dsl-showcase .dshw-icon-chat  { background: rgba(59, 130, 246, 0.2);  color: #60a5fa; }

.dsl-showcase .dshw-tab-text {
    flex: 1;
    min-width: 0;
}

.dsl-showcase .dshw-tab-text strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.dsl-showcase .dshw-tab-text span {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dsl-showcase .dshw-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.dsl-showcase .dshw-progress-fill {
    height: 100%;
    width: 0;
    background: #c8f04d;
}

/* Compact display area — device mockup hidden, animations keep running */
.dsl-showcase .dshw-display {
    display: none;
}

.dsl-showcase .dshw-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.dsl-showcase .dshw-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Scale down devices to fit inside the compact card */
.dsl-showcase .dshw-device {
    transform: scale(0.82);
    transform-origin: center center;
}

/* =============================================================
   RESPONSIVE — Demo topnav + showcase
   ============================================================= */

@media (max-width: 1100px) {
    .demo-topnav { padding: 18px 32px; }
    .dsl-showcase { grid-template-columns: 160px 1fr; }
}

@media (max-width: 900px) {
    .demo-topnav {
        padding: 16px 24px;
        position: relative;
    }
    .demo-split-left { padding-top: 40px; }
    .dsr-content     { padding-top: 40px; }
    .dsl-accent      { top: 16px; }
    .dsl-showcase    {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    /* Hide tab labels on mobile — animations keep running */
    .dsl-showcase .dshw-tabs { display: none; }
    .dsl-showcase .dshw-display { min-height: 280px; }
}

@media (max-width: 600px) {
    .demo-topnav { padding: 14px 16px; }
    .demo-topnav-search { display: none; }
    .demo-topnav-login  { display: none; }
    .demo-topnav-cta    { padding: 6px 14px; font-size: 0.8rem; }
    .dsl-showcase       { padding: 12px; gap: 10px; }
    .dsl-showcase .dshw-display { min-height: 240px; }
    .dsl-showcase .dshw-device  { transform: scale(0.7); }
}
