/* ============ Callhaven — custom landing ============ */
:root {
  --navy: #0a1428;
  --navy-2: #0e1d38;
  --blue: #2e7cf6;
  --blue-dark: #1f63d8;
  --sky: #5eb2ff;
  --bg: #ffffff;
  --bg-soft: #f6f9fd;
  --text: #0f1e33;
  --muted: #5b6b84;
  --border: #e3eaf4;
  --radius: 16px;
  --shadow: 0 18px 45px -18px rgba(10, 20, 40, 0.25);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; scroll-margin-top: 70px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(46, 124, 246, .7); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 14px 30px -10px rgba(46, 124, 246, .8); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: #eef4fe; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; padding: 14px; font-size: 1rem; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .2s ease, box-shadow .2s ease; }
.nav.scrolled { background: rgba(10, 20, 40, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 24px -12px rgba(0,0,0,.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -.02em; }
.logo img { height: 34px; width: auto; display: block; }
.footer-logo { width: 210px; max-width: 100%; height: auto; display: block; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: rgba(255,255,255,.78); font-weight: 500; font-size: .96rem; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 170px 0 110px; }
.hero-bg { position: absolute; inset: 0; background: url("assets/hero-visual.webp") center 30% / cover no-repeat; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,40,.55) 0%, rgba(10,20,40,.25) 45%, var(--navy) 100%); }
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 680px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--sky); margin-bottom: 18px; }
.eyebrow-dark { color: var(--blue); }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 22px; }
.hero-sub { font-size: 1.18rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.hero-stats span { color: rgba(255,255,255,.62); font-size: .9rem; }

/* ---------- Sectors ---------- */
.sectors { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); padding: 26px 0; }
.sectors-label { text-align: center; color: rgba(255,255,255,.5); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.sectors-row { display: flex; justify-content: center; gap: 14px 34px; flex-wrap: wrap; }
.sectors-row span { color: rgba(255,255,255,.75); font-weight: 600; font-size: .98rem; }

/* ---------- Sections ---------- */
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 52px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 30px; transition: transform .18s ease, box-shadow .18s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num { width: 44px; height: 44px; border-radius: 13px; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.step h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: .99rem; }

/* Demo */
.demo { background: var(--bg-soft); }
.demo-card { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border-radius: 24px; padding: 70px 60px; text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.demo-card::before { content: ""; position: absolute; inset: 0; background: url("assets/hero-visual.webp") center / cover no-repeat; opacity: .18; }
.demo-card > * { position: relative; z-index: 2; }
.demo-card h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.demo-text { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }
.demo-number { display: inline-block; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; color: #fff; background: rgba(46,124,246,.22); border: 1px solid rgba(94,178,255,.45); padding: 16px 40px; border-radius: 18px; transition: background .15s, transform .15s; }
.demo-number:hover { background: rgba(46,124,246,.38); transform: scale(1.02); }
.demo-note { margin-top: 18px; color: rgba(255,255,255,.55); font-size: .92rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 46px; height: 46px; border-radius: 13px; background: #eaf2fe; color: var(--blue); font-size: 1.35rem; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-weight: 700; }
.feature h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* Pricing */
.pricing { background: var(--bg-soft); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 42px 38px; position: relative; }
.plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 6px 18px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 24px; }
.price .currency { font-size: 1.5rem; vertical-align: top; }
.price .per { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin-bottom: 30px; }
.plan li { padding: 9px 0 9px 30px; position: relative; color: var(--text); font-size: .99rem; border-bottom: 1px solid #f0f4f9; }
.plan li:last-child { border-bottom: none; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--blue); font-weight: 800; }
.pilot-note { text-align: center; margin-top: 34px; color: var(--muted); font-size: 1.05rem; }
.pilot-note strong { color: var(--text); }

/* FAQ */
.faq-inner { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 1.05rem; font-weight: 600; color: var(--text); text-align: left; font-family: var(--font); }
.faq-icon { font-size: 1.4rem; font-weight: 400; color: var(--blue); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: .99rem; }

/* Booking */
.booking { background: var(--bg-soft); }
.booking-sub { color: var(--muted); font-size: 1.08rem; margin: -34px 0 34px; }
.booking-frame { background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.booking-frame iframe { width: 100%; height: 720px; border: none; display: block; }
.booking-alt { text-align: center; margin-top: 22px; color: var(--muted); }
.booking-alt a { color: var(--blue); font-weight: 700; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 60px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 44px; }
.footer-brand p { margin-top: 14px; font-size: .95rem; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.footer-mail { color: rgba(255,255,255,.72); font-weight: 500; }
.footer-mail:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 24px; }
.footer-bottom p { font-size: .86rem; color: rgba(255,255,255,.45); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .demo-card { padding: 52px 28px; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 18px 24px 26px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .steps, .features { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 80px; }
  .hero-ctas .btn { width: 100%; }
  .booking-frame iframe { height: 640px; }
  .footer-contact { align-items: flex-start; }
}
