/* The home page stylesheet (English and Arabic home pages). The booking carousel's style stays inline in
   the page: ar.css adjusts the same selectors on /ar and has to load before it. */
/* ─────────────────────────────────────────
   DESIGN TOKENS — Deep Navy Blue Theme
───────────────────────────────────────── */
:root {
    /* Lighter, more vibrant blue palette */
    --bg-darkest:  #0d1f3c;
    --bg-dark:     #122040;
    --bg-mid:      #1a2f56;
    --bg-card:     rgba(20, 42, 76, 0.88);
    --bg-glass:    rgba(13, 31, 60, 0.85);

    --primary:        #3b82f6;
    --primary-dark:   #2563eb;
    --primary-light:  #93c5fd;
    --primary-glow:   rgba(59, 130, 246, 0.28);

    --sky:        #0ea5e9;
    --sky-light:  #7dd3fc;
    --indigo:     #818cf8;
    --teal:       #2dd4bf;
    --emerald:    #34d399;
    --amber:      #fbbf24;
    --rose:       #fb7185;
    --whatsapp:   #25D366;

    --border:        rgba(59, 130, 246, 0.22);
    --border-strong: rgba(147, 197, 253, 0.35);
    --text-main:     #eef4ff;
    --text-muted:    #93b4d8;
    --text-dim:      #7ca5cc;

    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@font-face {
    /* Flags for platforms that ship none (Windows). Twemoji flags, CC-BY 4.0 by
       Twitter, packaged as country-flag-emoji-polyfill. Scoped to the
       regional-indicator code points, so it never affects normal text. */
    font-family: 'Twemoji Country Flags';
    src: url('/assets/fonts/TwemojiCountryFlags.woff2') format('woff2');
    unicode-range: U+1F1E6-1F1FF;
    font-display: swap;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Twemoji Country Flags', 'Inter', sans-serif;
    background-color: var(--bg-darkest);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Twemoji Country Flags', 'Outfit', sans-serif;
    line-height: 1.2;
    color: var(--text-main);
}

/* ─── Grid utilities ─── */
.container { max-width: 1200px; margin: 0 auto; }

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 0.9rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--bg-glass);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 0.9rem; }
.nav-logo   { height: 36px; width: auto; }
.wa-badge {
    background: rgba(37,211,102,0.1); color: var(--whatsapp);
    border: 1px solid rgba(37,211,102,0.25);
    padding: 0.22rem 0.7rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 600;
    display: flex; align-items: center; gap: 0.35rem;
}
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a {
    color: var(--text-main); text-decoration: none;
    font-weight: 500; font-size: 0.875rem; transition: var(--transition);
}
.nav-links a:hover { color: var(--primary-light); }
.lang-switch {
    margin-left: 1.4rem; padding: 0.3rem 0.8rem; border: 1px solid var(--border-strong); border-radius: 999px;
    color: var(--text-muted); font-size: 0.85rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.lang-switch:hover { color: var(--primary-light); border-color: var(--primary-light); }

/* ─── Buttons ─── */
.btn {
    padding: 0.7rem 1.4rem; border-radius: 999px;
    font-weight: 600; text-decoration: none; border: none;
    font-family: 'Inter', sans-serif; font-size: 0.9rem;
    transition: var(--transition); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.btn-sm    { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-lg    { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-xl    { padding: 1.1rem 2.6rem; font-size: 1.1rem; }
.btn-ghost { background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text-main); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--border-strong); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--indigo));
    color: white; box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.55); }
.btn-sky {
    background: linear-gradient(135deg, var(--sky), var(--primary));
    color: white; box-shadow: 0 4px 20px rgba(14,165,233,0.35);
}
.btn-sky:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(14,165,233,0.5); }
.btn-amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white; box-shadow: 0 4px 20px rgba(245,158,11,0.35);
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,158,11,0.5); }

