/* ===== PassDeck landing — premium dark SaaS theme ===== */
:root {
  --bg: #000000;
  --bg-2: #050505;
  --surface: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #c7d3e6;
  --text-strong: #ffffff;
  --text-dim: #8595ad;
  --accent: #3a93ff;
  --accent-2: #4fd1e6;
  --accent-hover: #5aa6ff;
  --royal: #1b4fc4;
  --gold: #f6c45a;
  --gold-2: #e3a52f;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --shadow: 0 22px 55px -22px rgba(0, 0, 0, 0.65);
  --glow-blue: 0 0 0 1px rgba(58, 147, 255, 0.25), 0 24px 60px -18px rgba(58, 147, 255, 0.4);
  --font-head: 'Lexend', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 82% -4%, rgba(58, 147, 255, 0.12), transparent 60%),
    radial-gradient(720px 520px at 4% 6%, rgba(79, 209, 230, 0.07), transparent 55%),
    linear-gradient(160deg, #0b1224 0%, #000000 55%, #04060e 100%);
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-strong);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #04101f; font-weight: 600;
  padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101f; box-shadow: 0 10px 30px -10px rgba(58, 147, 255, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px -10px rgba(58, 147, 255, 0.9); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); color: var(--text-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn-lg { font-size: 16px; padding: 14px 24px; }
.btn-block { display: flex; width: 100%; }

/* ===== Sticky nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(0, 0, 0, 0.88); border-bottom-color: var(--border); box-shadow: 0 12px 34px -22px #000; }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--text-strong); }
.brand-mark { filter: drop-shadow(0 4px 10px rgba(58, 147, 255, 0.4)); }
.nav-links { display: flex; gap: 26px; margin-left: 14px; flex: 1; }
.nav-links a { color: var(--text-dim); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-strong); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-strong); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: 56px 0 44px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 380px at 78% 12%, rgba(58, 147, 255, 0.2), transparent 60%),
    radial-gradient(520px 360px at 8% 0%, rgba(79, 209, 230, 0.12), transparent 55%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--accent-2);
  background: rgba(79, 209, 230, 0.08); border: 1px solid rgba(79, 209, 230, 0.22);
  padding: 6px 12px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); animation: pulse 2.4s infinite; }
.hero-copy h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin: 16px 0 14px; }
.grad { background: linear-gradient(110deg, var(--accent) 8%, var(--accent-2) 52%, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { font-size: clamp(16px, 2vw, 19px); color: var(--text); max-width: 47ch; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.stat .num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--text-strong); line-height: 1; }
.stat .lbl { font-size: 13px; color: var(--text-dim); }

/* ===== Hero mockup ===== */
.hero-visual { position: relative; }
.mock {
  position: relative; border-radius: var(--radius-lg); padding: 16px; overflow: hidden;
  background: linear-gradient(160deg, rgba(22, 22, 26, 0.92), rgba(8, 8, 10, 0.94));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 0 1px rgba(58, 147, 255, 0.08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mock::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px 200px at 82% -12%, rgba(58, 147, 255, 0.18), transparent 60%); }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid var(--border); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; }
