/* ==========================================================================
   CSS VARIABLES & SETUP
   ========================================================================== */
:root {
  --green-dark: #1B4D2E;
  --green-mid: #2A6B42;
  --gold: #C9A84C;
  --white: #FFFFFF;
  --off-white: #F8F5F0;
  --text-dark: #1A1A1A;
  --text-muted: #5A5A5A;
  --overlay: rgba(15, 35, 20, 0.62);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

h2 {
  font-size: 48px;
  margin-bottom: 24px;
}

.text-white { color: var(--white); }
.text-green-dark { color: var(--green-dark); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.body-large {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
}

.body-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
}

.text-center { text-align: center; }

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.bg-off-white { background-color: var(--off-white); }
.bg-green-dark { background-color: var(--green-dark); }
.bg-white { background-color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--green-dark);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--green-mid);
}

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  height: 72px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo img {
  height: 44px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-dark);
  border-bottom-color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-home {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url('../assets/hero.png') center center / cover no-repeat;
  text-align: center;
  padding: 0 24px;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-white {
  height: 80px;
  margin-bottom: 32px;
  filter: brightness(0) invert(1);
}

.hero-home h1 {
  font-size: 72px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-home p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 40px auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

.hero-page {
  background-color: var(--green-dark);
  padding: 140px 0 100px 0;
  text-align: center;
  color: var(--white);
}

.hero-page h1 {
  font-size: 64px;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-page p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   COMPONENTS & SECTIONS
   ========================================================================== */
.pull-quote {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  color: var(--green-dark);
  line-height: 1.3;
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}

.card-dark {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 48px 36px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.card-dark h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 16px;
}

.card-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.card-light {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-top: 3px solid var(--gold);
  padding: 48px 36px;
  background: var(--white);
  border-radius: 4px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-light:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.card-light h3 {
  font-size: 22px;
  margin: 24px 0 16px 0;
}

ul.gold-dash-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 15px;
}

ul.gold-dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Profile Card Mockup */
.profile-mockup {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  padding: 32px;
  max-width: 340px;
  margin: 0 auto;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 64px;
  height: 64px;
  background: var(--off-white);
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--green-dark);
}

.profile-name { font-family: var(--font-display); font-size: 20px; color: var(--text-dark); line-height: 1.1; }
.profile-club { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.badge { background: var(--green-dark); color: var(--white); font-size: 10px; padding: 3px 10px; border-radius: 999px; display: inline-block; margin-top: 6px; }

.divider { border-top: 1px solid rgba(0,0,0,0.08); margin: 20px 0; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-val { font-family: var(--font-display); font-size: 22px; color: var(--green-dark); font-weight: 600; }
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.details-list li { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }

/* Tag Grid */
.tag-grid { margin: 32px 0; }
.tag { border: 1px solid rgba(27, 77, 46, 0.2); border-radius: 999px; padding: 8px 18px; font-size: 13px; color: var(--green-dark); display: inline-block; margin: 4px; }

/* Map Mockup */
.map-mockup {
  background: #1a1a2e;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  padding: 24px;
  max-width: 420px;
  margin: 0 auto;
}

.map-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.map-title { color: var(--white); font-size: 14px; font-weight: 500; }
.toggle { display: flex; align-items: center; gap: 8px; }
.toggle span { color: var(--gold); font-size: 12px; }
.toggle-pill { width: 44px; height: 24px; background: var(--green-dark); border-radius: 999px; position: relative; }
.toggle-pill::after { content: ''; width: 18px; height: 18px; background: white; border-radius: 50%; position: absolute; right: 3px; top: 3px; }

.pulse-ring { transform-origin: 200px 150px; animation: pulse 2s infinite ease-out; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

.weekly-row { margin-top: 16px; }
.weekly-label { color: var(--white); font-size: 12px; margin-bottom: 8px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.35); }
.pill.active { background: var(--green-dark); color: var(--white); }

/* Timeline (For Clubs) */
.timeline { display: flex; flex-direction: column; gap: 48px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 40px; top: 20px; bottom: 20px; width: 1px; border-left: 1px dashed rgba(201, 168, 76, 0.3); z-index: 0; }
.timeline-step { display: flex; align-items: flex-start; gap: 48px; position: relative; z-index: 1; }
.timeline-num { font-family: var(--font-display); font-size: 72px; color: var(--gold); opacity: 0.25; line-height: 1; min-width: 80px; text-align: center; background: var(--off-white); }
.timeline-content h3 { font-size: 24px; margin-bottom: 12px; }

/* Partner Network */
.partner-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 40px; margin: 48px 0; }
.partner-name { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--green-dark); }
.partner-sep { width: 1px; height: 28px; background: rgba(0, 0, 0, 0.15); }

/* Forms */
.form-card { background: var(--white); border-radius: 4px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); padding: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 24px; }
.form-row .form-group { margin-bottom: 0; }
.form-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dark); font-weight: 500; margin-bottom: 8px; }
.form-label span { color: var(--gold); }
.form-control { width: 100%; border: 1px solid rgba(0,0,0,0.15); border-radius: 3px; padding: 14px 16px; font-size: 15px; font-family: var(--font-body); }
.form-control:focus { border-color: var(--green-dark); outline: none; box-shadow: 0 0 0 3px rgba(27, 77, 46, 0.08); }
textarea.form-control { resize: vertical; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 64px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo { height: 44px; margin-bottom: 16px; }
.footer-tagline { font-family: var(--font-display); font-size: 16px; font-style: italic; opacity: 0.8; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.footer-links a { font-size: 14px; opacity: 0.8; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 1; }
.footer-cta { text-align: right; }
.footer-cta p { margin-bottom: 16px; font-size: 15px; opacity: 0.8; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-links, .footer-cta { align-items: flex-start; text-align: left; }
  .partner-sep { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  h2 { font-size: 36px; }
  .hero-home h1 { font-size: 48px; }
  .hero-page h1 { font-size: 44px; }
  .pull-quote { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; width: 100%; }
  
  /* Mobile Nav */
  .nav-links, .nav-btn { display: none; }
  .hamburger { display: flex; }
  
  .mobile-menu {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 32px;
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: all 0.4s ease; z-index: 99;
  }
  .mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .mobile-menu a { font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
  .timeline::before { left: 24px; }
  .timeline-step { gap: 24px; }
  .timeline-num { font-size: 48px; min-width: 48px; }
}
