:root {
  --brand: #2FD4C6;
  --brand-deep: #0D9B8F;
  --brand-soft: #E6FAF7;
  --brand-glow: rgba(47, 212, 198, 0.35);
  --gold: #C9A24A;
  --ink: #0B1412;
  --ink-2: #1C2B28;
  --muted: #5F736F;
  --paper: #F5F8F7;
  --paper-elev: #FFFFFF;
  --line: rgba(11, 20, 18, 0.08);
  --line-strong: rgba(11, 20, 18, 0.12);
  --shadow-sm: 0 1px 2px rgba(11, 20, 18, 0.04);
  --shadow: 0 18px 50px rgba(13, 155, 143, 0.12);
  --shadow-lg: 0 28px 80px rgba(11, 20, 18, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 72px;
  --font: "Inter", "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand-deep); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ——— Nav ——— */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(245, 248, 247, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink); font-weight: 800; font-size: 1.02rem;
  letter-spacing: -0.02em; flex-shrink: 0;
}
.brand img {
  width: 40px; height: 40px; border-radius: 11px;
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: 0.92rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav-links a:hover { color: var(--ink); background: rgba(11, 20, 18, 0.04); }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: var(--ink) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--ink-2) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700;
  border: 0; cursor: pointer; font: inherit; font-size: 0.98rem;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 10px 28px rgba(11, 20, 18, 0.18);
}
.btn-primary:hover { background: var(--ink-2); color: #fff; }
.btn-accent {
  background: var(--brand); color: #07312e;
  box-shadow: 0 10px 28px var(--brand-glow);
}
.btn-accent:hover { background: #3ae8d8; color: #07312e; }
.btn-ghost {
  background: rgba(255,255,255,0.7); color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--ink); }
.btn-store {
  background: #111; color: #fff; min-width: 180px;
  flex-direction: column; align-items: flex-start; gap: 0;
  padding: 12px 20px; border-radius: 14px; line-height: 1.2;
}
.btn-store small { font-size: 0.7rem; font-weight: 600; opacity: 0.7; }
.btn-store strong { font-size: 1.05rem; font-weight: 800; }
.btn-store.soon { opacity: 0.55; pointer-events: none; cursor: not-allowed; user-select: none; }

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -5%, rgba(47, 212, 198, 0.28), transparent 55%),
    radial-gradient(700px 400px at 10% 100%, rgba(201, 162, 74, 0.12), transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.01em;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.045em;
  margin: 18px 0 18px; font-weight: 800; color: var(--ink);
}
.hero p.lead {
  color: var(--muted); font-size: 1.18rem; max-width: 36rem;
  line-height: 1.55;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-meta div strong {
  display: block; font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--ink);
}
.hero-meta div span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }

.hero-visual { position: relative; justify-self: center; }
.hero-orb {
  position: absolute; inset: -18% -12%;
  background: radial-gradient(circle at 50% 40%, var(--brand-glow), transparent 65%);
  filter: blur(8px); z-index: 0; pointer-events: none;
}
.hero-logo {
  position: relative; z-index: 1;
  width: min(280px, 70vw); height: auto; aspect-ratio: 1;
  border-radius: 56px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
}
.hero-badge {
  position: absolute; z-index: 2; right: -8px; bottom: 28px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 12px 14px;
  box-shadow: var(--shadow); font-size: 0.85rem; font-weight: 700;
  max-width: 160px;
}
.hero-badge span { display: block; color: var(--muted); font-weight: 600; font-size: 0.75rem; margin-bottom: 2px; }

/* ——— Sections ——— */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin-bottom: 12px; letter-spacing: -0.035em; font-weight: 800;
}
.section .intro { color: var(--muted); margin-bottom: 40px; max-width: 38rem; font-size: 1.05rem; }
.section-head { max-width: 40rem; margin-bottom: 40px; }
.section-head .intro { margin-bottom: 0; }

