/* Pastor Reminder — Signature Black, matching the iPhone app:
   midnight and charcoal surfaces, warm ivory type, muted teal actions,
   champagne-gold accents, fine borders and restrained glass. */
:root {
  --midnight: #090b0d;
  --charcoal: #13161a;
  --raised: #1b1f22;
  --ivory: #f4ecdd;
  --ivory-soft: rgba(244, 236, 221, 0.80);
  --ivory-muted: rgba(244, 236, 221, 0.56);
  --gold: #deb875;
  --gold-deep: #9e7a45;
  --teal: #6bccc4;
  --primary-top: #216666;
  --primary-bottom: #0f3d40;
  --hair: rgba(244, 236, 221, 0.09);
  --hair-strong: rgba(244, 236, 221, 0.16);
  --radius: 22px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--ivory-soft);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ivory); margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; }
h3 { font-weight: 700; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gold-rule {
  display: block; width: 64px; height: 2px; border-radius: 2px; margin: 22px 0;
  background: linear-gradient(90deg, var(--gold), rgba(222, 184, 117, 0.12));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 15px; text-decoration: none; font-weight: 600; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary {
  color: var(--ivory);
  background: linear-gradient(180deg, var(--primary-top), var(--primary-bottom));
  border: 1px solid rgba(107, 204, 196, 0.32);
  box-shadow: 0 10px 28px -12px rgba(33, 102, 102, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.1); }
.btn-sm { font-size: 14px; padding: 9px 16px; border-radius: 12px; }
.btn-lg { font-size: 17px; padding: 16px 28px; }
.btn-block { width: 100%; }

.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 16px; border-radius: 14px; text-decoration: none;
  color: var(--midnight); background: var(--ivory);
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.8);
}
.appstore:hover { transform: translateY(-1px); }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; }
.appstore small { font-size: 11px; font-weight: 500; }
.appstore b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Glass panel (the app's SBPanel) ---------- */
.glass {
  background: linear-gradient(180deg, rgba(27, 31, 34, 0.86), rgba(19, 22, 26, 0.92));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.tile {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(180deg, var(--raised), var(--midnight));
  border: 1.2px solid rgba(222, 184, 117, 0.55);
  box-shadow: 0 0 16px rgba(222, 184, 117, 0.12);
}
.tile svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile--sm { width: 40px; height: 40px; border-radius: 12px; }
.tile--sm svg { width: 19px; height: 19px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9, 11, 13, 0.78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--hair);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 20px; height: 68px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { border-radius: 9px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; color: var(--ivory); }
.brand-word b { font-size: 15px; letter-spacing: 0.22em; font-weight: 600; }
.brand-word small { font-size: 8.5px; letter-spacing: 0.34em; color: var(--ivory-muted); margin-top: 3px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ivory-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ivory); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex; padding: 3px; border-radius: 11px;
  background: rgba(27, 31, 34, 0.8); border: 1px solid var(--hair);
}
.lang-switch button {
  font: 600 12.5px var(--font); letter-spacing: 0.04em; color: var(--ivory-muted);
  background: none; border: 0; padding: 6px 10px; border-radius: 8px; cursor: pointer;
}
html[data-lang="en"] [data-set-lang="en"],
html[data-lang="ru"] [data-set-lang="ru"] { background: var(--raised); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(222, 184, 117, 0.35); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 13, 0.55) 0%, rgba(9, 11, 13, 0.15) 30%, rgba(9, 11, 13, 0.55) 62%, var(--midnight) 100%),
    linear-gradient(90deg, rgba(9, 11, 13, 0.75) 0%, rgba(9, 11, 13, 0) 60%),
    url(assets/img/daypartmorning.webp) center 35% / cover no-repeat;
}
.hero-inner {
  position: relative; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 120px 20px 80px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: clamp(46px, 7vw, 84px); line-height: 1.0; letter-spacing: -0.035em; }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 520px; margin: 0 0 32px; color: var(--ivory-soft); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.hero-note { margin: 0; font-size: 14.5px; color: var(--ivory-muted); max-width: 220px; line-height: 1.45; }
.hero-phone { justify-self: center; }
.hero-phone .phone { width: min(330px, 70vw); }

