/* ═══════════════════════════════════════════════════════════
   INVOICE PILOT — style.css
   Theme: Dark Slate + Warm Amber / Gold
   ═══════════════════════════════════════════════════════════ */

/* ── FONTS ────────────────────────────────────────────────── */
/* Loaded non-render-blocking from <head> (preconnect + async). */

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  /* Core palette */
  --bg:        #0a0c14;
  --bg2:       #0f1120;
  --bg3:       #141728;
  --surface:   #1a1e32;
  --surface2:  #21263d;

  /* Amber accent */
  --amber:     #f5a623;
  --amber-l:   #fbbf24;
  --amber-d:   #d4880a;
  --amber-glow: rgba(245,166,35,.18);

  /* Teal secondary */
  --teal:      #14b8a6;
  --teal-l:    #2dd4bf;

  /* Neutrals */
  --white:     #ffffff;
  --ink-hi:    #f0f2ff;
  --ink-mid:   #8b91b3;
  --ink-dim:   #787fa6;
  --border:    rgba(255,255,255,.07);
  --border-hi: rgba(245,166,35,.28);

  /* Status */
  --green:     #22c55e;
  --red:       #ef4444;

  /* Radii */
  --r-sm:  6px;
  --r:     12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;

  /* Shadows */
  --sh:    0 4px 24px rgba(0,0,0,.28);
  --sh-lg: 0 16px 48px rgba(0,0,0,.38);
  --sh-a:  0 8px 32px rgba(245,166,35,.24);
  --sh-a-lg: 0 16px 56px rgba(245,166,35,.32);

  /* Typography */
  --ff-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--ff-body); color: var(--ink-mid); background: var(--bg); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--ff-body); cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; height: auto; }
input, textarea { font-family: var(--ff-body); }

/* ── LAYOUT ───────────────────────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sec-pad { padding: 100px 24px; }

/* ── REVEAL ANIMATIONS ────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.rv.left { transform: translateX(-40px); }
.rv.right { transform: translateX(40px); }
.rv.left.on, .rv.right.on { 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; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.s-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.s-eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--amber); border-radius: 2px;
}
.s-h {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800; color: var(--ink-hi);
  letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: 16px;
}
.s-p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-mid); max-width: 520px; }
.sec-hd { text-align: center; margin-bottom: 64px; }
.sec-hd .s-eyebrow { justify-content: center; }
.sec-hd .s-eyebrow::before { display: none; }
.sec-hd .s-p { margin: 0 auto; }

/* ── NAV ──────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 68px; display: flex; align-items: center; padding: 0 24px;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
#nav.solid {
  background: rgba(10,12,20,.88);
  backdrop-filter: blur(20px) saturate(1.5);
  border-color: var(--border);
}
.nav-in {
  max-width: 1160px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text {
  font-family: var(--ff-head); font-size: 1.15rem;
  font-weight: 800; color: var(--white); letter-spacing: -.025em;
}
.logo-text span { color: var(--amber); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--ink-mid); font-size: .875rem; font-weight: 500;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--amber); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--amber); color: #0a0c14;
  padding: 10px 20px; border-radius: 100px;
  font-family: var(--ff-head); font-size: .85rem; font-weight: 700;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-cta:hover { background: var(--amber-l); transform: translateY(-1px); box-shadow: var(--sh-a); }
.nav-cta:active { transform: scale(.97); }

/* ── STICKY PILL ──────────────────────────────────────────── */
#pill {
  position: fixed; bottom: 24px; right: 24px; z-index: 850;
  background: var(--amber); color: #0a0c14;
  padding: 14px 22px; border-radius: 100px;
  font-family: var(--ff-head); font-size: .875rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--sh-a-lg);
  opacity: 0; transform: translateY(80px);
  transition: opacity .4s, transform .45s var(--spring);
  pointer-events: none;
}
#pill.show { opacity: 1; transform: none; pointer-events: auto; }
#pill:hover { background: var(--amber-l); transform: translateY(-2px); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; background: var(--bg);
  display: flex; align-items: center;
  padding: 120px 24px 80px; position: relative; overflow: hidden;
}
/* Dot grid */
#hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,166,35,.08) 1px, transparent 1px);
  background-size: 36px 36px;
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift { to { background-position: 36px 36px; } }

/* Orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.orb-a { width: 700px; height: 700px; background: radial-gradient(circle, rgba(245,166,35,.09), transparent 65%); top: -200px; right: -100px; }
.orb-b { width: 400px; height: 400px; background: radial-gradient(circle, rgba(20,184,166,.06), transparent 65%); bottom: -80px; left: 5%; }
.orb-c { width: 300px; height: 300px; background: radial-gradient(circle, rgba(245,166,35,.05), transparent 65%); top: 30%; left: -100px; }

.hero-in {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 1;
}

/* Hero badge */
.h-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,.1); border: 1px solid rgba(245,166,35,.25);
  color: var(--amber-l); padding: 6px 14px; border-radius: 100px;
  font-family: var(--ff-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,.5); }
  50% { box-shadow: 0 0 0 6px rgba(245,166,35,0); }
}

.h-title {
  font-family: var(--ff-head); font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900; color: var(--ink-hi);
  line-height: 1.06; letter-spacing: -.04em; margin-bottom: 22px;
}
.h-title .gr {
  background: linear-gradient(120deg, var(--amber) 0%, var(--amber-l) 50%, var(--teal-l) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.h-sub {
  color: var(--ink-mid); font-size: 1.08rem; line-height: 1.76;
  margin-bottom: 36px; max-width: 480px;
}

.h-price-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 12px 20px; border-radius: var(--r); margin-bottom: 32px;
}
.h-price-tag .price { font-family: var(--ff-head); font-size: 1.3rem; font-weight: 800; color: var(--amber); }
.h-price-tag .price-label { font-size: .8rem; color: var(--ink-mid); line-height: 1.3; }
.h-price-tag .price-label strong { color: var(--ink-hi); display: block; }

.h-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--amber); color: #0a0c14;
  padding: 15px 28px; border-radius: var(--r);
  font-family: var(--ff-head); font-size: .95rem; font-weight: 700;
  box-shadow: var(--sh-a); transition: all .22s var(--ease);
}
.btn-primary:hover { background: var(--amber-l); transform: translateY(-2px); box-shadow: var(--sh-a-lg); }
.btn-primary:active { transform: scale(.97); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--border);
  color: var(--ink-hi); padding: 15px 28px; border-radius: var(--r);
  font-size: .95rem; font-weight: 500;
  transition: all .22s var(--ease);
}
.btn-ghost:hover { border-color: rgba(245,166,35,.4); color: var(--amber); transform: translateY(-1px); }

.h-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.h-stat-n { font-family: var(--ff-head); font-size: 1.6rem; font-weight: 800; color: var(--white); }
.h-stat-l { font-size: .76rem; color: var(--ink-dim); margin-top: 2px; }

/* Hero image side */
.hero-img-wrap {
  position: relative; display: flex;
  justify-content: center; align-items: center;
}
.hero-img-wrap::before {
  content: ''; position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.14), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: .8; }
  50% { transform: translate(-50%,-50%) scale(1.15); opacity: .4; }
}
.hero-img {
  width: 100%; max-width: 460px; border-radius: var(--r-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.05);
  position: relative; z-index: 1;
  transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
  transition: transform .6s ease;
}
.hero-img:hover { transform: perspective(1000px) rotateY(-2deg) rotateX(1deg); }

/* Image placeholder (for when user hasn't uploaded yet) */
.hero-img-placeholder {
  width: 100%; max-width: 460px; aspect-ratio: 9/16;
  background: var(--surface); border: 2px dashed var(--border-hi);
  border-radius: var(--r-xl); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: var(--amber); position: relative; z-index: 1;
  font-family: var(--ff-head);
}
.hero-img-placeholder svg { opacity: .5; }
.hero-img-placeholder p { font-size: .85rem; opacity: .6; text-align: center; }