.mock-dots i:nth-child(1) { background: #ff6058; }
.mock-dots i:nth-child(2) { background: #ffbd2e; }
.mock-dots i:nth-child(3) { background: #28c840; }
.mock-title { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.mock-timer {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--gold);
  background: rgba(246, 196, 90, 0.1); border: 1px solid rgba(246, 196, 90, 0.25);
  padding: 5px 10px; border-radius: 999px;
}
.mock-timer svg { width: 14px; height: 14px; }
.mock-body { position: relative; padding: 14px 4px 4px; }
.mock-qn { font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--accent-2); }
.mock-qtext { margin: 6px 0 12px; color: var(--text-strong); font-weight: 500; font-size: 14.5px; line-height: 1.45; }
.mock-choices { display: grid; gap: 8px; margin-bottom: 14px; }
.mock-choice {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 13px; color: var(--text); cursor: pointer;
  padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.12s ease;
}
.mock-choice > span { flex: 1; }
.mock-choice .pick { width: 16px; height: 16px; flex: none; }
.mock-choice:hover:not([disabled]) { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.06); transform: translateX(3px); }
.mock-choice:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mock-choice[disabled] { cursor: default; }
.mock-choice.correct { border-color: rgba(64, 209, 132, 0.55); background: rgba(64, 209, 132, 0.14); color: #c9ffe4; font-weight: 500; }
.mock-choice.correct .pick { color: #46d98b; }
.mock-choice.wrong { border-color: rgba(255, 96, 88, 0.55); background: rgba(255, 96, 88, 0.12); color: #ffd6d3; font-weight: 500; animation: shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
.mock-choice.wrong .pick { color: #ff6058; }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); } }
.mock-foot { display: flex; align-items: center; gap: 10px; min-height: 24px; margin-bottom: 12px; }
.mock-feedback { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s; }
.mock-feedback.show { opacity: 1; transform: none; }
.mock-feedback.ok { color: #46d98b; }
.mock-feedback.no { color: #ff6f67; }
.mock-next {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px; color: var(--accent);
  background: rgba(58, 147, 255, 0.1); border: 1px solid rgba(58, 147, 255, 0.3); border-radius: 999px; padding: 5px 12px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, background 0.2s, transform 0.12s ease;
}
.mock-next.show { opacity: 1; pointer-events: auto; }
.mock-next:hover { background: rgba(58, 147, 255, 0.2); }
.mock-next:active { transform: scale(0.95); }
.mock-next:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mock-next svg { width: 14px; height: 14px; }
.mock-analytics { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.ring-wrap { position: relative; width: 104px; height: 104px; flex: none; }
.ring { width: 104px; height: 104px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: rgba(255, 255, 255, 0.08); }
.ring-val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.mock.in .ring-val { stroke-dashoffset: 59; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-label b { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--text-strong); line-height: 1; }
.ring-label b span { font-size: 13px; color: var(--text-dim); }
.ring-label small { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.mock-bars { flex: 1; display: grid; gap: 9px; min-width: 0; }
.bar-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; }
.bar-lbl { font-size: 11.5px; color: var(--text-dim); }
.bar { height: 8px; background: rgba(255, 255, 255, 0.07); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.mock.in .bar i { width: var(--w); }
.mock-progress { border-top: 1px solid var(--border); padding-top: 12px; }
.mp-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-bottom: 7px; }
.mp-pct { color: var(--gold); font-weight: 600; font-family: var(--font-head); }
.mp-track { height: 8px; background: rgba(255, 255, 255, 0.07); border-radius: 999px; overflow: hidden; }
.mp-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width 1.4s 0.2s cubic-bezier(0.22, 1, 0.36, 1); }
.mock.in .mp-fill { width: var(--w); }
.float-badge {
  position: absolute; top: -14px; left: -14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #04101f;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  padding: 8px 13px; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(246, 196, 90, 0.6);
  animation: float 5s ease-in-out infinite;
}
.float-badge svg { width: 15px; height: 15px; }
.float-chip {
  position: absolute; bottom: -16px; right: -8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--text-strong);
  background: rgba(22, 22, 26, 0.96); border: 1px solid var(--border-strong);
  padding: 8px 12px; border-radius: 12px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite reverse;
}
.float-chip svg { width: 15px; height: 15px; color: var(--accent-2); }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(79, 209, 230, 0.45); } 50% { box-shadow: 0 0 0 6px rgba(79, 209, 230, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== Audience ===== */
.audience { padding: 26px 0 8px; }
.trusted-label { text-align: center; color: var(--text-dim); font-size: 13.5px; margin: 0 0 20px; }
.audience-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; list-style: none; }
.aud { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--text); padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); transition: transform 0.2s, border-color 0.2s, color 0.2s; }
.aud:hover { transform: translateY(-3px); border-color: var(--border-strong); color: var(--text-strong); }
.aud svg { width: 19px; height: 19px; color: var(--accent-2); }

/* ===== Sections ===== */
.section { padding: 84px 0; position: relative; }
.section[id] { scroll-margin-top: 84px; }
.section-alt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(720px 380px at 50% 0%, rgba(58, 147, 255, 0.06), transparent 60%); }
.section-head { position: relative; text-align: center; max-width: 640px; margin: 0 auto 46px; }
.kicker { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; margin: 12px 0; }
.section-sub { color: var(--text-dim); font-size: 17px; margin: 0; }

/* ===== Cards / grid ===== */
.grid { display: grid; gap: 20px; position: relative; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.3s, background 0.25s; }
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; color: var(--accent-2); background: linear-gradient(135deg, rgba(58, 147, 255, 0.18), rgba(79, 209, 230, 0.12)); border: 1px solid rgba(58, 147, 255, 0.22); transition: transform 0.25s, border-color 0.25s; }
.ic svg { width: 24px; height: 24px; }
.feature h3, .cat h3 { font-size: 19px; margin-bottom: 8px; }
.feature p, .cat p { margin: 0; color: var(--text-dim); font-size: 15px; }

.cat { display: flex; flex-direction: column; position: relative; }
.cat:hover .ic { transform: scale(1.06); border-color: rgba(58, 147, 255, 0.5); }
.cat-go { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: 14px; transition: gap 0.2s, color 0.2s; }
.cat-go svg { width: 17px; height: 17px; }
.cat:hover .cat-go { gap: 11px; color: var(--accent-hover); }

/* ===== Steps ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 9%; right: 9%; height: 2px; background: linear-gradient(90deg, transparent, rgba(58, 147, 255, 0.45), rgba(246, 196, 90, 0.45), transparent); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; position: relative; z-index: 1; margin-bottom: 16px; font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--text-strong); background: linear-gradient(135deg, var(--accent), var(--royal)); box-shadow: 0 12px 30px -10px rgba(58, 147, 255, 0.7), 0 0 0 6px var(--bg); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ===== Testimonials ===== */
.quote { display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 18px; flex: 1; font-size: 15.5px; color: var(--text); line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #04101f; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.who b { display: block; color: var(--text-strong); font-size: 15px; font-family: var(--font-head); }
.who small { color: var(--text-dim); font-size: 13px; }

/* ===== Pricing ===== */
.pricing .price { display: flex; flex-direction: column; position: relative; }
.price-name { font-family: var(--font-head); font-size: 18px; color: var(--text-strong); margin-bottom: 10px; }
.price-amt { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-head); font-weight: 800; font-size: 42px; color: var(--text-strong); line-height: 1; }
.price-amt .cur { font-size: 22px; font-weight: 700; color: var(--text-dim); }
.price-amt .per { font-size: 14px; font-weight: 500; color: var(--text-dim); margin-left: 4px; }
.price-note { color: var(--text-dim); font-size: 14px; margin: 10px 0 18px; }
.price-feats { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; flex: 1; }
.price-feats li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text); }
.price-feats li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: rgba(58, 147, 255, 0.16); }
.price-feats li::after { content: ""; position: absolute; left: 5px; top: 6px; width: 7px; height: 4px; border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg); }
.price.featured { border-color: rgba(58, 147, 255, 0.45); background: linear-gradient(180deg, rgba(58, 147, 255, 0.1), var(--surface)); box-shadow: var(--glow-blue); transform: translateY(-6px); }
.price.featured:hover { transform: translateY(-10px); }
.price-tag { position: absolute; top: -12px; right: 20px; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: #04101f; background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 5px 12px; border-radius: 999px; }
.price-tag.alt { background: linear-gradient(135deg, var(--gold), var(--gold-2)); }
.price-disclaimer { text-align: center; color: var(--text-dim); font-size: 12.5px; margin: 22px 0 0; }
.price-list { list-style: none; display: grid; gap: 12px; margin: 6px 0 22px; flex: 1; }
.price-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.price-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-list li span { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 600; color: var(--text-strong); font-size: 14.5px; }
.price-list li span small { font-family: var(--font-body); font-weight: 400; color: var(--text-dim); font-size: 12px; margin-top: 2px; }
.price-list li b { font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: 18px; white-space: nowrap; }

/* ===== CTA band ===== */
.cta-band { padding: 30px 0 90px; }
.cta-inner { position: relative; text-align: center; border-radius: var(--radius-lg); padding: 60px 30px; overflow: hidden; background: linear-gradient(135deg, rgba(58, 147, 255, 0.16), rgba(79, 209, 230, 0.1)); border: 1px solid rgba(58, 147, 255, 0.3); box-shadow: var(--shadow); }
.cta-inner::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 240px at 50% 120%, rgba(246, 196, 90, 0.18), transparent 60%); }
.cta-inner h2 { position: relative; font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.cta-inner p { position: relative; color: var(--text); max-width: 52ch; margin: 0 auto 26px; font-size: 17px; }
.cta-inner .btn { position: relative; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 54px 0 30px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25)); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-tag { font-family: var(--font-head); font-weight: 600; color: var(--text-strong); margin: 0 0 8px; }
.footer-muted { color: var(--text-dim); font-size: 14px; max-width: 34ch; margin: 0; }
.footer-col h4 { font-family: var(--font-head); font-size: 14px; color: var(--text-strong); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 14.5px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13px; }

