/* ═══════════════════════════════════════════════════════════
   CredStore — Enterprise Marketing Site
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Light is the default — no attribute needed */
:root {
  --bg:           #F8FAFC;
  --bg-surface:   #EFF4F9;
  --bg-elevated:  #E2E8F0;
  --bg-card:      #FFFFFF;
  --bg-card-h:    #F8FAFC;
  --border:       #DDE4EE;
  --border-light: #C8D3E0;

  --blue:         #3B82F6;
  --blue-dark:    #2563EB;
  --blue-muted:   rgba(59,130,246,0.08);
  --green:        #10B981;
  --green-muted:  rgba(16,185,129,0.08);
  --purple:       #8B5CF6;
  --amber:        #F59E0B;
  --red:          #EF4444;
  --cyan:         #06B6D4;

  --text:         #0F172A;
  --text-2:       #475569;
  --text-3:       #94A3B8;

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

  --transition:   0.2s ease;
  --shadow-card:  0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.05);
  --shadow-glow:  0 0 80px rgba(59,130,246,.06);

  /* Theme-specific tokens for values that can't use var() inline */
  --nav-bg:            rgba(248,250,252,.85);
  --nav-bg-scrolled:   rgba(248,250,252,.97);
  --nav-mobile-bg:     rgba(255,255,255,.99);
  --hero-grid-line:    rgba(148,163,184,.2);
  --hero-glow-opacity: .12;
  --selection-color:   #0F172A;
  --code-bg:           #EFF4F9;
}

/* ── Dark theme (activated by button) ───────────────────── */
[data-theme="dark"] {
  --bg:           #070B14;
  --bg-surface:   #0D1117;
  --bg-elevated:  #161B27;
  --bg-card:      #111827;
  --bg-card-h:    #141E2F;
  --border:       #1E2840;
  --border-light: #253047;

  --blue-muted:   rgba(59,130,246,0.12);
  --green-muted:  rgba(16,185,129,0.12);

  --text:         #F1F5F9;
  --text-2:       #94A3B8;
  --text-3:       #64748B;

  --shadow-card:  0 1px 3px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  --shadow-glow:  0 0 80px rgba(59,130,246,.15);

  --nav-bg:            rgba(7,11,20,.8);
  --nav-bg-scrolled:   rgba(7,11,20,.95);
  --nav-mobile-bg:     rgba(7,11,20,.98);
  --hero-grid-line:    rgba(30,40,64,.4);
  --hero-glow-opacity: .25;
  --selection-color:   #fff;
  --code-bg:           #161B27;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(59,130,246,.35); color: var(--selection-color); }

a { color: inherit; text-decoration: none; }
code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .85em;
  background: var(--code-bg);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--blue);
}

/* ── Container ─────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Gradient text ──────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 60%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(59,130,246,.4); }
.btn-android { background: #1DB954; }
.btn-android:hover { background: #17a349; box-shadow: 0 4px 20px rgba(29,185,84,.4); }
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover { background: var(--bg-elevated); color: var(--text); border-color: var(--border-light); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-muted); }
.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-xl { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

/* ── Scroll-reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════ NAV ══════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: var(--nav-bg-scrolled);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 80px;
  width: auto;
  display: block;
  border-radius: 8px;
}
/* Theme-aware logo: show the light logo by default, the dark logo under dark mode. */
.nav-logo-img.logo-dark { display: none; }
[data-theme="dark"] .nav-logo-img.logo-light { display: none; }
[data-theme="dark"] .nav-logo-img.logo-dark { display: block; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--bg-elevated); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  background: var(--nav-mobile-bg);
}
.nav-mobile a {
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-2);
  transition: all var(--transition);
}
.nav-mobile a:hover { color: var(--text); background: var(--bg-elevated); }
.nav-mobile.open { display: flex; }

/* ═══════════════════════════ HERO ═════════════════════════ */
.hero {
  position: relative;
  padding: 148px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: var(--hero-glow-opacity);
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #3B82F6, transparent 70%);
  top: -150px; right: -100px;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #8B5CF6, transparent 70%);
  bottom: -100px; left: -50px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 64px;
}