/* ── TICKER ───────────────────────────────────────────────── */
#trust {
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 16px 0; overflow: hidden;
}
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 40s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ti {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; color: var(--amber);
  font-family: var(--ff-head); font-size: .8rem; font-weight: 600; flex-shrink: 0;
}
.ti svg { opacity: .7; }
.tsep { color: var(--ink-dim); font-size: 1rem; }

/* ── SECTION: SPLIT (image + text) ───────────────────────── */
.split-sec { padding: 100px 24px; }
.split-sec:nth-child(even) { background: var(--bg2); }
.split-in {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.split-in.flip { direction: rtl; }
.split-in.flip > * { direction: ltr; }

.split-img-wrap { position: relative; }
.split-img {
  width: 100%; border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
}
.split-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: var(--surface); border: 2px dashed var(--border-hi);
  border-radius: var(--r-xl); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  color: var(--ink-mid);
}
.split-img-placeholder .placeholder-icon { font-size: 2.5rem; }
.split-img-placeholder p { font-size: .85rem; color: var(--ink-dim); text-align: center; }

.img-badge {
  position: absolute; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 10px 14px; display: flex; align-items: center; gap: 9px;
  box-shadow: var(--sh); animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.img-badge.b1 { bottom: -18px; left: -18px; }
.img-badge.b2 { top: -14px; right: -14px; animation-delay: 2s; }
.img-badge-icon { font-size: 1.2rem; }
.img-badge-text { display: flex; flex-direction: column; }
.img-badge-val { font-family: var(--ff-head); font-size: .9rem; font-weight: 700; color: var(--ink-hi); }
.img-badge-lbl { font-size: .68rem; color: var(--ink-dim); }

.split-text {}
.split-features { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.split-feat {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .25s, transform .25s;
}
.split-feat:hover { border-color: var(--border-hi); transform: translateX(4px); }
.split-feat-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(245,166,35,.12); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.split-feat-body {}
.split-feat-h { font-family: var(--ff-head); font-size: .95rem; font-weight: 700; color: var(--ink-hi); margin-bottom: 3px; }
.split-feat-p { font-size: .84rem; line-height: 1.6; color: var(--ink-mid); }

/* Steps inside split */
.split-steps { margin-top: 32px; display: flex; flex-direction: column; gap: 0; }
.split-step {
  display: flex; gap: 20px; align-items: flex-start;
  padding-bottom: 28px; position: relative;
}
.split-step:not(:last-child)::before {
  content: ''; position: absolute;
  left: 18px; top: 40px; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  opacity: .2;
}
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.3);
  color: var(--amber); font-family: var(--ff-head); font-size: .9rem;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
}
.step-content {}
.step-content h3 { font-family: var(--ff-head); font-size: 1rem; font-weight: 700; color: var(--ink-hi); margin-bottom: 5px; }
.step-content p { font-size: .875rem; line-height: 1.65; color: var(--ink-mid); }

/* ── FEATURES ─────────────────────────────────────────────── */
#features { background: var(--bg); padding: 100px 24px; }
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 26px;
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.feat-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(245,166,35,.06), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.feat-card:hover { border-color: rgba(245,166,35,.28); transform: translateY(-5px); box-shadow: var(--sh-a); }
.feat-card:hover::before { opacity: 1; }

.feat-num {
  font-family: var(--ff-head); font-size: 3rem; font-weight: 900;
  color: rgba(245,166,35,.08); line-height: 1;
  position: absolute; top: 12px; right: 18px;
}
.feat-ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 16px;
}
.feat-tag {
  display: inline-block; background: rgba(245,166,35,.1); color: var(--amber);
  font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  letter-spacing: .04em; margin-bottom: 8px;
}
.feat-h { font-family: var(--ff-head); font-size: 1.05rem; font-weight: 700; color: var(--ink-hi); margin-bottom: 8px; }
.feat-p { font-size: .86rem; line-height: 1.65; color: var(--ink-mid); }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
#testimonials { background: var(--bg2); padding: 100px 24px; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.t-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--border-hi); }
.t-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-l));
}
.t-stars { display: flex; gap: 2px; margin-bottom: 16px; color: var(--amber); font-size: .88rem; }
.t-text { font-size: .93rem; line-height: 1.74; color: var(--ink-mid); margin-bottom: 20px; }
.t-text strong { color: var(--ink-hi); }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 700; font-size: .85rem;
  color: var(--bg); flex-shrink: 0;
}
.t-name { font-family: var(--ff-head); font-weight: 700; font-size: .875rem; color: var(--ink-hi); }
.t-role { font-size: .75rem; color: var(--ink-dim); margin-top: 1px; }