/* ===== Scroll reveal ===== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].in { opacity: 1; transform: none; }
.grid > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.grid > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.grid > [data-reveal]:nth-child(4) { transition-delay: 0.08s; }
.grid > [data-reveal]:nth-child(5) { transition-delay: 0.16s; }
.grid > [data-reveal]:nth-child(6) { transition-delay: 0.24s; }
.steps > [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.steps > [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.steps > [data-reveal]:nth-child(4) { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { width: 100%; max-width: 520px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(0, 0, 0, 0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); padding: 8px 22px 18px; margin: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .pricing .price.featured { transform: none; }
  .pricing .price.featured:hover { transform: translateY(-5px); }
  .section { padding: 62px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .hero-trust { gap: 22px; }
}

/* ===== Interactive enhancements ===== */
/* Scroll progress bar */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 55%, var(--gold));
  box-shadow: 0 0 10px rgba(58, 147, 255, 0.55);
}

/* Animated nav underline + scrollspy active state */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text-strong); }

/* Button press feedback + primary sheen sweep */
.btn:active { transform: translateY(0) scale(0.97); }
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -65%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg); transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 135%; }

/* Living gradient on the hero highlight word */
.grad { background-size: 220% auto; animation: gradshift 7s ease-in-out infinite; }
@keyframes gradshift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Cursor spotlight that follows the pointer across cards */
.card { position: relative; isolation: isolate; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.35s ease;
  background: radial-gradient(circle 420px at var(--mx, 50%) var(--my, 0%), rgba(58, 147, 255, 0.16), transparent 60%);
}
.card:hover::after { opacity: 1; }

