/* ============================================================
   TabEmail — Design System v2.0
   Style: Apollo / Instantly — High-Energy SaaS
   Font:  Plus Jakarta Sans
   © 2026 Inuson International Inc.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── TOKENS ─────────────────────────────── */
:root {
  --blue:       #2563EB;
  --blue-h:     #1D4ED8;
  --blue-d:     #1E3A8A;
  --blue-lt:    #EFF6FF;
  --blue-mid:   #DBEAFE;
  --violet:     #7C3AED;
  --indigo:     #4F46E5;

  --grad:       linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --grad-cta:   linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  --grad-hero:  linear-gradient(160deg, #0F172A 0%, #1E1B4B 55%, #0B1628 100%);
  --grad-text:  linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
  --grad-soft:  linear-gradient(135deg, rgba(37,99,235,.1) 0%, rgba(124,58,237,.1) 100%);

  --ink:        #0F172A;
  --ink2:       #1E293B;
  --slate:      #334155;
  --muted:      #64748B;
  --soft:       #94A3B8;
  --border:     #E2E8F0;
  --border-h:   #CBD5E1;
  --bg:         #F8FAFC;
  --bg2:        #F1F5F9;
  --white:      #FFFFFF;

  --green:      #10B981;
  --green-d:    #059669;
  --red:        #EF4444;
  --amber:      #F59E0B;

  --sh1: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --sh2: 0 4px 16px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --sh3: 0 20px 60px rgba(15,23,42,.10), 0 8px 24px rgba(15,23,42,.06);
  --sh4: 0 32px 80px rgba(15,23,42,.14), 0 12px 32px rgba(15,23,42,.08);
  --sh-blue:    0 8px 32px rgba(37,99,235,.38);
  --sh-blue-sm: 0 4px 16px rgba(37,99,235,.25);

  --r4:4px; --r6:8px; --r8:12px; --r10:16px; --r12:20px; --r16:24px; --r24:32px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── RESET ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
::selection { background: rgba(37,99,235,.15); color: var(--blue-d); }

/* ── LAYOUT ────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.container-sm { max-width: 960px;  margin: 0 auto; padding: 0 5%; }
.container-lg { max-width: 1320px; margin: 0 auto; padding: 0 5%; }
.section      { padding: 96px 5%; }
.section-sm   { padding: 64px 5%; }
.section-xs   { padding: 48px 5%; }

/* ── TYPOGRAPHY ────────────────────────────── */
h1 { font-size: clamp(2.6rem,5.5vw,4.5rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.9rem,3.5vw,2.9rem); font-weight: 800; line-height: 1.1;  letter-spacing: -0.03em; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
p  { font-size: 0.975rem; color: var(--muted); line-height: 1.72; }
.text-lg { font-size: 1.1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.8rem; }
.text-center { text-align: center; }
.text-white  { color: #fff !important; }
.text-muted  { color: var(--muted); }
.text-slate  { color: var(--slate); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow-blue {
  background: var(--grad-soft);
  color: var(--blue);
  border: 1px solid rgba(37,99,235,.22);
}
.eyebrow-blue::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--blue); }
.eyebrow-white {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.22);
}
.eyebrow-white::before { content:''; width:5px; height:5px; border-radius:50%; background:#fff; }

.section-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.72;
  max-width: 600px;
  margin-top: 0.85rem;
}

/* ── SECTION HEADER ─────────────────────────── */
.sec-head { margin-bottom: 3.5rem; }
.sec-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head h2 { margin-top: 0.1rem; }
.sec-head .section-lead { margin-top: 0.85rem; }
.sec-head.center .section-lead { text-align: center; }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.7rem;
  border-radius: var(--r6);
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,.46); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid rgba(37,99,235,.38);
}
.btn-outline:hover { background: var(--blue-lt); border-color: var(--blue); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-h); color: var(--ink); background: var(--bg); }

.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh2);
  border: 1px solid rgba(255,255,255,.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh3); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink2); transform: translateY(-2px); }