/* ── PRICING ──────────────────────────────────────────────── */
#pricing { background: var(--bg); padding: 100px 24px; }
.pricing-wrap { max-width: 640px; margin: 0 auto; }
.p-card {
  background: var(--surface); border: 1px solid rgba(245,166,35,.3);
  border-radius: var(--r-xl); padding: 48px;
  box-shadow: 0 24px 72px rgba(0,0,0,.38), 0 0 0 1px rgba(245,166,35,.08);
  position: relative; overflow: hidden;
}
.p-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber-d), var(--amber), var(--amber-l), var(--teal));
}
.p-card::after {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.06), transparent 70%);
}
.p-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.25);
  color: var(--amber); font-family: var(--ff-head); font-size: .73rem; font-weight: 700;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 24px;
  letter-spacing: .06em; text-transform: uppercase;
}
.p-price-row { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 6px; }
.p-price {
  font-family: var(--ff-head); font-size: 4.5rem; font-weight: 900;
  color: var(--white); letter-spacing: -.05em; line-height: 1;
}
.p-price sup { font-size: 1.6rem; vertical-align: super; color: var(--amber); }
.p-onetime {
  font-family: var(--ff-head); font-size: .9rem; font-weight: 600;
  color: var(--green); padding: 4px 10px;
  background: rgba(34,197,94,.1); border-radius: 6px; margin-bottom: 10px;
}
.p-sub { color: var(--ink-mid); margin-bottom: 32px; font-size: .92rem; line-height: 1.65; }
.p-divider { height: 1px; background: var(--border); margin-bottom: 32px; }
.p-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.p-feat { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-mid); }
.p-chk {
  width: 20px; height: 20px; border-radius: 50%; background: rgba(245,166,35,.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--amber);
}
.p-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--amber); color: #0a0c14;
  padding: 18px; border-radius: var(--r);
  font-family: var(--ff-head); font-size: 1rem; font-weight: 800; width: 100%;
  box-shadow: var(--sh-a); transition: all .22s var(--ease);
  cursor: pointer;
}
.p-cta:hover { background: var(--amber-l); transform: translateY(-2px); box-shadow: var(--sh-a-lg); }
.p-note { text-align: center; margin-top: 14px; font-size: .78rem; color: var(--ink-dim); }

/* ── FAQ (inline on main page) ────────────────────────────── */
#faq { background: var(--bg2); padding: 100px 24px; }
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; padding: 22px 0;
  font-family: var(--ff-head); font-size: 1rem; font-weight: 600; color: var(--ink-hi);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color .2s;
}
.faq-item summary:hover { color: var(--amber); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--ink-mid); font-size: .75rem;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
details[open] .faq-chev { transform: rotate(180deg); background: rgba(245,166,35,.12); border-color: var(--border-hi); color: var(--amber); }
.faq-ans { padding: 0 0 22px 0; padding-right: 42px; font-size: .93rem; line-height: 1.74; color: var(--ink-mid); }

