/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #13110e;
  --surface:    #2a2520;
  --border:     #3d3530;
  --text:       #f5f0e8;
  --muted:      #9a8f7e;
  --subtle:     #5c5046;
  --gold:       #c09753;
  --gold-dark:  #a07d3d;
  --gold-glow:  rgba(192,151,83,0.15);
  --green:      #10B981;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── Logo SVG ─────────────────────────────────────────────── */
.logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* On dark bg the lines need to be light */
.logo line { stroke: var(--text); }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Nav ──────────────────────────────────────────────────── */
nav {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: rgba(19,17,14,0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  text-decoration: none !important;
}

.nav-brand-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--gold);
  color: #13110e !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: var(--gold-dark) !important; text-decoration: none !important; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid rgba(192,151,83,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--gold); }

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--gold);
  color: #13110e;
}

.btn-primary:hover { background: var(--gold-dark); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--muted); }

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 9px;
}

/* ── Store badges ─────────────────────────────────────────── */
.store-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 20px;
  color: var(--text);
  text-decoration: none !important;
  transition: border-color 0.15s;
}

.store-badge:hover { border-color: var(--gold); }

.store-badge-icon { font-size: 26px; }

.store-badge-text { display: flex; flex-direction: column; }
.store-badge-sub { font-size: 11px; color: var(--muted); }
.store-badge-name { font-size: 16px; font-weight: 700; }

.store-badge.coming-soon { opacity: 0.5; cursor: default; }

/* ── Privacy banner ───────────────────────────────────────── */
.privacy-banner {
  background: linear-gradient(135deg, rgba(192,151,83,0.08), rgba(192,151,83,0.04));
  border: 1px solid rgba(192,151,83,0.25);
  border-radius: 16px;
  padding: 36px 40px;
  text-align: center;
  margin: 0 auto;
  max-width: 720px;
}

.privacy-banner-icon { font-size: 36px; margin-bottom: 12px; }
.privacy-banner h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.privacy-banner p { color: var(--muted); line-height: 1.7; }

/* ── Features grid ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ── Screenshots ──────────────────────────────────────────── */
.screenshots {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

.screenshot-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 220px;
  height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--subtle);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.screenshot-placeholder .ph-icon { font-size: 32px; opacity: 0.4; }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #2e2715, var(--surface));
}

.pricing-badge {
  display: inline-block;
  background: var(--gold);
  color: #13110e;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.pricing-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.pricing-price { font-size: 36px; font-weight: 800; margin: 12px 0 4px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.pricing-alt { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.pricing-features li .check { color: var(--green); font-size: 16px; }
.pricing-features li.highlight { color: var(--text); font-weight: 500; }

/* ── Products grid ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.15s;
  text-decoration: none !important;
  display: block;
  color: var(--text);
}

.product-card:hover { border-color: var(--gold); }
.product-card-icon { font-size: 40px; margin-bottom: 16px; }
.product-card-app-icon { width: 80px; height: 80px; border-radius: 18px; display: block; }
.eyebrow-icon { display: inline-block; width: 20px; height: 20px; border-radius: 5px; vertical-align: middle; margin-right: 2px; position: relative; top: -1px; }
.product-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.product-card-tag {
  display: inline-block;
  background: rgba(16,185,129,0.12);
  color: var(--green);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
}

/* ── Section headings ─────────────────────────────────────── */
.section-heading { text-align: center; margin-bottom: 16px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; }
.section-heading p { color: var(--muted); font-size: 17px; margin-top: 10px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { max-width: 700px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 2px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item + .faq-item { margin-top: 8px; }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
}

.faq-q .arrow { color: var(--muted); font-size: 18px; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .arrow { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.open .faq-a { display: block; }

/* ── Contact form ─────────────────────────────────────────── */
.contact-form {
  max-width: 600px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-textarea, .form-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--font);
  width: 100%;
  transition: border-color 0.15s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-textarea { min-height: 140px; resize: vertical; }
.form-select option { background: var(--surface); }

.hp-field { display: none; }

.form-submit {
  background: var(--gold);
  color: #13110e;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s;
}

.form-submit:hover { background: var(--gold-dark); }

.form-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 12px;
  padding: 20px 24px;
  color: var(--green);
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 12px;
  padding: 14px 18px;
  color: #FCA5A5;
  font-size: 14px;
  display: none;
}

/* ── Prose (privacy policy / legal) ──────────────────────── */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h1 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 14px; margin-bottom: 48px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; color: var(--muted); }
.prose p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.prose ul { color: var(--muted); padding-left: 20px; margin-bottom: 16px; line-height: 1.8; }
.prose ul li { margin-bottom: 6px; }
.prose a { color: var(--gold); }
.prose strong { color: var(--text); }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none !important;
}

.footer-brand-text span { color: var(--gold); }

.footer-logo { width: 24px; height: 24px; }
.footer-logo line { stroke: var(--text); }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--subtle); font-size: 14px; }
.footer-links a:hover { color: var(--muted); }

.footer-copy { color: var(--subtle); font-size: 14px; width: 100%; margin-top: 8px; }

/* ── Divider ──────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  .privacy-banner { padding: 28px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .screenshot-placeholder { width: 160px; height: 320px; }
}
