/* ── SGN Golf Systems — Shared Site Theme ───────────────────────────────────
   Matches index.html design system exactly.
   Fonts: Barlow Condensed (display) + DM Sans (body)
   Palette: Deep navy-black bg · #1dba5a green accent · #dce6f2 text
────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --bg:        #07090d;
  --bg-2:      #0c1019;
  --surface:   #111824;
  --surface-2: #18212e;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.13);
  --green:     #1dba5a;
  --green-l:   #22d468;
  --green-dim: rgba(29,186,90,0.10);
  --green-bd:  rgba(29,186,90,0.24);
  --gold:      #f0a500;
  --text:      #dce6f2;
  --text-2:    #7e95b0;
  --muted:     #3d4f63;
  --font-d:    'Barlow Condensed', sans-serif;
  --font-b:    'DM Sans', sans-serif;
  --radius:    12px;
  --nav-h:     64px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 6px; line-height: 1.6; color: var(--text-2); font-size: 15px; }
p { line-height: 1.65; color: var(--text-2); margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); }
h2 {
  font-family: var(--font-d);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
}
h3 {
  font-family: var(--font-d);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--text);
  margin-bottom: 10px;
}

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(7,9,13,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.container.nav-inner,
.nav .container,
.nav-inner {
  max-width: 1380px;
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 32px;
}
.brand {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin-right: auto;
  flex-shrink: 0;
}
.brand span { color: var(--green); }
.nav-inner > a:not(.brand) {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 7px 11px;
  border-radius: 6px;
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav-inner > a:not(.brand):hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-inner > a.active { color: var(--green); }
.nav-inner > a.nav-cta {
  background: var(--green);
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
  padding: 8px 18px;
}
.nav-inner > a.nav-cta:hover { background: var(--green-l); }
@media (max-width: 900px) {
  .nav-inner > a:not(.brand):not(.nav-cta) { display: none; }
}

/* ── Page shell ────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
main.container {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 140px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  main.container { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 100px; }
}

/* ── Page hero ─────────────────────────────────────────────────────────── */
.hero {
  margin-bottom: 48px;
}
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .93;
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--green); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--green);
  flex-shrink: 0;
}
.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 620px;
  margin-bottom: 32px;
}

/* ── Hero media (photo full-bleed strip) ───────────────────────────────── */
.hero-media {
  position: relative;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
  background-size: cover;
  background-position: center;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,9,13,0.85) 0%, rgba(7,9,13,0.15) 60%, transparent 100%);
}
.hero-copy {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 40px;
  z-index: 1;
}
.hero-copy h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-copy p { margin-bottom: 0; color: rgba(220,230,242,0.8); font-size: 15px; }
@media (max-width: 640px) { .hero-media { height: 260px; } .hero-copy { padding: 24px; } }

/* ── Stat / KPI strip ──────────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}
.trust-item {
  flex: 1;
  padding: 24px 28px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}
.trust-item:last-child { border-right: none; }
.trust-item b {
  display: block;
  font-family: var(--font-d);
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1;
  margin-bottom: 6px;
}
.trust-item span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-2);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.kpi b {
  display: block;
  font-family: var(--font-d);
  font-size: 38px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.kpi span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-2);
}
@media (max-width: 640px) {
  .trust-strip { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 16px;
  transition: border-color .2s;
}
.card:hover { border-color: var(--border-2); }
.card h2 { margin-bottom: 16px; }
.card h2 + h2 { margin-top: 24px; }

/* ── Grid ──────────────────────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .grid.two, .grid.three { grid-template-columns: 1fr; }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .12s;
  text-decoration: none;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-l); transform: translateY(-1px); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.30); color: #fff; background: rgba(255,255,255,0.04); }
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ── Pill badges ───────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--green-bd);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-l);
  background: var(--green-dim);
  margin: 4px 6px 4px 0;
}
.pill-row { margin-top: 20px; }

/* ── FAQ Accordion ─────────────────────────────────────────────────────── */
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
details:hover { border-color: var(--border-2); }
details[open] { border-color: var(--green-bd); }
summary {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #fff;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .18s;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-family: var(--font-b);
  font-size: 20px;
  font-weight: 300;
  color: var(--green);
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform .25s;
}
details[open] summary::after { transform: rotate(45deg); }
details p, details ul, details ol {
  padding: 0 24px 20px;
  margin: 0;
}
details p + p { padding-top: 0; margin-top: -6px; }

/* ── Section labels (used in pricing + sections) ───────────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  text-align: center;
  margin-bottom: 14px;
}
.section-headline {
  font-family: var(--font-d);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: #fff;
  text-align: center;
  line-height: 1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ── Sticky bottom CTA bar ─────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: rgba(7,9,13,0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
body { padding-bottom: 70px; }

/* ── Footer ────────────────────────────────────────────────────────────── */
footer {
  background: #040608;
  border-top: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
  z-index: 20;
}
footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--text-2); transition: color .18s; }
footer a:hover { color: #fff; }

/* ── Reveal animations ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp .6s ease forwards;
}
.d2 { animation-delay: .12s; }
.d3 { animation-delay: .22s; }
.d4 { animation-delay: .32s; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Range slider (shared) ─────────────────────────────────────────────── */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--surface-2);
  border-radius: 999px;
  outline: none;
  border: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(29,186,90,0.2);
  transition: box-shadow .18s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(29,186,90,0.25);
}