.btn-lg  { padding: 0.95rem 2.2rem; font-size: 1rem; }
.btn-xl  { padding: 1.1rem 2.6rem; font-size: 1.06rem; border-radius: var(--r8); }
.btn-sm  { padding: 0.5rem 1.1rem; font-size: 0.83rem; }
.btn-xs  { padding: 0.35rem 0.8rem; font-size: 0.76rem; }
.btn-full { width: 100%; display: flex; }

.btn-loading { color: transparent !important; pointer-events: none; }
.btn-loading::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ── BADGES ─────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-green  { background:rgba(16,185,129,.1);  color:#059669; border:1px solid rgba(16,185,129,.2); }
.badge-blue   { background:rgba(37,99,235,.1);   color:var(--blue); border:1px solid rgba(37,99,235,.2); }
.badge-orange { background:rgba(245,158,11,.1);  color:#D97706; border:1px solid rgba(245,158,11,.2); }
.badge-red    { background:rgba(239,68,68,.1);   color:#DC2626; border:1px solid rgba(239,68,68,.2); }

/* ── REVEAL ─────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .56s cubic-bezier(.4,0,.2,1), transform .56s cubic-bezier(.4,0,.2,1);
}
.rv.on { opacity: 1; transform: none; }
.rv.d1 { transition-delay:.08s; } .rv.d2 { transition-delay:.16s; }
.rv.d3 { transition-delay:.24s; } .rv.d4 { transition-delay:.32s; }
.rv.d5 { transition-delay:.40s; } .rv.d6 { transition-delay:.48s; }

/* ── DIVIDER ─────────────────────────────────── */
.divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.div-line { flex: 1; height: 1px; background: var(--border); }
.div-text { font-size: 0.78rem; color: var(--soft); white-space: nowrap; font-weight: 500; }

/* ── FORM ELEMENTS ──────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: -0.005em;
}
.form-label .req { color: var(--red); margin-left: 2px; }
.form-input {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r6);
  font-size: 0.92rem;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-input::placeholder { color: var(--soft); }
.form-input.wi { padding-left: 2.75rem; }
.input-wrap { position: relative; }
.input-icon {
  position: absolute;
  left: 0.9rem; top: 50%;
  transform: translateY(-50%);
  color: var(--soft); font-size: .95rem;
  pointer-events: none; line-height: 1;
}
.input-toggle {
  position: absolute;
  right: 0.9rem; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); cursor: pointer;
  font-size: .9rem; background: none; border: none;
  padding: .2rem; line-height: 1;
}
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-2col { grid-template-columns: 1fr; } }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 1.25rem; }
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--blue); cursor: pointer;
  margin-top: 3px; flex-shrink: 0;
}
.form-check label { font-size: 0.85rem; color: var(--muted); cursor: pointer; line-height: 1.5; }
.form-check label a { color: var(--blue); font-weight: 700; }
.form-between { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap; }

/* ── ALERTS ─────────────────────────────────── */
.alert { border-radius: var(--r6); padding: .85rem 1.1rem; font-size: .86rem; line-height: 1.55; margin-bottom: 1.2rem; display: none; }
.alert.show { display: block; }
.alert-error   { background: rgba(239,68,68,.07);  border: 1px solid rgba(239,68,68,.22);  color: #B91C1C; }
.alert-success { background: rgba(16,185,129,.07); border: 1px solid rgba(16,185,129,.22); color: #065F46; display: none; align-items: flex-start; gap: .75rem; }
.alert-success.show { display: flex; }
.alert-success .ai { font-size: 1.2rem; flex-shrink: 0; }
.alert-info    { background: var(--blue-lt); border: 1px solid rgba(37,99,235,.22); color: var(--blue-d); }

/* ── PASSWORD STRENGTH ──────────────────────── */
.pwd-bar { height: 4px; border-radius: 999px; background: var(--border); margin-top: .5rem; overflow: hidden; }
.pwd-fill { height: 100%; border-radius: 999px; width: 0; transition: width .3s, background .3s; }
.pwd-label { font-size: .74rem; color: var(--muted); margin-top: .3rem; }

/* ── TOAST ──────────────────────────────────── */
.toast {
  position: fixed;
  top: 80px; right: 1.5rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r10);
  padding: 1rem 1.4rem;
  display: flex; align-items: center; gap: .75rem;
  max-width: 340px;
  box-shadow: var(--sh4);
  transform: translateX(calc(100% + 3rem));
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  z-index: 9999;
  font-size: .88rem; font-weight: 600;
}
.toast.show { transform: none; }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-msg  { line-height: 1.45; }

/* ── COOKIE BAR ──────────────────────────────── */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(15,23,42,.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; z-index: 9998; flex-wrap: wrap;
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cookie-bar.hidden { transform: translateY(110%); }
.cookie-bar p { font-size: .84rem; color: rgba(255,255,255,.65); flex: 1; min-width: 200px; margin: 0; }
.cookie-bar a { color: #93C5FD; font-weight: 700; }
.cookie-actions { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── EXIT INTENT MODAL ──────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.85);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal-card {
  background: var(--white);
  border-radius: var(--r16);
  padding: 2.75rem;
  max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: var(--sh4);
  position: relative;
  transform: scale(.95);
  transition: transform .3s;
}
.modal-overlay.show .modal-card { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  color: var(--soft); font-size: 1.1rem;
  background: var(--bg); border: none; cursor: pointer;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.modal-close:hover { color: var(--ink); }
.modal-emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.modal-card h3 { font-size: 1.5rem; margin-bottom: .65rem; }
.modal-card p  { font-size: .92rem; margin-bottom: 1.75rem; }

/* ── NAVBAR ──────────────────────────────────── */
.nav-bar {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.nav-bar.scrolled { box-shadow: var(--sh2); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad-cta);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1rem;
  box-shadow: var(--sh-blue-sm);
}
.nav-logo-text { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -0.025em; }
.nav-links {
  display: flex; align-items: center; gap: .1rem;
  flex: 1; justify-content: center;
}
.nav-links a {
  color: var(--muted); font-size: .9rem; font-weight: 600;
  padding: .4rem .8rem; border-radius: var(--r4);
  transition: color .15s, background .15s;
  text-decoration: none; cursor: pointer;
}
.nav-links a:hover { color: var(--ink); background: var(--bg); }
.nav-links a.active { color: var(--blue); }
.nav-ctas { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: .4rem; background: none; border: none; cursor: pointer;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-mobile {
  display: none; position: absolute;
  top: 68px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--sh3); padding: 1.25rem 5%;
  flex-direction: column; gap: .2rem; z-index: 890;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--muted); font-size: .92rem; font-weight: 600;
  padding: .62rem .75rem; border-radius: var(--r4); display: block;
}
.nav-mobile a:hover { color: var(--ink); background: var(--bg); }
.nav-mobile .mob-divider { height: 1px; background: var(--border); margin: .5rem 0; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-ctas .btn-ghost { display: none; }
}

/* ── FOOTER ──────────────────────────────────── */
.site-footer { background: var(--ink); padding: 72px 5% 32px; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: .85rem; color: #64748B; margin-top: .75rem; max-width: 230px; line-height: 1.6; }
.footer-logo .nav-logo-text { color: #fff; }
.footer-col h5 { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94A3B8; margin-bottom: 1.1rem; }
.footer-col a { display: block; color: #64748B; font-size: .875rem; margin-bottom: .6rem; transition: color .15s; cursor: pointer; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: #475569; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .8rem; color: #475569; cursor: pointer; transition: color .15s; }
.footer-legal a:hover { color: #94A3B8; }

/* ── MOCK APP WINDOW ─────────────────────────── */
.mock-window {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r12); box-shadow: var(--sh4); overflow: hidden;
}
.mock-titlebar {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: .7rem 1rem;
  display: flex; align-items: center; gap: .45rem;
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-dot-r { background: #FF5F57; } .mock-dot-y { background: #FEBC2E; } .mock-dot-g { background: #28C840; }
.mock-tabs-row { display: flex; margin-left: .9rem; }
.mock-tab { padding: .22rem .9rem; font-size: .74rem; font-weight: 600; color: var(--muted); border-radius: 6px 6px 0 0; }
.mock-tab.active { background: var(--white); color: var(--blue); border: 1px solid var(--border); border-bottom-color: var(--white); margin-bottom: -1px; }
.mock-body { padding: 1.2rem; }
.mock-stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem; margin-bottom: 1.1rem; }
.mock-stat { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r6); padding: .8rem .7rem; text-align: center; }
.mock-stat-n { font-size: 1.25rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.mock-stat-l { font-size: .6rem; font-weight: 600; color: var(--soft); text-transform: uppercase; letter-spacing: .05em; margin-top: .2rem; }
.col-blue { color: var(--blue); } .col-green { color: #059669; } .col-violet { color: var(--violet); }
.mock-camp-label { font-size: .68rem; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; padding-bottom: .4rem; border-bottom: 1px solid var(--border); }
.mock-camp-row { display: flex; align-items: center; gap: .5rem; padding: .52rem 0; border-bottom: 1px solid var(--bg2); }
.mock-camp-row:last-child { border-bottom: none; }
.mock-camp-name { font-size: .76rem; font-weight: 600; flex: 1; }
.mock-bar-wrap { width: 64px; background: var(--bg2); border-radius: 999px; height: 5px; }
.mock-bar-fill { height: 5px; border-radius: 999px; background: var(--grad); }
.mock-camp-pct { font-size: .74rem; font-weight: 700; width: 36px; text-align: right; }

/* ── FAQ ──────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-trigger {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 0; font-size: .97rem; font-weight: 700;
  color: var(--ink); cursor: pointer; gap: 1.5rem;
  transition: color .15s; background: none; border: none;
  width: 100%; text-align: left; font-family: var(--font);
}
.faq-trigger:hover { color: var(--blue); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; flex-shrink: 0; transition: transform .25s, background .2s, border-color .2s;
  color: var(--muted);
}
.faq-item.open .faq-icon { transform: rotate(180deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.faq-item.open .faq-body { max-height: 300px; }
.faq-body-inner { padding-bottom: 1.25rem; font-size: .92rem; color: var(--muted); line-height: 1.72; }

/* ── LEGAL ────────────────────────────────────── */
.legal-hero {
  background: var(--grad-hero); padding: 72px 5% 60px; text-align: center;
  position: relative; overflow: hidden;
}
.legal-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234338CA' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.legal-hero-content { position: relative; z-index: 1; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem,4vw,2.9rem); margin-bottom: .75rem; }
.legal-hero p  { color: rgba(148,197,253,.85); max-width: 500px; margin: 0 auto; }
.legal-meta { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.legal-meta span { font-size: .8rem; color: rgba(148,197,253,.7); font-weight: 500; }
.legal-subnav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 68px; z-index: 50; }
.legal-subnav-inner { max-width: 1200px; margin: 0 auto; padding: 0 5%; display: flex; overflow-x: auto; }
.legal-subnav a {
  padding: 1rem 1.2rem; font-size: .86rem; font-weight: 600;
  color: var(--muted); border-bottom: 2px solid transparent;
  white-space: nowrap; transition: color .15s, border-color .15s;
  cursor: pointer; text-decoration: none; display: block;
}
.legal-subnav a:hover { color: var(--blue); }
.legal-subnav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.legal-layout {
  max-width: 1200px; margin: 0 auto; padding: 60px 5% 96px;
  display: grid; grid-template-columns: 250px 1fr; gap: 4rem; align-items: start;
}
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-toc { position: sticky; top: 140px; }
@media (max-width: 900px) { .legal-toc { display: none; } }
.toc-head { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: .85rem; }
.toc-links { list-style: none; }
.toc-links li { margin-bottom: .1rem; }
.toc-links a {
  display: block; padding: .42rem .75rem; border-radius: var(--r4);
  font-size: .82rem; font-weight: 600; color: var(--muted);
  border-left: 2px solid transparent;
  transition: all .15s; cursor: pointer; text-decoration: none;
}
.toc-links a:hover { color: var(--blue); background: var(--blue-lt); border-left-color: rgba(37,99,235,.4); }
.toc-links a.active { color: var(--blue); background: var(--blue-lt); border-left-color: var(--blue); font-weight: 700; }
.toc-contact-box {
  background: var(--blue-lt); border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--r8); padding: 1.1rem; margin-top: 1.75rem;
}
.toc-contact-box p { font-size: .78rem; color: var(--muted); line-height: 1.55; margin-bottom: .6rem; }
.toc-contact-box a { font-size: .8rem; color: var(--blue); font-weight: 700; text-decoration: none; }
.legal-content { min-width: 0; }
.legal-intro-box {
  background: var(--blue-lt); border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--r8); padding: 1.3rem 1.5rem; margin-bottom: 2.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.legal-intro-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.legal-intro-box p { font-size: .9rem; color: var(--blue-d); line-height: 1.65; margin: 0; }
.legal-section { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.legal-section:last-child { border-bottom: none; margin-bottom: 0; }
.legal-sec-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.3rem; }
.legal-sec-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-cta); color: #fff;
  font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--sh-blue-sm);
}
.legal-sec-head h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.015em; }
.legal-content p { font-size: .9rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--ink); font-weight: 700; }
.legal-content a { color: var(--blue); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-list { list-style: none; margin: .75rem 0 1rem; display: flex; flex-direction: column; gap: .55rem; }
.legal-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: var(--muted); line-height: 1.65; }
.legal-list li::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--blue); margin-top:.52rem; flex-shrink:0; }
.callout { border-radius: var(--r8); padding: 1.1rem 1.4rem; margin: 1.5rem 0; }
.callout-info  { background: var(--blue-lt); border: 1px solid rgba(37,99,235,.22); }
.callout-info  p { color: var(--blue-d); margin: 0; }
.callout-warn  { background: #FFFBEB; border: 1px solid #FDE68A; }
.callout-warn  p { color: #92400E; margin: 0; }
.callout-ok    { background: #F0FDF4; border: 1px solid #BBF7D0; }
.callout-ok    p { color: #065F46; margin: 0; }
.callout-lbl   { font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4rem; }
.callout-info  .callout-lbl { color: var(--blue); }
.callout-warn  .callout-lbl { color: #D97706; }
.callout-ok    .callout-lbl { color: #059669; }
.data-table { width: 100%; border-collapse: collapse; font-size: .86rem; margin: 1.25rem 0; }
.data-table th { background: var(--bg2); padding: .75rem 1rem; text-align: left; font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); border: 1px solid var(--border); }
.data-table td { padding: .72rem 1rem; border: 1px solid var(--border); color: var(--muted); line-height: 1.55; }
.data-table tr:nth-child(even) td { background: var(--bg); }

/* ── AUTH PAGES ──────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; background: var(--bg); }
.auth-left {
  flex: 1; background: var(--grad-hero); padding: 3rem;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
@media (max-width: 900px) { .auth-left { display: none; } }
.auth-left::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 80% at 60% 50%, rgba(67,56,202,.5) 0%, transparent 70%);
}
.auth-left-content { position: relative; z-index: 1; }
.auth-left h2 { color: #fff; font-size: 2.1rem; margin-bottom: .75rem; line-height: 1.2; }
.auth-left > .auth-left-content > p { color: rgba(148,197,253,.85); font-size: 1rem; }
.auth-features { list-style: none; margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.auth-features li { display: flex; align-items: center; gap: .75rem; font-size: .93rem; color: rgba(255,255,255,.88); }
.auth-feat-icon {
  width: 34px; height: 34px; border-radius: var(--r4);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.auth-left-bottom { position: relative; z-index: 1; }
.auth-quote { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r8); padding: 1.3rem 1.5rem; }
.auth-quote p { color: rgba(255,255,255,.9); font-size: .9rem; font-style: italic; line-height: 1.6; margin: 0 0 .75rem; }
.auth-quote-author { display: flex; align-items: center; gap: .6rem; }
.auth-quote-av { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .72rem; font-weight: 800; }
.auth-quote-name { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.75); }
.auth-right {
  width: 520px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 2.5rem; overflow-y: auto; background: var(--white);
}
@media (max-width: 900px) { .auth-right { width: 100%; padding: 2rem 1.5rem; } }
.auth-card { width: 100%; max-width: 420px; }
.auth-card-logo { display: flex; align-items: center; gap: .55rem; margin-bottom: 2.25rem; cursor: pointer; text-decoration: none; }
.auth-card-title { font-size: 1.7rem; font-weight: 800; letter-spacing: -.028em; margin-bottom: .35rem; }
.auth-card-sub { font-size: .9rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.55; }
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  width: 100%; padding: .78rem;
  border: 1.5px solid var(--border); border-radius: var(--r6);
  font-size: .9rem; font-weight: 700; color: var(--ink);
  background: var(--white); cursor: pointer;
  transition: all .18s; font-family: var(--font); margin-bottom: .75rem;
}
.social-btn:hover { border-color: var(--border-h); background: var(--bg); transform: translateY(-1px); box-shadow: var(--sh1); }
.social-icon { width: 18px; height: 18px; }
.auth-foot-text { text-align: center; margin-top: 1.75rem; font-size: .875rem; color: var(--muted); }
.auth-foot-text a { color: var(--blue); font-weight: 700; cursor: pointer; }
.auth-foot-text a:hover { text-decoration: underline; }
.plan-chooser { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-bottom: 1.5rem; }
.plan-chip {
  border: 1.5px solid var(--border); border-radius: var(--r6);
  padding: .9rem .75rem; text-align: center; cursor: pointer; transition: all .18s;
}
.plan-chip:hover { border-color: rgba(37,99,235,.45); background: var(--blue-lt); }
.plan-chip.sel { border-color: var(--blue); background: var(--blue-lt); box-shadow: 0 0 0 1px var(--blue); }
.plan-chip-name  { font-size: .84rem; font-weight: 800; color: var(--ink); margin-bottom: .2rem; }
.plan-chip-price { font-size: .74rem; color: var(--muted); font-weight: 500; }

/* ── PRICING ──────────────────────────────────── */
.pricing-hero {
  background: var(--grad-hero); padding: 96px 5% 80px;
  text-align: center; position: relative; overflow: hidden;
}
.pricing-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 50%, rgba(37,99,235,.3) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 85% 50%, rgba(124,58,237,.25) 0%, transparent 60%);
}
.pricing-hero-inner { position: relative; z-index: 1; }
.pricing-hero h1 { color: #fff; font-size: clamp(2.2rem,5vw,3.6rem); margin-bottom: 1rem; }
.pricing-hero p  { color: rgba(148,197,253,.85); font-size: 1.08rem; max-width: 520px; margin: 0 auto; }
.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 2.5rem;
}
.toggle-track {
  width: 46px; height: 26px; border-radius: 999px;
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.28);
  position: relative; cursor: pointer; transition: background .22s, border-color .22s;
}
.toggle-track.on { background: var(--blue); border-color: var(--blue); }
.toggle-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  position: absolute; top: 3px; left: 3px;
  transition: left .22s; box-shadow: var(--sh1);
}
.toggle-track.on .toggle-thumb { left: 23px; }
.toggle-lbl { font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.6); }
.toggle-lbl.on { color: #fff; }
.save-pill {
  background: rgba(16,185,129,.2); color: #6EE7B7;
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 999px; padding: .18rem .65rem;
  font-size: .72rem; font-weight: 800; margin-left: .4rem;
}
.pricing-cards-wrap {
  max-width: 1100px; margin: 0 auto; padding: 0 5%;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; margin-top: -28px; position: relative; z-index: 10;
}
@media (max-width: 900px) { .pricing-cards-wrap { grid-template-columns: 1fr; max-width: 440px; } }
.pricing-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r12); padding: 2.25rem 2rem;
  position: relative; transition: transform .22s, box-shadow .22s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--sh4); }
.pricing-card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--sh4); }
.pricing-feature-tag {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--grad-cta); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem 1rem; border-radius: 0 0 var(--r4) var(--r4);
}
.pricing-tier { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: .35rem; }
.pricing-desc { font-size: .84rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.4rem; }
.pricing-amount { display: flex; align-items: baseline; gap: .2rem; margin-bottom: 1.5rem; }
.price-num { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.price-unit { font-size: .9rem; color: var(--muted); font-weight: 500; }
.price-was  { font-size: .88rem; color: var(--soft); text-decoration: line-through; margin-left: .35rem; }
.pricing-cta-btn { display: flex; width: 100%; margin-bottom: 1.75rem; }
.pricing-feats { list-style: none; }
.pricing-feats li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .875rem; color: var(--slate);
  padding: .55rem 0; border-top: 1px solid var(--bg2);
}
.pricing-feats li:first-child { border-top: none; }
.ft { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.fx { color: var(--border-h); flex-shrink: 0; margin-top: 2px; }
.fx ~ span { color: var(--soft); }
.compare-section { max-width: 1100px; margin: 0 auto; padding: 64px 5% 80px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.compare-table thead th {
  padding: .9rem 1.1rem; text-align: left;
  font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--slate); border-bottom: 2px solid var(--border); background: var(--bg2);
}
.compare-table thead th.feat-col { background: var(--blue-lt); color: var(--blue); }
.compare-table td { padding: .82rem 1.1rem; border-bottom: 1px solid var(--bg2); color: var(--muted); vertical-align: middle; }
.compare-table td:first-child { font-weight: 700; color: var(--slate); }
.compare-table td.feat-col { background: #FAFCFF; }
.compare-table tr:hover td { background: var(--bg); }
.compare-table tr:last-child td { border-bottom: none; }
.cc { color: var(--blue); font-weight: 800; }
.cd { color: var(--border-h); }
.ent-section { max-width: 1100px; margin: 0 auto; padding: 0 5% 80px; }
.ent-card {
  background: var(--grad-hero); border-radius: var(--r12);
  padding: 3rem; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,.08);
}
.ent-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.ent-card p  { color: rgba(148,197,253,.85); font-size: .95rem; margin: 0; }
.ent-ctas { display: flex; gap: .85rem; flex-wrap: wrap; }
.guarantee-row {
  max-width: 1100px; margin: 0 auto; padding: 0 5% 96px;
  display: flex; align-items: flex-start; justify-content: center; gap: 1.5rem;
}
.guarantee-icon {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: rgba(16,185,129,.1); border: 1.5px solid rgba(16,185,129,.25);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.guarantee-text h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: .3rem; }
.guarantee-text p  { font-size: .88rem; margin: 0; max-width: 380px; }

/* ── UTILITY ─────────────────────────────────── */
.mt-1{margin-top:.5rem} .mt-2{margin-top:1rem} .mt-3{margin-top:1.5rem} .mt-4{margin-top:2rem} .mt-6{margin-top:3rem}
.mb-1{margin-bottom:.5rem} .mb-2{margin-bottom:1rem} .mb-3{margin-bottom:1.5rem} .mb-4{margin-bottom:2rem} .mb-6{margin-bottom:3rem}
.flex{display:flex} .flex-center{display:flex;align-items:center;justify-content:center}
.flex-between{display:flex;align-items:center;justify-content:space-between}
.gap-1{gap:.5rem} .gap-2{gap:1rem} .gap-3{gap:1.5rem} .flex-wrap{flex-wrap:wrap} .w-full{width:100%}
.hidden{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
