/* ============================================================
   TAKEOFF CHECK PRO — shared site stylesheet
   Design system + nav + footer + shared components.
   Loaded by every marketing page. Page-specific styles live
   in each page's own <style> block.
   ============================================================ */

:root {
  /* color */
  --navy:#0F2847; --navy-2:#16345c; --navy-deep:#0a1d36;
  --blue:#1A6EE8; --blue-h:#1557C0; --blue-soft:#E8F1FE;
  --bg:#F4F7FB; --white:#FFFFFF; --border:#E8EDF4;
  --ink:#1A1A2E; --text2:#5A6478; --muted:#8A93A8;
  --green:#16A34A; --amber:#D97706; --red:#DC2626;
  --white-dim:rgba(255,255,255,.74);

  /* type */
  --head:'Plus Jakarta Sans', system-ui, sans-serif;
  --sans:'Inter', system-ui, -apple-system, sans-serif;

  /* shadow + radius */
  --shadow-card:0 1px 4px rgba(0,0,0,.06);
  --shadow:0 10px 30px rgba(15,40,71,.12);
  --shadow-lg:0 24px 60px rgba(15,40,71,.18);
  --shadow-blue:0 8px 24px rgba(26,110,232,.28);
  --r:12px; --r-lg:16px; --r-pill:999px;

  --nav-h:72px;
  --maxw:1200px;
}

