/* Auto Azan — ad landing page (/app/). Builds on /css/style.css tokens and components. */
.lp { padding-bottom: 0; }

.lp-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.btn-xl { min-height: 64px; padding: 10px 28px; border-radius: 16px; }
.btn-xl .gp { width: 30px; height: 30px; }
.btn-xl .bp-text strong { font-size: 21px; }
.btn-xl .bp-text small { font-size: 12px; }

/* hero */
.lp-hero { position: relative; overflow: hidden; padding: 44px 0 36px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.lp-hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; color: var(--primary); margin: 16px 0 14px; }
.lp-hero h1 .accent { display: block; color: var(--gold); }
.lp-hero .lead { font-size: 18px; }
.rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.rating-row strong { font-family: var(--font-display); font-size: 20px; color: var(--text); }
.rating-row .stars svg { width: 18px; height: 18px; }
.lp-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.micro { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.micro li { display: flex; align-items: center; gap: 5px; }
.micro .ic { width: 16px; height: 16px; color: var(--primary); stroke-width: 2.4; }
.ios-note { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); font-size: 14px; }
.ios-note a { color: var(--primary); font-weight: 600; text-decoration: underline; }

.lp-visual { position: relative; height: 520px; }
.lp-visual img { position: absolute; width: auto; height: 470px; border-radius: 26px; box-shadow: 0 30px 60px -24px rgba(10, 50, 30, .45); border: 1px solid var(--line); }
.shot-front { left: 8%; top: 20px; z-index: 2; rotate: -4deg; }
.shot-back { right: 2%; top: 40px; rotate: 6deg; opacity: .95; }
.badge-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.badge-float .ic { width: 26px; height: 26px; color: var(--primary); }
.badge-float .star { width: 24px; height: 24px; }
.badge-float span { display: flex; flex-direction: column; line-height: 1.15; }
.badge-float strong { font-family: var(--font-display); font-size: 16px; }
.badge-float small { font-size: 12px; color: var(--muted); }
.bf-1 { left: -2%; bottom: 70px; }
.bf-2 { right: 0; top: 6px; animation-delay: -3s; }

.lp-stats { padding: 6px 0 10px; }
.lp-stats .stats { margin-bottom: 0; }

/* sections */
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.lp-head h2, .lp-split h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; color: var(--primary); }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.lp-split p { color: var(--muted); font-size: 17px; }
.lp-checks { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; }
.lp-checks li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; }
.lp-checks li + li { border-top: 1px dashed var(--line); }
.lp-checks .tile-ic { width: 46px; height: 46px; }
.lp-checks .tile-ic .ic { width: 23px; height: 23px; }
.lp-checks li > span:last-child { display: flex; flex-direction: column; color: var(--muted); font-size: 15px; }
.lp-checks strong { color: var(--text); font-family: var(--font-display); font-size: 17px; }
.lp-features { grid-template-columns: repeat(3, 1fr); }
.lp-inline-cta { display: flex; justify-content: center; margin-top: 26px; }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-steps li { padding: 24px 20px; text-align: center; }
.step-n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 10px; }
.lp-steps h3 { font-size: 19px; margin-bottom: 6px; }
.lp-steps p { margin: 0; color: var(--muted); font-size: 15px; }

.lp-faq-wrap { max-width: 820px; }
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { padding: 0; overflow: hidden; }
.lp-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px;
  cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .ic { color: var(--primary); transition: rotate .2s; }
.lp-faq details[open] summary .ic { rotate: 180deg; }
.lp-faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.lp-faq a { color: var(--primary); font-weight: 600; text-decoration: underline; }

.lp-final { text-align: center; }
.lp-final-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 720px; }
.lp-final-inner img:first-child { border-radius: 20px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); }
.lp-final h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; color: #fff; }
.lp-final p { margin: 0 0 6px; color: #cfe6d9; font-size: 17px; }
.lp-final .btn-light { color: #0b0b0b; }
.lp-qr { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 12px 16px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .25); color: #cfe6d9; font-size: 14px; text-align: left; }
.lp-qr img { background: #fff; padding: 4px; border-radius: 8px; }

.lp-footer { padding: 22px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.lp-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.lp-footer a:hover { color: var(--primary); }

/* sticky install bar */
.sticky-cta { display: none; }

@media (max-width: 960px) {
  .lp-hero-grid, .lp-split { grid-template-columns: 1fr; }
  .lp-visual { height: 440px; max-width: 460px; margin: 0 auto; width: 100%; }
  .lp-visual img { height: 400px; }
  .lp-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .lp { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .lp-hero { padding-top: 24px; }
  .lp-hero .lead { font-size: 16px; }
  .lp-cta { align-items: stretch; }
  .lp-cta .btn-xl { width: 100%; }
  .lp-visual { height: 380px; }
  .lp-visual img { height: 340px; border-radius: 20px; }
  .shot-front { left: 4%; }
  .bf-1 { left: 0; bottom: 30px; }
  .lp-features, .lp-steps { grid-template-columns: 1fr; }
  .lp-qr { display: none; }
  .lp-final .btn-xl { width: 100%; }
  .sticky-cta {
    display: flex; align-items: center; gap: 10px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .25);
    transform: translateY(110%); transition: transform .25s ease-out;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta img { border-radius: 10px; flex: none; }
  .sticky-cta > span { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
  .sticky-cta strong { font-family: var(--font-display); font-size: 15px; }
  .sticky-cta small { font-size: 12px; color: var(--muted); }
}
@media (max-width: 380px) {
  .micro { font-size: 13px; }
  .lp-visual { height: 340px; }
  .lp-visual img { height: 300px; }
}