.strip {
  background: var(--ink); color: #fff; padding: 28px 0;
}
.strip .wrap {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  align-items: center;
}
.strip p { color: rgba(255,255,255,0.72); font-weight: 600; font-size: 0.95rem; }
.strip strong { color: #fff; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bento .card { grid-column: span 4; }
.bento .card.wide { grid-column: span 8; }
.bento .card.tall { grid-column: span 4; min-height: 220px; }

.card {
  background: var(--paper-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover {
  border-color: rgba(47, 212, 198, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); font-size: 1.35rem; margin-bottom: 14px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.02em; font-weight: 800; }
.card p { color: var(--muted); font-size: 0.95rem; }

.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  margin-bottom: 56px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-copy h3 {
  font-size: 1.55rem; letter-spacing: -0.03em; margin-bottom: 12px; font-weight: 800;
}
.feature-copy p { color: var(--muted); font-size: 1.05rem; }
.feature-panel {
  background: linear-gradient(160deg, #fff 0%, var(--brand-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 260px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
}
.feature-panel .pill {
  align-self: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 0.85rem;
}

.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.compare .card h3 { margin-bottom: 16px; }
.compare ul { list-style: none; display: grid; gap: 10px; }
.compare li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--ink-2); font-weight: 600; font-size: 0.95rem;
}
.compare li::before {
  content: "✓"; color: var(--brand-deep); font-weight: 800; flex-shrink: 0;
}
.compare .card.pro {
  background: linear-gradient(165deg, #0B1412 0%, #143532 100%);
  color: #fff; border-color: transparent;
}
.compare .card.pro h3, .compare .card.pro li { color: #fff; }
.compare .card.pro li { color: rgba(255,255,255,0.88); }
.compare .card.pro li::before { color: var(--brand); }
.compare .card.pro p { color: rgba(255,255,255,0.65); }

.cta-band {
  background:
    radial-gradient(600px 280px at 80% 0%, rgba(47, 212, 198, 0.35), transparent 60%),
    var(--ink);
  color: #fff; border-radius: 32px; padding: 48px 40px;
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 22px; max-width: 32rem; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-side {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px; padding: 22px; text-align: center;
}
.cta-side img {
  width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.cta-side p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }

/* ——— Legal / forms ——— */
.legal { padding: 48px 0 80px; max-width: 760px; }
.legal h1 { font-size: 2.1rem; margin: 8px 0 8px; letter-spacing: -0.03em; font-weight: 800; }
.legal .meta { color: var(--muted); margin-bottom: 28px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; letter-spacing: -0.02em; }
.legal p, .legal li { color: #2c3b38; margin-bottom: 10px; }
.legal ul { padding-left: 1.2rem; margin-bottom: 12px; }

.form { display: grid; gap: 12px; max-width: 480px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 15px; border-radius: 14px;
  border: 1px solid var(--line); font: inherit; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 212, 198, 0.18);
}
.form textarea { min-height: 140px; resize: vertical; }

/* ——— Footer ——— */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  color: var(--muted); font-size: 0.9rem;
  background: #fff;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--ink); font-weight: 800; margin-bottom: 12px;
}
.footer-brand img { width: 40px; height: 40px; border-radius: 11px; }
.footer-col h4 {
  color: var(--ink); font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col a {
  display: block; color: var(--muted); font-weight: 600;
  margin-bottom: 10px; font-size: 0.92rem;
}
.footer-col a:hover { color: var(--brand-deep); }
.footer-bottom {
  padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--brand-deep); }

/* ——— Prayer tracker ——— */
.prayer-list { display: grid; gap: 10px; max-width: 420px; }
.prayer-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; font-weight: 700;
}
.prayer-row.done { border-color: var(--brand); background: var(--brand-soft); }
.prayer-row button {
  border: 0; background: var(--brand); color: #07312e;
  font-weight: 800; border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.prayer-row.done button { background: var(--brand-deep); color: #fff; }
.prayer-row.next { box-shadow: 0 0 0 2px var(--brand); }
.prayer-time {
  font-variant-numeric: tabular-nums;
  font-size: 1.2rem; color: var(--brand-deep);
  font-weight: 800; letter-spacing: 0.02em;
}
.prayer-meta { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.now-bar p { margin-bottom: 6px; }
.streak { font-size: 1.4rem; font-weight: 800; color: var(--brand-deep); }

/* ——— Mobile ——— */
@media (max-width: 900px) {
  .bento .card, .bento .card.wide, .bento .card.tall { grid-column: span 12; }
  .feature-row, .feature-row.reverse, .compare, .cta-band, .footer-grid {
    grid-template-columns: 1fr; direction: ltr;
  }
  .cta-band { padding: 36px 24px; }
}

@media (max-width: 800px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero p.lead, .section .intro, .section-head { margin-inline: auto; }
  .actions, .hero-meta, .store-row { justify-content: center; }
  .hero-meta { border-top: 0; padding-top: 0; }
  .hero-logo { width: 180px; border-radius: 40px; margin-inline: auto; }
  .hero-badge { right: 50%; transform: translateX(70%); bottom: 8px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: rgba(255,255,255,0.96); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px; flex-direction: column; align-items: stretch; gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { text-align: center; justify-content: center; }
  .section { padding: 64px 0; }
}

/* ——— Pro v2 extras ——— */
.hero h1 .accent { color: var(--brand-deep); }
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px;
}
.trust-item {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 16px; text-align: center;
}
.trust-item strong { display: block; font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.trust-item span { color: var(--muted); font-size: 0.86rem; font-weight: 600; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px;
  position: relative;
}
.step .num {
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--ink); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 0.95rem; }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px;
}
.faq summary {
  cursor: pointer; font-weight: 750; letter-spacing: -0.01em;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-deep); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }

.quote-band {
  background: linear-gradient(135deg, #fff 0%, var(--brand-soft) 100%);
  border: 1px solid var(--line); border-radius: 28px; padding: 36px 32px;
}
.quote-band p {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 750;
  letter-spacing: -0.025em; line-height: 1.35; max-width: 40rem;
}
.quote-band span { display: block; margin-top: 14px; color: var(--muted); font-weight: 600; font-size: 0.92rem; }

.privacy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.privacy-grid .card h3 { font-size: 1rem; }

@media (max-width: 900px) {
  .trust-row, .steps, .privacy-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .trust-row, .steps, .privacy-grid { grid-template-columns: 1fr; }
}
