/* ═══════════════════════════════════════════════════════════════════════════
   AdhanOnline — landing page. Warm-paper editorial look, scoped under #lp so it
   never touches the dashboard. Display: Fraunces. Text: Hanken Grotesk.
   One accent (deep prayer-green). Borders over shadows. Left-aligned, asymmetric.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Override the app's dark body background while the landing is mounted. */
html:has(#lp), body:has(#lp) { background: #f6f2ea; }

#lp {
  --paper:   #f6f2ea;   /* warm off-white page            */
  --paper-2: #efe9dc;   /* slightly deeper panel          */
  --card:    #fffdf8;   /* raised surfaces                */
  --ink:     #1c1a14;   /* warm near-black text           */
  --ink-2:   #4b4639;   /* secondary text                 */
  --ink-3:   #847c67;   /* muted / captions               */
  --line:    #e2dac8;   /* warm hairline                  */
  --line-2:  #d2c8b0;
  --green:   #1f5c46;   /* the one accent — deep, calm    */
  --green-2: #164334;
  --green-t: #e7efe9;   /* accent tint                    */
  --gold:    #9a6b1f;   /* rare warm highlight (price)    */

  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(60rem 40rem at 88% -8%, #efeadd 0%, transparent 60%),
    radial-gradient(48rem 36rem at -6% 12%, #efeadd 0%, transparent 55%),
    var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#lp *, #lp *::before, #lp *::after { box-sizing: border-box; }
#lp img { max-width: 100%; height: auto; display: block; }
#lp h1, #lp h2, #lp h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); margin: 0; overflow-wrap: break-word;
}
/* Grid/flex children default to min-width:auto, which lets a long headline push
   the whole page wider than the viewport. Let them shrink so text wraps instead. */
#lp .lp-hero > *, #lp .lp-about > *, #lp .lp-feat > *, #lp .lp-faq > *,
#lp .lp-price-card > *, #lp .lp-how-head, #lp .lp-price-head, #lp .lp-feat-copy { min-width: 0; }
#lp h1 em, #lp h2 em { font-style: italic; font-weight: 500; color: var(--green); }
#lp p { margin: 0; }
#lp a:not(.lp-btn) { color: inherit; text-decoration: none; }
#lp a.lp-btn { text-decoration: none; }
#lp :focus-visible { outline: 2.5px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.lp-skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.lp-skip:focus { left: 16px; top: 16px; }

/* a shared wrap width + comfortable gutters */
.lp-nav-in, .lp-hero, .lp-about, .lp-features, .lp-how, .lp-pricing, .lp-faq, .lp-final, .lp-foot-in {
  max-width: 1120px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: #fdfdfb; font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: 8px; border: 1px solid var(--green-2);
  transition: transform .15s cubic-bezier(.2,.8,.2,1), background .15s ease, box-shadow .15s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 22px -14px rgba(31,92,70,.9);
  cursor: pointer; white-space: nowrap;
}
.lp-btn:hover { background: var(--green-2); transform: translateY(-1px); }
.lp-btn:active { transform: translateY(0); }
.lp-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.lp-btn-ghost:hover { background: var(--paper-2); border-color: var(--ink-3); }
.lp-btn-sm { padding: 9px 15px; font-size: 15px; }
.lp-btn-lg { padding: 16px 28px; font-size: 18px; }
.lp-btn-block { width: 100%; }

.lp-kicker, .lp-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); margin: 0 0 14px;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.lp-nav { position: sticky; top: 0; z-index: 40; background: rgba(246,242,234,.82); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease; }
.lp-nav.scrolled { border-bottom-color: var(--line); background: rgba(246,242,234,.94); }
.lp-nav-in { display: flex; align-items: center; justify-content: space-between; padding-block: 15px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.lp-brand strong { color: var(--green); font-weight: 600; }
.lp-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--green-t); color: var(--green); border: 1px solid #cfe0d5; }
.lp-nav-links { display: flex; align-items: center; gap: 26px; }
.lp-nav-links > a:not(.lp-btn) { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .15s ease; }
.lp-nav-links > a:not(.lp-btn):hover { color: var(--ink); }
.lp-nav-links .lp-login { margin-left: 4px; }
.lp-burger { display: none; background: transparent; border: 1px solid var(--line-2); border-radius: 9px; width: 42px; height: 40px; padding: 0; cursor: pointer; }
.lp-burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.lp-burger.on span:first-child { transform: translateY(5px) rotate(45deg); }
.lp-burger.on span:last-child { transform: translateY(-5px) rotate(-45deg); }
.lp-menu { display: none; flex-direction: column; gap: 4px; padding: 10px clamp(20px,5vw,40px) 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.lp-menu:not([hidden]) { display: flex; }
.lp-menu a:not(.lp-btn) { padding: 12px 6px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.lp-menu .lp-btn { margin-top: 10px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.lp-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); }
.lp-hero h1 { font-size: clamp(30px, 6vw, 68px); margin: 0 0 22px; text-wrap: balance; }
.lp-lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 36ch; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: 14.5px; color: var(--ink-3); }
.lp-trust li { position: relative; padding-left: 20px; }
.lp-trust li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--green); opacity: .8; }

