/* ═══════════════════════════════════════════
   PALMO — STYLES v3  |  React parity
   ═══════════════════════════════════════════ */

:root {
  --blue:    #2563EB;
  --green:   #10b981;
  --bg-grad: linear-gradient(135deg, #2563EB 0%, #10b981 100%);
  --blue-bg: rgba(37,99,235,0.06);
  --dk:      #0f172a;
  --gy:      #64748b;
  --lt:      #f8fafc;
  --bd:      #e2e8f0;
  --red:     #ef4444;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: #fff; color: var(--dk); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input[type=range] { -webkit-appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--bd); outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); }

/* ── Type ── */
.blue { color: var(--blue); }
.red  { color: var(--red); }
h2 { font-family: 'Instrument Serif', serif; font-size: clamp(32px,5vw,52px); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; color: var(--dk); }
h3 { font-size: 20px; font-weight: 600; color: var(--dk); margin-bottom: 8px; }
h4 { font-size: 16px; font-weight: 600; color: var(--dk); margin-bottom: 6px; }
p  { font-size: 14px; color: var(--gy); line-height: 1.6; }

/* ── Layout ── */
.container    { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px;  margin: 0 auto; padding: 0 24px; }
.sec { padding: clamp(80px,10vw,140px) 24px; }
#how-it-works { padding-bottom: 0; }
#integrations { padding-top: 48px; padding-bottom: 48px; }
#faq    { padding-bottom: 48px; }
.sec-white { background: #fff; }
.sec-grey  { background: var(--lt); }
.sec-hdr   { text-align: center; margin-bottom: 64px; }
.sec-hdr h2 { margin-top: 20px; }
.sec-sub { font-size: 17px; color: var(--gy); line-height: 1.7; margin-top: 12px; }

/* ── Pill ── */
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-bg); border: 1px solid rgba(37,99,235,0.15); border-radius: 100px; padding: 6px 16px; font-size: 13px; color: var(--blue); font-weight: 500; }
.pill-white { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff; }

/* ── Pulse dot ── */
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pu 2s infinite; }
@keyframes pu { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.6)} }

/* ── Buttons ── */
.btn-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--dk); color: #fff; padding: 14px 32px; border-radius: 100px; font-size: 15px; font-weight: 500; transition: all 0.3s; cursor: pointer; }
.btn-dark:hover { background: var(--blue); transform: translateY(-2px); }
.btn-white { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--dk); padding: 14px 32px; border-radius: 100px; font-size: 15px; font-weight: 500; transition: all 0.3s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.2); }
.btn-ghost-white { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff; padding: 14px 32px; border-radius: 100px; font-size: 15px; font-weight: 500; transition: all 0.3s; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.2); }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; padding: 16px 40px; border-radius: 100px; font-size: 16px; font-weight: 500; box-shadow: 0 4px 30px rgba(37,99,235,0.4); transition: all 0.3s; }
.btn-cta:hover { transform: translateY(-2px); }
.btn-hero-grad { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg,#0c1445 0%,#1a237e 20%,#1565c0 40%,#2563EB 60%,#42a5f5 80%,#1e88e5 100%); color: #fff; padding: 14px 32px; border-radius: 100px; font-size: 15px; font-weight: 500; box-shadow: 0 4px 24px rgba(37,99,235,0.35); transition: all 0.3s; cursor: pointer; }
.btn-hero-grad:hover { box-shadow: 0 8px 32px rgba(37,99,235,0.5); transform: translateY(-2px); }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════ NAV ═══════════════ */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.3s; }
#nav.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--bd); }
.nav-inner { max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; cursor: pointer; }
.nav-logo-img { height: 34px; width: auto; display: block; }
.nav-logo-dark { display: none; }
#nav.scrolled .nav-logo-light { display: none; }
#nav.scrolled .nav-logo-dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); cursor: pointer; transition: color 0.2s; }
.nav-links span:hover { color: #fff; }
#nav.scrolled .nav-links span { color: var(--gy); }
#nav.scrolled .nav-links span:hover { color: var(--dk); }
.nav-cta-btn { display: inline-flex; padding: 10px 24px; border-radius: 100px; font-size: 14px; font-weight: 500; background: #fff; color: var(--dk); transition: all 0.3s; }
#nav.scrolled .nav-cta-btn { background: var(--dk); color: #fff; }
.nav-cta-btn:hover { transform: translateY(-1px); }
.mob-btn { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.mob-btn span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.25s; }
#nav.scrolled .mob-btn span { background: var(--dk); }
.mob-menu { display: none; padding: 12px 24px 20px; background: rgba(255,255,255,0.98); border-top: 1px solid var(--bd); flex-direction: column; gap: 0; }
.mob-menu span { font-size: 16px; font-weight: 500; color: var(--dk); cursor: pointer; padding: 14px 0; border-bottom: 1px solid var(--bd); display: block; }
#nav.menu-open .mob-menu { display: flex; }
#nav.menu-open .mob-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav.menu-open .mob-btn span:nth-child(2) { opacity: 0; }
#nav.menu-open .mob-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #0c1445 0%, #1a237e 18%, #1565c0 35%, #2563EB 50%, #42a5f5 65%, #1e88e5 82%, #0d47a1 100%);
  position: relative;
  overflow: hidden;
  padding: 140px clamp(24px, 5vw, 80px) 200px;
}
.grain {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.orb1 { top: -15%; left: 10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(66,165,245,0.35) 0%, transparent 60%); }
.orb2 { bottom: 5%; right: 10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(13,71,161,0.4) 0%, transparent 60%); }
.orb3 { top: 40%; left: 50%; transform: translateX(-50%); width: 400px; height: 400px; background: radial-gradient(circle, rgba(100,181,246,0.25) 0%, transparent 60%); filter: blur(60px); }
.orb4 { top: 10%; right: 25%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%); filter: blur(40px); }
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; gap: 64px; flex-wrap: wrap; position: relative; z-index: 2; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero-h1 { font-family: 'Instrument Serif', serif; font-size: clamp(44px,6vw,72px); font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; color: #fff; margin: 24px 0; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.85); line-height: 1.7; max-width: 500px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hstat-n { font-size: 24px; font-weight: 700; color: #fff; }
.hstat-l { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; }

/* Phone Widget */
.phone-widget { width: 280px; flex-shrink: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-radius: 28px; padding: 28px 22px; box-shadow: 0 24px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.2); text-align: center; }
.pw-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.pw-label { font-size: 13px; font-weight: 600; color: var(--dk); margin-bottom: 2px; }
.pw-status { font-size: 11px; color: var(--blue); font-weight: 600; margin-bottom: 18px; }
.pw-phone { font-size: 17px; font-weight: 600; color: var(--dk); margin-top: 14px; }
.pw-call-btn { display: block; margin-top: 14px; padding: 11px 0; background: linear-gradient(135deg,var(--blue),var(--green)); color: #fff; border-radius: 12px; font-size: 14px; font-weight: 600; transition: opacity 0.2s; }
.pw-call-btn:hover { opacity: 0.9; }
.pw-note { font-size: 10px; color: var(--gy); margin-top: 6px; }

/* Waveform */
.waveform { display: flex; align-items: center; justify-content: center; gap: 2px; height: 80px; overflow: hidden; }
.waveform .wbar { display: inline-block; width: 3px; border-radius: 3px; background: var(--blue); animation: wv 1.2s ease-in-out infinite; opacity: 0.6; }
@keyframes wv { 0%,100%{height:8px;opacity:.3} 50%{height:64px;opacity:.8} }

.tech-strip { padding: 48px 24px; background: var(--lt); border-bottom: 1px solid var(--bd); text-align: center; }
.tech-logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.tech-logo { font-size: 18px; font-weight: 700; color: var(--dk); opacity: 0.4; transition: opacity 0.3s; cursor: default; }
.tech-logo:hover { opacity: 0.7; }
.comp-divider { border: none; border-top: 1px solid var(--bd); max-width: 200px; margin: 24px auto; }
.comp-badges { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; }
.comp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 100px; border: 1px solid var(--bd); background: #fff; font-size: 11px; font-weight: 700; color: var(--dk); letter-spacing: 0.05em; opacity: 0.7; transition: opacity 0.2s; }
.comp-badge:hover { opacity: 1; }
.comp-note { text-align: center; font-size: 10px; color: var(--gy); margin-top: 12px; opacity: 0.7; letter-spacing: 0.04em; }

/* ═══════════════ HOW IT WORKS ═══════════════ */

/* Step 1 big card */
.step1-wrap { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; background: var(--blue-bg); border: 2px solid rgba(37,99,235,0.2); border-radius: 28px; padding: clamp(28px,5vw,48px) clamp(24px,5vw,40px); margin-bottom: 24px; position: relative; overflow: hidden; }
.step1-wrap::before { content:''; position:absolute; top:0;left:0;width:5px;height:100%; background:linear-gradient(135deg,var(--blue),var(--green)); border-radius:24px 0 0 24px; }
.step1-left { flex: 1 1 380px; }
.step1-right { flex: 0 0 auto; }
.step-num-label { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 10px; }
.step-title { font-size: clamp(18px,3vw,26px); font-weight: 600; color: var(--dk); margin-bottom: 10px; }
.step-desc { font-size: 15px; color: var(--gy); line-height: 1.7; margin-bottom: 20px; }
.step-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.step-tags span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--bd); border-radius: 100px; padding: 6px 14px; font-size: 12px; color: var(--dk); font-weight: 500; }

