:root {
  --emerald-950: #0c261e;
  --emerald-900: #133a2e;
  --emerald-800: #185740;
  --emerald-700: #187247;
  --emerald-600: #1d8a56;
  --emerald-100: #e6f4ec;
  --emerald-50: #f4faf6;
  --gold-500: #d49500;
  --gold-400: #f0b429;
  --gold-100: #fef7e0;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8faf9;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(12, 38, 30, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--emerald-900);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.5px;
  box-shadow: 0 3px 10px rgba(24, 114, 71, 0.28);
}
.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.6px;
}
.brand-name span { color: var(--gold-500); }
.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  display: block;
  margin-top: -4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--emerald-700); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.16s ease;
}
.btn-primary {
  background: var(--emerald-700);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(24, 114, 71, 0.25);
}
.btn-primary:hover {
  background: var(--emerald-800);
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold-500);
  color: var(--emerald-950);
  font-weight: 800;
}
.btn-gold:hover { background: var(--gold-400); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--emerald-900);
  border-color: #cbd5e1;
}
.btn-outline:hover { border-color: var(--emerald-700); color: var(--emerald-700); background: var(--emerald-50); }
.btn-outline-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.6); }

/* Hero */
.hero {
  background: radial-gradient(circle at 80% 20%, #1d6b4c 0%, var(--emerald-900) 48%, var(--emerald-950) 100%);
  color: var(--white);
  padding: 76px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(240, 180, 41, 0.13);
  border: 1px solid rgba(240, 180, 41, 0.35);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin: 0 0 18px;
  font-weight: 900;
}
.hero p.lead {
  font-size: 17px;
  color: #d5e7de;
  margin: 0 0 28px;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #a9cfc0;
  font-weight: 600;
}
.hero-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 4px 9px;
  border-radius: 999px;
}
.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}
.hero-mini-rinks {
  display: grid;
  gap: 8px;
}
.mini-rink-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  border: 1px solid var(--line);
}
.mini-rink-row.win { background: #f0fdf4; border-color: #bbf7d0; }
.mini-rink-row.lose { background: #fef2f2; border-color: #fecaca; }
.mini-rink-row.draw { background: #fefce8; border-color: #fef08a; }

/* Sections */
section.band {
  padding: 74px 0;
}
section.band.alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(26px, 3.3vw, 36px);
  line-height: 1.18;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}
.section-head p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
}

/* Interactive Demo Sandbox */
.demo-shell {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}
.demo-tab-btn {
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.demo-tab-btn:hover { background: rgba(255,255,255,0.7); color: var(--emerald-800); }
.demo-tab-btn.active {
  background: var(--white);
  color: var(--emerald-700);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}
.demo-stage {
  padding: 24px;
}
.demo-note {
  background: var(--emerald-50);
  border: 1px solid #cce6d8;
  color: var(--emerald-900);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Scorer Demo */
.scorer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.scorer-card {
  border-radius: 10px;
  padding: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
}
.scorer-card.win { background: #f0fdf4; border-color: #86efac; }
.scorer-card.lose { background: #fef2f2; border-color: #fca5a5; }
.scorer-card.draw { background: #fefce8; border-color: #fde047; }
.score-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 8px;
}
.score-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
}
.score-btn:hover { background: var(--emerald-700); color: #fff; border-color: var(--emerald-700); }

/* Diary Demo */
.diary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.diary-table th, .diary-table td {
  border: 1px solid var(--line);
  padding: 10px;
  vertical-align: top;
  text-align: left;
}
.diary-table th {
  background: var(--emerald-900);
  color: #fff;
  font-weight: 700;
}
.diary-chip {
  border-radius: 7px;
  padding: 7px 9px;
  margin-bottom: 6px;
  font-size: 11.5px;
  border-left: 3.5px solid var(--emerald-700);
  background: #f0fdf4;
}
.diary-chip.friendly { border-left-color: #0284c7; background: #f0f9ff; }
.diary-chip.rollup { border-left-color: #94a3b8; background: #f8fafc; }

/* Bracket Demo */
.bracket-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: center;
}
.bracket-col h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--muted);
  margin: 0 0 10px;
}
.match-box {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.match-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 11px;
  font-size: 12.5px;
  border-bottom: 1px solid #f1f5f9;
}
.match-row:last-child { border-bottom: none; }
.match-row.winner { background: #f0fdf4; font-weight: 800; color: #14532d; }

/* Feature / Officer / Sport Cards */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s, box-shadow 0.16s;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--emerald-100);
  color: var(--emerald-800);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Multi-Sport Band */
.multisport-banner {
  background: linear-gradient(135deg, #0f2e24 0%, #174938 100%);
  color: #fff;
  border-radius: 18px;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}
.sport-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sport-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.sport-pill.primary-sport {
  background: var(--gold-500);
  color: var(--emerald-950);
  border-color: var(--gold-500);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 16px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 15.5px; color: var(--emerald-900); }
.faq-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* Enquiry Form */
.enquiry-box {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--emerald-700);
  box-shadow: 0 0 0 3px rgba(24, 114, 71, 0.12);
}

/* Footer */
.site-footer {
  background: var(--emerald-950);
  color: #a7c5b9;
  padding: 44px 0 32px;
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 24px;
  margin-bottom: 20px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #d5e7de; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--gold-400); }

/* Stats Table inside Demo */
.demo-stats-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.demo-stats-table th, .demo-stats-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.demo-stats-table th { background: #f8fafc; color: var(--ink-soft); font-weight: 700; text-align: left; }

@media (max-width: 860px) {
  .hero-grid, .multisport-banner, .bracket-wrap, .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
}


/* Pricing Section */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--emerald-700);
  border-radius: 18px;
  padding: 34px 36px;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}
.price-big {
  font-size: clamp(40px, 5vw, 54px);
  font-weight: 900;
  color: var(--emerald-900);
  line-height: 1.05;
  letter-spacing: -1px;
}
.price-unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-soft);
}
.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-list li span.chk {
  color: var(--emerald-700);
  font-weight: 900;
}
.calc-box {
  background: var(--emerald-50);
  border: 1.5px solid #cce6d8;
  border-radius: 14px;
  padding: 22px;
}
.tier-note {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
@media (max-width: 860px) {
  .pricing-card { grid-template-columns: 1fr; padding: 24px; }
}