.lp-hero-shot { margin: 0; position: relative; }
.lp-hero-shot img {
  width: 100%; border-radius: 20px; border: 1px solid var(--line);
  background: radial-gradient(130% 110% at 50% 0%, #ffffff 0%, #ece7db 100%);
  box-shadow: 0 2px 0 rgba(255,255,255,.6) inset, 0 50px 80px -44px rgba(37,32,16,.55);
}
.lp-hero-shot figcaption {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,253,248,.92); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--ink-2);
  box-shadow: 0 10px 24px -16px rgba(0,0,0,.5);
}
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-t); }

/* ── About / answer + specs ──────────────────────────────────────────────── */
.lp-about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding-block: clamp(44px, 7vw, 88px); border-top: 1px solid var(--line); }
.lp-about h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 16px; }
.lp-about-text p { font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.lp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; }
.lp-specs > div { background: var(--card); padding: 18px 20px; }
.lp-specs dt { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.lp-specs dd { margin: 0; font-family: "Fraunces", serif; font-size: 19px; font-weight: 600; color: var(--ink); }

/* ── Features ────────────────────────────────────────────────────────────── */
.lp-features { padding-block: clamp(20px, 4vw, 44px); }
.lp-feat { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.lp-feat-copy h2 { font-size: clamp(25px, 3.2vw, 36px); margin: 0 0 16px; max-width: 16ch; }
.lp-feat-copy > p { font-size: 18px; color: var(--ink-2); max-width: 48ch; }
.lp-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.lp-ticks li { font-size: 14.5px; font-weight: 500; color: var(--green-2); background: var(--green-t); border: 1px solid #cfe0d5; border-radius: 999px; padding: 6px 13px; }
.lp-feat-shot { margin: 0; }
.lp-feat-shot img { border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(130% 110% at 50% 0%, #ffffff, #ece7db); box-shadow: 0 40px 70px -40px rgba(37,32,16,.5); }

.lp-feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 12px; }
.lp-feat-grid article { background: var(--card); padding: clamp(22px, 3vw, 32px); }
.lp-feat-grid h3 { font-size: 20px; margin: 0 0 8px; }
.lp-feat-grid p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* ── How it works ────────────────────────────────────────────────────────── */
.lp-how { padding-block: clamp(48px, 7vw, 92px); border-top: 1px solid var(--line); }
.lp-how-head { max-width: 30ch; margin-bottom: 36px; }
.lp-how-head h2 { font-size: clamp(27px, 3.6vw, 40px); }
.lp-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); }
.lp-steps li { position: relative; padding-top: 10px; border-top: 2px solid var(--ink); }
.lp-step-n { font-family: "Fraunces", serif; font-size: 15px; font-weight: 600; color: var(--green); display: block; margin-bottom: 14px; }
.lp-steps h3 { font-size: 21px; margin: 0 0 8px; }
.lp-steps p { font-size: 15.5px; color: var(--ink-2); }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.lp-pricing { padding-block: clamp(48px, 7vw, 92px); border-top: 1px solid var(--line); }
.lp-price-head { max-width: 40ch; margin-bottom: 30px; }
.lp-price-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.lp-price-sub { font-size: 18px; color: var(--ink-2); }
.lp-price-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: 0 40px 80px -50px rgba(37,32,16,.5); }
.lp-price-main { padding: clamp(28px, 4vw, 44px); border-right: 1px solid var(--line); }
.lp-price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.lp-price-was { font-size: 24px; color: var(--ink-3); text-decoration: line-through; }
.lp-price-now { font-family: "Fraunces", serif; font-size: clamp(48px, 7vw, 64px); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.lp-price-save { font-size: 13px; font-weight: 700; color: #fff; background: var(--gold); padding: 4px 10px; border-radius: 999px; }
.lp-price-note { margin: 14px 0 24px; color: var(--ink-3); font-size: 15px; }
.lp-price-fine { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }
.lp-price-timer { padding: clamp(28px, 4vw, 44px); background: var(--paper-2); display: flex; flex-direction: column; justify-content: center; }
.lp-timer-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.lp-countdown { display: flex; gap: 10px; margin-bottom: 24px; }
.lp-cd { display: flex; flex-direction: column; align-items: center; min-width: 58px; background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 10px 6px; }
.lp-cd b { font-family: "Fraunces", serif; font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; color: var(--ink); }
.lp-cd i { font-size: 11px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.lp-cd-done { font-weight: 700; color: var(--gold); }
.lp-price-incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-price-incl li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-2); }
.lp-price-incl li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 13px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.lp-faq { padding-block: clamp(48px, 7vw, 92px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.lp-faq-head h2 { font-size: clamp(27px, 3.6vw, 40px); }
.lp-faq-list { display: flex; flex-direction: column; }
.lp-faq details { border-top: 1px solid var(--line); }
.lp-faq details:last-child { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 18px; font-weight: 600; color: var(--ink); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 2px; top: 16px; font-size: 24px; font-weight: 400; color: var(--green); transition: transform .2s ease; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { padding: 0 40px 22px 0; margin: 0; color: var(--ink-2); font-size: 16px; max-width: 62ch; }

/* ── Final CTA ───────────────────────────────────────────────────────────── */
.lp-final { text-align: center; padding-block: clamp(56px, 9vw, 112px); border-top: 1px solid var(--line); }
.lp-final h2 { font-size: clamp(30px, 5vw, 52px); margin: 0 0 14px; }
.lp-final p { font-size: 19px; color: var(--ink-2); margin: 0 0 30px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lp-foot { border-top: 1px solid var(--line); background: var(--paper-2); }
.lp-foot-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 28px; }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.lp-foot-links a { font-size: 14.5px; color: var(--ink-2); }
.lp-foot-links a:hover { color: var(--ink); }
.lp-foot-legal { font-size: 13.5px; color: var(--ink-3); width: 100%; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .lp-nav-links { display: none; }
  .lp-burger { display: block; }
  .lp-hero, .lp-about, .lp-feat, .lp-price-card, .lp-faq { grid-template-columns: 1fr; }
  .lp-hero { padding-top: 40px; }
  .lp-hero-shot { order: -1; max-width: 460px; }
  .lp-about-text p, .lp-lead, .lp-feat-copy > p { max-width: none; }
  .lp-feat:nth-child(even) .lp-feat-shot { order: -1; }
  .lp-price-main { border-right: none; border-bottom: 1px solid var(--line); }
  .lp-steps { grid-template-columns: 1fr; gap: 0; }
  .lp-steps li { border-top: none; border-left: 2px solid var(--ink); padding: 4px 0 24px 18px; }
}
@media (max-width: 560px) {
  .lp-specs, .lp-feat-grid { grid-template-columns: 1fr; }
  .lp-cd { min-width: 0; flex: 1; }
  #lp { font-size: 16px; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  #lp * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; }

/* WhatsApp contact in the footer */
.lp-wa { display: inline-flex; align-items: center; gap: 6px; color: #1f7a4d; font-weight: 600; }
.lp-wa:hover { color: #145533; }
.lp-wa svg { flex: 0 0 auto; }