/* Phone mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
}
.mockup-phone {
  width: 320px;
  background: var(--bg-card);
  border-radius: 32px;
  border: 1px solid var(--border-light);
  padding: 16px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 24px 80px rgba(0,0,0,.6),
    0 0 120px rgba(59,130,246,.08);
  position: relative;
}
.mockup-status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-3);
  padding: 4px 8px 12px;
  font-family: 'JetBrains Mono', monospace;
}
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px 12px;
  font-weight: 700;
  font-size: 16px;
}
.mockup-lock { font-size: 18px; }
.mockup-search {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  margin: 0 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.mockup-search-icon { font-size: 16px; }
.mockup-items { display: flex; flex-direction: column; gap: 2px; }
.mockup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.mockup-item:hover { background: var(--bg-elevated); }
.mockup-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.mockup-item-body { flex: 1; min-width: 0; }
.mockup-item-title { font-size: 13px; font-weight: 600; color: var(--text); }
.mockup-item-sub { font-size: 11px; color: var(--text-3); }
.mockup-item-fav { color: var(--amber); font-size: 14px; }
.mockup-fab {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,.5);
}

/* ═══════════════════════════ TRUST BAR ════════════════════ */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 32px;
}
.trust-icon { font-size: 24px; }
.trust-label { font-size: 14px; font-weight: 600; color: var(--text); }
.trust-sub { font-size: 12px; color: var(--text-3); }
.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ═══════════════════════════ SECTIONS ═════════════════════ */
.section { padding: 100px 0; }
.section-dark {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  background: var(--blue-muted);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--text);
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════ FEATURES ════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card-wide { grid-column: 1 / 3; }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.feature-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(59,130,246,.06), transparent 60%);
  pointer-events: none;
}
.feature-icon-lg { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.feature-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.feature-tech-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--blue);
  border-radius: 4px;
  padding: 3px 8px;
}
.feature-card-premium { border-color: rgba(139,92,246,.25); }
.feature-card-premium .feature-card-bg {
  background: radial-gradient(ellipse at top right, rgba(139,92,246,.08), transparent 60%);
}
.premium-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple);
  background: rgba(139,92,246,.15);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 100px;
  padding: 3px 10px;
}
.coming-soon {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  vertical-align: middle;
  margin-left: 6px;
}

/* ═══════════════════════════ SECURITY ════════════════════ */
.security-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}
.security-flow {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.security-flow-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.flow { display: flex; flex-direction: column; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.flow-step-icon { font-size: 20px; width: 36px; text-align: center; flex-shrink: 0; }
.flow-step-label { font-size: 14px; font-weight: 600; color: var(--text); }
.flow-step-sub { font-size: 11px; color: var(--text-3); font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
.flow-arrow { text-align: center; color: var(--text-3); padding: 2px 0 2px 17px; font-size: 18px; }

.security-principles { display: flex; flex-direction: column; gap: 24px; }
.security-principle {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .3s, transform .2s;
}
.security-principle:hover { border-color: var(--border-light); transform: translateX(4px); }
.sp-icon { font-size: 24px; flex-shrink: 0; padding-top: 2px; }
.security-principle h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.security-principle p { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ═══════════════════════════ VAULT TYPES ══════════════════ */
.vault-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.vault-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: border-color .3s, transform .2s, box-shadow .2s;
}
.vault-type-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.vt-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
}
.vault-type-card h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.vault-type-card > p { font-size: 12px; color: var(--text-3); margin-bottom: 12px; line-height: 1.5; }
.vt-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.vt-tags span {
  font-size: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-3);
  border-radius: 4px;
  padding: 2px 7px;
}
.vault-custom {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(59,130,246,.06), rgba(139,92,246,.06));
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.vault-custom-icon { font-size: 28px; color: var(--text-3); flex-shrink: 0; }
.vault-custom h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.vault-custom p { font-size: 14px; color: var(--text-2); }

/* ═══════════════════════════ PLATFORMS ═══════════════════ */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  transition: border-color .3s, transform .2s;
}
.platform-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.platform-active { border-color: rgba(16,185,129,.25); }
.platform-active:hover { border-color: rgba(16,185,129,.45); }
.platform-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  background: var(--green-muted);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 100px;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 16px;
}
.platform-status-soon { color: var(--text-3); background: var(--bg-elevated); border-color: var(--border); }
.platform-icon { font-size: 36px; margin-bottom: 12px; }
.platform-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.platform-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.platform-card li { font-size: 13px; color: var(--text-2); padding-left: 16px; position: relative; }
.platform-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.platform-soon li::before { color: var(--text-3); content: '◦'; }

