/* Landing page sections. Base tokens live in style.css. */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  background:
    radial-gradient(ellipse 60% 55% at 72% 45%, rgba(255, 74, 61, .16), transparent 70%),
    radial-gradient(ellipse 80% 70% at 20% 20%, rgba(92, 240, 143, .10), transparent 70%);
  overflow: hidden;
}
/* Faint board grid behind the hero, like the app icon. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(92,240,143,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,240,143,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.kicker { color: var(--red); font-size: 13px; margin: 0 0 18px; text-shadow: 0 0 12px rgba(255,74,61,.5); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.15; margin: 0 0 24px; }
.title-green { color: var(--phosphor); text-shadow: 0 0 18px var(--glow), 0 0 2px #fff; }
.title-amber { color: var(--amber); text-shadow: 0 0 18px rgba(255,210,74,.45); }
.lead { font-size: 20px; color: #cfe3d5; max-width: 34ch; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.cta.center { justify-content: center; margin-top: 36px; }
.badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li {
  font-size: 14px; color: var(--phosphor-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}

.hero-phone { display: flex; justify-content: center; }
.phone {
  width: min(320px, 78vw);
  aspect-ratio: 600 / 1304;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(145deg, #2a2f2c, #0b0d0c 40%, #1a1e1c);
  box-shadow: 0 0 0 1px #333, 0 30px 80px rgba(0,0,0,.7), 0 0 90px rgba(92,240,143,.18);
  transform: rotate(2deg);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }

@media (max-width: 860px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .cta, .badges { justify-content: center; }
  .phone { transform: none; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0 0; scroll-margin-top: 70px; }
.section-title {
  font-size: clamp(18px, 3vw, 26px); color: var(--phosphor); text-align: center;
  text-shadow: 0 0 14px var(--glow); margin: 0 0 14px;
}
.section-sub { text-align: center; color: var(--muted); max-width: 56ch; margin: 0 auto 40px; font-size: 18px; }
.section-sub.left, .bosses-grid .section-title { text-align: left; margin-left: 0; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color .15s ease, transform .15s ease;
}
.feature:hover { border-color: rgba(92,240,143,.5); transform: translateY(-2px); }
.f-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  font: 16px var(--pixel); color: var(--red);
  border: 1px solid rgba(255,74,61,.4); border-radius: 10px; margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(255,74,61,.6);
}
.feature h3 { font-size: 17px; margin: 0 0 8px; color: var(--ink); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* ---------- Bosses ---------- */
.bosses-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.shot-inline img {
  width: 100%; max-width: 280px; height: auto; border-radius: 30px; display: block;
  border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.boss {
  display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "n name spec" "n rule rule";
  gap: 2px 14px; align-items: center;
  padding: 14px 18px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line);
}
.boss .n { grid-area: n; font: 20px var(--pixel); color: var(--phosphor-dim); text-align: center; }
.boss .name { grid-area: name; font: 13px var(--pixel); color: var(--ink); }
.boss .spec { grid-area: spec; font: 12px ui-monospace, monospace; color: var(--muted); }
.boss .rule { grid-area: rule; color: var(--muted); font-size: 15px; }
.boss:not(.free) .name::after { content: " 🔒"; font-size: 11px; opacity: .7; }
.boss.free { border-color: rgba(92,240,143,.45); }
.boss.free .n { color: var(--phosphor); text-shadow: 0 0 10px var(--glow); }
.boss.final { border-color: rgba(255,74,61,.55); background: linear-gradient(90deg, rgba(255,74,61,.14), var(--panel)); }
.boss.final .n, .boss.final .name { color: var(--red); }
@media (max-width: 860px) {
  .bosses-grid { grid-template-columns: 1fr; }
  .shot-inline { display: none; }
  .section-sub.left, .bosses-grid .section-title { text-align: center; margin-inline: auto; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(20px, calc((100vw - 1120px) / 2)) 24px;
  scrollbar-color: var(--line) transparent;
}
.gallery figure { margin: 0; flex: 0 0 auto; width: 240px; scroll-snap-align: center; }
.gallery img {
  width: 100%; height: auto; display: block; border-radius: 28px;
  border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(0,0,0,.55);
}
.gallery figcaption { text-align: center; margin-top: 14px; font: 10px var(--pixel); color: var(--phosphor-dim); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 32px auto 0; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.plan.featured { border: 2px solid var(--amber); box-shadow: 0 0 40px rgba(255,210,74,.12); }
.plan-name { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.plan.featured .plan-name { color: var(--amber); }
.price { font-size: 26px; margin: 0 0 6px; color: var(--ink); }
.price-note { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; color: #cfe3d5; }
.plan li::before { content: "▶"; color: var(--phosphor); font-size: 11px; margin-top: 6px; }
.plan.featured li::before { color: var(--amber); }
@media (max-width: 700px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Share ---------- */
.share-box {
  border: 1px solid var(--line); border-radius: 20px; padding: 48px 24px;
  background: radial-gradient(ellipse at top, rgba(92,240,143,.08), transparent 70%), var(--bg-2);
}
.share-box .section-sub { margin-bottom: 28px; }
.share-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.share-btn {
  font: 15px var(--body); color: var(--ink); text-decoration: none; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 11px 18px;
}
.share-btn:hover { color: var(--bg); background: var(--phosphor); border-color: var(--phosphor); }
.share-native[hidden] { display: none; }
.copied { text-align: center; color: var(--phosphor); min-height: 1.6em; margin: 16px 0 0; font-size: 15px; }

/* ---------- Support ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--pixel); color: var(--phosphor); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.contact { text-align: center; color: var(--muted); margin-top: 28px; }
