/* RoadKickers marketing site — dark + emerald, matches the app theme */
:root {
  --bg: #08090b;
  --bg-2: #0d0f12;
  --surface: #111318;
  --surface-2: #161a20;
  --border: #232830;
  --border-soft: #1b1f26;
  --accent: #10b981;
  --accent-strong: #059669;
  --accent-dim: rgba(16, 185, 129, 0.12);
  --accent-line: rgba(16, 185, 129, 0.28);
  --text: #f4f6f8;
  --text-2: #b7c0cb;
  --muted: #7d8794;
  --radius: 16px;
  --maxw: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-dim); border: 1px solid var(--accent-line); display: grid; place-items: center; }
.brand .mark svg { width: 17px; height: 17px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.pill { padding: 8px 15px; border-radius: 999px; background: var(--accent-dim); border: 1px solid var(--accent-line); color: var(--accent); font-size: 13px; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 340px at 50% -8%, rgba(16, 185, 129, 0.18), transparent 70%),
    radial-gradient(500px 300px at 85% 10%, rgba(16, 185, 129, 0.06), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-size: 13px; font-weight: 600; margin-bottom: 26px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 22px; }
.hero h1 .grad { background: linear-gradient(180deg, #34d399, #059669); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { max-width: 620px; margin: 0 auto 34px; font-size: clamp(16px, 2.2vw, 19px); color: var(--text-2); }

/* store badges */
.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: flex; align-items: center; gap: 11px; padding: 11px 18px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  position: relative; min-width: 194px; opacity: 0.96;
}
.badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.badge .b-txt { text-align: left; line-height: 1.15; }
.badge .b-txt small { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; }
.badge .b-txt span { font-size: 16px; font-weight: 700; }
.badge .soon { position: absolute; top: -9px; right: -8px; background: var(--accent); color: #04140d; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 999px; }
.hint { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- Section shell ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.kicker { color: var(--accent); font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 14px; }
.section-head p { color: var(--text-2); font-size: 16.5px; margin: 0; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; transition: border-color .18s, transform .18s; }
.feature:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.feature .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-dim); border: 1px solid var(--accent-line); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ic svg { width: 21px; height: 21px; stroke: var(--accent); }
.feature h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* ---------- Safeguarding band ---------- */
.safe { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.safe-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.safe-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: var(--accent-dim); border: 1px solid var(--accent-line); color: var(--accent); font-weight: 700; font-size: 13px; margin-bottom: 20px; }
.safe h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.02em; margin: 0 0 16px; }
.safe p { color: var(--text-2); font-size: 16px; margin: 0 0 22px; }
.safe .btn-line { color: var(--accent); font-weight: 700; font-size: 15px; }
.safe .btn-line:hover { text-decoration: underline; }
.safe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.safe-list li { display: flex; gap: 13px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 15px 17px; }
.safe-list li svg { width: 19px; height: 19px; stroke: var(--accent); flex-shrink: 0; margin-top: 1px; }
.safe-list li span { font-size: 14.5px; color: var(--text-2); }
.safe-list li b { color: var(--text); font-weight: 700; }

/* ---------- Company / credibility ---------- */
.company { text-align: center; }
.company .card { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 44px 40px; }
.company .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--accent-dim); border: 1px solid var(--accent-line); display: grid; place-items: center; margin: 0 auto 18px; }
.company .ic svg { width: 24px; height: 24px; stroke: var(--accent); }
.company h2 { font-size: 27px; letter-spacing: -0.02em; margin: 0 0 12px; }
.company p { color: var(--text-2); font-size: 15.5px; margin: 0 auto 8px; max-width: 560px; }
.company .reg { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 54px 0 40px; background: var(--bg-2); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer .brand { margin-bottom: 12px; }
.footer .about { max-width: 320px; color: var(--muted); font-size: 14px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--text-2); font-size: 14.5px; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.legal .back { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 14px; font-weight: 600; margin-bottom: 30px; }
.legal .back:hover { color: var(--accent); }
.legal h1 { font-size: 34px; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.legal .intro { color: var(--text-2); font-size: 16px; margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin-top: 38px; margin-bottom: 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal .callout { background: var(--accent-dim); border: 1px solid var(--accent-line); border-radius: 12px; padding: 18px 20px; margin-top: 18px; }
.legal .callout strong { color: var(--text); }
.legal .label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin: 34px 0 10px; }
.legal .safe-list { margin-top: 8px; }
.legal .help { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.legal .help:last-child { border-bottom: 0; }
.legal .help .h-label { font-weight: 700; color: var(--text); font-size: 15px; }
.legal .help .h-detail { color: var(--muted); font-size: 13.5px; }
.legal-footer { margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--border-soft); color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .safe-grid { grid-template-columns: 1fr; gap: 34px; }
  .nav-links .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 64px; }
  section { padding: 60px 0; }
  .nav-links { gap: 16px; }
  .footer-top { flex-direction: column; }
}

/* ======================================================================
   APP-SCREEN MOCKUPS — seeded, rendered in-page to sell the product
   ====================================================================== */

/* Phone frame */
.phone { position: relative; width: 300px; border-radius: 44px; padding: 11px; background: linear-gradient(160deg, #23272e, #0d0f12); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.04), 0 0 70px -20px rgba(16,185,129,0.35); }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #05060a; border-radius: 999px; z-index: 5; }
.phone .screen { position: relative; border-radius: 34px; overflow: hidden; background: var(--bg); aspect-ratio: 9/19.3; }
.app-scroll { position: absolute; inset: 0; padding: 44px 14px 16px; overflow: hidden; }

/* generic app chrome */
.app-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-bar .title { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.app-bar .sub { font-size: 11px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent-line); }
.chip.grey { background: var(--surface-2); color: var(--text-2); border-color: var(--border); }

/* avatar token with team-colour ring */
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #04140d; flex-shrink: 0; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.4px var(--ring, var(--accent)); }
.av.lg { width: 40px; height: 40px; font-size: 14px; }
.av.sm { width: 24px; height: 24px; font-size: 9.5px; box-shadow: 0 0 0 1.6px var(--bg), 0 0 0 2.8px var(--ring, var(--accent)); }

/* fixture / match card */
.mk-card { background: var(--surface); border: 1px solid var(--border); border-radius: 15px; padding: 13px; margin-bottom: 11px; }
.vs-row { display: flex; align-items: center; justify-content: space-between; }
.vs-team { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.vs-team .cr { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.vs-team .nm { font-size: 11px; font-weight: 700; }
.vs-mid { text-align: center; padding: 0 6px; }
.vs-mid .sc { font-size: 21px; font-weight: 800; letter-spacing: 0.02em; }
.vs-mid .kt { font-size: 9.5px; color: var(--muted); }
.meta-row { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--text-2); margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--border-soft); }
.meta-row .d { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

/* pitch */
.pitch { position: relative; aspect-ratio: 3/4.15; border-radius: 14px; overflow: hidden; background: linear-gradient(175deg, #0f7a4a 0%, #0b6b40 50%, #0a5e39 100%); border: 1px solid rgba(255,255,255,0.09); }
.pitch .lines { position: absolute; inset: 0; }
.pitch .lines .l { position: absolute; border: 1.4px solid rgba(255,255,255,0.22); }
.pitch .halfway { top: 50%; left: 0; right: 0; height: 0; border-top: 1.4px solid rgba(255,255,255,0.22); }
.pitch .circle { top: 50%; left: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; }
.pitch .box-t { top: -1px; left: 50%; width: 96px; height: 34px; margin-left: -48px; border-top: 0; }
.pitch .box-b { bottom: -1px; left: 50%; width: 96px; height: 34px; margin-left: -48px; border-bottom: 0; }
.tok { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tok .shirt { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 800; color: #fff; box-shadow: 0 3px 8px rgba(0,0,0,0.35); border: 1.5px solid rgba(255,255,255,0.85); }
.tok .lbl { font-size: 8.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.7); background: rgba(0,0,0,0.28); padding: 1px 5px; border-radius: 5px; }

/* chat bubbles */
.msg { display: flex; gap: 8px; margin-bottom: 10px; align-items: flex-end; }
.msg .body { max-width: 76%; }
.msg .who { font-size: 10px; font-weight: 700; margin: 0 0 3px 2px; }
.msg .bub { padding: 8px 11px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); font-size: 11.5px; color: var(--text); line-height: 1.4; border: 1px solid var(--border-soft); }
.msg.me { flex-direction: row-reverse; }
.msg.me .bub { border-radius: 14px 14px 4px 14px; background: linear-gradient(160deg, #10b981, #059669); color: #05140d; font-weight: 500; border: 0; }
.msg.me .who { text-align: right; margin: 0 2px 3px 0; }
.msg .time { font-size: 8.5px; color: var(--muted); margin-top: 3px; }

/* list rows (voting / stats) */
.row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--border-soft); }
.row:last-child { border-bottom: 0; }
.row .nm { flex: 1; font-size: 12px; font-weight: 600; }
.row .nm small { display: block; font-size: 9.5px; color: var(--muted); font-weight: 500; }
.row .val { font-size: 12.5px; font-weight: 800; color: var(--accent); }
.row .medal { font-size: 13px; }
.bar { height: 5px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 5px; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, #10b981, #34d399); }

/* small section label inside screen */
.mk-label { font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 4px 0 9px; }

/* moments grid */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.moments .m { aspect-ratio: 1; border-radius: 8px; position: relative; overflow: hidden; }
.moments .m.play::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: rgba(255,255,255,0.92); text-shadow: 0 1px 4px rgba(0,0,0,0.6); }

/* ---- Showcase layout: alternating screen + copy ---- */
.showcase { display: grid; gap: 30px; }
.show-row { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center; }
.show-row.flip { grid-template-columns: 300px 1fr; }
.show-row.flip .show-copy { order: 2; }
.show-row.flip .show-visual { order: 1; }
.show-visual { display: flex; justify-content: center; }
.show-copy .kicker { display: block; margin-bottom: 12px; }
.show-copy h3 { font-size: clamp(24px, 3.4vw, 33px); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 14px; }
.show-copy p { color: var(--text-2); font-size: 16px; margin: 0 0 20px; }
.show-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.show-copy ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.show-copy ul li svg { width: 18px; height: 18px; stroke: var(--accent); flex-shrink: 0; margin-top: 1px; }

@media (max-width: 860px) {
  .show-row, .show-row.flip { grid-template-columns: 1fr; gap: 34px; justify-items: center; text-align: center; }
  .show-row.flip .show-copy { order: 2; }
  .show-row.flip .show-visual { order: 1; }
  .show-copy ul { text-align: left; max-width: 340px; margin: 0 auto; }
  .show-copy { max-width: 460px; }
}

/* ======================================================================
   REAL SCREENSHOTS — framed in the phone mockups
   ====================================================================== */
.phone.shot .screen { aspect-ratio: auto; background: #000; }
.phone.shot .screen img { display: block; width: 100%; height: auto; }
.phone.shot::after { display: none; }   /* real screenshots include their own top bar */

/* Screenshot gallery strip (moments / profile / FPL) */
.gallery { border-top: 1px solid var(--border-soft); background: var(--bg-2); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; justify-items: center; align-items: start; }
.gallery-item { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 300px; }
.gallery-item .phone { width: 250px; }
.gallery-item h4 { margin: 22px 0 6px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.gallery-item p { margin: 0; color: var(--text-2); font-size: 14px; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* ---------- Real logo ---------- */
.brand .mark-img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand .rk-road { color: var(--accent); }
.hero-logo { width: 78px; height: 78px; border-radius: 19px; display: block; margin: 0 auto 24px; box-shadow: 0 12px 34px -8px rgba(16,185,129,0.55), 0 0 0 1px rgba(255,255,255,0.05); }

/* Hero wordmark (two-tone) — replaces the app icon on the main page */
.hero-wordmark { font-size: clamp(38px, 7vw, 56px); font-weight: 800; letter-spacing: -0.03em; margin: 0 auto 20px; }
.hero-wordmark .rk-road { color: var(--accent); }

/* ======================================================================
   MOBILE OPTIMISATION
   ====================================================================== */
html, body { overflow-x: hidden; }
img, .phone { max-width: 100%; }

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }

  /* Nav */
  .nav-inner { height: 56px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand .mark-img { width: 27px; height: 27px; }
  .pill { padding: 7px 13px; font-size: 12.5px; }

  /* Hero */
  .hero { padding: 54px 0 52px; }
  .hero-wordmark { margin-bottom: 16px; }
  .eyebrow { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(31px, 8.5vw, 44px); }
  .hero p.lede { margin-bottom: 26px; }
  .badges { gap: 10px; }
  .badge { min-width: 0; width: 100%; max-width: 300px; justify-content: flex-start; }

  /* Sections */
  section { padding: 52px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: clamp(24px, 6.5vw, 34px); }

  /* Phone mockups — size to the viewport so nothing overflows */
  .phone { width: 84vw; max-width: 300px; padding: 9px; border-radius: 38px; margin-top: 8px; }
  .phone .screen { border-radius: 30px; }
  .gallery-item .phone { width: 76vw; max-width: 258px; }
  .show-row, .show-row.flip { gap: 26px; }

  /* Cards / company / footer */
  .company .card { padding: 30px 22px; }
  .safe h2 { font-size: clamp(23px, 6.5vw, 32px); }
  .footer { padding: 44px 0 34px; }
  .footer-cols { gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Legal pages */
  .legal { padding: 40px 18px 60px; }
  .legal h1 { font-size: 28px; }
}

@media (max-width: 380px) {
  .nav-links { gap: 12px; }
  .brand { font-size: 15px; }
}

/* ======================================================================
   POLISH — motion, depth, "feel"
   ====================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveal (class added by JS only → no-JS stays fully visible) */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.7,.2,1), transform .7s cubic-bezier(.22,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .show-row.in .show-visual { transition-delay: .08s; }

  /* Hero phone drifts gently */
  .hero .phone { animation: rk-float 7s ease-in-out infinite; }
  @keyframes rk-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
}

/* Mockups lift + glow on hover */
.show-visual .phone, .gallery-item .phone {
  transition: transform .4s cubic-bezier(.22,.7,.2,1), box-shadow .4s ease;
}
.show-visual .phone:hover, .gallery-item .phone:hover {
  transform: translateY(-8px);
  box-shadow: 0 50px 100px -28px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.05), 0 0 90px -18px rgba(16,185,129,0.5);
}

/* Store badges + section CTA feel */
.badge { transition: transform .22s ease, border-color .22s ease; }
.badge:hover { transform: translateY(-2px); border-color: var(--accent-line); }
.pill { transition: background .2s ease, transform .2s ease; }
.pill:hover { background: rgba(16,185,129,0.2); transform: translateY(-1px); }
.brand { transition: opacity .2s ease; }
.brand:hover { opacity: 0.85; }

/* Ambient depth — a soft emerald wash behind the showcase + gallery */
#features { position: relative; }
#features::before {
  content: ""; position: absolute; left: 50%; top: 6%; width: 720px; height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(16,185,129,0.09), transparent 70%);
  pointer-events: none; z-index: 0;
}
#features .wrap { position: relative; z-index: 1; }

/* Slightly crisper headings */
.section-head h2, .hero h1 { text-wrap: balance; }