/* Steps 2-4 */
.steps234 { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.step-card { flex: 1 1 280px; background: #fff; border: 1px solid var(--bd); border-radius: 24px; padding: 28px; text-align: center; transition: all 0.3s; }
.step-card:hover { border-color: rgba(37,99,235,0.2); transform: translateY(-3px); }
.step-card .step-num-label { text-align: left; }
.step-card .step-title { text-align: left; font-size: 18px; }
.step-card .step-desc { text-align: left; font-size: 14px; }

/* Animation cards (the visual inside each step) */
.anim-card { border-radius: 20px; overflow: hidden; margin-bottom: 20px; }
.research-anim { background: #fff; border: 2px solid var(--blue); padding: 20px; max-width: 300px; margin: 0 auto; box-shadow: 0 8px 30px rgba(37,99,235,0.1); }
.ra-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.ra-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pu 2s infinite; }
.ra-header span { font-size: 12px; font-weight: 600; color: var(--dk); }
.ra-items { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.ra-item { font-size: 12px; color: #e2e8f0; display: flex; align-items: center; gap: 8px; transition: color 0.5s; padding: 2px 0; }
.ra-item.active { color: var(--dk); }
.ra-check { font-size: 10px; color: var(--blue); transition: color 0.5s; }
.ra-item:not(.active) .ra-check { color: #e2e8f0; }
.ra-progress { height: 4px; background: var(--bd); border-radius: 4px; overflow: hidden; }
.ra-bar { height: 100%; background: linear-gradient(90deg,var(--blue),var(--green)); border-radius: 4px; width: 0%; transition: width 0.6s ease; }

.code-anim { background: var(--dk); padding: 20px; text-align: left; min-height: 240px; }
.ca-dots { display: flex; gap: 5px; margin-bottom: 16px; }
.ca-dots span { width: 10px; height: 10px; border-radius: 50%; }
.ca-dots span:nth-child(1) { background: #ef4444; }
.ca-dots span:nth-child(2) { background: #eab308; }
.ca-dots span:nth-child(3) { background: #22c55e; }
.ca-body { font-family: 'Courier New', monospace; font-size: 12px; line-height: 1.8; color: #94a3b8; min-height: 180px; }
.ca-done-line { color: #94a3b8; display: block; }
.ca-done-line.last { color: #22c55e; }
.ca-cursor { color: var(--blue); animation: bk 1s step-end infinite; }
@keyframes bk { 50%{opacity:0} }

.test-anim { background: #fff; border: 1px solid var(--bd); padding: 18px; }
.ta-header { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.ta-dot { width: 8px; height: 8px; border-radius: 50%; transition: background 0.3s; }
.ta-dot.yellow { background: #eab308; animation: pu 1s infinite; }
.ta-dot.green-dot { background: var(--green); animation: none; }
.ta-header span:nth-child(2) { font-size: 11px; font-weight: 600; color: var(--dk); flex: 1; }
.ta-count { font-size: 10px; color: var(--gy); font-weight: 600; }
.ta-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 10px; }
.ta-row { display: flex; align-items: center; justify-content: space-between; padding: 3px 0; font-size: 11px; color: #e2e8f0; transition: color 0.3s; }
.ta-row.done { color: var(--dk); }
.ta-badge { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: transparent; color: transparent; transition: all 0.3s; }
.ta-badge.show { background: rgba(16,185,129,0.1); color: var(--green); }
.ta-progress { height: 4px; background: var(--bd); border-radius: 4px; overflow: hidden; }
.ta-bar { height: 100%; background: linear-gradient(90deg,var(--blue),var(--green)); border-radius: 4px; width: 0%; transition: width 0.4s ease; }

.publish-anim { background: #fff; border: 1px solid var(--bd); padding: 20px; text-align: center; }
.pa-title { font-size: 13px; font-weight: 600; color: var(--dk); margin-bottom: 14px; }
.pa-checks { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.pa-checks div { font-size: 11px; color: #22c55e; display: flex; align-items: center; justify-content: center; gap: 4px; }
.pa-btn { padding: 11px 28px; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--dk); color: #fff; transition: all 0.4s ease; display: inline-block; cursor: default; }
.pa-live { font-size: 11px; color: #22c55e; margin-top: 10px; min-height: 16px; transition: all 0.4s; }

.steps-note { text-align: center; background: var(--blue-bg); border: 1px solid rgba(37,99,235,0.1); border-radius: 16px; padding: 20px 32px; max-width: 600px; margin: 0 auto; font-size: 14px; color: var(--gy); }
.steps-note strong { color: var(--dk); }

/* Plan Finder (Pricing section) */
.plan-finder {
  background: var(--lt);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 500px;
  margin: 24px auto 0;
  text-align: left;
}
.pf-sliders { display: flex; gap: 24px; margin-bottom: 14px; flex-wrap: wrap; }
.pf-label { font-size: 13px; font-weight: 600; color: var(--dk); display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; }
.pf-result { font-size: 13px; color: var(--gy); margin-bottom: 12px; }
.pf-plans { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pf-plan {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--bd);
  color: var(--gy);
  background: #fff;
  transition: all 0.25s;
}
.pf-plan.pf-active { border-color: var(--blue); background: var(--blue); color: #fff; }
.pf-plan.pf-plan-hidden { display: none; }
.pf-note { font-size: 12px; color: var(--gy); }

/* ── Dashboard Progress Bar ── */
.fd-progress-bar { height: 2px; background: var(--bd); width: 100%; flex-shrink: 0; }
.fd-prog-fill { height: 2px; background: var(--blue); width: 0%; transition: width 0.1s linear; }

/* ═══════════════ FEATURE ROWS ═══════════════ */
.feat-rows { margin-top: 72px; border-top: 1px solid var(--bd); }
.feat-row {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.feat-row-border { border-bottom: 1px solid var(--bd); }
.feat-row-flip { flex-direction: row-reverse; }
.fr-text { flex: 1; max-width: 480px; }
.fr-visual { flex: 0 0 440px; max-width: 440px; }

.fr-label { font-size: 12px; color: var(--gy); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.fr-headline { font-size: 28px; font-weight: 700; color: var(--dk); font-family: 'DM Sans', sans-serif; margin-top: 10px; line-height: 1.3; }
.fr-divider { border: none; border-top: 1.5px dashed #e2e8f0; margin: 20px 0 24px; }
.fr-items { display: flex; flex-direction: column; gap: 28px; }
.fr-item { display: flex; align-items: flex-start; gap: 16px; }
.fr-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px dashed #d1d5db;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.fr-item-title { font-size: 17px; font-weight: 700; color: var(--dk); line-height: 1.3; margin-bottom: 4px; }
.fr-item-desc { font-size: 14px; color: var(--gy); line-height: 1.65; }

/* Feature visual cards */
.fr-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  padding: 28px;
  min-height: 280px;
}

/* Row 1 — Call transcript */
.frc-status { display: inline-flex; align-items: center; gap: 6px; background: #eff6ff; color: var(--blue); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 100px; margin-bottom: 20px; }
.frc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; animation: pu 1.8s infinite; }
.frc-chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.frc-bubble { font-size: 13px; padding: 10px 14px; border-radius: 12px; max-width: 75%; line-height: 1.45; }
.frc-left  { background: #f1f5f9; color: var(--dk); align-self: flex-start; }
.frc-right { background: var(--blue); color: #fff; align-self: flex-end; }
.frc-confirm { font-size: 12px; font-weight: 600; color: var(--green); padding: 8px 14px; background: #f0fdf4; border-radius: 8px; }

/* Row 1 — Setup card */
.fr-setup-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 20px;
  padding: 36px 32px 32px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
}
.fr-setup-top-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b0b8c4;
  text-align: center;
  margin-bottom: 16px;
}
.fr-setup-dialer {
  background: linear-gradient(135deg, #f0f4ff 0%, #f5f8ff 100%);
  border: 1px solid rgba(37,99,235,0.1);
  border-radius: 14px;
  padding: 24px 20px 20px;
  text-align: center;
  margin-bottom: 24px;
}
.fr-setup-icon-wrap {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin: 0 auto 14px;
  box-shadow: 0 1px 4px rgba(37,99,235,0.08);
}
.fr-setup-code {
  font-family: 'DM Mono', 'SF Mono', ui-monospace, monospace;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #1a1a2e;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dialer-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: #1a1a2e;
  margin-left: 2px;
  vertical-align: middle;
  border-radius: 1px;
  animation: dialer-blink 0.9s step-end infinite;
}
.dialer-cursor.dialer-cursor-hidden { opacity: 0; animation: none; }
@keyframes dialer-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.fr-setup-confirm {
  font-size: 14px;
  font-weight: 600;
  color: #22c55e;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.fr-setup-confirm.visible { opacity: 1; }
.fr-code-muted { color: #94a3b8; }
.fr-code-main  { color: #0f172a; }
.fr-setup-hint {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 8px;
  letter-spacing: 0.01em;
}
.fr-setup-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.fr-setup-check {
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.fr-chk {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #16a34a;
  line-height: 1;
}
.fr-setup-note {
  font-size: 12.5px;
  color: #b0b8c4;
  font-style: italic;
  text-align: center;
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
  margin-top: 2px;
}

/* Row 3 — Mini dashboard */
.frd-stats { display: flex; gap: 12px; margin-bottom: 20px; }
.frd-stat-box { flex: 1; background: var(--lt); border-radius: 8px; padding: 12px 16px; }
.frd-stat-val { font-size: 20px; font-weight: 700; color: var(--dk); line-height: 1; }
.frd-stat-val.frd-green { color: var(--green); }
.frd-stat-lbl { font-size: 11px; color: var(--gy); margin-top: 4px; }
.frd-bars { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.frd-bar { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), rgba(37,99,235,0.4)); }
.frd-calls { display: flex; flex-direction: column; gap: 6px; }
.frd-call-line { font-size: 11px; font-family: monospace; color: var(--gy); }

/* Mobile */
@media (max-width: 768px) {
  .feat-row { flex-direction: column !important; padding: 48px 20px; gap: 40px; }
  .fr-visual { flex: none; max-width: 100%; width: 100%; }
  .fr-text { max-width: 100%; }
  .feat-row-flip .fr-text { order: -1; }
}

/* ── Missed Call Rescue Card ── */
.fr-card-rescue {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.mrc-state {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.mrc-state.mrc-active { opacity: 1; }
.mrc-phone { font-size: 36px; line-height: 1; }
.mrc-icon-check { font-size: 32px; color: var(--green); font-weight: 700; }
.mrc-title { font-size: 16px; font-weight: 600; color: var(--dk); }
.mrc-sub { font-size: 12px; color: var(--gy); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.mrc-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.mrc-badge-red   { background: #fee2e2; color: #ef4444; }
.mrc-badge-green { background: #f0fdf4; color: var(--green); }
.mrc-wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.mrc-wave .wbar { background: var(--green); }
.mrc-data { display: flex; flex-direction: column; gap: 8px; text-align: left; width: 100%; max-width: 200px; }
.mrc-data-line { font-size: 13px; color: var(--dk); background: var(--lt); padding: 7px 12px; border-radius: 8px; border-left: 2px solid var(--blue); }

/* MiniDashboard */
.mini-dash-wrap { display: flex; align-items: stretch; justify-content: center; }
.mini-dash { background: #fff; border: 1px solid var(--bd); border-radius: 12px; padding: 10px; width: 100%; max-width: 260px; display: flex; flex-direction: column; gap: 8px; }
.md-tabs { display: flex; gap: 4px; background: var(--lt); border-radius: 8px; padding: 3px; }
.md-tab { flex: 1; font-size: 9px; font-weight: 600; border: none; background: transparent; border-radius: 6px; padding: 4px 2px; cursor: pointer; color: var(--gy); transition: all 0.2s; white-space: nowrap; }
.md-tab.active { background: var(--blue); color: #fff; }
.md-pane { display: none; flex-direction: column; gap: 6px; }
.md-pane.active { display: flex; }
.md-stat-row { display: flex; justify-content: space-between; align-items: center; }
.md-stat-label { font-size: 10px; color: var(--gy); }
.md-stat-num { font-size: 18px; font-weight: 700; color: var(--dk); }
.md-chart { display: flex; align-items: flex-end; gap: 3px; height: 44px; }
.md-bar { flex: 1; height: var(--bh, 50%); background: linear-gradient(180deg, var(--blue) 0%, rgba(37,99,235,0.4) 100%); border-radius: 3px 3px 0 0; }
.md-row { display: flex; align-items: center; gap: 4px; font-size: 9px; padding: 3px 0; border-bottom: 1px solid var(--bd); }
.md-row:last-child { border-bottom: none; }
.md-name { font-weight: 700; color: var(--dk); flex: 0 0 auto; }
.md-phone { color: var(--gy); flex: 1; }
.md-svc { color: var(--gy); flex: 1; display: none; }
.md-badge { font-size: 8px; font-weight: 700; padding: 2px 5px; border-radius: 4px; flex: 0 0 auto; }
.md-green { background: rgba(16,185,129,0.1); color: var(--green); }
.md-blue { background: var(--blue-bg); color: var(--blue); }
.md-log { display: flex; align-items: center; gap: 6px; font-size: 9px; padding: 3px 0; border-bottom: 1px solid var(--bd); }
.md-log:last-child { border-bottom: none; }
.md-time { font-family: monospace; color: var(--gy); flex: 0 0 auto; }
.md-dur { font-family: monospace; color: var(--blue); font-weight: 600; flex: 0 0 auto; }
.md-sum { color: var(--gy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.md-cal-head { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; font-size: 8px; font-weight: 700; color: var(--gy); margin-bottom: 2px; }
.md-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.md-day { font-size: 9px; text-align: center; padding: 3px 0; border-radius: 4px; color: var(--dk); }
.md-has-call { background: var(--blue-bg); color: var(--blue); font-weight: 700; }
.md-today { background: var(--blue); color: #fff; font-weight: 700; }

/* MiniSMS */
.sms-msgs { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.sms-msg { font-size: 10px; font-weight: 600; padding: 5px 8px; border-radius: 6px; opacity: 0; transform: translateX(-8px); transition: all 0.4s ease; white-space: nowrap; }
.sms-msg.show { opacity: 1; transform: translateX(0); }
.sms-blue  { background: var(--blue-bg); color: var(--blue); }
.sms-green { background: rgba(16,185,129,0.08); color: var(--green); }

/* MiniMultiCall */
.multi-circles { display: flex; gap: 4px; align-items: center; }
.multi-circle { width: 24px; height: 24px; border-radius: 50%; background: var(--lt); border: 1.5px solid var(--bd); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: all 0.3s; }
.multi-circle.active { background: rgba(16,185,129,0.1); border-color: var(--green); }
.tiny-wave { display: flex; align-items: center; gap: 1px; height: 12px; overflow: hidden; }
.tiny-wave .tw-bar { display: block; width: 2px; border-radius: 1px; background: var(--green); animation: wv 1.2s ease-in-out infinite; opacity: 0.7; }
@keyframes twv { 0%,100%{height:2px;opacity:.2} 50%{height:10px;opacity:.8} }

/* MiniUpdate */
.upd-wrap { display: flex; align-items: center; gap: 8px; }
.upd-icon { transition: transform 1s cubic-bezier(0.16,1,0.3,1); }
.upd-status { font-size: 11px; font-weight: 600; color: var(--green); }

/* ═══════════════ FEATURES DASHBOARD ═══════════════ */
.feat-dashboard {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
  overflow: hidden;
  margin-bottom: 40px;
}
.fd-mob-tabs { display: none; }
.fd-inner { display: flex; height: 340px; }

/* Sidebar */
.fd-sidebar {
  width: 140px;
  flex-shrink: 0;
  background: #0f172a;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fd-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  padding: 0 4px;
  letter-spacing: -0.02em;
}
.fd-nav { display: flex; flex-direction: column; gap: 4px; }
.fd-nav-item {
  width: 100%;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.fd-nav-item:hover { color: #fff; background: rgba(255,255,255,0.08); }
.fd-nav-item.active { background: var(--blue); color: #fff; font-weight: 600; }

/* Content area */
.fd-content { flex: 1; overflow: hidden; position: relative; min-width: 0; }
.fd-view { display: none; padding: 24px 28px; height: 100%; box-sizing: border-box; overflow: auto; }
.fd-view.active { display: block; }

/* Dashboard stats */
.fd-stats { display: flex; gap: 32px; margin-bottom: 20px; flex-wrap: wrap; }
.fd-stat { display: flex; flex-direction: column; gap: 3px; }
.fd-stat-label { font-size: 11px; color: var(--gy); font-weight: 500; }
.fd-stat-val { font-size: 30px; font-weight: 700; color: var(--dk); line-height: 1; letter-spacing: -0.02em; }
.fd-green { color: var(--green) !important; }

/* Bar chart */
.fd-chart {
  display: flex;
  gap: 6px;
  height: 160px;
  align-items: flex-end;
  border-bottom: 1px solid var(--bd);
  border-left: 1px solid var(--bd);
  padding-bottom: 0;
}
.fd-bar-col { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; height: 100%; justify-content: flex-end; }
.fd-bars-area { flex: 1; display: flex; align-items: flex-end; width: 100%; }
.fd-bar {
  width: 100%;
  height: var(--bh, 50%);
  border-radius: 3px 3px 0 0;
  background: rgba(37,99,235,0.2);
  transition: height 0.5s ease;
}
.fd-bar.fd-bar-hi { background: var(--blue); }
.fd-bar-label { font-size: 8px; color: var(--gy); white-space: nowrap; line-height: 1; padding-top: 2px; }

/* Tables (Client Details + Call Log) */
.fd-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.fd-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  color: var(--gy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 10px 10px;
  border-bottom: 1px solid var(--bd);
}
.fd-table td { padding: 10px 10px; color: var(--dk); border-bottom: 1px solid var(--bd); vertical-align: middle; }
.fd-table tr:last-child td { border-bottom: none; }
.fd-table tbody tr:nth-child(even) td { background: var(--lt); }
.fd-mono { font-family: monospace; font-size: 11px; color: var(--gy); }
.fd-ellipsis { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 5px; }
.fd-badge-green { background: rgba(16,185,129,0.1); color: var(--green); }
.fd-badge-blue { background: var(--blue-bg); color: var(--blue); }

/* Calendar */
.fd-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.fd-cal-title { font-size: 14px; font-weight: 700; color: var(--dk); }
.fd-cal-arrow {
  background: none;
  border: 1px solid var(--bd);
  border-radius: 6px;
  width: 26px; height: 26px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gy);
  font-size: 14px;
  line-height: 1;
  transition: all 0.2s;
}
.fd-cal-arrow:hover { border-color: var(--blue); color: var(--blue); }
.fd-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 1px; }
.fd-cal-dow { text-align: center; font-size: 10px; font-weight: 700; color: var(--gy); padding: 4px 0 8px; }
.fd-cal-day {
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  color: var(--dk);
  border-radius: 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: background 0.15s;
}
.fd-cal-day:hover { background: var(--lt); }
.fd-cal-day.fd-has-call::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
}
.fd-cal-day.fd-today {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  width: 28px; height: 28px;
  margin: 0 auto;
  padding: 0;
  justify-content: center;
}
.fd-cal-day.fd-today.fd-has-call::after { background: rgba(255,255,255,0.7); }

/* Mobile responsive */
@media (max-width: 767px) {
  .fd-inner { height: auto; flex-direction: column; }
  .fd-sidebar { display: none; }
  .fd-mob-tabs {
    display: flex;
    background: var(--lt);
    border-bottom: 1px solid var(--bd);
    overflow-x: auto;
  }
  .fd-mob-tab {
    flex: 1;
    min-width: 70px;
    font-size: 11px;
    font-weight: 600;
    padding: 11px 4px;
    border: none;
    background: transparent;
    color: var(--gy);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
  }
  .fd-mob-tab.active { color: var(--blue); border-bottom-color: var(--blue); background: #fff; }
  .fd-view { padding: 16px; height: auto; min-height: 280px; }
  .fd-chart { height: 120px; }
  .fd-stats { gap: 20px; }
  .fd-stat-val { font-size: 22px; }
  .fd-table th:nth-child(3), .fd-table td:nth-child(3) { display: none; }
}

/* ═══════════════ DUAL CALCULATOR ═══════════════ */
.dual-calc {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.dc-card {
  flex: 1 1 0;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 20px;
  padding: 28px 28px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.dc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.dc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dc-dot-red  { background: #ef4444; }
.dc-dot-blue { background: var(--blue); }
.dc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dk);
}

/* Sliders */
.dc-sliders { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.dc-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dk);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dc-val { color: var(--blue); }

/* Funnel */
.dc-funnel { display: flex; flex-direction: column; gap: 0; flex: 1; }
.dc-funnel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--lt);
  border: 1px solid var(--bd);
  transition: all 0.3s ease;
}
.dc-funnel-danger { background: rgba(239,68,68,0.04); border-color: rgba(239,68,68,0.2); }
.dc-funnel-punchline {
  background: rgba(239,68,68,0.06);
  border: 2px solid rgba(239,68,68,0.35);
  box-shadow: 0 4px 16px rgba(239,68,68,0.1);
}
.dc-funnel-label { font-size: 13px; color: var(--gy); }
.dc-funnel-num { font-size: 18px; font-weight: 700; color: var(--dk); transition: all 0.3s; }
.dc-red { color: #ef4444; }
.dc-red-big { font-size: 22px; color: #ef4444; }
.dc-blue-big { font-size: 22px; color: var(--blue); }

.dc-arrow-row {
  display: flex;
  justify-content: center;
  padding: 6px 0;
}
.dc-arrow-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--gy);
  background: var(--lt);
  border: 1px solid var(--bd);
  border-radius: 20px;
  padding: 3px 10px;
}
.dc-funnel-hours {
  font-size: 13px;
  color: var(--gy);
  margin-top: 8px;
  margin-bottom: 16px;
  line-height: 1.5;
  padding: 0 2px;
}

/* Plans */
.dc-plans { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; margin-top: 4px; }
.dc-plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--bd);
  background: #fff;
  transition: all 0.25s ease;
  opacity: 0.5;
}
.dc-plan.dc-plan-hidden { display: none; }
.dc-plan.dc-plan-active {
  border-color: var(--blue);
  background: var(--blue-bg);
  opacity: 1;
  box-shadow: 0 2px 12px rgba(37,99,235,0.12);
}
.dc-plan-left { display: flex; align-items: center; gap: 8px; }
.dc-plan-check {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  opacity: 0;
  transition: opacity 0.2s;
}
.dc-plan.dc-plan-active .dc-plan-check { opacity: 1; }
.dc-plan-name { font-size: 13px; font-weight: 600; color: var(--dk); }
.dc-plan-right { display: flex; align-items: center; gap: 8px; }
.dc-plan-mins { font-size: 12px; color: var(--gy); }
.dc-plan-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
}
.dc-plan.dc-plan-active .dc-plan-badge { opacity: 1; }
.dc-plan-note {
  font-size: 12px;
  color: var(--gy);
  margin-bottom: 16px;
  padding: 0 2px;
  transition: all 0.3s;
}

/* Gradient bottom box */
.dc-cta-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  margin: 0 -28px;
  padding: 20px 28px;
  text-align: center;
  margin-top: auto;
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s;
}
.dc-cta-box:hover { filter: brightness(1.08); }
.dc-cta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dc-cta-price {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.dc-cta-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

@media (max-width: 767px) {
  .dual-calc { flex-direction: column; }
  .dc-card { padding: 22px 20px 0; }
  .dc-cta-box { margin: 0 -20px; padding: 18px 20px; }
}


/* ═══════════════ INTEGRATIONS ═══════════════ */
.intg-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  gap: 48px;
}
.intg-left { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.intg-headline {
  font-family: 'Instrument Serif', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--dk);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 16px;
}
.intg-sub {
  font-size: 15px;
  color: var(--gy);
  line-height: 1.7;
  max-width: 380px;
  margin-top: 12px;
}
.btn-intg-outline {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 11px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-intg-outline:hover { background: var(--blue); color: #fff; }
.intg-right { flex: 0 0 340px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.intg-grid {
  display: grid;
  grid-template-columns: repeat(4, 72px);
  grid-template-rows: repeat(2, 72px);
  gap: 16px;
}
.intg-logo-cell {
  width: 72px;
  height: 72px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: default;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.intg-logo-cell:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.1);
}
.intg-lbl { font-size: 8px; font-weight: 600; color: var(--gy); text-align: center; line-height: 1; }
.intg-more { font-size: 12px; font-weight: 700; color: var(--blue); text-align: center; }

@media (max-width: 768px) {
  .intg-card { flex-direction: column; padding: 32px 24px; gap: 32px; }
  .intg-right { flex: none; width: 100%; }
  .intg-grid { grid-template-columns: repeat(4, 56px); grid-template-rows: repeat(2, 56px); gap: 12px; }
  .intg-logo-cell { width: 56px; height: 56px; border-radius: 12px; }
  .intg-lbl { font-size: 7px; }
  .intg-headline { font-size: 26px; }
}

/* ═══════════════ INDUSTRIES ═══════════════ */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 12px; }
.ind-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--bd); border-radius: 14px; padding: 18px 20px; transition: all 0.25s; cursor: default; }
.ind-card:hover { border-color: var(--blue); transform: translateX(4px); }
.ind-card > span { font-size: 26px; flex-shrink: 0; }
.ind-card strong { font-size: 15px; font-weight: 600; color: var(--dk); display: block; margin-bottom: 2px; }
.ind-card p { font-size: 12px; color: var(--gy); margin: 0; }

/* ═══════════════ PRICING ═══════════════ */
.price-note { font-size: 13px; color: var(--gy); margin-top: 12px; }

/* ═══════════════ FAQ ═══════════════ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--bd); border-radius: 16px; background: #fff; overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: var(--blue); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; text-align: left; }
.faq-q > span:first-child { font-size: 15px; font-weight: 600; color: var(--dk); }
.faq-plus { font-size: 20px; color: var(--gy); transition: transform 0.3s, color 0.2s; flex-shrink: 0; font-weight: 300; line-height: 1; }
.faq-item.open .faq-plus { transform: rotate(45deg); color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.faq-a.open { max-height: 200px; }
.faq-a p { padding: 0 24px 18px; font-size: 14px; color: var(--gy); line-height: 1.65; }

/* ═══════════════ CTA ═══════════════ */
.cta-sec { padding: clamp(80px,10vw,140px) 24px; background: linear-gradient(135deg,#0c1445 0%,#1a237e 30%,#2563EB 60%,#0d47a1 100%); position: relative; overflow: hidden; text-align: center; }
.cta-orb { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle,rgba(37,99,235,0.15) 0%,transparent 70%); filter: blur(60px); pointer-events: none; }

/* ═══════════════ FOOTER ═══════════════ */
footer { padding: 40px 24px; background: #fff; border-top: 1px solid var(--bd); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-logo { height: 30px; width: auto; display: block; }
.footer-tag { font-size: 13px; color: #475569; margin-left: 8px; }
.footer-r { font-size: 12px; color: #475569; }

/* ═══════════════ HERO PHONE MOCKUP ═══════════════ */
.hero-phone-wrap {
  flex-shrink: 0;
  width: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

/* ── Frame (iPhone 17 proportions) ── */
.ph-frame {
  width: 272px;
  height: 590px;
  background: #0a0a0a;
  border-radius: 43px;
  padding: 3px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.28),
    0 16px 32px rgba(0,0,0,0.14);
  box-sizing: border-box;
  position: relative;
}

/* ── Side buttons ── */
.ph-side-l {
  position: absolute;
  left: -4px;
  top: 168px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 3;
}
.ph-side-r {
  position: absolute;
  right: -4px;
  top: 220px;
  z-index: 3;
}
.ph-vol-btn {
  width: 4px; height: 34px;
  background: linear-gradient(180deg, #d0d0d0, #b8b8b8);
  border-radius: 2px;
  box-shadow: -2px 0 5px rgba(0,0,0,0.22);
}
.ph-pwr-btn {
  width: 4px; height: 52px;
  background: linear-gradient(180deg, #d0d0d0, #b8b8b8);
  border-radius: 2px;
  box-shadow: 2px 0 5px rgba(0,0,0,0.22);
}

/* ── Screen ── */
.ph-screen {
  width: 100%;
  height: 100%;
  background: #f8f9fb;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

/* ── Dynamic Island ── */
.ph-di {
  position: absolute;
  top: 14px;
  left: 50%; transform: translateX(-50%);
  width: 100px; height: 32px;
  background: #111;
  border-radius: 16px;
  z-index: 20;
  pointer-events: none;
}

/* ── Status Bar ── */
.ph-sb {
  position: absolute;
  top: 58px; left: 0; right: 0;
  height: 44px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px;
  z-index: 15;
  color: #1a1a1a;
  transition: color 0.4s ease;
  pointer-events: none;
}
.ph-sb.ph-sb-white { color: rgba(255,255,255,0.92); }
.ph-sb-time { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.ph-sb-icons { display: flex; align-items: center; gap: 6px; }

/* ── Stage base ── */
.ph-stage {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 106px 26px 36px;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  box-sizing: border-box;
  overflow: hidden;
}
.ph-stage.ph-stage-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* ─────────────────────────────────
   Stage 1 — Incoming Call (dark iOS)
───────────────────────────────── */
.ph-stage-dark {
  background: linear-gradient(180deg, #1c2b3a 0%, #0d1821 100%);
  justify-content: space-between;
  padding-top: 102px;
  padding-bottom: 56px;
}
.ph-s1-body {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
}
.ph-s1-name {
  font-size: 34px; font-weight: 300;
  color: #fff; letter-spacing: 0.3px;
  margin: 0;
}
.ph-s1-sub {
  font-size: 15px; color: rgba(255,255,255,0.5); margin: 0;
}

/* iOS slide-to-answer bar */
.ph-slide-bar {
  width: 100%;
  height: 62px;
  background: rgba(255,255,255,0.12);
  border-radius: 100px;
  display: flex;
  align-items: center;
  padding: 5px;
  position: relative;
  overflow: hidden;
}
.ph-slide-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.ph-slide-thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  animation: ph-thumb-nudge 2.2s ease-in-out infinite;
}
@keyframes ph-thumb-nudge {
  0%, 100% { transform: translateX(0); }
  40%       { transform: translateX(8px); }
  60%       { transform: translateX(5px); }
}
.ph-slide-label {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.01em;
  padding-right: 52px; /* optical center accounting for thumb */
  user-select: none;
}

/* ─────────────────────────────────
   Stage 2 — Missed Call
───────────────────────────────── */
.ph-s2-icon { color: #ef4444; margin-bottom: 14px; }
.ph-s2-title { font-size: 24px; font-weight: 600; color: #1a1a2e; margin: 0 0 10px; }
.ph-s2-name  { font-size: 16px; color: #6b7280; margin: 0 0 4px; }
.ph-s2-time  { font-size: 13px; color: #9ca3af; margin: 0; }
.ph-s2-div   { border: none; border-top: 1px solid #e5e7eb; width: 72%; margin: 24px 0 16px; }
.ph-s2-reason { font-size: 14px; color: #9ca3af; font-style: italic; margin: 0; text-align: center; }

/* ─────────────────────────────────
   Stage 3 — Palmo Picks Up
───────────────────────────────── */
.ph-s3-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #ecfdf5; border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px; color: #059669; font-weight: 500;
  margin-bottom: 20px;
}
.ph-s3-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  animation: ph-dot-blink 1.4s ease-in-out infinite;
}
@keyframes ph-dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.8); }
}
.ph-s3-title {
  font-size: 20px; font-weight: 600;
  color: #1a1a2e; margin: 0 0 8px; text-align: center;
}
.ph-s3-conn { font-size: 14px; color: #22c55e; font-weight: 500; margin: 0 0 28px; }
.ph-live-wave {
  display: flex; align-items: center; justify-content: center;
  gap: 2px; height: 40px; margin-bottom: 16px;
}
.ph-lw-bar {
  width: 3px; background: rgba(37,99,235,0.65);
  border-radius: 2px;
  animation: ph-lw-bounce 0.8s ease-in-out infinite alternate;
}
@keyframes ph-lw-bounce {
  from { height: 4px; }
  to   { height: 28px; }
}
.ph-s3-timer {
  font-size: 15px; color: #9ca3af; margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

/* ─────────────────────────────────
   Stage 4 — Conversation
───────────────────────────────── */
.ph-stage-chat {
  align-items: stretch; justify-content: flex-start;
  padding: 94px 16px 20px; overflow: hidden;
}
.ph-txlbl {
  font-size: 10px; color: #9ca3af;
  text-transform: uppercase; letter-spacing: 1.2px;
  text-align: center; margin: 0 0 14px; flex-shrink: 0;
}
.ph-chat { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ph-chat-item {
  display: flex;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.ph-chat-item.ph-show { opacity: 1; transform: translateY(0); }
.ph-chat-r { justify-content: flex-end; }
.ph-chat-c { justify-content: center; }
.ph-bub-l {
  background: #f0f1f3; color: #1a1a2e;
  font-size: 13px; padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  line-height: 1.5; max-width: 84%;
}
.ph-bub-r {
  background: #2563eb; color: #fff;
  font-size: 13px; padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  line-height: 1.5; max-width: 84%;
}
.ph-pill-grn {
  background: #dcfce7; color: #16a34a;
  font-size: 12px; font-weight: 500;
  padding: 7px 16px; border-radius: 20px;
}
.ph-pill-gry {
  background: #f3f4f6; color: #6b7280;
  font-size: 12px; padding: 6px 14px; border-radius: 20px;
}

/* ─────────────────────────────────
   Stage 5 — Summary
───────────────────────────────── */
.ph-stage-sum {
  align-items: stretch; justify-content: flex-start;
  padding: 100px 22px 24px;
}
.ph-sum-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ecfdf5; color: #059669;
  font-size: 11px; font-weight: 500;
  padding: 5px 12px; border-radius: 20px;
  align-self: flex-start; margin-bottom: 12px;
}
.ph-sum-dot  { width: 6px; height: 6px; border-radius: 50%; background: #10b981; flex-shrink: 0; }
.ph-sum-name { font-size: 20px; font-weight: 600; color: #1a1a2e; margin-bottom: 3px; }
.ph-sum-svc  { font-size: 14px; color: #6b7280; margin-bottom: 14px; }
.ph-sum-hr   { border: none; border-top: 1px solid #e5e7eb; margin: 0 0 14px; width: 100%; }
.ph-sum-rows { display: flex; flex-direction: column; gap: 11px; margin-bottom: 18px; }
.ph-sum-row  { display: flex; justify-content: space-between; align-items: center; }
.ph-sum-lbl  { font-size: 13px; color: #9ca3af; }
.ph-sum-val  { font-size: 13px; font-weight: 500; color: #1a1a2e; text-align: right; }
.ph-val-blue { color: #2563eb; }
.ph-val-grn  { color: #22c55e; }
.ph-sum-wave {
  display: flex; align-items: center; gap: 2px;
  height: 22px; margin-bottom: 7px;
  overflow: hidden; flex-shrink: 0;
}
.ph-sum-wbar { width: 3px; background: #dbeafe; border-radius: 2px; flex-shrink: 0; }
.ph-rec-lbl  { font-size: 11px; color: #9ca3af; }

/* ── Footer email ── */
.footer-email { color: #475569; text-decoration: none; }
.footer-email:hover { color: var(--blue); }

/* ── Phone Responsive ── */

/* Default desktop stage padding matches 272×590 frame */
.ph-stage      { padding: 80px 19px 27px; }
.ph-stage-dark { padding-top: 77px; padding-bottom: 43px; }
.ph-stage-chat { padding: 78px 15px 20px; }
.ph-stage-sum  { padding: 82px 19px 22px; }
.ph-sb         { top: 43px; height: 34px; padding: 0 19px; }
.ph-di         { width: 75px; height: 22px; top: 10px; border-radius: 11px; }
.ph-screen     { border-radius: 40px; }
.ph-s1-name    { font-size: 26px; }
.ph-side-l     { top: 129px; }
.ph-side-r     { top: 168px; }

/* Medium desktop: scale phone down slightly so hero copy has room */
@media (max-width: 1279px) and (min-width: 1024px) {
  .hero-phone-wrap { width: 380px; }
  .ph-frame { width: 360px; height: 780px; border-radius: 56px; background: #0a0a0a; padding: 3px; }
  .ph-screen { border-radius: 53px; }
  .ph-di { width: 100px; height: 32px; top: 14px; border-radius: 16px; }
  .ph-sb { top: 58px; height: 44px; padding: 0 26px; }
  .ph-stage { padding: 106px 26px 36px; }
  .ph-stage-dark { padding-top: 102px; padding-bottom: 56px; }
  .ph-stage-chat { padding: 106px 20px 26px; }
  .ph-stage-sum { padding: 110px 26px 30px; }
  .ph-s1-name { font-size: 34px; }
  .ph-side-l { top: 168px; }
  .ph-side-r { top: 220px; }
}

/* Tablet portrait */
@media (max-width: 1023px) {
  .hero-phone-wrap { width: 330px; }
  .ph-frame { width: 310px; height: 672px; border-radius: 50px; background: #0a0a0a; padding: 3px; }
  .ph-screen { border-radius: 47px; }
  .ph-di { width: 88px; height: 28px; top: 12px; border-radius: 14px; }
  .ph-sb { top: 52px; height: 40px; padding: 0 22px; }
  .ph-stage { padding: 96px 22px 32px; }
  .ph-stage-dark { padding-top: 92px; padding-bottom: 48px; }
  .ph-stage-chat { padding: 94px 16px 22px; }
  .ph-stage-sum { padding: 100px 22px 26px; }
  .ph-s1-name { font-size: 28px; }
  .ph-side-l { top: 146px; }
  .ph-side-r { top: 190px; }
  .ph-vol-btn { width: 3px; height: 30px; }
  .ph-pwr-btn { width: 3px; height: 46px; }
}

/* Mobile: phone stacks below hero copy */
@media (max-width: 767px) {
  .hero-phone-wrap { width: 100%; max-width: 320px; margin: 48px auto 0; }
  .ph-frame { width: 300px; height: 650px; border-radius: 48px; background: #0a0a0a; padding: 3px; }
  .ph-screen { border-radius: 45px; }
  .ph-di { width: 86px; height: 27px; top: 12px; border-radius: 14px; }
  .ph-sb { top: 51px; height: 40px; padding: 0 22px; }
  .ph-stage { padding: 95px 20px 30px; }
  .ph-stage-dark { padding-top: 91px; padding-bottom: 44px; }
  .ph-stage-chat { padding: 93px 14px 20px; }
  .ph-stage-sum { padding: 98px 20px 24px; }
  .ph-s1-name { font-size: 28px; }
  .ph-side-l { top: 140px; }
  .ph-side-r { top: 182px; }
  .ph-vol-btn { width: 3px; height: 30px; }
  .ph-pwr-btn { width: 3px; height: 44px; }
  .ph-bub-l, .ph-bub-r { font-size: 12px; padding: 9px 12px; }
}

/* Small mobile */
@media (max-width: 374px) {
  .hero-phone-wrap { max-width: 270px; }
  .ph-frame { width: 260px; height: 564px; border-radius: 44px; background: #0a0a0a; padding: 3px; }
  .ph-screen { border-radius: 41px; }
  .ph-di { width: 76px; height: 24px; border-radius: 12px; }
  .ph-sb { top: 48px; height: 38px; padding: 0 18px; }
  .ph-stage { padding: 88px 18px 26px; }
  .ph-stage-dark { padding-top: 84px; padding-bottom: 38px; }
  .ph-stage-chat { padding: 86px 12px 18px; }
  .ph-stage-sum { padding: 90px 18px 20px; }
  .ph-s1-name { font-size: 24px; }
  .ph-side-l { top: 120px; }
  .ph-side-r { top: 158px; }
  .ph-slide-bar { height: 54px; }
  .ph-slide-thumb { width: 44px; height: 44px; }
  .ph-slide-label { font-size: 13px; padding-right: 44px; }
  .ph-bub-l, .ph-bub-r { font-size: 12px; padding: 8px 11px; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mob-btn { display: flex; }
  .step1-wrap { flex-direction: column; }
  .step1-right { width: 100%; display: flex; justify-content: center; }
  .footer-tag { display: none; }

  /* Hero */
  .hero { padding: 100px 20px 120px; }
  .hero-inner { gap: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-h1 { font-size: clamp(36px, 9vw, 52px); }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hstat-n { font-size: 20px; }
  .hstat-l { font-size: 11px; }

  /* Tech strip */
  .tech-logos { gap: 20px; }
  .tech-logo { font-size: 15px; }

  /* Feature section heading */
  .sec-hdr { margin-bottom: 40px; }

  /* Feature rows */
  .fr-text h3.fr-headline { font-size: clamp(20px, 5vw, 26px); }
  .fr-setup-code { font-size: 18px; }
  .fr-setup-card { padding: 24px 20px; }
  .fr-setup-dialer { padding: 16px; }

  /* Steps */
  .step-desc { font-size: 14px; }
  .steps234 { flex-direction: column; }
  .step-card { flex: none; }

  /* Calculator */
  .dual-calc { flex-direction: column; }

  /* Dashboard */
  .fd-stat-val { font-size: 20px; }

  /* Pricing */
  .pf-plans { flex-direction: column; }
  .pf-plan { text-align: center; }

  /* FAQ */
  .faq-a.open { max-height: 400px; }
  .faq-q { padding: 16px 18px; }
  .faq-q > span:first-child { font-size: 14px; }

  /* CTA */
  .cta-sec h2 { font-size: clamp(28px, 7vw, 44px); }
  .btn-dark, .btn-white, .btn-ghost-white { padding: 13px 24px; font-size: 14px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-r { font-size: 11px; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 16px 100px; }
  .hero-btns { align-items: center; }
  .hero-inner { justify-content: center; text-align: center; }
  .hero-sub { margin: 0 auto 32px; font-size: 15px; }
  .hero-stats { gap: 20px; }
  .phone-widget { width: 100%; max-width: 280px; }

  /* Sections */
  .sec { padding: clamp(56px, 8vw, 80px) 16px; }
  .sec-hdr h2 { font-size: clamp(26px, 7vw, 36px); }
  .sec-sub { font-size: 15px; }

  /* Feature rows */
  .fr-item-desc { font-size: 13px; }
  .fr-setup-code { font-size: 16px; }
  .fr-setup-checks { gap: 8px; }
  .fr-chk { width: 16px; height: 16px; font-size: 9px; }

  /* Pricing plan finder */
  .pf-sliders { gap: 12px; }

  /* Industries */
  .ind-grid { grid-template-columns: 1fr; }
  .ind-card { padding: 14px 16px; }
  .ind-card > span { font-size: 22px; }

  /* Steps */
  .steps-note { padding: 16px 20px; font-size: 13px; }
  .step-tags span { font-size: 11px; padding: 5px 11px; }
}

@media (max-width: 600px) {
  .steps234 { flex-direction: column; }
  .hero-stats { gap: 24px; }
}