/* ---------- Phone frame ---------- */
.phone {
  position: relative; width: 290px; aspect-ratio: 1206 / 2622;
  border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #3a3e42, #121417 40%, #2b2f33);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: var(--charcoal); }
.phone--light { background: linear-gradient(160deg, #d9dcdf, #9ea3a8 45%, #e6e8ea); }
.phone--light img { background: #fff; }

/* ---------- Benefits ---------- */
.benefits { position: relative; margin-top: -40px; padding: 0 20px; z-index: 2; }
.benefits-row {
  max-width: var(--max); margin: 0 auto; padding: 26px 30px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.benefit { display: flex; gap: 16px; align-items: center; }
.benefit h3 { font-size: 17px; }
.benefit p { margin: 2px 0 0; font-size: 14.5px; color: var(--ivory-muted); }

/* ---------- Sections ---------- */
section { position: relative; }
.features, .looks, .privacy, .pricing, .faq { max-width: var(--max); margin: 0 auto; padding: 120px 20px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-sub { margin: 18px auto 0; font-size: 18px; color: var(--ivory-muted); max-width: 600px; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  padding: 40px 0;
}
.feature + .feature { border-top: 1px solid var(--hair); }
.feature--rev .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media::before {
  content: ''; position: absolute; width: 360px; height: 360px; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 102, 102, 0.30), transparent 65%);
  filter: blur(10px); z-index: -1;
}
.feature-media .phone { width: 280px; }
.feature-media.duo { padding-right: 90px; }
.feature-media.duo .phone--back { position: absolute; width: 230px; left: 50%; margin-left: 10px; top: 60px; z-index: -1; opacity: 0.9; }
.feature-text h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; margin-bottom: 16px; }
.feature-text > p:not(.eyebrow) { margin: 0 0 22px; font-size: 18px; max-width: 470px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 32px; font-size: 16px; color: var(--ivory); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(107, 204, 196, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236bccc4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(107, 204, 196, 0.35);
}

/* Looks */
.looks-phones { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.looks-phones figure { margin: 0; text-align: center; }
.looks-phones .phone { width: 260px; }
.looks-phones figcaption { margin-top: 18px; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-muted); }

/* Privacy */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 30px 28px; }
.card h3 { font-size: 19px; margin: 20px 0 8px; }
.card p { margin: 0; font-size: 15.5px; color: var(--ivory-muted); }
.center-link { text-align: center; margin: 34px 0 0; }
.center-link a { color: var(--teal); text-decoration: none; font-weight: 600; }
.center-link a:hover { text-decoration: underline; }

/* Pricing */
.price-card { position: relative; max-width: 480px; margin: 0 auto; padding: 40px 36px 32px; border-color: rgba(222, 184, 117, 0.28); text-align: center; }
.price-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, rgba(222, 184, 117, 0.10), transparent 60%);
}
.price-badge {
  display: inline-block; padding: 5px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); background: rgba(158, 122, 69, 0.32); box-shadow: inset 0 0 0 1px rgba(222, 184, 117, 0.45);
}
.price-row { display: flex; justify-content: center; align-items: baseline; gap: 14px; margin: 18px 0 4px; }
.price { font-size: 64px; font-weight: 800; color: var(--ivory); letter-spacing: -0.04em; line-height: 1; }
.price-was { font-size: 22px; color: var(--ivory-muted); text-decoration: line-through; text-decoration-color: rgba(222, 184, 117, 0.7); }
.price-once { margin: 6px 0 24px; color: var(--ivory-soft); }
.trial {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 16px; margin-bottom: 24px; border-radius: 16px;
  background: rgba(15, 61, 64, 0.35); border: 1px solid rgba(107, 204, 196, 0.22);
}
.trial p { margin: 0; font-size: 15.5px; }
.trial b { color: var(--ivory); }
.price-card .checks { text-align: left; margin-bottom: 28px; }
.price-fine { margin: 18px 0 0; font-size: 13.5px; color: var(--ivory-muted); line-height: 1.5; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 30px 20px 0; position: relative;
  color: var(--ivory); font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 20px; color: var(--ivory-soft); font-size: 16px; }

/* Final */
.final { margin-top: 140px; min-height: 560px; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.final-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--midnight) 0%, rgba(9, 11, 13, 0.35) 30%, rgba(9, 11, 13, 0.55) 75%, var(--midnight) 100%),
    url(assets/img/daypartevening.webp) center 40% / cover no-repeat;
}
.final-inner { position: relative; padding: 100px 20px; max-width: 760px; }
.final-mark { margin: 0 auto 26px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
.final h2 { margin-bottom: 18px; }
.final-quote { font-style: italic; color: var(--ivory-soft); margin: 0 0 34px; }

/* Footer */
.footer { border-top: 1px solid var(--hair); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 36px 20px 44px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.footer-links a { text-decoration: none; font-size: 14.5px; color: var(--ivory-muted); }
.footer-links a:hover { color: var(--ivory); }
.footer-copy { width: 100%; margin: 0; font-size: 13.5px; color: var(--ivory-muted); }

/* Reveal (only hidden once script.js is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 0.12s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 110px; gap: 48px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .gold-rule { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-note { text-align: left; }
  .hero-bg { background:
      linear-gradient(180deg, rgba(9, 11, 13, 0.6) 0%, rgba(9, 11, 13, 0.3) 25%, rgba(9, 11, 13, 0.8) 55%, var(--midnight) 75%),
      url(assets/img/daypartmorning.webp) center top / auto 70vh no-repeat; }
  .benefits { margin-top: 0; }
  .benefits-row { grid-template-columns: 1fr; gap: 18px; }
  .feature, .feature--rev { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .feature--rev .feature-media { order: 0; }
  .feature-text { max-width: 560px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-get { display: none; }
  .features, .looks, .privacy, .pricing, .faq { padding-top: 88px; }
  .section-head { margin-bottom: 40px; }
  .feature-media .phone { width: 240px; }
  .feature-media.duo { padding-right: 70px; }
  .feature-media.duo .phone--back { width: 190px; margin-left: -10px; }
  .looks-phones { gap: 14px; flex-wrap: nowrap; }
  .looks-phones .phone { width: 40vw; border-radius: 30px; padding: 6px; }
  .looks-phones .phone img { border-radius: 25px; }
  .price-card { padding: 34px 22px 26px; }
  .price { font-size: 54px; }
  .footer-links { margin-left: 0; }
}
