:root {
  --pink: #ff9ec7;
  --pink-deep: #ed6b9f;
  --blue: #a6d9f5;
  --green: #b5e8ca;
  --pink-soft: #ffedf2;
  --ink: #1d1b1e;
  --muted: #6b6670;
  --card: #ffffff;
  --bg: #fff7fa;
  --radius: 22px;
  --shadow: 0 12px 30px rgba(237, 107, 159, 0.14);
  --maxw: 1080px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--pink-deep); 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: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 247, 250, 0.8);
  border-bottom: 1px solid rgba(237, 107, 159, 0.12);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; }
.brand .logo { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.btn {
  display: inline-block; font-weight: 700; padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-deep), var(--pink)); color: #fff !important;
  box-shadow: var(--shadow); border: none; cursor: pointer; transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn.secondary { background: #fff; color: var(--pink-deep) !important; border: 1px solid rgba(237,107,159,.3); box-shadow: none; }

/* Official-style App Store badge — used as the primary hero CTA */
.appstore-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}
.appstore-badge:hover { transform: translateY(-1px); opacity: 0.92; text-decoration: none; }
.appstore-badge:active { transform: translateY(0); }
.appstore-badge svg { height: 56px; width: auto; display: block; }
@media (max-width: 760px) {
  .appstore-badge svg { height: 50px; }
}

/* Hero */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 20% auto; height: 480px;
  background: radial-gradient(closest-side, rgba(166,217,245,.5), transparent),
              radial-gradient(closest-side, rgba(181,232,202,.5), transparent);
  filter: blur(40px); z-index: -1;
}
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}
.hero-copy { flex: 1 1 0; min-width: 0; }
.hero .logo-big { width: 68px; height: 68px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero h1 .grad { background: linear-gradient(90deg, var(--pink-deep), #7aa7d6, #6cbf95); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: 1.15rem; color: var(--muted); max-width: 480px; margin: 0 0 26px; }
.cta-row { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.price-pill { display:inline-flex; align-items:center; gap:8px; margin-top:20px; font-weight:600; color: var(--muted); }
.price-pill b { color: var(--ink); }

/* Stack the hero on narrow screens */
@media (max-width: 760px) {
  .hero-grid { flex-direction: column; text-align: center; gap: 36px; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
}

/* Sections */
section { padding: 64px 0; }
.section-title { text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 12px; letter-spacing: -0.01em; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(237,107,159,.08);
}
.card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.ico.p { background: rgba(237,107,159,.15); }
.ico.b { background: rgba(166,217,245,.4); }
.ico.g { background: rgba(181,232,202,.5); }

/* Privacy band */
.band { background: linear-gradient(135deg, var(--pink-soft), #eef7ff); }
.pills { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin: 20px auto 0; max-width: 760px; }
.tag {
  display:inline-flex; align-items:center; white-space:nowrap;
  background:#fff; border-radius:999px; padding:10px 16px;
  font-weight:600; font-size:0.95rem; box-shadow: var(--shadow);
}

/* Pricing */
.price-card {
  max-width: 420px; margin: 0 auto; text-align: center; background: #fff;
  border-radius: 28px; padding: 36px; box-shadow: var(--shadow); border: 2px solid rgba(237,107,159,.18);
}
.price-card .amt { font-size: 3.4rem; font-weight: 800; color: var(--pink-deep); }
.price-card .amt span { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0; text-align: left; }
.price-card li { padding: 8px 0 8px 30px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: #4caf86; font-weight: 800; }

/* FAQ */
details { background:#fff; border-radius:16px; padding:18px 22px; margin-bottom:12px; box-shadow: var(--shadow); }
details summary { font-weight: 700; cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display:none; }
details[open] summary { margin-bottom: 10px; }
details p { color: var(--muted); margin: 0; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { margin-top: 32px; font-size: 1.3rem; }
.legal p, .legal li { color: #3a363c; }
.legal .updated { color: var(--muted); font-size: 0.9rem; }

/* Footer */
footer { background: #fff; border-top: 1px solid rgba(237,107,159,.12); padding: 40px 0; margin-top: 40px; }
.foot-inner { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; align-items:center; }
.foot-links { display:flex; gap:20px; flex-wrap:wrap; }
.foot-links a { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.foot-note { color: var(--muted); font-size: 0.85rem; max-width: 520px; }

.disclaimer { text-align:center; color: var(--muted); font-size: 0.85rem; padding: 0 24px 40px; }

/* Security page */
.sec-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 8px; }
.sec-card { background:#fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border:1px solid rgba(237,107,159,.08); }
.sec-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.sec-card p, .sec-card li { color: var(--muted); margin: 4px 0; font-size: 0.95rem; }
.sec-card ul { padding-left: 18px; }

.table-wrap { overflow-x:auto; }
table.net {
  width:100%; border-collapse: separate; border-spacing: 0; background:#fff;
  border-radius: 18px; overflow:hidden; box-shadow: var(--shadow); border:1px solid rgba(237,107,159,.08);
  margin-top: 10px;
}
table.net th, table.net td { padding: 14px 16px; text-align:left; font-size: 0.95rem; vertical-align: top; }
table.net thead th { background: var(--pink-soft); font-weight:700; color: var(--ink); font-size: 0.85rem; letter-spacing: .02em; text-transform: uppercase; }
table.net tbody tr + tr td { border-top: 1px solid rgba(237,107,159,.08); }
table.net td.why { color: var(--muted); }

.badge { display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size: 0.82rem; padding: 4px 10px; border-radius: 999px; }
.badge.no  { background: #e7f8ef; color: #1f7a3a; }
.badge.yes { background: #fde8ee; color: #b21f4d; }
.badge.mix { background: #fff1d6; color: #8a5a00; }

/* Comparison table cell states (good / bad / partial) */
table.cmp th, table.cmp td { text-align: center; }
table.cmp th:first-child, table.cmp td:first-child { text-align: left; font-weight: 600; }
table.cmp thead th:nth-child(2) { background: var(--pink-soft); color: var(--pink-deep); }
.cmp-yes { color: #1f7a3a; font-weight: 700; }
.cmp-no  { color: #b21f4d; font-weight: 700; }
.cmp-mid { color: #8a5a00; font-weight: 700; }

.callout {
  border-left: 4px solid var(--pink-deep); background:#fff;
  padding: 16px 18px; border-radius: 14px; box-shadow: var(--shadow);
  margin: 18px auto 0; max-width: 760px;
}
.callout strong { color: var(--ink); }

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
}

/* Device screenshot — natural aspect ratio, clean soft card (no fake bezel) */
.device {
  display: block;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(29, 27, 30, 0.14);
  border: 1px solid rgba(29, 27, 30, 0.06);
}
.device img {
  display: block;
  width: 100%;
  height: auto;          /* preserve natural aspect ratio — no cropping */
}

/* Hero screenshot — sits beside the copy, compact */
.hero-shot {
  flex: 0 0 auto;
  width: 230px;
  margin: 0;
}

/* Showcase — a few screenshots, evenly spaced */
.showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 32px;
  margin-top: 8px;
}
.showcase figure {
  margin: 0;
  width: 195px;
  max-width: 62vw;
  display: flex;
  flex-direction: column;
}
.showcase figcaption {
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.45;
}
.showcase figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 2px;
}