/* ── FINAL CTA ────────────────────────────────────────────── */
#cta {
  background: var(--bg); padding: 120px 24px;
  text-align: center; position: relative; overflow: hidden;
}
#cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(245,166,35,.07), transparent);
}
.cta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,166,35,.08); border: 1px solid rgba(245,166,35,.18);
  color: var(--amber); padding: 6px 16px; border-radius: 100px;
  font-family: var(--ff-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.cta-h {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; color: var(--white);
  letter-spacing: -.04em; line-height: 1.08;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.cta-h .gr {
  background: linear-gradient(120deg, var(--amber) 0%, var(--teal-l) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-p { color: var(--ink-mid); font-size: 1.08rem; margin-bottom: 44px; position: relative; z-index: 1; }
.cta-acts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--amber); color: #0a0c14;
  padding: 16px 28px; border-radius: var(--r);
  font-family: var(--ff-head); font-size: .9rem; font-weight: 700;
  box-shadow: var(--sh-a-lg); transition: all .22s var(--ease);
}
.btn-store:hover { background: var(--amber-l); transform: translateY(-2px); box-shadow: 0 24px 64px rgba(245,166,35,.4); }
.bs-lbl { display: flex; flex-direction: column; line-height: 1.3; }
.bs-sm { font-size: .68rem; font-weight: 500; opacity: .75; }
.bs-lg { font-size: 1rem; font-weight: 800; }
.cta-fine { color: var(--ink-dim); font-size: .8rem; margin-top: 20px; position: relative; z-index: 1; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--bg2); padding: 60px 24px 36px;
  border-top: 1px solid var(--border);
}
.ft-in { max-width: 1160px; margin: 0 auto; }
.ft-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.ft-desc { color: var(--ink-dim); font-size: .85rem; line-height: 1.68; margin-top: 14px; max-width: 260px; }
.ft-col-t {
  color: var(--ink-mid); font-family: var(--ff-head); font-size: .72rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px;
}
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-links a { color: var(--ink-dim); font-size: .85rem; transition: color .2s; }
.ft-links a:hover { color: var(--amber); }
.ft-bot {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.ft-copy { color: var(--ink-dim); font-size: .8rem; }
.ft-copy a { color: var(--ink-dim); transition: color .2s; }
.ft-copy a:hover { color: var(--amber); }
.ft-tag { color: rgba(245,166,35,.82); font-size: .76rem; }

/* ── PAGE-SPECIFIC (privacy.html, faq.html) ───────────────── */
.page-hero {
  padding: 140px 24px 80px; background: var(--bg);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(245,166,35,.06), transparent);
}
.page-hero-in { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.page-body { padding: 60px 24px 100px; background: var(--bg); }
.page-body-in { max-width: 760px; margin: 0 auto; }
.page-section { margin-bottom: 48px; }
.page-section h2 {
  font-family: var(--ff-head); font-size: 1.3rem; font-weight: 700;
  color: var(--ink-hi); margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.page-section h3 { font-family: var(--ff-head); font-size: 1rem; font-weight: 600; color: var(--ink-hi); margin: 20px 0 8px; }
.page-section p { font-size: .93rem; line-height: 1.76; color: var(--ink-mid); margin-bottom: 12px; }
.page-section ul { margin: 10px 0 12px 20px; display: flex; flex-direction: column; gap: 6px; }
.page-section ul li { font-size: .93rem; line-height: 1.7; color: var(--ink-mid); }
.page-section a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1040px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 800px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .h-sub { max-width: 100%; }
  .h-btns { justify-content: center; }
  .h-stats { justify-content: center; }
  .hero-img-wrap { order: -1; }
  .hero-img, .hero-img-placeholder { max-width: 360px; }
  .split-in { grid-template-columns: 1fr; gap: 44px; }
  .split-in.flip { direction: ltr; }
  .feat-grid { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .p-feats { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; gap: 28px; }
  .ft-bot { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
}
@media (max-width: 540px) {
  .p-card { padding: 28px 22px; }
  .hero-img, .hero-img-placeholder { max-width: 280px; }
}

/* ── iPhone 17 Pro Max Frame ──────────────────────────────── */
.iphone-frame {
  position: relative;
  /* Titanium brushed metal gradient */
  background: linear-gradient(155deg, #2f2f31 0%, #1c1c1e 50%, #26262a 100%);
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    /* Inner highlight edge (metal shine) */
    inset 0 0 0 1px rgba(255,255,255,.14),
    /* Outer hard edge */
    0 0 0 1px rgba(0,0,0,.9),
    /* Ambient shadow */
    0 40px 90px rgba(0,0,0,.88),
    0 16px 40px rgba(0,0,0,.55);
  display: inline-block;
}

/* Home indicator — floats at the bottom of the screen */
.iphone-frame::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 4px;
  background: rgba(255,255,255,.3);
  border-radius: 2px;
  z-index: 4;
}

.iphone-screen {
  /* Inner radius = outer radius − padding = 46 − 10 = 36 */
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  display: block;
}

.iphone-screen img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

/* Hero — large with perspective tilt */
.iphone-hero {
  width: 300px;
  position: relative;
  z-index: 1;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform .6s ease;
}
.iphone-hero:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

/* Split sections */
.iphone-split {
  width: 280px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .iphone-hero  { width: 240px; }
  .iphone-split { width: 240px; }
}
@media (max-width: 540px) {
  .iphone-hero  { width: 200px; }
  .iphone-split { width: 200px; }
}

/* ── Privacy Grid ─────────────────────────────────────────── */
.priv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.priv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color .3s ease, transform .3s ease;
}
.priv-card:hover {
  border-color: rgba(245,166,35,.22);
  transform: translateY(-4px);
}
.priv-icon {
  width: 48px; height: 48px;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.priv-h {
  font-family: var(--ff-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink-hi);
  margin-bottom: 8px;
}
.priv-p {
  font-size: .86rem;
  line-height: 1.68;
  color: var(--ink-mid);
}
@media (max-width: 800px) {
  .priv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .priv-grid { grid-template-columns: 1fr; }
}

/* ── App Showcase Marquee ─────────────────────────────────── */
#showcase {
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#showcase .wrap { padding-bottom: 56px; }

.showcase-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.showcase-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 24px 0 44px;
  animation: showcaseScroll 44s linear infinite;
}

.showcase-track:hover { animation-play-state: paused; }

@keyframes showcaseScroll {
  to { transform: translateX(-50%); }
}

.showcase-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  cursor: default;
}

.sp-tilt {
  transition: rotate .45s cubic-bezier(.34,1.56,.64,1),
              translate .45s cubic-bezier(.34,1.56,.64,1),
              scale .45s cubic-bezier(.34,1.56,.64,1);
  transform-origin: bottom center;
  rotate: var(--rot, 0deg);
}

.showcase-phone:hover .sp-tilt {
  rotate: 0deg;
  translate: 0 -20px;
  scale: 1.07;
}

.showcase-frame { width: 185px; }

.showcase-label {
  font-family: var(--ff-head);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0;
  translate: 0 6px;
  transition: opacity .3s ease, translate .3s ease, color .3s ease;
}

.showcase-phone:hover .showcase-label {
  opacity: 1;
  translate: 0 0;
  color: var(--amber);
}

/* ── NAV ACTIONS / MOBILE MENU ────────────────────────────── */
.nav-actions { display: flex; align-items: center; gap: 12px; }

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: 10px; background: var(--surface); border: 1px solid var(--border);
}
.menu-btn span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink-hi);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 68px 0 auto 0; z-index: 880;
  background: rgba(10,12,20,.97);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 16px 24px 28px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-menu.open { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a {
  font-family: var(--ff-head); font-size: 1.05rem; font-weight: 600;
  color: var(--ink-hi); padding: 16px 6px; border-bottom: 1px solid var(--border);
}
.mobile-menu a:active { color: var(--amber); }
.mobile-menu-cta {
  margin-top: 18px; border-bottom: none !important;
  background: var(--amber); color: #0a0c14 !important;
  border-radius: var(--r); text-align: center; font-weight: 800 !important; padding: 15px !important;
}

@media (max-width: 800px) { .menu-btn { display: flex; } }
@media (min-width: 801px) { .mobile-menu { display: none; } }
@media (max-width: 420px) { .nav-cta { display: none; } }

/* ── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rv { opacity: 1 !important; transform: none !important; }
}

/* ── UTILITY ──────────────────────────────────────────────── */
.text-amber { color: var(--amber); }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