/* ---------- base ---------- */
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; scroll-padding-top:96px; }
body {
  font-family:var(--sans); color:var(--ink); background:var(--bg);
  font-size:15px; line-height:1.65; -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5 { font-family:var(--head); color:var(--ink); line-height:1.18; letter-spacing:-0.01em; font-weight:700; }
a { text-decoration:none; color:inherit; }
img,svg { display:block; max-width:100%; }
ul { list-style:none; }

.container { max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section { padding:96px 0; }
.bg-gray { background:var(--bg); }
.bg-white { background:var(--white); }
.section-dark { background:var(--navy); color:#fff; }
.section-dark h1,.section-dark h2,.section-dark h3 { color:#fff; }

.divider { height:1px; background:var(--border); border:0; }

/* ---------- section heading block ---------- */
.label {
  display:inline-block; font-family:var(--sans); font-weight:600;
  font-size:12px; text-transform:uppercase; letter-spacing:0.1em; color:var(--blue);
  margin-bottom:16px;
}
.section-dark .label { color:#6BA6FF; }
.section-head { max-width:720px; margin:0 auto 56px; text-align:center; }
.section-head h2 { font-size:36px; font-weight:700; }
.section-head .lead { font-size:18px; color:var(--text2); margin-top:16px; }
.section-dark .section-head .lead { color:var(--white-dim); }

/* ---------- buttons ---------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--sans); font-weight:500; font-size:14px;
  padding:12px 22px; border-radius:8px; border:1px solid transparent;
  cursor:pointer; transition:all .2s ease; white-space:nowrap;
}
.btn:active { transform:scale(.97); }
.btn-primary { background:var(--blue); color:#fff; box-shadow:var(--shadow-blue); }
.btn-primary:hover { background:var(--blue-h); }
.btn-secondary { background:#fff; color:var(--blue); border-color:var(--blue); }
.btn-secondary:hover { background:var(--blue-soft); }
.btn-white { background:#fff; color:var(--navy); }
.btn-white:hover { background:#eaf1fb; transform:translateY(-2px); }
.btn-lg { font-size:16px; padding:15px 30px; }
.btn .ico { width:18px; height:18px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  transition:background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom:1px solid transparent;
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:var(--nav-h); gap:24px; }

.brand { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand-mark {
  width:34px; height:34px; border-radius:8px; flex-shrink:0; display:grid; place-items:center;
  background:linear-gradient(135deg, var(--blue) 0%, #4F93FF 100%);
  box-shadow:0 4px 12px rgba(26,110,232,.4);
}
.brand-mark svg { width:19px; height:19px; }
.brand-text { font-family:var(--head); font-weight:600; font-size:18px; color:var(--ink); letter-spacing:-0.01em; }
.brand-text .pro { color:var(--blue); }

.nav-links { display:flex; align-items:center; gap:30px; }
.nav-links a { font-size:15px; font-weight:500; color:var(--text2); transition:color .2s ease; }
.nav-links a:hover { color:var(--blue); }
.nav-links a.active { color:var(--blue); }

.nav-actions { display:flex; align-items:center; gap:10px; }
.nav .btn-outline { background:transparent; border:1px solid var(--border); color:var(--ink); }
.nav .btn-outline:hover { border-color:var(--blue); color:var(--blue); }

/* transparent over a dark hero (before scroll) */
.nav.over-hero:not(.scrolled) { }
.nav.over-hero:not(.scrolled) .brand-text { color:#fff; }
.nav.over-hero:not(.scrolled) .nav-links a { color:rgba(255,255,255,.82); }
.nav.over-hero:not(.scrolled) .nav-links a:hover,
.nav.over-hero:not(.scrolled) .nav-links a.active { color:#fff; }
.nav.over-hero:not(.scrolled) .btn-outline { border-color:rgba(255,255,255,.45); color:#fff; }
.nav.over-hero:not(.scrolled) .btn-outline:hover { background:rgba(255,255,255,.12); border-color:#fff; }
.nav.over-hero:not(.scrolled) .hamburger span { background:#fff; }

/* solid (scrolled, or default on light pages) */
.nav.scrolled,
.nav:not(.over-hero) { background:#fff; box-shadow:var(--shadow-card); border-bottom-color:var(--border); }

.hamburger { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.hamburger span { display:block; width:24px; height:2px; background:var(--ink); border-radius:2px; transition:transform .25s, opacity .25s, background .25s; }
.hamburger span + span { margin-top:5px; }
.nav.open .hamburger span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav.open .hamburger span:nth-child(2) { opacity:0; }
.nav.open .hamburger span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position:fixed; top:var(--nav-h); left:0; right:0; z-index:199;
  background:#fff; border-bottom:1px solid var(--border); box-shadow:var(--shadow);
  padding:16px 24px 24px; display:flex; flex-direction:column; gap:4px;
  transform:translateY(-12px); opacity:0; pointer-events:none;
  transition:transform .22s ease, opacity .22s ease;
}
.mobile-menu.show { transform:translateY(0); opacity:1; pointer-events:auto; }
.mobile-menu a:not(.btn) { padding:12px 6px; font-weight:500; color:var(--ink); border-bottom:1px solid var(--bg); }
.mobile-menu a.active { color:var(--blue); }
.mobile-menu .btn { margin-top:8px; width:100%; }

/* spacer so non-hero pages clear the fixed nav */
.nav-spacer { height:var(--nav-h); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background:var(--navy-deep); color:rgba(255,255,255,.66); padding:72px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:48px; padding-bottom:48px; }
.footer .brand-text { color:#fff; }
.footer-tag { font-size:14px; line-height:1.7; max-width:300px; margin:16px 0 20px; }
.footer-social { display:flex; gap:10px; }
.footer-social a {
  width:38px; height:38px; border-radius:8px; display:grid; place-items:center;
  background:rgba(255,255,255,.08); color:#fff; transition:background .2s ease;
}
.footer-social a:hover { background:var(--blue); }
.footer-social svg { width:18px; height:18px; }
.footer h4 { font-family:var(--head); font-size:13px; text-transform:uppercase; letter-spacing:0.08em; color:rgba(255,255,255,.5); margin-bottom:18px; font-weight:600; }
.footer-col a { display:block; padding:7px 0; font-size:15px; color:rgba(255,255,255,.72); transition:color .2s ease; }
.footer-col a:hover { color:#fff; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.1); padding:22px 0;
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  font-size:13px; color:rgba(255,255,255,.5);
}

/* ============================================================
   CARDS (shared)
   ============================================================ */
.card {
  background:#fff; border:1px solid var(--border); border-radius:var(--r);
  padding:28px; box-shadow:var(--shadow-card); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-hover:hover { transform:translateY(-4px); box-shadow:var(--shadow); }

/* ============================================================
   FAQ (shared — index & pricing)
   ============================================================ */
.faq-list { max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item { background:#fff; border:1px solid var(--border); border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow-card); transition:border-color .2s ease; }
.faq-item.open { border-color:var(--blue); }
.faq-q {
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:20px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-family:var(--head); font-weight:600; font-size:17px; color:var(--ink);
}
.faq-icon { position:relative; width:20px; height:20px; flex-shrink:0; transition:transform .3s ease; }
.faq-icon::before,.faq-icon::after { content:""; position:absolute; background:var(--blue); border-radius:2px; }
.faq-icon::before { top:9px; left:0; right:0; height:2px; }
.faq-icon::after { left:9px; top:0; bottom:0; width:2px; transition:transform .3s ease; }
.faq-item.open .faq-icon { transform:rotate(180deg); }
.faq-item.open .faq-icon::after { transform:scaleY(0); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a p { padding:0 24px 22px; font-size:15px; color:var(--text2); }

/* ============================================================
   PRICING (shared — index & pricing)
   ============================================================ */
.price-toggle { display:flex; align-items:center; justify-content:center; gap:14px; margin-bottom:48px; }
.price-toggle span { font-size:15px; font-weight:500; color:var(--text2); transition:color .2s ease; }
.price-toggle span.on { color:var(--ink); font-weight:600; }
.toggle-switch { width:52px; height:28px; border-radius:var(--r-pill); background:var(--blue); position:relative; cursor:pointer; border:none; flex-shrink:0; transition:background .2s ease; }
.toggle-switch .knob { position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff; transition:transform .25s ease; }
.pricing.annual .toggle-switch .knob { transform:translateX(24px); }
.save-badge { background:var(--blue-soft); color:var(--blue); font-size:12px; font-weight:600; padding:4px 10px; border-radius:var(--r-pill); }

.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; max-width:1080px; margin:0 auto; }
.price-card { position:relative; background:#fff; border:1px solid var(--border); border-radius:var(--r-lg); padding:32px 28px; display:flex; flex-direction:column; box-shadow:var(--shadow-card); transition:transform .2s ease, box-shadow .2s ease; }
.price-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.price-card.popular { border:2px solid var(--blue); box-shadow:var(--shadow); }
.popular-badge { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--blue); color:#fff; font-family:var(--head); font-weight:600; font-size:12px; letter-spacing:0.06em; text-transform:uppercase; padding:6px 16px; border-radius:var(--r-pill); box-shadow:var(--shadow-blue); }
.price-name { font-family:var(--head); font-weight:700; font-size:20px; }
.price-for { font-size:14px; color:var(--muted); margin-top:4px; min-height:40px; }
.price-amt { margin:18px 0 6px; display:flex; align-items:baseline; gap:4px; }
.price-amt .amt { font-family:var(--head); font-size:46px; font-weight:700; letter-spacing:-0.02em; }
.price-amt .per { font-size:15px; color:var(--muted); font-weight:500; }
.price-m, .price-a { display:none; align-items:baseline; gap:4px; }
.pricing:not(.annual) .price-m { display:flex; }
.pricing.annual .price-a { display:flex; }
.price-note { font-size:13px; color:var(--green); font-weight:500; min-height:20px; margin-bottom:20px; }
.price-feats { flex:1; margin-bottom:24px; display:flex; flex-direction:column; gap:11px; }
.price-feats li { display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--text2); }
.price-feats .chk { width:18px; height:18px; flex-shrink:0; margin-top:2px; color:var(--blue); }
.price-card .btn { width:100%; }
.pricing-foot { text-align:center; margin-top:40px; font-size:15px; color:var(--text2); }

/* ============================================================
   INTERIOR PAGE HERO (about / pricing / blog / legal / contact)
   ============================================================ */
.page-hero {
  position:relative; overflow:hidden; text-align:center; color:#fff;
  background:radial-gradient(900px 460px at 80% -20%, rgba(26,110,232,.30), transparent 60%), var(--navy);
  padding:152px 0 80px;
}
.page-hero .label { color:#6BA6FF; }
.page-hero h1 { font-size:44px; color:#fff; }
.page-hero p { font-size:18px; color:var(--white-dim); max-width:660px; margin:18px auto 0; }

/* ============================================================
   PROSE (legal pages + blog article)
   ============================================================ */
.prose { max-width:760px; margin:0 auto; }
.prose h2 { font-size:24px; margin:40px 0 12px; }
.prose h3 { font-size:18px; margin:28px 0 10px; }
.prose p { font-size:16px; color:var(--text2); margin-bottom:16px; }
.prose ul { margin:0 0 16px 0; padding-left:0; }
.prose ul li { position:relative; padding-left:26px; margin-bottom:10px; font-size:16px; color:var(--text2); }
.prose ul li::before { content:""; position:absolute; left:6px; top:10px; width:6px; height:6px; border-radius:50%; background:var(--blue); }
.prose strong { color:var(--ink); font-weight:600; }
.prose a { color:var(--blue); font-weight:500; }
.prose .updated { font-size:14px; color:var(--muted); margin-bottom:8px; }
.prose .lead { font-size:18px; color:var(--ink); margin-bottom:24px; }

/* ============================================================
   REUSABLE CTA BAND
   ============================================================ */
.cta-band { text-align:center; position:relative; overflow:hidden;
  background:radial-gradient(900px 460px at 50% -10%, rgba(26,110,232,.34), transparent 62%), var(--navy); }
.cta-band h2 { font-size:36px; color:#fff; }
.cta-band p { font-size:18px; color:var(--white-dim); margin:16px auto 30px; max-width:560px; }
.cta-band .micro { margin-top:20px; font-size:14px; color:#C4D4EA; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1 { transition-delay:.08s; } .reveal.d2 { transition-delay:.16s; } .reveal.d3 { transition-delay:.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:920px) {
  .nav-links, .nav-actions { display:none; }
  .hamburger { display:block; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .pricing-grid { grid-template-columns:1fr; max-width:460px; }
  .price-card.popular { order:-1; }
  .section { padding:64px 0; }
  .section-head { margin-bottom:40px; }
  .section-head h2 { font-size:30px; }
}
@media (max-width:560px) {
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; gap:8px; }
  .btn-lg { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .reveal { transition:none; opacity:1; transform:none; }
}
