/* ==========================================================================
   Tasker — Modern SaaS Landing Page Stylesheet
   Palette: violet/purple primary, blue (reminder), green (completed),
            orange/red (overdue/high priority)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --violet-50:  #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-800: #5b21b6;
  --violet-900: #4c1d95;

  /* Accent — blue (reminder/calendar) */
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;

  /* Accent — green (completed) */
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;

  /* Accent — orange/red (overdue / high priority) */
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --red-400: #f87171;
  --red-500: #ef4444;

  /* Neutrals (dark-mode friendly base) */
  --bg: #0b0814;
  --bg-soft: #120e22;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f1ff;
  --text-muted: #b9b1d6;
  --text-dim: #8c83a8;

  --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 50%, #4f46e5 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(79,70,229,0.10));
  --gradient-hero: radial-gradient(1200px 600px at 15% -10%, rgba(124,58,237,0.30), transparent 60%),
                   radial-gradient(900px 500px at 85% 0%, rgba(59,130,246,0.20), transparent 55%),
                   radial-gradient(700px 500px at 50% 110%, rgba(34,197,94,0.12), transparent 60%);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 12px 30px -10px rgba(0,0,0,0.5);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.6);
  --shadow-glow: 0 20px 60px -15px rgba(124,58,237,0.55);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1180px;
  --header-h: 72px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }

/* Decorative animated background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--gradient-hero);
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 70%);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.center { text-align: center; }
.grid { display: grid; gap: 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--violet-200);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--violet-400);
  box-shadow: 0 0 12px var(--violet-400);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-top: 18px;
  background: linear-gradient(180deg, #fff, #d8d0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 1.06rem;
}
.section-head.left { text-align: left; }
.section-head.left .section-sub { margin-inline: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 25px 70px -15px rgba(124,58,237,0.7); }
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--violet-400); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 8, 20, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}
.brand .logo {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--gradient-brand);
  display: grid; place-items: center;
  box-shadow: 0 8px 20px -6px rgba(124,58,237,0.7);
}
.brand .logo svg { width: 22px; height: 22px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: #fff; background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform .25s, opacity .25s;
}
.nav-toggle span::before { position: absolute; top: -7px; left: 0; }
.nav-toggle span::after  { position: absolute; top: 7px;  left: 0; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  margin: 22px 0 0;
  line-height: 1.08;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #c4b5fd 0%, #8b5cf6 40%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 1.13rem;
  color: var(--text-muted);
  max-width: 540px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  backdrop-filter: blur(6px);
}
.badge .ico { font-size: 0.95rem; }

/* ---------- Phone mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 320px;
  max-width: 100%;
  background: linear-gradient(180deg, #1a1430, #0f0b1f);
  border: 1px solid var(--border-strong);
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(124,58,237,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #05030c;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  background: linear-gradient(180deg, #15102a, #0d0920);
  border-radius: 32px;
  padding: 50px 18px 22px;
  overflow: hidden;
  min-height: 540px;
}
.phone-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.phone-head .greet { font-size: 12px; color: var(--text-dim); }
.phone-head .name { font-weight: 700; font-size: 1.15rem; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient-brand);
  display: grid; place-items: center;
  font-size: 1rem;
}
.phone-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 16px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
}
.stat .num { font-weight: 800; font-size: 1.15rem; }
.stat .lbl { font-size: 10px; color: var(--text-dim); }
.stat.green .num { color: var(--green-400); }
.stat.violet .num { color: var(--violet-300); }
.stat.orange .num { color: var(--orange-400); }

.task-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  transition: transform .2s, border-color .2s;
}
.task-card:hover { transform: translateY(-2px); border-color: var(--violet-400); }
.check {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 7px;
  border: 2px solid var(--violet-400);
  display: grid; place-items: center;
  margin-top: 1px;
}
.check.done {
  background: var(--green-500);
  border-color: var(--green-500);
}
.check.done svg { width: 13px; height: 13px; }
.task-body { flex: 1; min-width: 0; }
.task-title { font-weight: 600; font-size: 0.9rem; }
.task-title.done { text-decoration: line-through; color: var(--text-dim); }
.task-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.chip {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
}
.chip.due    { background: rgba(59,130,246,0.16); color: var(--blue-400); }
.chip.rem    { background: rgba(167,139,250,0.18); color: var(--violet-200); }
.chip.high   { background: rgba(239,68,68,0.16); color: var(--red-400); }
.chip.normal { background: rgba(251,146,60,0.16); color: var(--orange-400); }
.chip.low    { background: rgba(34,197,94,0.16); color: var(--green-400); }
.chip.cat    { background: var(--surface-hover); color: var(--text-muted); }
.sub-row {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 8px;
}
.sub-bar { flex: 1; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.sub-bar i { display: block; height: 100%; background: var(--gradient-brand); border-radius: 999px; }

/* Floating accents */
.float-tag {
  position: absolute;
  background: rgba(20,14,40,0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 9px;
  box-shadow: var(--shadow-md);
  animation: floaty 4s ease-in-out infinite;
}
.float-tag .ic {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center; font-size: 0.95rem;
}
.float-tag.t1 { top: 8%; left: -8%; animation-delay: 0s; }
.float-tag.t2 { bottom: 14%; right: -10%; animation-delay: 1.2s; }
.float-tag.t3 { bottom: -2%; left: 4%; animation-delay: 2.1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Trust strip ---------- */
.trust {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 14px 30px;
  padding: 26px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.trust b { color: var(--text-muted); }

/* ---------- Feature cards ---------- */
.features-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background: var(--gradient-brand-soft);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--violet-400); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  margin-bottom: 20px;
  position: relative;
}
.card h3 { font-size: 1.2rem; }
.card .desc { color: var(--text-muted); margin-top: 10px; font-size: 0.96rem; }
.card ul.bullets { margin-top: 16px; display: grid; gap: 9px; }
.card ul.bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-muted); font-size: 0.9rem;
}
.card ul.bullets li::before {
  content: "";
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 3px;
  border-radius: 5px;
  background: var(--gradient-brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 13px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 13px no-repeat;
}

/* tag helpers for wallet card */
.tagline {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.28);
  color: #fcd9a1;
  font-size: 0.82rem;
  display: flex; gap: 9px; align-items: flex-start;
}

