/* ===================================================
   AUTOMATIKPRO MARKETING SITE — MAIN STYLESHEET
   =================================================== */

/* CSS Variables */
:root {
    --primary:       #2563EB;
    --primary-light: #3B82F6;
    --primary-dark:  #1D4ED8;
    --dark:          #0F172A;
    --gray:          #64748B;
    --gray-light:    #94A3B8;
    --gray-border:   #E2E8F0;
    --bg-page:       #F8FAFC;
    --bg-card:       #FFFFFF;
    --bg-section:    #F1F5F9;
    --success:       #10B981;
    --warning:       #F59E0B;
    --text-body:     #334155;
    --text-muted:    #475569;

    --radius-sm:  6px;
    --radius:     12px;
    --radius-lg:  18px;
    --radius-xl:  24px;
    --shadow-sm:  0 1px 4px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    --shadow:     0 4px 24px rgba(37,99,235,0.12);
    --shadow-lg:  0 8px 48px rgba(37,99,235,0.18);
    --font:       -apple-system, 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
    --transition: 0.22s ease;
    --container:  1200px;
}

/* =====================
   RESET
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: var(--font); background: var(--bg-page); color: var(--text-body); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; transition: color var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
ul, ol { list-style: none; }

/* =====================
   LAYOUT UTILITIES
   ===================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: -0.01em;
    line-height: 1;
}
.btn-sm   { padding: 9px 20px;  font-size: 14px; }
.btn-lg   { padding: 14px 30px; font-size: 16px; }
.btn-xl   { padding: 18px 44px; font-size: 18px; font-weight: 700; border-radius: var(--radius-lg); }
.btn-block { width: 100%; justify-content: center; padding: 14px 24px; font-size: 15px; border-radius: var(--radius); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,99,235,0.5); filter: brightness(1.07); }

.btn-outline {
    background: #fff;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-ghost {
    background: rgba(37,99,235,0.07);
    color: var(--primary);
    border-color: rgba(37,99,235,0.18);
}
.btn-ghost:hover { background: rgba(37,99,235,0.14); transform: translateY(-2px); }

/* =====================
   SECTION HEADERS
   ===================== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(37,99,235,0.08);
    color: var(--primary-dark);
    border: 1px solid rgba(37,99,235,0.18);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.section-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}
.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-border);
    box-shadow: 0 2px 20px rgba(37,99,235,0.08);
}
.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-logo { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.nav-logo-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.03em;
}
.nav-logo-text span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color var(--transition); }
.nav-login:hover { color: var(--dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* =====================
   HERO
   ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #EFF6FF 0%, #F0F9FF 60%, #F8FAFC 100%);
    padding: 110px 0 80px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 1;
    pointer-events: none;
}
.orb-1 { width: 650px; height: 650px; background: rgba(37,99,235,0.09); top: -240px; right: -120px; animation: float1 10s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: rgba(59,130,246,0.07); bottom: -100px; left: -60px;  animation: float2 12s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; background: rgba(29,78,216,0.05); top: 45%; left: 38%;           animation: float3 14s ease-in-out infinite; }

.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.hero-content { max-width: 560px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 28px;
}
.badge-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
.hero-title { font-size: clamp(38px, 5.5vw, 62px); font-weight: 900; line-height: 1.08; color: var(--dark); margin-bottom: 22px; letter-spacing: -0.035em; }
.hero-subtitle { font-size: 18px; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; max-width: 490px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13px; color: var(--gray-light); }

/* Hero mockup */
.hero-mockup { position: relative; animation: floatMockup 7s ease-in-out infinite; }
.mockup-window {
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(37,99,235,0.12), 0 0 0 1px rgba(37,99,235,0.08);
}
.mockup-bar {
    background: #F8FAFC;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--gray-border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.red    { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green  { background: #28C940; }
.mockup-url { flex: 1; text-align: center; font-size: 11px; color: var(--gray-light); font-family: 'SF Mono', 'Consolas', monospace; }
.mockup-body { display: flex; height: 330px; }
.mockup-sidebar {
    width: 52px;
    background: #F1F5F9;
    border-right: 1px solid var(--gray-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 0;
    gap: 4px;
}
.sidebar-item {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
}
.sidebar-item svg { width: 16px; height: 16px; stroke: var(--gray-light); }
.sidebar-item.active { background: rgba(37,99,235,0.1); }
.sidebar-item.active svg { stroke: var(--primary); }
.mockup-main { flex: 1; padding: 16px; overflow: hidden; }
.mockup-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mockup-greeting { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.mockup-plan { font-size: 10px; padding: 3px 8px; background: rgba(37,99,235,0.1); color: var(--primary); border-radius: 100px; font-weight: 700; }
.mockup-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; }
.stat-card { background: #F8FAFC; border: 1px solid var(--gray-border); border-radius: var(--radius-sm); padding: 10px; }
.stat-num   { font-size: 20px; font-weight: 800; color: var(--dark); line-height: 1; }
.stat-label { font-size: 8px; color: var(--gray-light); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-delta { font-size: 9px; color: var(--success); font-weight: 600; margin-top: 2px; }
.mockup-contacts { display: flex; flex-direction: column; gap: 7px; }
.contact-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    background: #F8FAFC;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
}
.contact-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.avatar-blue   { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.avatar-green  { background: linear-gradient(135deg, #10B981, #059669); }
.avatar-purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.contact-info { flex: 1; min-width: 0; }
.contact-name   { display: block; font-size: 10px; font-weight: 600; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-detail { display: block; font-size: 9px; color: var(--gray-light); }
.contact-badge { flex-shrink: 0; font-size: 8px; font-weight: 700; padding: 2px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-new    { background: rgba(37,99,235,0.1);   color: var(--primary); }
.badge-appt   { background: rgba(16,185,129,0.12); color: #059669; }
.badge-review { background: rgba(245,158,11,0.12); color: #D97706; }

/* =====================
   TRUST BAR
   ===================== */
.trust-bar {
    background: var(--bg-section);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    padding: 40px 0;
}
.trust-bar-inner { text-align: center; }
.trust-headline { font-size: 13px; color: var(--gray-light); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 28px; }
.trust-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.trust-stat {
    text-align: center;
    padding: 0 36px;
    border-right: 1px solid var(--gray-border);
}
.trust-stat:last-child { border-right: none; }
.trust-stat-number { font-size: 32px; font-weight: 900; color: var(--dark); letter-spacing: -0.03em; line-height: 1; }
.trust-stat-label  { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* =====================
   INDUSTRIES GRID
   ===================== */
.industries { padding: 104px 0; background: #fff; }
.industries-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.industry-card {
    background: var(--bg-page);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 24px 8px 20px;
    text-align: center;
    transition: all 0.25s;
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    cursor: pointer;
}
.industry-card:hover {
    background: rgba(37,99,235,0.05);
    border-color: rgba(37,99,235,0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(37,99,235,0.12);
}
.industry-icon { font-size: 28px; line-height: 1; }
.industry-name { font-size: 11px; font-weight: 600; color: var(--text-muted); line-height: 1.3; }
.industry-card:hover .industry-name { color: var(--primary-dark); }

/* =====================
   FEATURES
   ===================== */
.features { padding: 104px 0; background: var(--bg-section); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-5px); }
.feature-icon {
    width: 48px; height: 48px;
    background: rgba(37,99,235,0.07);
    border: 1px solid rgba(37,99,235,0.14);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--primary); }
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* =====================
   HOW IT WORKS
   ===================== */
.how-it-works { padding: 104px 0; background: #fff; }
.steps { display: flex; align-items: center; gap: 0; justify-content: center; }
.step {
    flex: 1; max-width: 280px;
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-page);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.step:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(37,99,235,0.1); }
.step-num {
    font-size: 48px; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, rgba(37,99,235,0.5), rgba(29,78,216,0.25));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 18px;
}
.step-icon {
    width: 52px; height: 52px;
    margin: 0 auto 16px;
    background: rgba(37,99,235,0.07);
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 22px; height: 22px; stroke: var(--primary); }
.step h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.step p   { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.step-connector { font-size: 26px; color: rgba(37,99,235,0.3); padding: 0 6px; flex-shrink: 0; }

/* =====================
   PRICING
   ===================== */
.pricing { padding: 104px 0; background: var(--bg-section); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pricing-card {
    background: #fff;
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    position: relative;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.pricing-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.04);
    background: linear-gradient(180deg, #EFF6FF 0%, #fff 100%);
}
.pricing-featured:hover { transform: scale(1.04) translateY(-5px); }
.featured-badge {
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 5px 20px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
    letter-spacing: 0.03em;
}
.plan-name   { font-size: 12px; font-weight: 800; color: var(--gray); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.12em; }
.plan-price  { display: flex; align-items: baseline; gap: 2px; margin-bottom: 10px; }
.price-cur   { font-size: 20px; font-weight: 700; color: var(--gray); padding-top: 6px; }
.price-amt   { font-size: 58px; font-weight: 900; color: var(--dark); line-height: 1; letter-spacing: -0.04em; }
.price-per   { font-size: 15px; color: var(--gray); font-weight: 500; padding-bottom: 4px; }
.plan-desc   { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 28px; min-height: 40px; }
.plan-features { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--gray-border); padding-top: 24px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-body); }
.check { color: var(--success); font-weight: 700; flex-shrink: 0; line-height: 1.5; font-size: 15px; }
.pricing-note { text-align: center; margin-top: 40px; font-size: 14px; color: var(--gray); }

/* =====================
   INDUSTRY PAGE SPECIFICS
   ===================== */
.industry-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #EFF6FF 0%, #F0F9FF 100%);
    padding: 130px 0 80px;
    overflow: hidden;
    position: relative;
}
.industry-hero .container { position: relative; z-index: 1; text-align: center; max-width: 820px; }
.industry-hero .hero-badge { margin: 0 auto 28px; }
.industry-hero .hero-title { font-size: clamp(34px, 5vw, 58px); font-weight: 900; color: var(--dark); line-height: 1.1; margin-bottom: 22px; letter-spacing: -0.03em; }
.industry-hero .hero-subtitle { font-size: 18px; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; }
.industry-hero .hero-ctas { justify-content: center; }
.industry-hero .hero-note { text-align: center; }

/* Pain Points */
.pain-points { padding: 96px 0; background: #fff; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
    background: var(--bg-page);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.pain-card:hover { border-color: rgba(37,99,235,0.25); box-shadow: var(--shadow); transform: translateY(-4px); }
.pain-icon { font-size: 32px; margin-bottom: 16px; line-height: 1; }
.pain-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.pain-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Features List */
.features-list { padding: 96px 0; background: var(--bg-section); }
.features-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }
.feature-item {
    display: flex; align-items: flex-start; gap: 14px;
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
}
.feature-item:hover { border-color: rgba(37,99,235,0.25); transform: translateX(3px); }
.feature-check {
    width: 28px; height: 28px; flex-shrink: 0;
    background: rgba(16,185,129,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--success); font-weight: 700;
}
.feature-item p { font-size: 14px; color: var(--text-body); line-height: 1.55; margin: 0; }

/* Social Proof */
.social-proof { padding: 80px 0; background: #fff; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-stat {
    text-align: center;
    background: var(--bg-section);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
}
.proof-number { font-size: 44px; font-weight: 900; color: var(--primary); letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.proof-label  { font-size: 15px; color: var(--text-muted); font-weight: 500; }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: #fff; margin-bottom: 20px; letter-spacing: -0.02em; }
.cta-banner p  { font-size: 17px; color: rgba(255,255,255,0.82); margin-bottom: 36px; }
.btn-white { background: #fff; color: var(--primary-dark); font-weight: 700; }
.btn-white:hover { background: #F0F9FF; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }

/* =====================
   FOOTER
   ===================== */
.footer { background: var(--dark); padding: 80px 0 32px; }
.footer-top {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 64px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-text { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 14px; }
.footer-logo-text span { color: var(--primary-light); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 24px; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer-col a  { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.35); }

/* =====================
   ANIMATIONS
   ===================== */
@keyframes float1 { 0%,100% { transform: translateY(0); }       50% { transform: translateY(-20px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); }       50% { transform: translateY(15px); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); }     33% { transform: translate(10px,-8px); } 66% { transform: translate(-8px,8px); } }
@keyframes floatMockup { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes pulse { 0%,100% { opacity:1; transform: scale(1); } 50% { opacity:0.4; transform: scale(0.75); } }

.animate-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-subtitle, .hero-note { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-mockup { display: none; }
    .industries-grid { grid-template-columns: repeat(4, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pricing-featured { transform: none; }
    .pricing-featured:hover { transform: translateY(-5px); }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .trust-stats { gap: 0 16px; }
    .trust-stat { padding: 0 20px; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: fixed; inset: 70px 0 0 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        padding: 40px 28px; gap: 24px; z-index: 999;
        border-top: 1px solid var(--gray-border);
    }
    .nav-links.open a { font-size: 20px; color: var(--dark); font-weight: 600; }
    .hamburger { display: flex; }
    .hero { padding: 90px 0 60px; min-height: auto; }
    .hero-title { font-size: 34px; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .pain-grid { grid-template-columns: 1fr; }
    .features-list-grid { grid-template-columns: 1fr; }
    .proof-stats { grid-template-columns: 1fr; gap: 16px; }
    .steps { flex-direction: column; align-items: center; gap: 12px; }
    .step-connector { transform: rotate(90deg); font-size: 20px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .trust-stats { flex-direction: column; gap: 24px; }
    .trust-stat { border-right: none; padding: 0; }
    section { padding: 72px 0 !important; }
}
@media (max-width: 480px) {
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-links { grid-template-columns: 1fr; }
    .hero-title { font-size: 30px; }
}

/* =====================================================================
   CONVERSION ENHANCEMENTS — Announcement, Email Form, Counter,
   Testimonials, ROI Calc, AI Chat, Exit Popup, Sticky CTA
   ===================================================================== */

/* ── Announcement Bar ─────────────────────────────────────── */
.announcement-bar {
    background: #0F172A;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1100;
    line-height: 1.4;
}
.announcement-bar a {
    color: #60A5FA;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(96,165,250,0.4);
}
.announcement-bar a:hover { color: #93C5FD; }
.announcement-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 20px;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}
.announcement-close:hover { color: #fff; }

/* ── Hero Email Capture Form ──────────────────────────────── */
.hero-email-form {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 520px;
    margin-bottom: 14px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(37,99,235,0.22);
}
.hero-email-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    font-family: var(--font);
    border: 2px solid transparent;
    border-right: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    outline: none;
    background: #fff;
    color: var(--dark);
    min-width: 0;
    transition: border-color 0.2s;
}
.hero-email-input::placeholder { color: var(--gray-light); }
.hero-email-input:focus { border-color: var(--primary-light); }
.hero-email-btn {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0 !important;
    white-space: nowrap;
    padding: 14px 24px !important;
    font-size: 15px !important;
}
.hero-watch-demo-wrap {
    margin-top: 14px;
}

/* ── Live Signup Counter ──────────────────────────────────── */
.signup-counter-bar {
    background: linear-gradient(90deg, #FFF7ED 0%, #FEF3C7 100%);
    border-top: 1px solid #FDE68A;
    border-bottom: 1px solid #FDE68A;
    text-align: center;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #92400E;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.signup-counter-bar span:last-child { display: inline; }
#signupCount {
    font-weight: 800;
    color: #B45309;
    font-variant-numeric: tabular-nums;
}
.signup-counter-flame { font-size: 18px; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials {
    background: var(--bg-section);
    padding: 96px 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}
.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 36px 32px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37,99,235,0.13);
}
.testimonial-quote-mark {
    font-size: 72px;
    line-height: 0.6;
    color: var(--primary-light);
    opacity: 0.18;
    font-family: Georgia, serif;
    font-weight: 700;
    position: absolute;
    top: 24px;
    left: 28px;
}
.testimonial-stars {
    color: #F59E0B;
    font-size: 18px;
    letter-spacing: 2px;
    margin-top: 8px;
}
.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-border);
    margin-top: auto;
}
.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.testimonial-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
}
.testimonial-biz {
    font-size: 13px;
    color: var(--gray-light);
}

/* ── ROI Calculator ───────────────────────────────────────── */
.roi-calculator {
    background: var(--bg-page);
    padding: 96px 0;
}
.roi-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 48px 48px 40px;
    box-shadow: 0 8px 48px rgba(37,99,235,0.10);
    max-width: 800px;
    margin: 56px auto 0;
    border: 1px solid var(--gray-border);
}
.roi-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}
.roi-input-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.roi-slider-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}
.roi-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gray-border) 0%);
    outline: none;
    cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(37,99,235,0.4);
    cursor: pointer;
    border: 3px solid #fff;
}
.roi-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(37,99,235,0.4);
    cursor: pointer;
    border: 3px solid #fff;
}
.roi-slider-val {
    min-width: 60px;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.roi-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.roi-result-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 15px;
    flex-wrap: wrap;
}
.roi-result-bad  { background: #FEF2F2; border: 1px solid #FCA5A5; }
.roi-result-good { background: #F0FDF4; border: 1px solid #86EFAC; }
.roi-result-label { font-weight: 700; white-space: nowrap; }
.roi-result-bad  .roi-result-label { color: #DC2626; }
.roi-result-good .roi-result-label { color: #16A34A; }
.roi-result-detail { flex: 1; color: var(--text-muted); }
.roi-result-amount { font-weight: 700; white-space: nowrap; }
.roi-result-bad  .roi-result-amount { color: #DC2626; }
.roi-result-good .roi-result-amount { color: #16A34A; }
.roi-result-highlight {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 2px solid #6EE7B7;
    border-radius: var(--radius);
    padding: 20px 24px;
    font-size: 20px;
    font-weight: 700;
    color: #065F46;
    text-align: center;
    margin-top: 4px;
}
.roi-result-highlight span {
    color: #059669;
    font-size: 26px;
}
.roi-cta { text-align: center; margin-top: 28px; }

/* ── AI Chat Widget Section ───────────────────────────────── */
.ai-chat-section {
    background: linear-gradient(160deg, #0F172A 0%, #1E3A5F 100%);
    padding: 96px 0;
    color: #fff;
}
.ai-chat-section .section-badge {
    background: rgba(96,165,250,0.15);
    color: #93C5FD;
    border: 1px solid rgba(96,165,250,0.3);
}
.ai-chat-section h2 { color: #fff; }
.ai-chat-section .section-sub { color: #94A3B8; }
.ai-chat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.ai-chat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.22s, border-color 0.22s, background 0.22s;
    position: relative;
}
.ai-chat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96,165,250,0.4);
    background: rgba(255,255,255,0.1);
}
.ai-chat-featured {
    background: rgba(37,99,235,0.25);
    border-color: rgba(96,165,250,0.45);
    box-shadow: 0 8px 40px rgba(37,99,235,0.3);
}
.ai-chat-tier-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
}
.launch-badge { background: rgba(16,185,129,0.15); color: #6EE7B7; border: 1px solid rgba(16,185,129,0.3); }
.grow-badge   { background: rgba(37,99,235,0.25);  color: #93C5FD; border: 1px solid rgba(96,165,250,0.4); }
.scale-badge  { background: rgba(168,85,247,0.15); color: #D8B4FE; border: 1px solid rgba(168,85,247,0.3); }
.ai-chat-icon { font-size: 40px; }
.ai-chat-card h3 { font-size: 22px; font-weight: 700; color: #fff; }
.ai-chat-card p  { font-size: 14px; color: #94A3B8; line-height: 1.65; }
.ai-chat-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.ai-chat-features li {
    font-size: 14px;
    color: #CBD5E1;
    font-weight: 500;
}

/* ── Exit-Intent Popup ────────────────────────────────────── */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.exit-popup-overlay.visible {
    opacity: 1;
    pointer-events: all;
}
.exit-popup-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 48px 44px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.28);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.3s ease;
}
.exit-popup-overlay.visible .exit-popup-card {
    transform: translateY(0) scale(1);
}
.exit-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 24px;
    color: var(--gray-light);
    line-height: 1;
    padding: 6px 10px;
    transition: color 0.2s;
}
.exit-popup-close:hover { color: var(--dark); }
.exit-popup-emoji { font-size: 48px; margin-bottom: 8px; }
.exit-popup-headline {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.25;
}
.exit-popup-sub {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}
.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.exit-popup-email {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    font-family: var(--font);
    border: 2px solid var(--gray-border);
    border-radius: var(--radius);
    outline: none;
    color: var(--dark);
    transition: border-color 0.2s;
}
.exit-popup-email:focus { border-color: var(--primary); }
.exit-popup-btn { font-size: 16px !important; padding: 15px 24px !important; }
.exit-popup-dismiss {
    font-size: 13px;
    color: var(--gray-light);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}
.exit-popup-dismiss:hover { color: var(--gray); }

/* ── Sticky CTA Bar ───────────────────────────────────────── */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #0F172A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    z-index: 9998;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
    gap: 16px;
}
.sticky-cta-bar.visible {
    transform: translateY(0);
}
.sticky-cta-text {
    font-size: 14px;
    font-weight: 500;
    color: #CBD5E1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
.sticky-cta-btn {
    white-space: nowrap;
    padding: 9px 22px !important;
    font-size: 14px !important;
    flex-shrink: 0;
}
.sticky-cta-close {
    color: rgba(255,255,255,0.5);
    font-size: 20px;
    line-height: 1;
    padding: 4px 8px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.sticky-cta-close:hover { color: #fff; }

/* ── Responsive additions ─────────────────────────────────── */
@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .ai-chat-grid { grid-template-columns: 1fr; }
    .roi-inputs { grid-template-columns: 1fr; }
    .roi-card { padding: 32px 24px 28px; }
    .hero-email-form { flex-direction: column; border-radius: var(--radius); overflow: visible; box-shadow: none; }
    .hero-email-input { border-radius: var(--radius) !important; border-right: 2px solid transparent; margin-bottom: 10px; }
    .hero-email-btn { border-radius: var(--radius) !important; }
    .sticky-cta-text { display: none; }
    .exit-popup-card { padding: 36px 24px 28px; }
    .exit-popup-headline { font-size: 22px; }
    .announcement-bar { font-size: 13px; padding-right: 40px; }
    .signup-counter-bar { font-size: 14px; }
}

/* ── Video demo ── */
.video-demo { padding: 5rem 0; background: #f8fafc; }
.video-wrap { position: relative; border-radius: 20px; overflow: hidden; cursor: pointer; box-shadow: 0 20px 60px rgba(0,0,0,.18); max-width: 860px; margin: 3rem auto 0; aspect-ratio: 16/9; background: #0f172a; }
.video-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); }
.video-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(37,99,235,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.08) 1px, transparent 1px); background-size: 40px 40px; }
.video-mockup-preview { position: absolute; top: 12%; left: 5%; width: 44%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; overflow: hidden; backdrop-filter: blur(4px); }
.vmp-bar { display: flex; align-items: center; gap: 5px; padding: .5rem .75rem; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); }
.vmp-body { padding: .75rem; display: flex; flex-direction: column; gap: .4rem; }
.vmp-stat { font-size: .72rem; color: #94a3b8; background: rgba(255,255,255,.05); border-radius: 6px; padding: .35rem .6rem; }
.video-play-btn { position: relative; z-index: 2; width: 80px; height: 80px; border: none; background: none; cursor: pointer; transition: transform .2s; }
.video-play-btn:hover { transform: scale(1.1); }
.video-play-btn svg { width: 80px; height: 80px; filter: drop-shadow(0 4px 16px rgba(0,0,0,.4)); }
.video-duration { position: absolute; bottom: 14px; right: 16px; background: rgba(0,0,0,.65); color: #e2e8f0; font-size: .75rem; font-weight: 600; padding: .25rem .6rem; border-radius: 6px; z-index: 2; }
.video-iframe { width: 100%; height: 100%; border: none; }
.video-chapters { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; max-width: 860px; margin-left: auto; margin-right: auto; }
.video-chapter { display: flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 999px; padding: .4rem .9rem; font-size: .8rem; cursor: default; transition: border-color .15s; }
.video-chapter:hover { border-color: #2563EB; }
.vc-time { font-weight: 700; color: #2563EB; }
.vc-label { color: #475569; }
@media (max-width: 640px) { .video-mockup-preview { display: none; } .video-play-btn { width: 60px; height: 60px; } .video-play-btn svg { width: 60px; height: 60px; } }

/* ── Partner brands strip ── */
.brands-strip { padding: 2rem 0; background: #f9fafb; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.brands-label { text-align: center; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; margin-bottom: 1.2rem; }
.brands-scroll { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; padding: 0 1rem; }
.brand-badge { background: var(--bc, #2E90E8); color: #fff; font-size: .8rem; font-weight: 700; padding: .45rem 1.1rem; border-radius: 999px; opacity: .9; white-space: nowrap; }

/* ── Industry pills nav ── */
.industry-pills-nav { background: #fff; border-bottom: 1px solid #e5e7eb; overflow-x: auto; scrollbar-width: none; }
.industry-pills-nav::-webkit-scrollbar { display: none; }
.pills-inner { display: flex; gap: .5rem; padding: .75rem 1.5rem; white-space: nowrap; width: max-content; min-width: 100%; }
.pill { background: #f3f4f6; color: #374151; font-size: .8rem; font-weight: 600; padding: .4rem 1rem; border-radius: 999px; text-decoration: none; transition: background .15s, color .15s; }
.pill:hover { background: #2563EB; color: #fff; }

/* ── Case study ── */
.case-study { padding: 5rem 0; background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); color: #fff; }
.case-study-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.case-study-tag { display: inline-block; background: rgba(37,99,235,.2); color: #60a5fa; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 999px; border: 1px solid rgba(96,165,250,.3); margin-bottom: 1.5rem; }
.case-study h2 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.case-study-sub { color: #94a3b8; font-size: 1.05rem; max-width: 620px; margin: 0 auto 3rem; }
.case-study-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.cs-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 1.5rem 1rem; }
.cs-num { font-size: 2.2rem; font-weight: 900; color: #60a5fa; line-height: 1; margin-bottom: .4rem; }
.cs-label { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.cs-note { font-size: .78rem; color: #94a3b8; }
.case-study-quote { background: rgba(255,255,255,.05); border-left: 4px solid #2563EB; border-radius: 0 12px 12px 0; padding: 1.5rem 2rem; margin: 0 0 2.5rem; text-align: left; font-style: italic; font-size: 1.05rem; color: #e2e8f0; }
.case-study-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .85rem; color: #94a3b8; font-weight: 600; }

/* ── Comparison table ── */
.comparison { padding: 5rem 0; }
.comparison-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 600px; }
.comparison-table thead tr { background: #0f172a; color: #fff; }
.comparison-table th { padding: 1rem 1.2rem; text-align: left; font-weight: 700; font-size: .85rem; }
.comparison-table th.col-us { background: #2563EB; color: #fff; }
.comparison-table td { padding: .85rem 1.2rem; border-bottom: 1px solid #f0f0f0; }
.comparison-table td.col-us { background: #eff6ff; font-weight: 600; color: #1d4ed8; }
.comparison-table tbody tr:hover td { background: #fafafa; }
.comparison-table tbody tr:hover td.col-us { background: #dbeafe; }

/* ── Add-ons ── */
.addons { padding: 5rem 0; background: #f9fafb; }
.addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.addon-card { background: #fff; border: 1.5px solid #e5e7eb; border-radius: 16px; padding: 1.8rem; position: relative; transition: box-shadow .2s, transform .2s; }
.addon-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.addon-card.addon-featured { border-color: #2563EB; box-shadow: 0 4px 24px rgba(37,99,235,.15); }
.addon-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #2563EB; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap; }
.addon-icon { font-size: 2rem; margin-bottom: .75rem; }
.addon-price { font-size: 1.6rem; font-weight: 900; color: #0f172a; margin-bottom: .5rem; }
.addon-price span { font-size: .8rem; font-weight: 500; color: #6b7280; }
.addon-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: #0f172a; }
.addon-card p { font-size: .88rem; color: #6b7280; line-height: 1.55; margin-bottom: 1.2rem; }

/* ── FAQ ── */
.faq { padding: 5rem 0; }
.faq-grid { max-width: 780px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border: 1.5px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; background: #fff; border: none; padding: 1.1rem 1.4rem; text-align: left; font-size: .95rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #0f172a; transition: background .15s; }
.faq-q:hover { background: #f8fafc; }
.faq-q.open { background: #eff6ff; color: #1d4ed8; }
.faq-arrow { font-size: 1.1rem; transition: transform .2s; flex-shrink: 0; }
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.4rem 1.2rem; background: #f8fafc; }
.faq-a.open { display: block; }
.faq-a p { font-size: .9rem; color: #475569; line-height: 1.65; margin: 0; padding-top: .75rem; }

/* ── Demo booking section ── */
.demo-section { padding: 5rem 0; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); }
.demo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.demo-text h2 { font-size: clamp(1.5rem,2.5vw,2.2rem); font-weight: 800; line-height: 1.2; margin: 1rem 0; color: #0f172a; }
.demo-text p { color: #475569; font-size: 1rem; line-height: 1.65; margin-bottom: 1.5rem; }
.demo-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.demo-perks li { font-size: .92rem; color: #334155; }
.demo-form-wrap { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: 0 8px 40px rgba(0,0,0,.1); }
.demo-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.2rem; color: #0f172a; }
.demo-input { width: 100%; padding: .75rem 1rem; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: .9rem; margin-bottom: .75rem; box-sizing: border-box; outline: none; transition: border-color .15s; font-family: inherit; color: #0f172a; background: #fff; }
.demo-input:focus { border-color: #2563EB; }
.demo-note { font-size: .78rem; color: #94a3b8; text-align: center; margin-top: .5rem; }
@media (max-width: 768px) { .demo-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* =====================================================================
   MOBILE / RESPONSIVE — Marketing Site
   ===================================================================== */

/* ── Base mobile fixes ── */
@media (max-width: 768px) {
  /* Navbar */
  .nav-container { padding: 0 1rem; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e5e7eb; padding: 1rem; gap: .5rem; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 999; }
  .nav-links a { padding: .6rem .5rem; font-size: .95rem; border-radius: 8px; }
  .nav-links a:hover { background: #f3f4f6; }

  /* Hero */
  .hero { padding-top: 5rem; }
  .container { padding: 0 16px; }
  .hero .container { flex-direction: column; gap: 2rem; text-align: center; }
  .hero-content { align-items: center; }
  .hero-title { font-size: clamp(2rem, 8vw, 3.5rem); }
  .hero-email-form { flex-direction: column; gap: .75rem; }
  .hero-email-input, .hero-email-btn { width: 100%; border-radius: 12px !important; }
  .hero-mockup { width: 100%; max-width: 420px; margin: 0 auto; }

  /* Trust bar */
  .trust-stats { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .trust-stat-number { font-size: 1.5rem; }

  /* Brands */
  .brands-scroll { gap: .5rem; }

  /* Industry pills */
  .pills-inner { padding: .6rem 1rem; gap: .4rem; }
  .pill { font-size: .75rem; padding: .35rem .75rem; }

  /* Industries grid */
  .industries-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .industry-card { padding: .9rem .6rem; }
  .industry-icon { font-size: 1.5rem; }
  .industry-name { font-size: .72rem; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Case study stats */
  .case-study-stats { grid-template-columns: 1fr 1fr; }
  .cs-num { font-size: 1.8rem; }
  .case-study-quote { padding: 1rem 1.2rem; font-size: .95rem; }

  /* ROI Calculator */
  .roi-card { padding: 1.5rem 1rem; }
  .roi-inputs { flex-direction: column; gap: 1rem; }

  /* How it works */
  .steps { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); }

  /* Video */
  .video-wrap { border-radius: 12px; }
  .video-chapters { gap: .5rem; }
  .video-chapter { font-size: .75rem; padding: .35rem .7rem; }

  /* AI Chat */
  .ai-chat-grid { grid-template-columns: 1fr; }

  /* Comparison table */
  .comparison-table { font-size: .78rem; }
  .comparison-table th, .comparison-table td { padding: .65rem .8rem; }

  /* Add-ons */
  .addons-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* FAQ */
  .faq-q { font-size: .88rem; padding: .9rem 1.1rem; }

  /* Demo section */
  .demo-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }

  /* Exit popup */
  .exit-popup-card { margin: 1rem; padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  /* Industries grid — 2 cols on very small screens */
  .industries-grid { grid-template-columns: repeat(2, 1fr); }

  /* Features — 1 col */
  .features-grid { grid-template-columns: 1fr; }

  /* Case study stats — 1 col */
  .case-study-stats { grid-template-columns: 1fr 1fr; }

  /* Add-ons — 1 col */
  .addons-grid { grid-template-columns: 1fr; }

  /* Trust stats */
  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: .5rem; }

  /* Pricing note */
  .pricing-note { font-size: .75rem; }

  /* Footer links */
  .footer-links { grid-template-columns: 1fr; }

  /* Announcement bar */
  .announcement-bar { font-size: .75rem; padding: .5rem 2.5rem .5rem .75rem; }

  /* Sticky CTA */
  .sticky-cta-text { display: none; }
  .sticky-cta-btn { width: auto; font-size: .85rem; }

  /* HIPAA */
  .hipaa-callout-inner { flex-direction: column; text-align: center; }
  .addon-hipaa-list { font-size: .78rem; }
}

/* ── HIPAA compliance styles ── */
.hipaa-callout {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}
.hipaa-callout-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hipaa-shield {
  font-size: 2rem;
  flex-shrink: 0;
}
.hipaa-callout-text {
  font-size: .88rem;
  color: #1E3A5F;
  line-height: 1.5;
}
.hipaa-callout-text strong {
  color: #1D4ED8;
}
.hipaa-callout-text a {
  color: #1D4ED8;
  font-weight: 700;
  text-decoration: none;
}
.hipaa-callout-text a:hover {
  text-decoration: underline;
}
.feature-card-hipaa {
  background: linear-gradient(135deg, #F0FDF4 0%, #EFF6FF 100%) !important;
  border: 1.5px solid #86EFAC !important;
}
.feature-icon-hipaa {
  background: #DCFCE7 !important;
  color: #16A34A !important;
}
.hipaa-tag {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 99px;
  margin-left: .35rem;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.addon-hipaa {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%) !important;
  border: 2px solid #1D4ED8 !important;
  position: relative;
}
.addon-badge-hipaa {
  background: #1D4ED8 !important;
  color: #fff !important;
}
.addon-hipaa-list {
  list-style: none;
  padding: 0;
  margin: .75rem 0 1rem;
  font-size: .82rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.addon-hipaa-list li {
  color: #15803D;
  font-weight: 600;
}

/* ── Integrations section ── */
.integrations-section {
  padding: 5rem 0;
  background: #F8FAFC;
}
.int-tabs {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.int-tab {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 99px;
  padding: .45rem 1.1rem;
  font-size: .8rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.int-tab:hover  { border-color: #2563EB; color: #2563EB; }
.int-tab.active { background: #2563EB; border-color: #2563EB; color: #fff; }
.int-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: .85rem;
  margin-bottom: 1.5rem;
}
.int-card-home {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  transition: border-color .15s, box-shadow .15s;
}
.int-card-home:hover {
  border-color: #2563EB;
  box-shadow: 0 2px 12px rgba(37,99,235,.1);
}
.int-card-home.hidden { display: none; }
.int-zapier-card {
  border-color: #FED7AA;
  background: #FFF7ED;
}
.int-icon {
  font-size: 1.3rem;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}
.int-info { flex: 1; min-width: 0; }
.int-name {
  font-size: .82rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.int-type {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  padding: .12rem .45rem;
  border-radius: 99px;
  margin-top: .2rem;
}
.int-type.native  { background: #DCFCE7; color: #15803D; }
.int-type.zapier  { background: #EFF6FF; color: #1D4ED8; }
.int-type.webhook { background: #EFF6FF; color: #1D4ED8; }
.int-footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: .85rem;
  color: #334155;
  margin-bottom: 1.25rem;
}
.int-footer-link {
  color: #2563EB;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.int-footer-link:hover { text-decoration: underline; }
.int-legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .75rem;
  color: #64748B;
}
.int-legend-item { display: flex; align-items: center; gap: .5rem; }

@media (max-width: 640px) {
  .int-grid-home { grid-template-columns: 1fr 1fr; }
  .int-footer-note { flex-direction: column; text-align: center; }
  .int-legend { gap: .75rem; }
}

/* ── Existing website section ─────────────────────────────────────────── */
.existing-site-section { padding: 5rem 0; background: #F8FAFC; }
.existing-site-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.existing-site-left .section-badge { margin-bottom: 1rem; }
.existing-site-left h2 { font-size: clamp(1.75rem,3vw,2.4rem); margin-bottom: 1rem; }

/* Platform chips */
.existing-platforms { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.platform-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1.5px solid #E2E8F0;
  border-radius: 99px; padding: .3rem .85rem;
  font-size: .8rem; font-weight: 600; color: #334155;
}
.platform-chip img { border-radius: 2px; }

/* Benefits list */
.existing-benefits { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.existing-benefit { display: flex; align-items: flex-start; gap: .85rem; }
.eb-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: .05rem; }
.existing-benefit strong { font-size: .9rem; color: #1E293B; display: block; margin-bottom: .15rem; }
.existing-benefit span { font-size: .82rem; color: #64748B; line-height: 1.45; }

/* Code snippet card */
.snippet-card {
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.snippet-header {
  background: #1e293b;
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.snippet-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.snippet-filename { font-size: .72rem; color: #64748B; margin-left: .5rem; font-family: monospace; }
.snippet-body { padding: 1.25rem 1.5rem; }
.snippet-pre {
  margin: 0; font-family: monospace; font-size: 13px;
  line-height: 1.7; white-space: pre-wrap; word-break: break-all;
}
.snip-comment { color: #64748B; }
.snip-tag     { color: #93c5fd; }
.snip-attr    { color: #a5f3fc; }
.snip-val     { color: #86efac; }
.snippet-result {
  background: #1e293b;
  padding: 1rem 1.5rem;
  border-top: 1px solid #334155;
}
.snippet-result-items { display: flex; flex-wrap: wrap; gap: .5rem .85rem; margin-bottom: .6rem; }
.snippet-result-item  { font-size: .78rem; color: #a5f3fc; font-weight: 600; }
.snippet-result-note  { font-size: .72rem; color: #475569; }

@media (max-width: 900px) {
  .existing-site-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .existing-site-left h2 { text-align: center; }
  .existing-site-left .section-badge { display: block; text-align: center; }
  .existing-site-left .section-sub { text-align: center !important; max-width: 100% !important; }
  .existing-platforms { justify-content: center; }
  .existing-site-left a.btn-primary { display: block !important; text-align: center; }
}
