/* =====================================================
   MIS Call Manager — Main Stylesheet
   ===================================================== */

:root {
  --primary: #02a4d3;
  --primary-dark: #024c6e;
  --primary-light: #e6f6fb;
  --accent: #22a35f;
  --accent-dark: #178a4d;
  --orange: #f97316;
  --dark: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.14);
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary); background: var(--primary-light);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-dark .section-head .eyebrow { background: rgba(255,255,255,.1); color: #7fd3ea; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 4.3vw, 54px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p.lead { font-size: 18px; color: var(--muted); }
.section-dark p.lead { color: #cbd5e1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: all .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(2,164,211,.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--border); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-light); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 34px; font-size: 17px; }

/* ================= Header ================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150; background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(15,23,42,.08); }
body { padding-top: 0; } /* main-site header (mis-header) is not fixed */
section[id], .page-hero { scroll-margin-top: 88px; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; white-space: nowrap; flex-shrink: 0; letter-spacing: -.03em; color: var(--dark); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
}
.logo span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 20px; }
.nav > li { position: relative; }
.nav a { font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--text); display: flex; align-items: center; gap: 4px; padding: 8px 0; }
.nav a:hover { color: var(--primary); }
.dropdown {
  position: absolute; top: 100%; left: -16px; min-width: 240px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s;
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.dropdown a:hover { background: var(--primary-light); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .login { font-weight: 600; margin-right: 6px; }
.nav a.nav-ai { background: linear-gradient(90deg, var(--primary), var(--accent)); color: #fff; padding: 7px 14px; border-radius: 999px; font-weight: 700; }
.nav a.nav-ai:hover { opacity: .9; color: #fff; }
.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); transition: .3s; }

/* ================= Hero ================= */
.hero {
  position: relative; overflow: hidden; padding: 32px 0 60px;
  background: radial-gradient(1200px 600px at 80% -10%, #cceef8 0%, transparent 60%),
              radial-gradient(800px 500px at 0% 100%, #dcf5e6 0%, transparent 60%), #fff;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 24px; box-shadow: var(--shadow);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(16,185,129,.2); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.hero-rating { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 18px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--dark); color: #fff;
  padding: 10px 18px; border-radius: 12px; transition: .2s;
}
.store-badge:hover { background: #000; transform: translateY(-2px); }
.store-badge small { display: block; font-size: 10px; opacity: .8; line-height: 1; }
.store-badge b { font-size: 16px; line-height: 1.1; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; height: 610px; border-radius: 44px; background: #0f172a; padding: 14px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #334155; position: relative;
}
.phone-screen { background: var(--bg-soft); border-radius: 32px; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.phone-notch { width: 100px; height: 24px; background: #0f172a; border-radius: 0 0 16px 16px; margin: 0 auto; }
.ps-header { background: var(--primary); color: #fff; padding: 16px 18px 22px; }
.ps-header small { opacity: .8; font-size: 11px; }
.ps-header b { display: block; font-size: 17px; }
.ps-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 0 12px; margin-top: -14px; }
.ps-stat { background: #fff; border-radius: 12px; padding: 10px; text-align: center; box-shadow: var(--shadow); }
.ps-stat b { display: block; font-size: 16px; color: var(--primary); }
.ps-stat small { font-size: 10px; color: var(--muted); }
.ps-list { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.ps-call { background: #fff; border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.ps-call .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; }
.ps-call b { display: block; font-size: 12px; }
.ps-call small { color: var(--muted); font-size: 10px; }
.ps-call .tag { margin-left: auto; font-size: 10px; padding: 3px 8px; border-radius: 999px; font-weight: 700; }
.tag-in { background: #d1fae5; color: #065f46; }
.tag-out { background: #e6f6fb; color: #024c6e; }
.tag-miss { background: #fee2e2; color: #991b1b; }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; font-size: 13px; animation: float 4s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); }
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.fc-1 { top: 60px; left: -20px; }
.fc-2 { bottom: 120px; right: -30px; animation-delay: 1.5s; }
.fc-3 { bottom: 20px; left: -10px; animation-delay: .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Quick feature strip under hero */
.feature-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 70px; }
.feature-strip div {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 12px;
  text-align: center; font-size: 13px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.feature-strip svg { width: 24px; height: 24px; color: var(--primary); }

/* ================= Logos ================= */
.logos { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos p { text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 26px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.marquee { overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span { font-size: 22px; font-weight: 800; color: #94a3b8; white-space: nowrap; letter-spacing: -.02em; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================= Stats ================= */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 34px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.stat b { display: block; font-size: 44px; font-weight: 900; color: var(--primary); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-weight: 600; }

/* ================= Core features (3 cols) ================= */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 30px;
  transition: .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; }
.card .icon svg { width: 28px; height: 28px; }
.ic-indigo { background: var(--primary-light); color: var(--primary); }
.ic-green { background: #d1fae5; color: var(--accent-dark); }
.ic-orange { background: #ffedd5; color: #c2410c; }
.ic-pink { background: #fce7f3; color: #be185d; }
.ic-sky { background: #e0f2fe; color: #0369a1; }
.ic-yellow { background: #fef3c7; color: #b45309; }
.card p { color: var(--muted); }
.card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.card ul li::before { content: "✓"; color: var(--accent); font-weight: 900; }

/* ================= Benefits (alternating) ================= */
.benefit { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 50px 0; }
.benefit:nth-child(even) .benefit-visual { order: -1; }
.benefit h3 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 14px; }
.benefit .big { font-size: clamp(40px, 5vw, 64px); font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 8px; letter-spacing: -.03em; }
.benefit p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.benefit-visual {
  border-radius: var(--radius); padding: 30px; background: linear-gradient(135deg, #e6f6fb, #ecfdf5);
  min-height: 320px; display: flex; align-items: center; justify-content: center;
}
.mini-dash { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; padding: 18px; }
.mini-dash .row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.mini-dash .row:last-child { border: none; }
.mini-dash .bar { height: 8px; background: var(--border); border-radius: 99px; width: 50%; overflow: hidden; }
.mini-dash .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 99px; }
.pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-green { background: #d1fae5; color: #065f46; }
.pill-red { background: #fee2e2; color: #991b1b; }
.pill-yellow { background: #fef3c7; color: #92400e; }
.pill-blue { background: #e6f6fb; color: #024c6e; }

/* ================= Feature grid (many) ================= */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px;
  transition: .25s;
}
.feat:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.feat .icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px; }
.feat .icon svg { width: 22px; height: 22px; }
.feat h4 { font-size: 16px; margin-bottom: 6px; }
.feat p { font-size: 14px; color: var(--muted); }

/* ================= How it works ================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.step { text-align: center; padding: 30px 20px; }
.step .num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 24px; font-weight: 900;
  box-shadow: 0 10px 25px rgba(2,164,211,.35);
}
.step p { color: var(--muted); }

/* ================= Comparison table ================= */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); }
.compare th { background: var(--dark); color: #fff; font-size: 15px; }
.compare th:last-child { background: var(--primary); }
.compare td:first-child { font-weight: 700; }
.compare td:nth-child(2) { color: #b91c1c; }
.compare td:last-child { color: var(--accent-dark); font-weight: 700; background: #f0fdf4; }
.compare tr:last-child td { border-bottom: none; }

/* ================= Voice controller / accessibility ================= */
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.voice-cmds { display: flex; flex-direction: column; gap: 12px; }
.cmd { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 14px 18px; border-radius: 12px; }
.cmd .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.cmd b { display: block; }
.cmd small { color: #94a3b8; }
.voice-note { margin-top: 20px; font-size: 13px; color: #94a3b8; }

/* ================= Pricing ================= */
.toggle { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px; margin-bottom: 40px; }
.toggle button { padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); }
.toggle button.active { background: var(--primary); color: #fff; }
.toggle .save { font-size: 12px; color: var(--accent-dark); font-weight: 700; padding-right: 10px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan { background: #fff; border: 2px solid var(--border); border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column; position: relative; }
.plan.popular { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 5px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.plan h3 { font-size: 22px; }
.plan .desc { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.plan .price { font-size: 46px; font-weight: 900; letter-spacing: -.03em; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan .per { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.plan li.no { color: #94a3b8; }
.plan li.no svg { color: #cbd5e1; }

/* ================= Testimonials ================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.testi .quote { font-size: 48px; line-height: 1; color: var(--primary); font-family: Georgia, serif; margin-bottom: 10px; }
.testi p { color: var(--text); flex: 1; margin-bottom: 20px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.testi .who b { display: block; }
.testi .who small { color: var(--muted); }

/* ================= Integrations ================= */
.int-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.int-grid span { padding: 12px 22px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-weight: 700; color: var(--muted); }

/* ================= Security ================= */
.badges { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.badge { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); padding: 16px 24px; border-radius: var(--radius-sm); font-weight: 700; }
.badge svg { width: 26px; height: 26px; color: var(--accent-dark); }

/* ================= FAQ ================= */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 20px 24px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text); }
.faq-q span { width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; transition: .3s; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--muted); padding: 0 24px; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* ================= CTA ================= */
.cta-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--accent)); color: #fff; border-radius: 28px;
  padding: 70px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-box::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.08); top: -200px; right: -100px; }
.cta-box h2 { color: #fff; }
.cta-box p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 30px; font-size: 18px; }
.cta-box .hero-actions { justify-content: center; }

/* ================= Contact form ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 26px; }
.contact-info ul { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info li .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.contact-info li b { display: block; }
.contact-info li span { color: var(--muted); font-size: 14px; }
.form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14px;
  outline: none; transition: .2s; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2,164,211,.15); }
.field textarea { min-height: 100px; resize: vertical; }
.form .btn { width: 100%; }
.form-success { display: none; background: #d1fae5; color: #065f46; padding: 14px; border-radius: 10px; margin-top: 14px; font-weight: 600; text-align: center; }

/* ================= Footer ================= */
.footer { background: var(--dark); color: #cbd5e1; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer p { font-size: 14px; color: #94a3b8; max-width: 320px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: #94a3b8; }
.footer ul a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .2s; }
.socials a:hover { background: var(--primary); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #94a3b8; }
.footer-bottom ul { flex-direction: row; gap: 20px; flex-wrap: wrap; }

/* ================= Modal ================= */
.modal { position: fixed; inset: 0; background: rgba(15,23,42,.6); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.show { display: flex; }
.modal-box { background: #fff; border-radius: 20px; width: 100%; max-width: 520px; padding: 36px; position: relative; max-height: 90vh; overflow: auto; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); font-size: 22px; }
.modal-box h3 { font-size: 24px; }
.modal-box .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

/* ================= Back to top ================= */
.to-top { position: fixed; bottom: 24px; right: 190px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 24px; left: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 90; transition: .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--d, 0) * 70ms);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-l { transform: translateX(-34px); }
.reveal-r { transform: translateX(34px); }
.reveal-zoom { transform: scale(.955); }

/* Inner pages */
.page-hero { background: linear-gradient(135deg, #e6f6fb, #ecfdf5); padding: 70px 0; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); }
.page-hero p { color: var(--muted); font-size: 17px; margin-top: 10px; }
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }

/* ================= Responsive ================= */
@media (max-width: 1400px) { .nav { gap: 14px; } }
@media (max-width: 1200px) { .nav { gap: 12px; } .nav a { font-size: 13px; } .header-cta .btn-outline { display: none; } }
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-rating { justify-content: center; }
  .hero-visual { margin-top: 30px; }
  .feature-strip { grid-template-columns: repeat(3, 1fr); }
  .stats-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .testi-grid, .pricing-grid, .steps { grid-template-columns: 1fr; }
  .plan.popular { transform: none; }
  .benefit, .voice-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .benefit:nth-child(even) .benefit-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero-grid > *, .benefit > *, .voice-grid > *, .contact-grid > *, .grid-4 > *, .stats-grid > * { min-width: 0; }
  .hero-visual { overflow: visible; }
  .hero { overflow: hidden; }
  .nav { position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); display: none; }
  .nav.open { display: flex; }
  .nav > li a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; display: none; }
  .nav > li.open .dropdown { display: block; }
  .header-cta .btn, .header-cta .login { display: none; }
  .hamburger { display: flex; }
  .phone { width: 260px; height: 530px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; } .fc-3 { left: 0; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px; font-size: 13px; }
  .cta-box { padding: 50px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { bottom: 20px; left: 16px; width: 50px; height: 50px; }
}

/* ================= Hero real screenshot ================= */
.phone-img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; }

/* ================= AI Call Intelligence ================= */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ai-list { display: flex; flex-direction: column; gap: 18px; margin: 28px 0; }
.ai-item { display: flex; gap: 16px; align-items: flex-start; }
.ai-item .ic { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #7fd3ea; }
.ai-item .ic svg { width: 22px; height: 22px; }
.ai-item b { display: block; font-size: 16px; color: #fff; margin-bottom: 4px; }
.ai-item p { color: #94a3b8; font-size: 14px; }
.chat-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.chat-head { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 16px 20px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.chat-head small { font-weight: 500; opacity: .85; font-size: 12px; }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; background: #f5f8fc; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.bubble b { display: block; font-size: 12px; margin-bottom: 2px; }
.bubble.agent { background: #fff; border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.bubble.cust { background: #d4eef6; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-summary { padding: 16px 20px; border-top: 1px solid var(--border); font-size: 13.5px; }
.chat-summary b { color: var(--primary); }
.chat-summary .score { float: right; background: #fef3c7; color: #92400e; padding: 3px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; }
.ai-shot { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1); }
.ai-shot img { width: 100%; }

/* ================= Dashboard showcase ================= */
.dash-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.dash-tabs button { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; background: #fff; border: 1px solid var(--border); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: .2s; }
.dash-tabs button svg { width: 16px; height: 16px; }
.dash-tabs button.active, .dash-tabs button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.dash-frame { background: #0f172a; border-radius: 18px; padding: 12px; box-shadow: var(--shadow-lg); max-width: 900px; margin: 0 auto; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.dash-progress { height: 3px; background: var(--border); max-width: 900px; margin: 14px auto 0; border-radius: 99px; overflow: hidden; }
.dash-progress i { display: block; height: 100%; width: 0; background: var(--primary); }
.dash-progress i.run { width: 100%; transition: width 5s linear; }
.dash-bar { display: flex; gap: 6px; padding: 0 4px 10px; }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dash-stage { position: relative; aspect-ratio: 5 / 3; border-radius: 10px; overflow: hidden; background: #fff; }
.dash-panel { position: absolute; inset: 0; opacity: 0; transform: translateX(24px); transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1); pointer-events: none; will-change: opacity, transform; }
.dash-panel.active { opacity: 1; transform: none; pointer-events: auto; }
.dash-panel img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; cursor: zoom-in; }
.dash-caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }
.dash-caption b { color: var(--text); }

/* ================= App screenshots ================= */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
.shot { flex: 0 0 240px; scroll-snap-align: center; text-align: center; }
.shot .frame { border-radius: 30px; background: #0f172a; padding: 10px; box-shadow: var(--shadow-lg); }
.shot img { border-radius: 22px; width: 100%; aspect-ratio: 540 / 1058; object-fit: cover; object-position: top; display: block; }
.shot b { display: block; margin-top: 14px; font-size: 15px; }
.shot small { color: var(--muted); }

/* ================= Lightbox ================= */
.lightbox { position: fixed; inset: 0; background: rgba(15,23,42,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); }

/* ================= Login page ================= */
.login-wrap { min-height: calc(100vh - 76px);  display: grid; grid-template-columns: 1fr 1fr; }
.login-side { background: linear-gradient(160deg, var(--primary-dark), var(--primary) 60%, #0c9ab0); color: #fff; padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; }
.login-side h2 { color: #fff; }
.login-side p { color: rgba(255,255,255,.85); max-width: 460px; margin-bottom: 30px; }
.login-side ul { display: flex; flex-direction: column; gap: 12px; }
.login-side li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.login-side li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 13px; }
.login-side img { margin-top: 40px; border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 520px; max-height: 300px; object-fit: cover; object-position: top; }
.login-form-wrap { display: flex; align-items: center; justify-content: center; padding: 60px 24px; background: var(--bg-soft); }
.login-card { width: 100%; max-width: 440px; background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.login-card h1 { font-size: 28px; margin-bottom: 6px; }
.login-card .sub { color: var(--muted); margin-bottom: 26px; }
.login-tabs { display: flex; background: var(--bg-soft); border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.login-tabs button { flex: 1; padding: 10px; border-radius: 9px; font-weight: 700; color: var(--muted); }
.login-tabs button.active { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12px; font-weight: 700; }
.login-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin: -4px 0 20px; }
.login-meta label { display: flex; gap: 6px; align-items: center; color: var(--muted); }
.login-meta a { color: var(--primary); font-weight: 700; }
.login-card .btn { width: 100%; }
.login-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 22px; }
.login-foot a { color: var(--primary); font-weight: 700; }
.login-apps { display: flex; justify-content: center; margin-top: 22px; }

@media (max-width: 1024px) {
  .ai-grid, .login-wrap { grid-template-columns: 1fr; }
  .login-side { padding: 50px 24px; }
}
@media (max-width: 768px) {
  .shot { flex-basis: 200px; }
  .dash-tabs button { padding: 8px 12px; font-size: 12px; }
}

/* ================= v3 additions ================= */
.hero-video-btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.hero-video-btn .play { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; color: var(--primary); position: relative; }
.hero-video-btn .play::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--primary); opacity: .4; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(1.3); opacity: 0; } }

/* Logo marquee with images */
.logo-track { display: flex; gap: 18px; width: max-content; animation: scroll 60s linear infinite; }
.logo-track.rev { animation-direction: reverse; animation-duration: 70s; }
.logo-card { width: 170px; height: 84px; background: #fff; border: 1px solid var(--border); border-radius: 12px; display: grid; place-items: center; padding: 12px 16px; flex-shrink: 0; }
.logo-card img { max-height: 56px; max-width: 136px; width: auto; height: auto; object-fit: contain; transition: .3s; }
.logo-card:hover img { transform: scale(1.06); }
.marquee:hover .logo-track { animation-play-state: paused; }
.marquee + .marquee { margin-top: 18px; }
.logo-count { text-align: center; margin-top: 26px; font-weight: 700; color: var(--text); }
.logo-count span { color: var(--primary); }

/* Video section */
.video-featured { position: relative; border-radius: 22px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; }
.video-featured video, .video-featured iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.video-featured .vplay, .reel .vplay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05)); cursor: pointer; transition: .3s; }
.vplay .btn-play { width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--primary); box-shadow: var(--shadow-lg); transition: .3s; }
.vplay:hover .btn-play { transform: scale(1.08); }
.vplay .vtitle { position: absolute; left: 24px; bottom: 20px; color: #fff; font-weight: 800; font-size: 20px; }
.vplay .vtitle small { display: block; font-weight: 500; opacity: .85; font-size: 13px; }
.video-featured.playing .vplay { opacity: 0; pointer-events: none; }
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 24px; }
.reel { position: relative; aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow); cursor: pointer; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.reel:hover img { transform: scale(1.05); }
.reel .btn-play { width: 54px; height: 54px; }
.reel .vtitle { left: 14px; bottom: 14px; font-size: 14px; right: 14px; }
.reel .dur { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }

/* Video modal */
.vmodal { position: fixed; inset: 0; background: rgba(15,23,42,.94); z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.vmodal.show { display: flex; }
.vmodal video { max-width: 100%; max-height: 90vh; border-radius: 14px; box-shadow: var(--shadow-lg); background: #000; }
.vmodal .modal-close { background: #fff; position: fixed; top: 20px; right: 20px; }

/* Story grid (creatives) */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; transition: .3s; }
.story:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.story img { width: 100%; display: block; cursor: zoom-in; }
.story div { padding: 16px 18px; }
.story b { display: block; font-size: 16px; margin-bottom: 4px; }
.story small { color: var(--muted); }

/* AI call log mockup */
.ai-table-wrap { margin-top: 44px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.ai-table-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); font-weight: 800; }
.ai-table-head .chips { display: flex; gap: 6px; }
.ai-table-head .chips span { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); font-weight: 700; color: var(--muted); }
.ai-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ai-table th { text-align: left; padding: 10px 14px; background: var(--primary); color: #fff; font-size: 12px; white-space: nowrap; }
.ai-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.ai-table tr:last-child td { border-bottom: none; }
.ai-table .audio { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; white-space: nowrap; }
.ai-table .audio i { display: inline-block; width: 70px; height: 4px; background: var(--border); border-radius: 99px; position: relative; }
.ai-table .audio i::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 40%; background: var(--primary); border-radius: 99px; }
.ai-table .stars { font-size: 13px; letter-spacing: 0; white-space: nowrap; }
.ai-table .sum { max-width: 360px; color: var(--muted); }
.ai-table .tr { color: var(--primary); font-weight: 700; cursor: pointer; white-space: nowrap; }

/* Caller ID popup section */
.callerid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.callerid-grid .phone { width: 280px; height: 570px; margin: 0 auto; }
.callerid-grid .phone-screen { background: #000; }

/* Swipe carousel */
.swipe-wrap { position: relative; }
.swipe { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 20px; scrollbar-width: none; }
.swipe::-webkit-scrollbar { display: none; }
.swipe img { flex: 0 0 340px; width: 340px; max-width: 340px; min-width: 0; scroll-snap-align: center; border-radius: 18px; box-shadow: var(--shadow); }
.swipe-nav { display: flex; justify-content: center; gap: 12px; margin-top: 6px; }
.swipe-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border); background: #fff; color: var(--text); display: grid; place-items: center; transition: .2s; }
.swipe-nav button:hover { border-color: var(--primary); color: var(--primary); }

/* Numbers band */
.band { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 50px 0; }
.band .stats-grid .stat { background: rgba(255,255,255,.08); box-shadow: none; border: 1px solid rgba(255,255,255,.12); }
.band .stats-grid .stat b { color: #fff; }
.band .stats-grid .stat span { color: rgba(255,255,255,.8); }

/* Use cases */
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usecase { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; }
.usecase .em { font-size: 30px; margin-bottom: 10px; }
.usecase b { display: block; margin-bottom: 6px; }
.usecase p { font-size: 14px; color: var(--muted); }

@media (max-width: 1024px) {
  .reels { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .callerid-grid { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .reels { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .usecases { grid-template-columns: 1fr; }
  .swipe img { flex-basis: 280px; width: 280px; max-width: 280px; }
  .ai-table .sum { max-width: 220px; }
}

/* Hero device mockup */
.hero-devices { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #f6f8fb; width: 100%; max-width: 640px; }
.hero-devices img { width: 100%; display: block; }
.hero-visual .fc-1 { top: -22px; left: 10px; }
.hero-visual .fc-2 { bottom: 70px; right: -14px; }
.hero-visual .fc-3 { bottom: -24px; left: 30px; }
@media (max-width: 1024px) { .hero-visual { margin-top: 40px; padding: 24px 0; } .hero-visual .fc-1 { top: 0; } .hero-visual .fc-3 { bottom: 0; } }
@media (max-width: 768px) { .hero-visual .float-card { transform: scale(.85); } .hero-visual .fc-2 { right: 0; } }

.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 30px; }
.yt-card b { display: block; font-size: 18px; margin-top: 14px; }
.yt-card small { color: var(--muted); font-size: 14px; }
@media (max-width: 768px) { .yt-grid { grid-template-columns: 1fr; } }

sup.star { color: #f97316; font-size: .6em; font-weight: 900; margin-left: 1px; vertical-align: super; }
.wa-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid #f97316; background: #fff7ed; border-radius: 0 10px 10px 0; }

/* Hero 4th floating card */
.hero-visual .fc-4 { top: 30px; right: -10px; animation-delay: 2.2s; }
@media (max-width: 1024px) { .hero-visual .fc-4 { top: 10px; right: 0; } }
@media (max-width: 768px) { .hero-visual .fc-4 { display: none; } }

/* AI FAQ block */
.ai-faq-block { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; margin-top: 46px; }
.ai-faq-text h3 { font-size: clamp(22px, 2.4vw, 30px); color: #fff; margin-bottom: 12px; }
.ai-faq-text p { color: #cbd5e1; margin-bottom: 18px; }
.ai-faq-list { display: flex; flex-direction: column; gap: 10px; }
.ai-faq-list li { display: flex; gap: 10px; font-size: 14px; color: #cbd5e1; align-items: flex-start; }
.ai-faq-list li::before { content: "✓"; color: #7fd3ea; font-weight: 900; }
.ai-faq-list b { color: #fff; }
.ai-faq-shot { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.ai-faq-shot img { width: 100%; display: block; cursor: zoom-in; }
@media (max-width: 1024px) { .ai-faq-block { grid-template-columns: 1fr; gap: 26px; } }

/* ================= Multi-page chrome ================= */
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary); background: rgba(255,255,255,.75);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.page-hero h1 { max-width: 900px; margin: 0 auto; }
.page-hero p { max-width: 720px; margin: 12px auto 0; }
.page-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.crumb a { color: var(--primary); }
.crumb a:hover { text-decoration: underline; }
.crumb span { margin: 0 6px; opacity: .6; }
.nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ""; display: block; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--primary); border-radius: 2px;
}
.nav > li > a { position: relative; }

/* Explore grid on the home page */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.explore {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: .3s; color: inherit;
}
.explore:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.explore .icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; }
.explore .icon svg { width: 26px; height: 26px; }
.explore b { display: block; font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.explore p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.explore span { color: var(--primary); font-weight: 700; font-size: 14px; }
.explore:hover span { text-decoration: underline; }
@media (max-width: 1024px) { .explore-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .explore-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 46px 0; }
  .nav a.active::after { display: none; }
}

/* =====================================================
   Motion layer — subtle, tasteful, reduced-motion safe
   ===================================================== */

/* ---- Hero entrance (runs once on load) ---- */
@keyframes csRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes csFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes csDevice { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }

.hero .hero-badge,
.hero h1,
.hero p.lead,
.hero .hero-actions,
.hero .hero-note,
.hero .wa-note,
.hero .hero-rating { opacity: 0; animation: csRise .85s cubic-bezier(.22,1,.36,1) forwards; }
.hero .hero-badge   { animation-delay: .05s; }
.hero h1            { animation-delay: .15s; }
.hero p.lead        { animation-delay: .25s; }
.hero .hero-actions { animation-delay: .35s; }
.hero .hero-note    { animation-delay: .43s; }
.hero .wa-note      { animation-delay: .5s; }
.hero .hero-rating  { animation-delay: .57s; }
.hero-devices { opacity: 0; animation: csDevice 1s cubic-bezier(.22,1,.36,1) .3s forwards; }
.hero .float-card { opacity: 0; animation: csFade .5s ease forwards, float 4s ease-in-out infinite; }
.hero .fc-1 { animation-delay: .8s, .8s; }
.hero .fc-2 { animation-delay: 1.0s, 1.0s; }
.hero .fc-3 { animation-delay: 1.2s, 1.2s; }
.hero .fc-4 { animation-delay: 1.4s, 1.4s; }

/* gentle drift behind the hero */
.hero::after {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(34,163,95,.14), transparent 62%);
  border-radius: 50%; pointer-events: none; animation: csDrift 18s ease-in-out infinite alternate;
}
@keyframes csDrift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-50px,40px,0) scale(1.12); } }

/* ---- Gradient headline shimmer ---- */
.hero h1 .grad {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: csShimmer 7s ease-in-out infinite;
}
@keyframes csShimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---- Scroll progress bar ---- */
.scroll-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .1s linear; pointer-events: none;
}

/* ---- Nav underline slide ---- */
.nav > li > a:not(.nav-ai)::before {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%;
  background: var(--primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.nav > li > a:not(.nav-ai):hover::before { transform: scaleX(1); transform-origin: left; }
.nav a.nav-ai { transition: transform .25s ease, box-shadow .25s ease; }
.nav a.nav-ai:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(2,164,211,.35); }

/* ---- Button shine ---- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s ease; pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn-outline::after { background: linear-gradient(100deg, transparent, rgba(2,164,211,.12), transparent); }
.btn:active { transform: translateY(1px) scale(.99); }

/* ---- Card + tile polish ---- */
.card, .feat, .usecase, .explore, .story, .stat, .plan, .testi, .badge, .int-grid span {
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.usecase:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.testi:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat:hover { transform: translateY(-4px); }
.int-grid span:hover { transform: translateY(-3px); border-color: var(--primary); color: var(--primary); }
.card .icon, .feat .icon, .usecase .em, .explore .icon { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.card:hover .icon, .feat:hover .icon, .explore:hover .icon { transform: scale(1.1) rotate(-4deg); }
.usecase:hover .em { transform: scale(1.18); }
.explore span { display: inline-block; transition: transform .3s ease; }
.explore:hover span { transform: translateX(5px); }

/* ---- Image zoom on hover ---- */
.story img, .shot img, .ai-faq-shot img, .hero-devices img { transition: transform .6s cubic-bezier(.22,1,.36,1); }
.story:hover img, .shot:hover img, .ai-faq-shot:hover img { transform: scale(1.035); }
.story, .shot .frame, .ai-faq-shot { overflow: hidden; }

/* ---- Step numbers pop in ---- */
.step .num { transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease; }
.step:hover .num { transform: scale(1.08) translateY(-3px); box-shadow: 0 14px 32px rgba(2,164,211,.42); }

/* ---- Comparison rows ---- */
.compare tbody tr { transition: background .25s ease; }
.compare tbody tr:hover { background: #f5f8fc; }

/* ---- FAQ chevron + answer easing ---- */
.faq-item { transition: box-shadow .3s ease, border-color .3s ease; }
.faq-item.open { box-shadow: var(--shadow); border-color: var(--primary); }
.faq-a { transition: max-height .45s cubic-bezier(.22,1,.36,1), padding .3s ease; }

/* ---- Floating widgets ---- */
.wa-float, .cs-bot-btn, .cs-book, .to-top { transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, opacity .3s ease, visibility .3s ease; }
.wa-float:hover, .cs-bot-btn:hover, .to-top:hover { transform: scale(1.1); }
.cs-book:hover { transform: translateY(-3px) scale(1.03); }

/* ---- Marquee edge fade ---- */
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
           mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal, .hero .hero-badge, .hero h1, .hero p.lead, .hero .hero-actions,
  .hero .hero-note, .hero .wa-note, .hero .hero-rating, .hero-devices, .hero .float-card {
    opacity: 1 !important; transform: none !important;
  }
  .hero::after { display: none; }
}
