/* ============================================================
   SENTINEL — Emergency Privacy Lock Screen
   Shared stylesheet
   ============================================================ */

:root {
  --navy-900: #0c1424;
  --navy-800: #131f38;
  --navy-700: #1c2c4d;
  --navy-600: #24365e;
  --blue-500: #3b6fd6;
  --blue-400: #5b8bee;
  --blue-300: #93b4f3;
  --ink: #0f1a2e;
  --slate-700: #33405a;
  --slate-500: #5b6883;
  --slate-400: #8a93a8;
  --line: #e4e8f0;
  --bg: #f6f8fc;
  --bg-soft: #eef2f9;
  --white: #ffffff;
  --green: #1f9d63;
  --amber: #c9821a;
  --red: #c4413f;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15,26,46,.06), 0 1px 2px rgba(15,26,46,.04);
  --shadow: 0 12px 30px rgba(15,26,46,.10);
  --shadow-lg: 0 24px 60px rgba(12,20,36,.22);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.18; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--slate-700); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.center { text-align: center; }
.muted { color: var(--slate-500); }
.lead { font-size: 1.18rem; color: var(--slate-700); max-width: 660px; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 13px 24px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 20px rgba(59,111,214,.30); }
.btn-primary:hover { background: var(--blue-400); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-500); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.22); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,248,252,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand .b1 { color: var(--ink); }
.brand .b2 { color: var(--blue-500); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--slate-700); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--blue-500); text-decoration: none; }
.nav-links a.active { color: var(--ink); font-weight: 700; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 75% -10%, #21345c 0%, var(--navy-900) 55%);
  color: #fff; padding: 96px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 350px at 15% 110%, rgba(59,111,214,.20), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--blue-300); }
.hero p { color: #c7d2e6; font-size: 1.2rem; }
.hero .eyebrow { color: var(--blue-300); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { margin-top: 20px; font-size: .9rem; color: #93a2bf; }

/* Phone mockup */
.phone {
  width: 270px; margin: 0 auto;
  background: #05080f; border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3550;
  position: relative;
}
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #05080f; border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen {
  border-radius: 32px; overflow: hidden; aspect-ratio: 9/19.5;
  background: linear-gradient(180deg, #0c1424 0%, #18233e 100%);
  position: relative; display: flex; flex-direction: column;
  align-items: center; color: #fff; padding: 56px 18px 26px;
}
.lock-time { font-size: 4.2rem; font-weight: 300; letter-spacing: -.03em; line-height: 1; margin-top: 14px; }
.lock-date { color: #b9c6e2; font-size: .9rem; margin-top: 6px; }
.lock-spacer { flex: 1; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 10px; }
.key { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 400; }
.key small { display: block; font-size: .5rem; letter-spacing: .15em; color: #aab8d6; margin-top: -2px; }
.dots { display: flex; gap: 12px; margin: 0 0 22px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.35); }
.dot.f { background: #fff; }

/* Wipe variant */
.phone-screen.wipe { justify-content: center; background: #000; gap: 14px; }
.wipe-pct { font-size: 3rem; font-weight: 200; }
.wipe-title { font-size: .9rem; letter-spacing: .12em; color: #ff5b5b; font-weight: 700; }
.wipe-line { font-size: .78rem; color: #9aa3b5; }
.wipe-bar { width: 78%; height: 6px; border-radius: 4px; background: #20262f; overflow: hidden; margin-top: 4px; }
.wipe-bar i { display: block; height: 100%; width: 72%; background: #ff5b5b; }

/* ---------- Trust bar ---------- */
.trust { background: var(--navy-800); color: #c7d2e6; }
.trust .container { display: flex; flex-wrap: wrap; gap: 30px 56px; justify-content: center; padding-top: 26px; padding-bottom: 26px; }
.trust div { font-size: .92rem; display: flex; align-items: center; gap: 9px; }
.trust b { color: #fff; font-weight: 700; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3ddf0; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .96rem; }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--bg-soft), #fff); border: 1px solid var(--line);
  font-size: 1.4rem;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { position: relative; }
.step .num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: #fff;
  font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .94rem; }

/* ---------- Section helpers ---------- */
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy-900); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: #c0ccdf; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  position: relative;
}
.plan.featured { border-color: var(--blue-400); box-shadow: 0 20px 50px rgba(59,111,214,.18); transform: translateY(-6px); }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue-500); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .seats { color: var(--slate-500); font-size: .92rem; margin-bottom: 18px; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.plan .price small { font-size: .9rem; font-weight: 600; color: var(--slate-500); }
.plan .soon { display:inline-block; margin: 4px 0 18px; font-size:.8rem; font-weight:700; letter-spacing:.06em; color: var(--amber); background:#fdf3e1; border:1px solid #f3e0bd; padding:4px 10px; border-radius:999px; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 24px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; font-size: .95rem; color: var(--slate-700); border-top: 1px solid var(--bg-soft); }
.plan li:first-child { border-top: 0; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--green); font-weight: 800; }
.plan li.off { color: var(--slate-400); }
.plan li.off::before { content: "—"; color: var(--slate-400); }

/* ---------- Roles table ---------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.tbl th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.tbl td.c { text-align: center; }
.tbl tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--slate-400); }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 22px; font-size: 1.05rem; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-q .chev { transition: transform .2s; color: var(--blue-500); font-size: 1.2rem; flex: 0 0 auto; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--slate-700); }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 36px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(91,139,238,.18); }
.field .hint { font-size: .82rem; color: var(--slate-500); margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.plan-select { display: grid; gap: 12px; margin-bottom: 8px; }
.plan-opt { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; cursor: pointer; display: flex; align-items: center; gap: 14px; transition: border-color .15s, background .15s; }
.plan-opt:hover { border-color: var(--blue-300); }
.plan-opt.sel { border-color: var(--blue-500); background: #f3f7ff; box-shadow: 0 0 0 2px rgba(59,111,214,.15); }
.plan-opt input { accent-color: var(--blue-500); width: 18px; height: 18px; }
.plan-opt .t { font-weight: 700; }
.plan-opt .d { font-size: .85rem; color: var(--slate-500); }
.plan-opt .pr { margin-left: auto; font-weight: 700; color: var(--blue-500); }

.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); position: sticky; top: 88px; }
.summary h3 { margin-bottom: 16px; }
.summary .line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--bg-soft); font-size: .95rem; }
.summary .line.total { border-bottom: 0; font-weight: 800; font-size: 1.15rem; padding-top: 16px; }
.member-emails { margin-top: 6px; }
.member-emails .field { margin-bottom: 10px; }

.banner { background: #f3f7ff; border: 1px solid #cfe0fb; color: var(--navy-700); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9rem; margin-bottom: 22px; }
.banner b { color: var(--blue-500); }

/* Confirmation */
.confirm { text-align: center; max-width: 560px; margin: 0 auto; }
.confirm .check { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.confirm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: left; margin: 22px 0; box-shadow: var(--shadow-sm); }
.confirm-card .line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--bg-soft); font-size: .94rem; }
.confirm-card .line:last-child { border-bottom: 0; }
.hidden { display: none !important; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-900)); color: #fff; border-radius: 24px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4d0e5; max-width: 540px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9fb0cd; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { color: #9fb0cd; display: block; margin-bottom: 9px; font-size: .94rem; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand .b1 { color:#fff; } .footer .brand .b2 { color: var(--blue-300); }
.footer-desc { font-size: .92rem; max-width: 280px; color: #8395b4; }
.footer-bottom { border-top: 1px solid #1d2a45; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #6f819e; }

/* ---------- Misc ---------- */
.pill { display:inline-flex; align-items:center; gap:6px; font-size:.8rem; font-weight:600; padding:5px 12px; border-radius:999px; background: var(--bg-soft); color: var(--slate-700); border:1px solid var(--line); }
.split { display:grid; grid-template-columns: 1fr 1fr; gap:48px; align-items:center; }
.disclaimer { font-size: .82rem; color: var(--slate-400); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero .lead { margin-left:auto; margin-right:auto; }
  .grid-3, .grid-4, .price-grid, .steps, .checkout-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .summary { position: static; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--bg-soft); width:100%; }
  .cta-band { padding: 40px 24px; }
  .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .trust .container { gap: 16px 28px; }
}
