/* Landing page (index.html): the ad funnel. Builds on style.css tokens. */
.lp { overflow-x: hidden; }
.lp main { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.eyebrow { color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .6rem; }

.lp-top {
  position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; gap: 1rem;
  padding: .75rem max(1.25rem, calc((100% - 1120px) / 2 + 1.25rem)); padding-top: max(.75rem, env(safe-area-inset-top));
  background: rgba(17, 19, 22, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.lp-links { display: flex; gap: 1.2rem; margin: 0 auto; }
.lp-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.lp-links a:hover { color: var(--text); }
.lp-auth { display: flex; gap: .5rem; margin-left: auto; }
.lp-top .btn { text-decoration: none; display: inline-flex; align-items: center; }

/* Hero */
.lp-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: 4rem 0 3rem; }
.lp-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 1rem; }
.lp-hero h1 span { color: var(--accent); }
.lead { font-size: 1.15rem; color: #c9cfd6; max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 1.2rem; }
.cta-row.center { justify-content: center; }
.cta-row .btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; color: var(--muted); font-size: .95rem; }
.ticks li::before { content: "✓"; color: #2bb673; font-weight: 800; margin-right: .5rem; }

/* Phone mock-up */
.lp-phone { display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; padding: 46px 14px 16px; border-radius: 42px; background: #0b0c0e;
  border: 2px solid #2e333b; box-shadow: 0 30px 80px rgba(242, 107, 29, .18), 0 10px 30px rgba(0, 0, 0, .6);
  transform: rotate(2deg);
}
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; border-radius: 12px; background: #000; }
.ph-alert { position: absolute; top: 58px; left: 24px; right: 24px; z-index: 2; padding: .5rem .7rem; border-radius: 10px; background: #5a3d00; border: 1px solid #f3a712; font-size: .78rem; font-weight: 600; animation: drop 4s ease-in-out infinite; }
@keyframes drop { 0%, 12% { opacity: 0; transform: translateY(-8px); } 20%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
.ph-map { display: block; width: 100%; border-radius: 18px; }
.ph-map text { fill: #fff; font: 800 10px system-ui, sans-serif; }
.ph-map text.haz { fill: #111; font-size: 13px; }
.ph-map .pin:nth-child(odd) { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(3px, -2px); } }
.ph-voice { display: flex; align-items: center; gap: .4rem; margin: .7rem 0 .5rem; padding: .5rem .7rem; border-radius: 12px; background: var(--surface); font-size: .78rem; }
.ph-ptt { margin-left: auto; padding: .2rem .55rem; border-radius: 999px; background: #2bb673; font-weight: 700; font-size: .7rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: blink 1s infinite; }
.ph-line { list-style: none; margin: 0; padding: 0; }
.ph-line li { display: grid; grid-template-columns: 40px 22px 1fr; align-items: start; font-size: .75rem; position: relative; }
.ph-line li::before { content: ""; position: absolute; left: 49px; top: 0; bottom: 0; width: 5px; background: var(--accent); }
.ph-line li:first-child::before { top: 9px; }
.ph-line li:last-child::before { bottom: auto; height: 9px; }
.ph-line b { padding-top: 2px; color: var(--muted); font-weight: 700; }
.ph-line i { position: relative; z-index: 1; width: 14px; height: 14px; margin: 2px 0 0 4px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.ph-line span { padding: 0 0 .55rem .2rem; color: var(--muted); }
.ph-line strong { display: block; color: var(--text); }
.ph-line .next { opacity: .55; }
.ph-line .next i { border-style: dashed; }

/* Problem band */
.lp-band { margin: 1rem 0; padding: 2.5rem 1.5rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); text-align: center; }
.lp-band h2 { margin: 0 0 1.4rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: left; }
.pains div { padding: 1.1rem; border-radius: 14px; background: var(--surface-2); }
.pains strong { display: block; font-size: 1.05rem; margin-bottom: .3rem; }
.pains p { color: var(--muted); }
.pains-fix { margin-top: 1.4rem !important; font-weight: 700; font-size: 1.1rem; color: var(--accent); }

/* Sections */
.lp-section { padding: 4.5rem 0 1rem; scroll-margin-top: 60px; }
.lp-section > h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); max-width: 40rem; margin: 0 0 2rem; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feat { padding: 1.3rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.feat:hover { border-color: var(--accent); transform: translateY(-2px); }
.feat .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); font-size: 1.4rem; margin-bottom: .8rem; }
.feat h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feat p { color: var(--muted); font-size: .93rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.steps li { position: relative; padding: 1.4rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); font-weight: 900; margin-bottom: .8rem; }
.steps p { color: var(--muted); }
.lp-how .cta-row { margin-top: 2rem; }

.lp-safety { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; }
.safety-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.safety-list li { padding-left: 1.6rem; position: relative; color: #c9cfd6; }
.safety-list li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); }
.safety-list strong { color: var(--text); }
.sos-card { padding: 1.5rem; border-radius: 22px; background: #7a0d11; border: 1px solid #e5484d; box-shadow: 0 20px 60px rgba(229, 72, 77, .25); text-align: center; }
.sos-card .muted { color: #f3b3b5; }
.sos-badge { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #c4161c; font-weight: 900; font-size: 1.4rem; letter-spacing: .08em; margin-bottom: .8rem; box-shadow: 0 0 0 10px rgba(255, 255, 255, .08); }

.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1rem; }
.brands span { padding: .5rem .9rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; }

.faq { display: grid; gap: .6rem; max-width: 780px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); padding: 0 1.1rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1rem; }

.lp-final { margin: 4.5rem 0 2rem; padding: 3.5rem 1.5rem; border-radius: 26px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(242, 107, 29, .35), transparent 60%), var(--surface); border: 1px solid var(--border); }
.lp-final h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.lp-final p { color: #c9cfd6; }

.lp-sticky { display: none; }

@media (max-width: 960px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .lp-links { display: none; }
  .lp-hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.2rem; text-align: left; }
  .phone { transform: none; }
  .pains, .steps { grid-template-columns: 1fr; }
  .lp-safety { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .lp-top .btn.ghost { display: none; }
  .lead { font-size: 1.02rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .lp-sticky:not([hidden]) {
    display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; padding: .6rem 1rem;
    padding-bottom: max(.6rem, env(safe-area-inset-bottom)); background: rgba(17, 19, 22, .96); border-top: 1px solid var(--border);
    transform: translateY(110%); transition: transform .25s;
  }
  .lp-sticky.show { transform: none; }
  .lp-sticky .btn { flex: 1; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; }
  .lp-sticky .btn.ghost { flex: 0 0 auto; }
  .lp .foot { padding-bottom: 6rem; }
}