/* ─── Pill labels ─── */
.pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(37,99,235,0.1); color: var(--primary-light);
    border: 1px solid rgba(37,99,235,0.25);
    padding: 0.3rem 1rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.6px;
    text-transform: uppercase; margin-bottom: 1.25rem;
}
.pill-sky  { background: rgba(14,165,233,0.1); color: var(--sky-light); border-color: rgba(14,165,233,0.25); }
.pill-teal { background: rgba(20,184,166,0.1); color: #5eead4; border-color: rgba(20,184,166,0.25); }

/* ─── Section headers ─── */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header h2 { font-size: 2.7rem; margin-bottom: 1rem; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; }
.section { padding: 5rem 5%; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 9rem 5% 5rem;
    position: relative; overflow: hidden;
}
.hero-bg-glow {
    position: absolute; pointer-events: none; z-index: 0;
}
.hero-bg-glow-1 {
    width: 800px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 70%);
    top: -100px; left: 50%; transform: translateX(-50%);
}
.hero-bg-glow-2 {
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
    bottom: 100px; right: 5%;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero h1 {
    font-size: 4.4rem; font-weight: 800;
    letter-spacing: -1.5px; margin-bottom: 1.5rem;
    line-height: 1.08;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--sky-light), var(--primary-light), #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 1.2rem; color: var(--text-muted);
    max-width: 680px; margin: 0 auto 2.5rem;
    line-height: 1.75;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 1.2rem; }
.hero-social-proof {
    display: flex; align-items: center; gap: 1.5rem; justify-content: center;
    margin-top: 3.5rem; padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}
.proof-stat { text-align: center; }
.proof-num  { font-family: 'Outfit', sans-serif; font-size: 1.85rem; font-weight: 800; color: white; }
.proof-label{ font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }
.proof-divider { width: 1px; height: 40px; background: var(--border); }

/* "New" announcement chip above the hero headline */
.hero-announce {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.3);
    color: var(--text-main); text-decoration: none;
    padding: 0.3rem 0.95rem 0.3rem 0.3rem; border-radius: 999px;
    font-size: 0.85rem; font-weight: 500; margin-bottom: 1.6rem;
    transition: var(--transition);
}
.hero-announce:hover { border-color: rgba(37,211,102,0.55); background: rgba(37,211,102,0.13); }
.hero-announce .new-tag {
    background: var(--whatsapp); color: #06301a;
    padding: 0.15rem 0.6rem; border-radius: 999px;
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
}
.hero-price-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 1.2rem; }
.hero-price-note strong { color: white; }
.hero-price-note s { color: var(--text-dim); margin-right: 0.2rem; }

/* ─────────────────────────────────────────
   TRUSTED LOGOS BAR
───────────────────────────────────────── */
.trust-bar {
    padding: 2.5rem 5%;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
    max-width: 900px; margin: 0 auto;
    text-align: center;
}
.trust-bar p {
    font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.5rem;
}
.trust-industries {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}
.industry-chip {
    background: rgba(37,99,235,0.08); border: 1px solid var(--border);
    color: var(--text-muted); padding: 0.4rem 1rem; display: inline-flex; align-items: center; gap: 0.35rem;
    border-radius: 999px; font-size: 0.82rem; font-weight: 500;
}

/* ─────────────────────────────────────────
   FEATURE CARDS
───────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.feature-card::after {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0; transition: opacity 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(96,165,250,0.1);
}
.feature-card:hover::after { opacity: 1; }

/* SVG icon container */
.feat-icon-wrap {
    width: 52px; height: 52px; border-radius: var(--radius-sm);
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.feat-icon-wrap svg { width: 26px; height: 26px; }

.feat-icon-sky   { background: rgba(14,165,233,0.12); border-color: rgba(14,165,233,0.2); }
.feat-icon-indigo{ background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.2); }
.feat-icon-teal  { background: rgba(20,184,166,0.12); border-color: rgba(20,184,166,0.2); }
.feat-icon-amber { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.2); }
.feat-icon-rose  { background: rgba(244,63,94,0.12);  border-color: rgba(244,63,94,0.2); }