/* ---------- Why Tasker ---------- */
.why-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
}
.why {
  text-align: center;
  padding: 30px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .2s, border-color .2s;
}
.why:hover { transform: translateY(-4px); border-color: var(--violet-400); }
.why .num {
  width: 48px; height: 48px; margin: 0 auto 16px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff; font-weight: 800; font-size: 1.1rem;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(124,58,237,0.7);
}
.why h3 { font-size: 1.08rem; }
.why p { color: var(--text-muted); margin-top: 10px; font-size: 0.92rem; }

/* ---------- How it works ---------- */
.steps {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
  position: relative;
}
.step {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.step .stepnum {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--violet-300); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.step .stepnum .n {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--gradient-brand); color: #fff;
  display: grid; place-items: center; font-size: 0.9rem;
}
.step h3 { font-size: 1.25rem; margin-top: 16px; }
.step p { color: var(--text-muted); margin-top: 12px; }

/* ---------- Preview cards ---------- */
.preview-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 52px;
}
.preview {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 22px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.preview:hover { border-color: var(--violet-400); transform: translateY(-4px); }
.preview .frame {
  border-radius: 18px;
  background: linear-gradient(180deg, #15102a, #0d0920);
  border: 1px solid var(--border);
  padding: 18px;
  min-height: 220px;
  display: flex; flex-direction: column; gap: 12px;
}
.preview h3 { font-size: 1.1rem; margin-top: 18px; }
.preview p { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }
.preview .frame .mock-title { font-weight: 700; font-size: 0.95rem; color: #fff; }
.preview .frame .mock-sub { font-size: 0.72rem; color: var(--text-dim); }

/* mini form mock */
.mock-form { display: grid; gap: 9px; }
.mock-field {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 11px; font-size: 0.78rem; color: var(--text-muted);
  display: flex; justify-content: space-between; align-items: center;
}
.mock-field .pill { font-size: 0.66rem; padding: 2px 7px; border-radius: 999px; background: var(--surface-hover); }

/* settings mock */
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--border); font-size: 0.8rem; }
.mock-row:last-child { border-bottom: none; }
.mock-row .k { color: var(--text-muted); }
.mock-row .v { font-weight: 600; color: #fff; }
.toggle { width: 34px; height: 20px; border-radius: 999px; background: var(--violet-600); position: relative; }
.toggle::after { content:""; position:absolute; top:2px; right:2px; width:16px; height:16px; border-radius:50%; background:#fff; }
.toggle.off { background: rgba(255,255,255,0.12); }
.toggle.off::after { right: auto; left: 2px; }

/* wallet mock */
.wallet-box {
  background: var(--gradient-brand); border-radius: 16px; padding: 16px;
  color: #fff; display: flex; flex-direction: column; gap: 10px;
}
.wallet-box .addr { font-family: ui-monospace, monospace; font-size: 0.72rem; background: rgba(0,0,0,0.25); padding: 7px 9px; border-radius: 8px; }
.premium-badge { display:inline-flex; align-items:center; gap:6px; background: rgba(255,255,255,0.18); padding: 4px 10px; border-radius:999px; font-size:0.72rem; font-weight:700; width: fit-content; }

/* ---------- Privacy highlight ---------- */
.privacy-band {
  margin-top: 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(59,130,246,0.18), transparent 60%),
    linear-gradient(135deg, rgba(124,58,237,0.14), rgba(13,9,32,0.6));
  border: 1px solid var(--border-strong);
  padding: 52px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.privacy-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.privacy-band p { color: var(--text-muted); margin-top: 16px; }
.privacy-band .pts { display: grid; gap: 12px; margin-top: 22px; }
.privacy-band .pts li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 0.95rem; }
.privacy-band .pts li .ic { color: var(--green-400); font-weight: 800; }
.privacy-illu {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
}
.shield { font-size: 3.4rem; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 52px auto 0; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--violet-400); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
}
.faq-q .chev {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  transition: transform .25s, background .25s;
  font-size: 0.9rem;
  color: var(--violet-200);
}
.faq-item.open .faq-q .chev { transform: rotate(45deg); background: var(--violet-600); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a .inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ---------- Download CTA ---------- */
.cta {
  border-radius: var(--radius-xl);
  padding: 72px 40px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(124,58,237,0.35), transparent 65%),
    linear-gradient(135deg, #1a1238, #0d0920);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta p { color: var(--text-muted); max-width: 560px; margin: 16px auto 0; }
.cta .stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px; border-radius: 14px;
  background: rgba(0,0,0,0.4); border: 1px solid var(--border-strong);
  color: #fff; transition: border-color .2s, transform .2s;
}
.store-btn:hover { border-color: var(--violet-400); transform: translateY(-2px); }
.store-btn .si { font-size: 1.6rem; }
.store-btn .st-tiny { font-size: 0.66rem; color: var(--text-dim); line-height: 1; }
.store-btn .st-name { font-weight: 700; line-height: 1.1; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 64px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { color: var(--text-muted); margin-top: 16px; max-width: 320px; font-size: 0.94rem; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: 0.94rem; transition: color .15s; }
.footer-col a:hover { color: var(--violet-300); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--text-dim); font-size: 0.86rem;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: border-color .2s, transform .2s, color .2s;
}
.socials a:hover { border-color: var(--violet-400); transform: translateY(-2px); color: var(--violet-300); }

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: 64px 0 24px;
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  background: linear-gradient(180deg, #fff, #d8d0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.legal-meta {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 0.9rem;
}
.legal-body {
  max-width: 820px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.legal-body .intro { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 32px; }
.legal-body h2 {
  font-size: 1.35rem;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body h2 .nh {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 9px; background: var(--gradient-brand);
  color: #fff; font-size: 0.9rem; display: grid; place-items: center;
}
.legal-body p { color: var(--text-muted); margin-bottom: 14px; }
.legal-body ul.dashed {
  display: grid; gap: 9px; margin: 12px 0 18px;
}
.legal-body ul.dashed li {
  position: relative; padding-left: 22px;
  color: var(--text-muted);
}
.legal-body ul.dashed li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 2px; background: var(--violet-400); border-radius: 2px;
}
.legal-body .note {
  margin-top: 8px; padding: 14px 16px; border-radius: 12px;
  background: rgba(59,130,246,0.10); border: 1px solid rgba(59,130,246,0.28);
  color: #cfe0ff; font-size: 0.92rem;
}
.legal-body .warn {
  margin-top: 8px; padding: 14px 16px; border-radius: 12px;
  background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.28);
  color: #fcd9a1; font-size: 0.92rem;
}
.legal-toc {
  max-width: 820px; margin: 0 auto 28px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.legal-toc a {
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.85rem; font-weight: 500;
  transition: color .15s, border-color .15s;
}
.legal-toc a:hover { color: var(--violet-200); border-color: var(--violet-400); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .features-grid, .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: 1fr; }
  .privacy-band { grid-template-columns: 1fr; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .btn-text { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 24px;
    background: rgba(11,8,20,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open a { padding: 14px 16px; font-size: 1rem; border-radius: 12px; }
  .section { padding: 68px 0; }
  .features-grid, .why-grid, .steps { grid-template-columns: 1fr; }
  .legal-body { padding: 28px 22px; }
  .cta { padding: 52px 22px; }
  .float-tag.t1 { left: -2%; }
  .float-tag.t2 { right: -2%; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .hero-cta { width: 100%; }
  .phone { width: 100%; }
}