/* ═══════════════════════════ PRICING ═════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .3s, transform .2s;
}
.pricing-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.pricing-card-featured {
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(59,130,246,.08) 100%);
  border-color: rgba(59,130,246,.4);
  transform: scale(1.02);
}
.pricing-card-featured:hover { transform: scale(1.02) translateY(-2px); }
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--blue);
  color: #fff;
  border-radius: 100px;
  padding: 4px 14px;
  white-space: nowrap;
}
.pricing-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 12px;
}
.pricing-price {
  font-size: 44px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -2px;
  margin-bottom: 4px;
  line-height: 1;
}
.pricing-price span { font-size: 18px; font-weight: 500; color: var(--text-3); }
.pricing-per-month { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 12px; }
.pricing-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}
.pricing-features li { font-size: 13px; color: var(--text-2); }
.pricing-features li:has(✗) { color: var(--text-3); }
.pricing-features li:nth-child(n+9) { color: var(--text-3); }

.supporter-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.supporter-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.supporter-icon { font-size: 32px; }
.supporter-header h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.supporter-header p { font-size: 14px; color: var(--text-2); }
.supporter-tiers {
  display: flex;
  gap: 16px;
}
.supporter-tier {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: border-color .3s, transform .2s;
}
.supporter-tier:hover { border-color: var(--amber); transform: translateY(-2px); }
.st-emoji { font-size: 24px; margin-bottom: 8px; }
.st-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.st-price { font-size: 20px; font-weight: 800; color: var(--amber); }

/* ═══════════════════════════ FAQ ══════════════════════════ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: rgba(59,130,246,.3); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--bg-elevated); }
.faq-chevron {
  font-size: 22px;
  color: var(--text-3);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(90deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
}
.faq-a.open { display: block; }
.faq-a p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* ═══════════════════════════ ROADMAP ══════════════════════ */
.roadmap-list {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}
.roadmap-list::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--border), var(--border) 80%, transparent);
}
.roadmap-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 20px 0;
  position: relative;
}
.rm-dot {
  position: absolute;
  left: -34px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border-light);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--border-light);
}
.rm-done { background: var(--green); box-shadow: 0 0 0 2px rgba(16,185,129,.3); }
.rm-next { background: var(--blue); box-shadow: 0 0 0 2px rgba(59,130,246,.3); }
.rm-phase {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  padding-top: 2px;
}
.rm-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.rm-desc { font-size: 13px; color: var(--text-2); }
.roadmap-done .rm-phase { color: var(--green); }
.roadmap-next .rm-phase { color: var(--blue); }
.roadmap-done .rm-title, .roadmap-next .rm-title { color: var(--text); }

/* ═══════════════════════════ CTA ══════════════════════════ */
.section-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59,130,246,.15) 0%, transparent 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 16px;
  color: var(--text);
}
.cta-content > p { font-size: 18px; color: var(--text-2); margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.cta-security-note {
  font-size: 13px;
  color: var(--text-3);
}

/* ═══════════════════════════ FOOTER ══════════════════════ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 12px;
  line-height: 1.7;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.footer-badge {
  font-size: 11px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-3);
  border-radius: 6px;
  padding: 3px 10px;
}
.footer-links-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-3);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-tech {
  display: flex;
  gap: 8px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-3);
}

/* ── Theme toggle ───────────────────────────────────────── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--bg-elevated);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--text-2);
}
.theme-toggle:hover {
  background: var(--bg-card);
  border-color: var(--blue);
  color: var(--text);
}

/* ═══════════════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: 1 / -1; }
  .security-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .vault-types-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links-group { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: 100px; }
  .hero-title { letter-spacing: -1px; }
  .trust-items { flex-direction: column; align-items: flex-start; padding: 0 24px; }
  .trust-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: 1; }
  .vault-types-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: none; }
  .supporter-tiers { flex-direction: column; }
  .footer-links-group { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .roadmap-item { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .vault-types-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-links-group { grid-template-columns: 1fr 1fr; }
}

/* Premium = not yet purchasable: render its CTA as an inert "Coming soon" chip */
.pricing-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.pricing-footnote {
  max-width: 680px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
}