/* Hero mock pointer tilt */
.hero-visual { perspective: 1100px; }
.mock { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.mock.is-tilting { transition: transform 0.12s ease-out; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .mock { transform: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .mock .ring-val { stroke-dashoffset: 59; }
  .mock .bar i { width: var(--w); }
  .mock .mp-fill { width: var(--w); }
}

/* ===== Legal pages (privacy / terms) ===== */
.legal { padding: 40px 0 30px; position: relative; }
.legal-inner { max-width: 840px; }
.legal-head { margin-bottom: 30px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--text-dim);
  transition: color 0.2s, gap 0.2s;
}
.legal-back svg { width: 17px; height: 17px; }
.legal-back:hover { color: var(--accent-2); gap: 11px; }
.legal-head h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.legal-meta { margin: 12px 0 0; font-family: var(--font-head); font-weight: 500; font-size: 14.5px; color: var(--text-dim); }
.legal-body { color: var(--text); font-size: 15.5px; line-height: 1.75; }
.legal-lead { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--text-strong); margin: 0 0 18px; }
.legal-body > p { max-width: 72ch; margin: 0 0 16px; }
.legal-body h2 {
  font-size: clamp(19px, 2.4vw, 23px); font-weight: 700; color: var(--text-strong);
  margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--border);
}
.legal-body h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--accent-2);
  letter-spacing: 0.02em; margin: 24px 0 10px;
}
.legal-body ul { list-style: none; display: grid; gap: 9px; margin: 0 0 18px; max-width: 72ch; }
.legal-body li { position: relative; padding-left: 24px; color: var(--text); }
.legal-body li::before {
  content: ""; position: absolute; left: 3px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.legal-contact {
  display: grid; gap: 5px; margin: 6px 0 0; max-width: 72ch; padding: 18px 20px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
}
.legal-contact b { font-family: var(--font-head); color: var(--text-strong); }
.legal-contact a { color: var(--accent-2); }
.legal-contact a:hover { text-decoration: underline; }
.legal-disclaimer {
  margin: 42px 0 0; padding: 22px 24px; border: 1px solid var(--border-strong);
  border-left: 3px solid var(--gold); border-radius: var(--radius-sm); background: rgba(246, 196, 90, 0.05);
}
.legal-disclaimer h2 { border: 0; padding: 0; margin: 0 0 10px; font-size: 18px; color: var(--gold); }
.legal-disclaimer p { margin: 0; max-width: none; color: var(--text); font-size: 14.5px; }

@media (max-width: 720px) {
  .legal-body h2 { margin-top: 32px; }
}
