/* Annona marketing site — mirrors the app's glass-on-gradient look. */
:root {
  --bg-0: #0b1220;
  --bg-1: #0f2233;
  --bg-2: #123529;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.28);
  --text: #f4f7fa;
  --text-2: rgba(244, 247, 250, 0.72);
  --text-3: rgba(244, 247, 250, 0.45);
  --accent: #34d399;
  --accent-deep: #0d9268;
  --accent-soft: rgba(52, 211, 153, 0.16);
  --warn: #fbbf24;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

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

/* fixed gradient + glow backdrop, like the app */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 55%, var(--bg-2) 100%);
}
.backdrop::before,
.backdrop::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.backdrop::before {
  width: 480px; height: 480px;
  background: rgba(52, 211, 153, 0.16);
  top: -120px; right: -100px;
}
.backdrop::after {
  width: 420px; height: 420px;
  background: rgba(56, 189, 248, 0.12);
  bottom: -80px; left: -120px;
}

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

/* ── nav ─────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(11, 18, 32, 0.6);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
nav a.link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}
nav a.link:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #06251a;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
}
.nav-cta:hover { filter: brightness(1.08); }

/* ── hero ────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 84px 0 64px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero .lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--text-2);
  max-width: 46ch;
}
.badges { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.store-badge:hover { transform: translateY(-2px); border-color: var(--accent); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .sb-small { font-size: 10.5px; color: var(--text-3); letter-spacing: 0.4px; text-transform: uppercase; }
.store-badge .sb-big { font-size: 17px; font-weight: 700; }
.store-badge.disabled { opacity: 0.55; pointer-events: none; }
.hero-facts { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.fact { color: var(--text-3); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.fact::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--accent); }

/* phone frame */
.phone {
  width: min(320px, 80vw);
  margin: 0 auto;
  border-radius: 44px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  background: #000;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.phone img {
  width: 100%;
  display: block;
  border-radius: 34px;
}
.phone.tilt { transform: rotate(2.5deg); }

/* ── sections ───────────────────────────────────────── */
section { padding: 72px 0; }
.kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-top: 8px;
}
.section-lead { color: var(--text-2); margin-top: 12px; max-width: 62ch; font-size: 16.5px; }

/* features grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.card .emoji { font-size: 28px; }
.card h3 { font-size: 17px; font-weight: 700; margin-top: 12px; }
.card p { color: var(--text-2); font-size: 14.5px; margin-top: 8px; }

/* screenshots band */
.shots {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}
.shot { text-align: center; }
.shot figcaption { margin-top: 14px; color: var(--text-3); font-size: 13.5px; font-weight: 600; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.step { position: relative; padding: 26px 24px 26px 24px; }
.step .num {
  width: 34px; height: 34px;
  border-radius: 17px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.step h3 { font-size: 17px; margin-top: 14px; }
.step p { color: var(--text-2); font-size: 14.5px; margin-top: 8px; }

/* spotlight */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px;
  margin-top: 40px;
}
.spotlight ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.spotlight li { display: flex; gap: 12px; color: var(--text-2); font-size: 15px; }
.spotlight li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* CTA */
.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.14), rgba(56, 189, 248, 0.08));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 64px 32px;
}
.cta .badges { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 36px 0 48px; margin-top: 40px; }
.foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brand { font-size: 15px; }
.foot a { color: var(--text-3); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.foot a:hover { color: var(--text-2); }
.foot .copy { margin-left: auto; color: var(--text-3); font-size: 13px; }

/* ── support / legal pages ──────────────────────────── */
.page { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; }
.page h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -0.015em; }
.page .sub { color: var(--text-2); margin-top: 12px; font-size: 16px; }
.faq-group { margin-top: 40px; }
.faq-group h2 { font-size: 20px; margin-bottom: 14px; }
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 650;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 600; flex-shrink: 0; }
details[open] summary::after { content: "−"; }
details .a { padding: 0 20px 18px; color: var(--text-2); font-size: 14.5px; }
details .a p + p { margin-top: 10px; }
details .a code {
  background: rgba(255,255,255,0.08);
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 13px;
}

.legal h2 { font-size: 19px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text-2); font-size: 15px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal .updated { color: var(--text-3); font-size: 13.5px; margin-top: 10px; }

.note {
  background: var(--accent-soft);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--text-2);
  font-size: 14.5px;
  margin-top: 28px;
}

/* ── language picker & notice ───────────────────────── */
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--card-strong);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.lang-select:hover { color: var(--text); border-color: var(--border-strong); }
.foot .lang-select { margin-left: auto; }
.foot .lang-select + .copy { margin-left: 0; }
.lang-note {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 13.5px;
  font-style: italic;
}
.lang-note:empty { display: none; }

/* ── responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 56px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .badges { justify-content: center; }
  .hero-facts { justify-content: center; }
  .phone.tilt { transform: none; margin-top: 12px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr; padding: 32px 24px; }
  nav .link { display: none; }
}
@media (max-width: 560px) {
  .grid, .steps { grid-template-columns: 1fr; }
}

/* ── blog ───────────────────────────────────────────── */
.post-list { margin-top: 40px; display: grid; gap: 16px; }

.post-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.post-card:hover {
  background: var(--card-strong);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.post-date {
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.post-card h2 {
  font-size: 21px;
  line-height: 1.3;
  margin: 10px 0;
  letter-spacing: -0.01em;
}
.post-card p { color: var(--text-2); font-size: 15px; }
.post-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 650;
  font-size: 14.5px;
}

.post-back {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--text-3);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.post-back:hover { color: var(--text-2); }

.post h1 { line-height: 1.2; }
.post h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.post p, .post li { color: var(--text-2); font-size: 16px; }
.post p { margin-top: 14px; }
.post ul { padding-left: 22px; margin-top: 12px; display: grid; gap: 10px; }
.post-lead {
  font-size: 18px !important;
  color: var(--text) !important;
  margin-top: 26px !important;
  line-height: 1.65;
}
.post em { color: var(--text); font-style: italic; }

/* Infographic slot — images are the point of these posts, so they get the
   full column width and a surface that works for both PNG and SVG. */
.infographic {
  margin: 34px 0 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  overflow-x: auto;
}
.infographic img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}
.infographic figcaption {
  color: var(--text-3);
  font-size: 13.5px;
  text-align: center;
  margin-top: 14px;
}

blockquote.pull {
  margin: 34px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 550;
}

@media (max-width: 640px) {
  .post-card { padding: 22px 20px; }
  .post-card h2 { font-size: 19px; }
  .post h2 { font-size: 20px; }
  blockquote.pull { font-size: 17px; }
}
