/* ============================================================
   DrillPass — Marketing / landing page components
   ============================================================ */

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(14, 163, 113, 0.12), transparent 60%),
    radial-gradient(700px 460px at 6% 110%, rgba(200, 249, 74, 0.16), transparent 55%),
    var(--paper);
  padding: 64px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--brand) 30%, var(--lime-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.22rem; color: var(--muted); max-width: 52ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  border: 2px solid #fff; display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 700; color: #fff; font-family: var(--font-head);
}
.avatars span:first-child { margin-left: 0; }

/* Hero "live availability" panel */
.live-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: relative;
}
.live-panel::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-xl);
  padding: 1px;
  background: linear-gradient(160deg, rgba(14,163,113,0.4), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.live-panel .lp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.live-panel .lp-head .pill { font-size: 0.74rem; }
.lp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; border: 1px solid var(--line-soft); border-radius: var(--r);
  margin-bottom: 10px; background: var(--paper);
}
.lp-row:last-child { margin-bottom: 0; }
.lp-court { display: flex; align-items: center; gap: 12px; }
.lp-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--cloud); display: grid; place-items: center; flex: 0 0 38px; }
.lp-ico svg { width: 20px; height: 20px; color: var(--brand-700); }
.lp-court b { display: block; font-family: var(--font-head); font-size: 0.96rem; color: var(--ink); }
.lp-court small { color: var(--muted); font-size: 0.8rem; }
.pulse { position: relative; }
.pulse::after {
  content: ""; position: absolute; left: -2px; top: 50%; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green); transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(22,163,74,0.5); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

/* ---------- Logo / trust strip ---------- */
.logostrip { padding: 26px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.logostrip .container { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.logostrip span { color: var(--muted-2); font-weight: 600; font-family: var(--font-head); font-size: 0.96rem; letter-spacing: 0.01em; }

/* ---------- Feature cards ---------- */
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-tint); }
.feature .ico {
  width: 50px; height: 50px; border-radius: 14px; background: var(--brand-tint);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature .ico svg { width: 26px; height: 26px; color: var(--brand-700); }
.feature h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative; padding: 28px 24px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line);
}
.step .num {
  width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--lime);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 7px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Split / showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: -1; }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; }
.checklist li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.checklist li svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.checklist li b { color: var(--ink); }
.checklist li span { color: var(--muted); display: block; font-size: 0.95rem; }

/* media card with phone-ish framing */
.media-card {
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.media-card.lime { background: linear-gradient(150deg, #0c1a2b, #16293c); }
.media-card .qr {
  width: 130px; height: 130px; border-radius: 16px; background: #fff; padding: 12px; margin: 0 auto 18px;
}
.media-card .qr svg { width: 100%; height: 100%; }

/* ---------- Rules grid ---------- */
.rule {
  display: flex; gap: 16px; padding: 22px; border-radius: var(--r-lg);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.rule .rico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: rgba(200,249,74,0.14); display: grid; place-items: center; }
.rule .rico svg { width: 22px; height: 22px; color: var(--lime); }
.rule h3 { font-size: 1.05rem; color: #fff; margin-bottom: 5px; }
.rule p { color: #9fb0bf; margin: 0; font-size: 0.93rem; }

/* ---------- Pricing ---------- */
.price-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; max-width: 900px; margin: 0 auto; }
.price-card {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-xl);
  padding: 36px; position: relative; box-shadow: var(--shadow-lg);
}
.price-card .ribbon {
  position: absolute; top: 22px; right: -2px; background: var(--lime); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; padding: 6px 16px; border-radius: 999px 0 0 999px;
}
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 4px; }
.price-amount .cur { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.price-amount .val { font-family: var(--font-head); font-weight: 700; font-size: 4rem; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.price-amount .per { color: var(--muted); font-size: 1rem; }
.price-card .incl { list-style: none; margin: 24px 0; padding: 0; }
.price-card .incl li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; font-size: 0.97rem; }
.price-card .incl li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.price-aside { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.price-fact { padding: 18px 20px; border-radius: var(--r); background: var(--cloud); border: 1px solid var(--line); }
.price-fact b { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); display: block; }
.price-fact span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Court chips preview ---------- */
.court-chip {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.court-chip:hover { border-color: var(--brand); transform: translateY(-2px); }
.court-chip .cc-pin { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 9px; background: var(--brand-tint); display: grid; place-items: center; }
.court-chip .cc-pin svg { width: 18px; height: 18px; color: var(--brand-700); }
.court-chip b { display: block; font-family: var(--font-head); font-size: 0.94rem; color: var(--ink); line-height: 1.2; }
.court-chip small { color: var(--muted); font-size: 0.8rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink);
  padding: 22px 40px 22px 0; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--brand); transition: transform 0.2s ease; font-weight: 400;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { color: var(--muted); padding: 0 40px 22px 0; margin: 0; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink), #0a3b2c);
  border-radius: var(--r-xl);
  padding: 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 240px at 80% 120%, rgba(200,249,74,0.18), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #b9c7d2; max-width: 50ch; margin: 0 auto 26px; position: relative; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ---------- Stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.statband .s b { font-family: var(--font-head); font-size: 2.6rem; color: var(--ink); display: block; line-height: 1; letter-spacing: -0.02em; }
.statband .s span { color: var(--muted); font-size: 0.95rem; }
.section-ink .statband .s b { color: #fff; }
.section-ink .statband .s span { color: #9fb0bf; }

@media (max-width: 900px) {
  .hero-grid, .split, .price-wrap { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .statband { grid-template-columns: 1fr 1fr; gap: 24px; }
  .live-panel { max-width: 460px; }
}
@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
  .price-card { padding: 26px; }
}
