/* ShadowSnap marketing site — dark vault aesthetic matching the app. */
:root {
  --bg: #0d0906;
  --surface: #1d1209;
  --surface-2: #2c1d0f;
  --border: rgba(202, 154, 98, 0.16);
  --text: #f6eee3;
  --muted: #a0866b;
  --accent: #ca9a62;
  --accent-2: #e3bc8a;
  --on-accent: #1a1109;
  --radius: 16px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

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

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

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

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 9, 6, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px;
  object-fit: cover; display: block;
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent); font-weight: 700; border: none; cursor: pointer;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }

/* ---- Hero ---- */
.hero { padding: 90px 0 70px; text-align: center; }
.hero .eyebrow {
  display: inline-block; color: var(--accent-2); font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; font-size: 0.8rem; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.hero h1 .grad { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.sub { color: var(--muted); font-size: 1.2rem; max-width: 640px; margin: 22px auto 0; }
.cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---- Sections ---- */
section.block { padding: 70px 0; border-top: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ---- Feature grid ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ---- Pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan .name { font-weight: 700; font-size: 1.1rem; }
.plan .price { font-size: 2rem; font-weight: 800; margin: 10px 0 2px; }
.plan .price span { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.plan .store { color: var(--accent-2); font-size: 1.25rem; font-weight: 700; margin: 6px 0; }
.plan .tag { color: var(--muted); font-size: 0.9rem; }

/* ---- Legal docs ---- */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: 2.2rem; font-weight: 800; }
.legal .updated { color: var(--muted); margin: 8px 0 32px; font-size: 0.95rem; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal p, .legal li { color: #d6c7b3; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .note {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 16px 18px; margin: 22px 0; color: var(--muted); font-size: 0.95rem;
}

/* ---- FAQ ---- */
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent-2); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 0.92rem; }
footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 600px) {
  .nav-links { gap: 14px; }
  .nav-links a.hide-sm { display: none; }
}