.feature-card h3  { font-size: 1.15rem; margin-bottom: 0.55rem; }
.feature-card p   { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }
.feat-label {
    display: inline-block; margin-top: 1rem;
    padding: 0.18rem 0.6rem; border-radius: 4px;
    font-size: 0.73rem; font-weight: 700;
}
.feat-label-core   { background: rgba(37,99,235,0.15); color: var(--primary-light); }
.feat-label-pro    { background: rgba(14,165,233,0.15); color: var(--sky-light); }
.feat-label-ent    { background: rgba(245,158,11,0.15); color: #fbbf24; }
.feat-label-addon  { background: rgba(37,211,102,0.13); color: #6ee7a0; }
.feature-card.feature-new { border-color: rgba(37,211,102,0.35); }

/* ─────────────────────────────────────────
   SPLIT SECTIONS
───────────────────────────────────────── */
.split-wrap {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}

.split-content h2   { font-size: 2.4rem; margin-bottom: 1rem; }
.split-content .lead{ color: var(--text-muted); font-size: 1rem; margin-bottom: 2rem; line-height: 1.75; }

.benefit-list { list-style: none; }
.benefit-list li {
    display: flex; gap: 1rem; align-items: flex-start;
    margin-bottom: 1.5rem;
}
.benefit-icon {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.2);
    display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 18px; height: 18px; }
.benefit-list h3 { font-size: 1rem; margin-bottom: 0.2rem; color: white; }
.benefit-list p  { font-size: 0.875rem; color: var(--text-muted); }

/* Inline dashboard mockup — WHITE theme to match actual app */
.dash-mock {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(59,130,246,0.08);
}
.dash-mock-hdr {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #e9edf2; padding-bottom: 1rem; margin-bottom: 1.25rem;
}
.dash-mock-hdr h4 { font-size: 0.95rem; color: #1e293b; font-weight: 700; }

.kpi-row { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; }
.kpi-box {
    flex: 1; min-width: 0; background: #f8fafc;
    border: 1px solid #e2e8f0; border-radius: var(--radius-sm);
    padding: 0.85rem; text-align: center;
}
.kpi-val   { font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 700; color: #1e293b; }
.kpi-label { font-size: 0.72rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.4px; margin-top: 0.2rem; }
.kpi-box.accent-sky   { background: #eff8ff; border-color: #bae6fd; }
.kpi-box.accent-sky .kpi-val { color: #0369a1; }
.kpi-box.accent-green { background: #f0fdf4; border-color: #bbf7d0; }
.kpi-box.accent-green .kpi-val { color: #15803d; }

.bar-group { margin-bottom: 0.75rem; }
.bar-meta  { display: flex; justify-content: space-between; font-size: 0.8rem; color: #64748b; margin-bottom: 0.35rem; }
.bar-track { height: 7px; background: #e9edf2; border-radius: 4px; overflow: hidden; }
.bar-fill  { height: 100%; border-radius: 4px; }

.convo-row {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.65rem 0; border-bottom: 1px solid #f1f5f9;
}
.convo-avatar {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.8rem; color: white;
}
.convo-meta { flex: 1; min-width: 0; }
.convo-name { font-size: 0.85rem; color: #1e293b; font-weight: 600; }
.convo-preview { font-size: 0.78rem; color: #6b7f98; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo-badge {
    font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem;
    border-radius: 999px; flex-shrink: 0;
}
.badge-open     { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.badge-resolved { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

/* ─────────────────────────────────────────
   USE CASES
───────────────────────────────────────── */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
    gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}
.uc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    transition: var(--transition); position: relative; overflow: hidden;
}
.uc-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-strong);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.uc-icon-wrap {
    width: 60px; height: 60px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; font-size: 1.6rem;
}
.uc-card h3  { font-size: 1.3rem; margin-bottom: 0.35rem; }
.uc-tag      { font-size: 0.8rem; color: var(--primary-light); font-weight: 600; margin-bottom: 1.25rem; display: block; }
.uc-list     { list-style: none; }
.uc-list li  {
    display: flex; gap: 0.6rem; align-items: flex-start;
    font-size: 0.875rem; color: var(--text-muted);
    padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.03);
}
.uc-list li:last-child { border-bottom: none; }
.uc-check { color: var(--emerald); font-weight: 700; flex-shrink: 0; margin-top: 1px; font-size: 0.9rem; }

/* ─────────────────────────────────────────
   PRICING
───────────────────────────────────────── */
.new-pricing-banner {
    max-width: 760px; margin: -2rem auto 2.25rem;
    display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(59,130,246,0.1));
    border: 1px solid rgba(16,185,129,0.3); border-radius: 999px;
    padding: 0.6rem 1.25rem; text-align: center;
    font-size: 0.9rem; color: var(--text-main);
}
.new-pricing-banner .nb-tag {
    background: var(--emerald); color: #053b2a;
    padding: 0.15rem 0.6rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
}
.new-pricing-banner .nb-free { color: #6ee7b7; font-weight: 700; }

.billing-toggle {
    display: flex; justify-content: center; margin-bottom: 3.5rem;
}
.billing-toggle-inner {
    display: inline-flex; gap: 0.25rem; padding: 0.3rem;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px;
}
.billing-opt {
    border: none; background: transparent; cursor: pointer;
    color: var(--text-muted); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem;
    padding: 0.6rem 1.3rem; border-radius: 999px; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.billing-opt:hover { color: white; }
.billing-opt[aria-pressed="true"] {
    background: linear-gradient(135deg, var(--primary), var(--indigo)); color: white;
    box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}
.save-tag {
    background: rgba(16,185,129,0.18); color: #6ee7b7;
    padding: 0.12rem 0.5rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 700;
}
.billing-opt[aria-pressed="true"] .save-tag { background: rgba(255,255,255,0.2); color: white; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 1.25rem; max-width: 1200px; margin: 0 auto 4rem;
    align-items: start;
}
.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    position: relative; transition: var(--transition);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,0.4); }

/* Recommended */
.plan-card.recommended {
    border-color: var(--amber);
    box-shadow: 0 0 0 1px rgba(245,158,11,0.2), 0 20px 40px rgba(0,0,0,0.4);
    background: linear-gradient(145deg, rgba(11,29,54,0.95), rgba(15,35,65,0.95));
}
.plan-badge {
    position: absolute; top: 0; left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.3rem 1.1rem; border-radius: 999px;
    font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.badge-rec { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; box-shadow: 0 4px 12px rgba(245,158,11,0.4); }

.plan-name  { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.9rem; }
.plan-was {
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
    min-height: 1.5rem; margin-bottom: 0.15rem;
}
.plan-was s   { color: var(--text-dim); font-size: 0.95rem; font-weight: 500; }
.plan-save {
    background: rgba(16,185,129,0.15); color: #6ee7b7;
    border: 1px solid rgba(16,185,129,0.3);
    padding: 0.08rem 0.5rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 700;
}
.plan-price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.35rem; }
.plan-price .cur     { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.plan-price .amount  { font-family: 'Outfit', sans-serif; font-size: 2.6rem; font-weight: 800; color: white; line-height: 1; }
.plan-price .unit    { font-size: 0.9rem; color: var(--text-muted); }
.plan-period { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; min-height: 1.3rem; }
.plan-setup  { font-size: 0.78rem; color: var(--text-muted); margin: -0.7rem 0 1rem; min-height: 1.2rem; }
.plan-setup.is-waived {
    display: inline-block; min-height: 0;
    background: rgba(16,185,129,0.15); color: #6ee7b7;
    border: 1px solid rgba(16,185,129,0.3); border-radius: 8px;
    padding: 0.2rem 0.6rem; font-weight: 700; line-height: 1.45;
}

/* Add-ons listed inside a plan card */
.plan-addons {
    border-top: 1px dashed var(--border-strong);
    padding-top: 1rem; margin: -0.5rem 0 1.5rem;
}
.plan-addons-title {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: #6ee7a0; margin-bottom: 0.5rem;
}
.plan-addons ul { list-style: none; }
.plan-addons li {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 0.83rem; color: var(--text-muted); padding: 0.25rem 0;
}
.plan-addons .pa-plus { color: #6ee7a0; font-weight: 700; flex-shrink: 0; }

.plan-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.6rem; line-height: 1.6; }

.plan-feats { list-style: none; margin-bottom: 1.75rem; }
.plan-feats li {
    display: flex; align-items: center; gap: 0.65rem;
    font-size: 0.845rem; color: var(--text-muted);
    padding: 0.42rem 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.plan-feats li:last-child { border-bottom: none; }
.plan-feats .pf-check { color: var(--emerald); font-weight: 700; flex-shrink: 0; }
.plan-feats .pf-cross  { color: var(--text-dim); flex-shrink: 0; }
.plan-feats strong { color: var(--text-main); }

/* Custom plan special */
.custom-body {
    padding: 1.25rem; border-radius: var(--radius-md);
    background: rgba(37,99,235,0.06); border: 1px solid var(--border);
    margin-bottom: 1.75rem;
}
.custom-body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.custom-body .custom-tag {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(99,102,241,0.1); color: #a5b4fc;
    padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ─── Comparison table ─── */
.table-wrap { overflow-x: auto; max-width: 1200px; margin: 0 auto; }
.cmp-table {
    width: 100%; border-collapse: collapse; min-width: 680px;
}
.cmp-table th, .cmp-table td {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    text-align: left; font-size: 0.875rem;
}
.cmp-table th {
    font-family: 'Outfit', sans-serif; font-size: 1rem;
    background: var(--bg-mid); color: white;
}
.cmp-table th:first-child { border-top-left-radius: var(--radius-sm); }
.cmp-table th:last-child  { border-top-right-radius: var(--radius-sm); }
.cmp-table tr:hover td { background: rgba(37,99,235,0.03); }
.cmp-table .sect-row td {
    background: rgba(37,99,235,0.05);
    color: var(--primary-light); font-weight: 700;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;
    padding: 0.55rem 1.25rem;
}
.ci { color: var(--emerald); font-weight: 700; }
.cx { color: var(--text-dim); }
.ct { color: white; font-weight: 600; }

/* ─────────────────────────────────────────
   FAQ
───────────────────────────────────────── */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-cat-title {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--primary-light);
    margin-bottom: 0.85rem; padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.faq-cat { margin-bottom: 2.5rem; }
.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius-md);
    margin-bottom: 0.65rem; overflow: hidden; transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-q {
    width: 100%; background: var(--bg-card); border: none;
    padding: 1.1rem 1.25rem; text-align: left; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    color: white; font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 500;
}
.faq-arrow { color: var(--primary-light); font-size: 0.85rem; flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
    background: rgba(7,18,35,0.5);
}
.faq-a p { padding: 1rem 1.25rem; color: var(--text-muted); font-size: 0.875rem; line-height: 1.75; }
.faq-a a { color: var(--primary-light); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────
   META AI AGENT
───────────────────────────────────────── */
.pill-wa { background: rgba(37,211,102,0.1); color: #6ee7a0; border-color: rgba(37,211,102,0.3); }
.agent-section { position: relative; overflow: hidden; }
.agent-section::before {
    content: ''; position: absolute; pointer-events: none;
    width: 700px; height: 700px; border-radius: 50%;
    right: -200px; top: 50%; transform: translateY(-50%);
    background: radial-gradient(circle, rgba(37,211,102,0.08) 0%, transparent 65%);
}
.agent-section .split-wrap { position: relative; }
.agent-section .benefit-icon { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.25); }
.agent-avail {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    margin-top: 0.5rem;
}
.agent-avail-note { font-size: 0.85rem; color: var(--text-muted); }
.agent-avail-note strong { color: white; }

.wa-chat {
    max-width: 430px; margin: 0 auto; width: 100%;
    border-radius: 28px; overflow: hidden;
    background: #efeae2;
    box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 8px #0b1a33, 0 0 0 9px var(--border-strong);
    font-family: 'Inter', sans-serif;
}
.wa-chat-hdr {
    display: flex; align-items: center; gap: 0.7rem;
    background: #ffffff; padding: 0.85rem 1rem; border-bottom: 1px solid #e5e7eb;
}
.wa-chat-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: white; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
}
.wa-chat-name { font-size: 0.92rem; font-weight: 600; color: #111b21; display: flex; align-items: center; gap: 0.3rem; }
.wa-chat-status { font-size: 0.74rem; color: #059669; }
.wa-chat-body { padding: 1rem 0.9rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.wa-day {
    align-self: center; background: #ffffff; color: #54656f;
    font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 6px; margin-bottom: 0.25rem;
}
.wa-msg {
    max-width: 82%; padding: 0.45rem 0.65rem 0.3rem; border-radius: 10px;
    font-size: 0.84rem; line-height: 1.45; color: #111b21;
    box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.wa-msg .wa-time { display: block; direction: ltr; text-align: right; font-size: 0.64rem; color: #667781; margin-top: 0.15rem; }
.wa-in  { align-self: flex-start; background: #ffffff; border-top-left-radius: 2px; }
.wa-out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.wa-ai-tag {
    display: flex; align-items: center; gap: 0.25rem;
    font-size: 0.64rem; font-weight: 700; color: #0f766e; letter-spacing: 0.3px;
    text-transform: uppercase; margin-bottom: 0.15rem;
}
.wa-rtl { direction: rtl; text-align: right; }
.wa-rtl .wa-time { text-align: left; }
.wa-handoff {
    align-self: center; display: inline-flex; align-items: center; gap: 0.35rem;
    background: #fff7e6; color: #92400e; border: 1px solid #fde68a;
    font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 999px;
    margin: 0.2rem 0;
}

/* ─────────────────────────────────────────
   COEXISTENCE
───────────────────────────────────────── */
.coex-section {
    background: linear-gradient(135deg, rgba(37,211,102,0.06), rgba(59,130,246,0.06));
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.coex-visual { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.coex-panel { width: 100%; border-radius: var(--radius-md); overflow: hidden; }
.coex-panel-hdr {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 0.9rem; font-size: 0.78rem; font-weight: 600;
}
.coex-phone { background: #efeae2; box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.coex-phone .coex-panel-hdr { background: #fff; color: #111b21; border-bottom: 1px solid #e5e7eb; }
.coex-phone-body { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.45rem; }
.coex-bubble {
    max-width: 86%; padding: 0.45rem 0.65rem 0.3rem; border-radius: 10px;
    font-size: 0.82rem; line-height: 1.45; color: #111b21; box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.coex-bubble .t { display: block; text-align: right; font-size: 0.63rem; color: #667781; margin-top: 0.1rem; }
.coex-in  { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.coex-out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.coex-sync {
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.35);
    color: #6ee7a0; font-size: 0.78rem; font-weight: 700;
    padding: 0.3rem 0.9rem; border-radius: 999px;
}
.coex-app { background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 16px 40px rgba(0,0,0,0.28); }
.coex-app .coex-panel-hdr { background: #f8fafc; color: #1e293b; border-bottom: 1px solid #e9edf2; }
.coex-row {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.6rem 0.9rem; border-bottom: 1px solid #f1f5f9;
}
.coex-row:last-child { border-bottom: none; }
.coex-avatar {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.72rem; color: #fff;
}
.coex-row-meta { flex: 1; min-width: 0; }
.coex-row-name { font-size: 0.82rem; color: #1e293b; font-weight: 600; }
.coex-row-prev { font-size: 0.75rem; color: #6b7f98; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coex-tag {
    font-size: 0.66rem; font-weight: 700; padding: 0.12rem 0.45rem;
    border-radius: 999px; flex-shrink: 0; white-space: nowrap;
}
.coex-tag-phone { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.coex-tag-team  { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }

/* ─────────────────────────────────────────
   CTA
───────────────────────────────────────── */
.cta-section {
    text-align: center; padding: 7rem 5%;
    background: radial-gradient(ellipse at center top, rgba(37,99,235,0.2) 0%, var(--bg-darkest) 65%);
    border-top: 1px solid var(--border);
}
.cta-section h2 { font-size: 3.2rem; margin-bottom: 1.25rem; line-height: 1.1; }
.cta-section p  { color: var(--text-muted); font-size: 1.1rem; max-width: 580px; margin: 0 auto 2.5rem; }
.cta-buttons    { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.cta-note       { font-size: 0.8rem; color: var(--text-dim); margin-top: 1.25rem; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 4.5rem 5% 2rem;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; max-width: 1200px; margin: 0 auto 3rem;
}
.footer-col h3 { font-size: 1rem; margin-bottom: 1.25rem; color: white; }
.footer-col p  { color: var(--text-muted); font-size: 0.875rem; max-width: 280px; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--primary-light); }
.copyright { text-align: center; color: var(--text-dim); font-size: 0.82rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* ── Footer country selector (plain links, works without JS) ── */
.country-select-wrap{display:flex;justify-content:center;margin-bottom:1.25rem;}
.country-select{position:relative;font-size:0.86rem;}
.country-select summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:0.4rem;padding:0.45rem 1rem;border:1px solid var(--border);border-radius:999px;background:var(--bg-card);color:var(--text-muted);}
.country-select summary::-webkit-details-marker{display:none;}
.country-select summary::after{content:'\25BE';color:var(--primary-light);}
.country-select summary:hover{border-color:var(--border-strong);}
.country-select summary strong{color:var(--text-main);font-weight:600;}
.country-select ul{position:absolute;bottom:calc(100% + 0.5rem);left:50%;transform:translateX(-50%);list-style:none;margin:0;padding:0.4rem;background:var(--bg-mid);border:1px solid var(--border-strong);border-radius:var(--radius-md);min-width:220px;box-shadow:0 18px 40px rgba(0,0,0,0.5);z-index:30;}
.country-select li{margin:0;}
.country-select li a{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0.45rem 0.7rem;margin:0;border-radius:8px;text-decoration:none;color:var(--text-main);white-space:nowrap;}
.country-select li a:hover{background:rgba(59,130,246,0.16);color:var(--text-main);}
.country-select li a .cur{color:var(--text-dim);font-size:0.8rem;}
.country-select li a.is-current{background:rgba(37,211,102,0.13);}

/* ─────────────────────────────────────────
   BOOKING ENGINE + BOOKING ANALYTICS
───────────────────────────────────────── */
.bk-steps {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem; max-width: 1100px; margin: 0 auto 5rem;
}
.bk-step { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.bk-step-shot {
    width: 100%; height: 440px; margin-bottom: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 40%, rgba(59,130,246,0.14), rgba(13,31,60,0.9) 70%), #10223f;
    border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.bk-step-shot img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.bk-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%; margin-bottom: 0.7rem;
    background: linear-gradient(135deg, var(--teal), var(--primary));
    color: #06231f; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 0.9rem;
}
.bk-step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.bk-step p  { color: var(--text-muted); font-size: 0.88rem; max-width: 320px; margin: 0 auto; }

.bk-adv { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); max-width: 1100px; margin-bottom: 4.5rem; }
.vs-table { min-width: 560px; }
.vs-table td:nth-child(2) { color: var(--text-muted); }
.vs-table .ct { color: #5eead4; }

.bk-plan-note {
    max-width: 760px; margin: 3.5rem auto 0; text-align: center;
    padding: 2rem 1.75rem; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(45,212,191,0.08), rgba(59,130,246,0.08));
    border: 1px solid rgba(45,212,191,0.25);
}
.bk-plan-note p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 1.4rem; }
.bk-plan-note strong { color: white; }

.shot-frame {
    max-width: 1100px; margin: 0 auto; background: #ffffff;
    border: 1px solid #e2e8f0; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 4px 16px rgba(59,130,246,0.08);
}
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-cap { text-align: center; font-size: 0.78rem; color: var(--text-dim); margin: 0.85rem 0 3.5rem; }
.an-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 0.5rem 2.5rem; max-width: 1100px; margin: 0 auto;
}

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp 0.8s ease-out forwards; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
    .bk-steps { grid-template-columns: 1fr; max-width: 380px; gap: 2.5rem; }
    .bk-step-shot { height: 400px; }
}
@media (max-width: 1024px) {
    .split-wrap { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.6rem; }
    .nav-links { display: none; }
    .nav-brand .wa-badge { display: none; }
    .kpi-box { padding: 0.6rem 0.4rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cta, .cta-buttons { flex-direction: column; }
    .btn-xl, .btn-lg { width: 100%; }
    .hero-social-proof { flex-wrap: wrap; gap: 1rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-section h2 { font-size: 2rem; }
    .section-header h2, .split-content h2 { font-size: 2rem; }
    .new-pricing-banner { border-radius: var(--radius-md); margin-top: -2.5rem; }
    .billing-opt { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
    .wa-chat { box-shadow: 0 20px 50px rgba(0,0,0,0.45); border-radius: 20px; }
}

/* Section stays on the dark theme — only the "everything included" card
   uses a light "card" treatment so it stands out. */
.sv-col{background:#fff;border:1px solid #e2e8f0;border-radius:var(--radius-lg);padding:1.85rem 1.6rem;box-shadow:0 10px 30px rgba(15,35,65,0.06);}
.sv-col.blu{border-color:#3b82f6;box-shadow:0 0 0 1px rgba(59,130,246,0.25),0 20px 44px rgba(37,99,235,0.14);}
.sv-col h4{font-size:1.1rem;margin-bottom:0.3rem;color:#0d1f3c;}
.sv-col .sv-sub{font-size:0.82rem;color:#94a3b8;margin-bottom:1.25rem;}
.sv-line{display:flex;justify-content:space-between;align-items:baseline;font-size:0.875rem;color:#475569;padding:0.55rem 0;border-bottom:1px solid #eef2f7;}
.sv-line:last-of-type{border-bottom:none;}
.sv-line .v{color:#1e293b;font-weight:700;font-variant-numeric:tabular-nums;}
.sv-incl{color:#059669;font-weight:700;font-size:0.82rem;display:inline-flex;align-items:center;gap:0.3rem;}
.sv-total{display:flex;justify-content:space-between;align-items:baseline;margin-top:1.1rem;padding-top:1.1rem;border-top:2px solid #e2e8f0;}
.sv-total .lbl{font-size:0.9rem;color:#475569;font-weight:600;}
.sv-total .amt{font-family:'Outfit',sans-serif;font-size:1.9rem;font-weight:800;color:#0d1f3c;}
.sv-col.blu .sv-total{border-top-color:#bfdbfe;}
.sv-col.blu .sv-total .amt{color:#2563eb;}
