/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg: #F7F5F0;
  --fg: #111111;
  --fg-muted: #6B6560;
  --accent: #C8961E;
  --accent-light: #F5E9C8;
  --green: #1A3D2E;
  --green-light: #2A5C44;
  --surface: #FFFFFF;
  --border: rgba(17,17,17,0.1);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--fg);
  max-width: 680px;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* === SECTION INNER === */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
}

/* === HERO === */
.hero {
  background: var(--green);
  color: #fff;
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.08;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  margin: 0 28px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 340px;
}
.golfer-silhouette {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.gs-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: sway 4s ease-in-out infinite;
}
@keyframes sway {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}
.gs-head {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.gs-torso {
  width: 28px;
  height: 44px;
  background: rgba(255,255,255,0.35);
  border-radius: 4px;
  margin-bottom: 4px;
  position: relative;
  left: 4px;
}
.gs-arms {
  position: absolute;
  top: 30px;
  left: -12px;
  width: 52px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 5px;
  transform: rotate(15deg);
  transform-origin: right center;
}
.gs-legs {
  display: flex;
  gap: 4px;
}
.gs-legs::before, .gs-legs::after {
  content: '';
  display: block;
  width: 10px;
  height: 52px;
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
}
.gs-legs::after { transform: rotate(-4deg); }
.gs-club {
  position: absolute;
  top: 34px;
  left: -22px;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(32deg);
  transform-origin: right center;
}
.gs-ground {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-top: 6px;
}
.gs-data-label {
  position: absolute;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero-measurement-badge {
  background: var(--accent);
  color: var(--green);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  position: absolute;
  top: 20px;
  right: 0;
}
.hmb-icon { opacity: 0.7; }
.hmb-value {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.hmb-label {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 2px;
}

.hero-setup-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 18px;
  width: 180px;
  backdrop-filter: blur(8px);
}
.hsc-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hsc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.hsc-row:last-child { border-bottom: none; }
.hsc-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #fff;
}

/* === PROBLEM === */
.problem {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.problem-header {
  margin-bottom: 56px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.problem-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}
.problem-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.problem-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.problem-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* === HOW IT WORKS === */
.how-it-works {
  background: var(--bg);
}
.hiw-header { margin-bottom: 56px; }
.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.hiw-step:last-child { border-bottom: 1px solid var(--border); }
.hiw-step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--green);
  opacity: 0.15;
  line-height: 1;
  padding-top: 4px;
}
.hiw-step-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.hiw-step-content p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 560px;
}

/* === PROPORTIONS === */
.proportions {
  background: var(--green);
  color: #fff;
}
.proportions-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.proportions-visual {
  position: relative;
}
.pv-grid {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  height: 220px;
  padding: 0 8px;
}
.pv-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.pv-bar-fill {
  width: 100%;
  background: linear-gradient(to top, var(--accent), rgba(200,150,30,0.5));
  border-radius: 6px 6px 0 0;
  transition: height 0.6s ease;
}
.pv-bar-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  font-weight: 500;
  text-align: center;
}
.pv-annotation {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.pv-ann-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.pv-ann-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}
.proportions-text .section-eyebrow { color: var(--accent); }
.proportions-text .section-headline { color: #fff; margin-bottom: 20px; }
.proportions-body {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.proportions-body em { font-style: normal; color: var(--accent); font-weight: 600; }
.proportions-detail { display: flex; flex-direction: column; gap: 20px; }
.pd-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.pd-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* === GROWTH === */
.growth { background: var(--surface); }
.growth-card {
  background: var(--green);
  border-radius: 20px;
  padding: 48px;
  margin-bottom: 48px;
  color: #fff;
}
.growth-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.growth-headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  max-width: 620px;
}
.growth-sub {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
}
.growth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.growth-action {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.ga-check {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.growth-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.gf-item { padding: 0; }
.gf-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 16px;
}
.gf-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.gf-item p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* === SCIENCE === */
.science { background: var(--bg); }
.science-header { margin-bottom: 56px; }
.science-sub {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 600px;
  margin-top: 16px;
}
.science-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.sp-item { display: flex; gap: 20px; }
.sp-num {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--green);
  opacity: 0.2;
  flex-shrink: 0;
  line-height: 1;
}
.sp-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sp-item p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}
.science-cta {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.science-cta p {
  font-size: 14px;
  color: var(--fg-muted);
  font-style: italic;
  max-width: 540px;
}

/* === CLOSING === */
.closing {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.closing .section-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
}
.closing-visual {
  position: relative;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}
.cv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.cv-ring-1 { inset: 0; }
.cv-ring-2 { inset: 20px; border-color: var(--accent); opacity: 0.4; }
.cv-ring-3 { inset: 48px; border-color: var(--green); opacity: 0.3; }
.cv-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-text {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  text-align: center;
  line-height: 1.3;
}
.closing-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 520px;
}

/* === FOOTER === */
.footer {
  background: var(--green);
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.footer-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.footer-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* === CTA BUTTONS === */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--green);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.1s;
  margin-bottom: 40px;
}
.cta-primary:hover {
  background: #D4A520;
  transform: translateY(-1px);
}
.cta-primary:active {
  transform: translateY(0);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.35);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, transform 0.1s;
}
.cta-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  transform: translateY(-1px);
}
.cta-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: color 0.15s;
}
.cta-tertiary:hover {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}

.nav-cta {
  margin-left: auto;
  background: var(--accent);
  color: var(--green);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #D4A520; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .proportions-inner { grid-template-columns: 1fr; gap: 48px; }
  .proportions-visual { order: 2; }
  .growth-features { grid-template-columns: 1fr; }
  .science-pillars { grid-template-columns: 1fr; }
  .closing .section-inner { grid-template-columns: 1fr; gap: 40px; }
  .closing-visual { width: 120px; height: 120px; }
  .section-inner { padding: 56px 24px; }
  .hero { padding: 56px 0 64px; }
  .nav-inner { padding: 14px 24px; }
}

@media (max-width: 480px) {
  .hero-stat-row { flex-wrap: wrap; gap: 16px; }
  .hero-stat-divider { display: none; }
  .hiw-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .growth-card { padding: 28px; }
  .growth-actions { flex-direction: column; }
}

/* === AUTH MODAL === */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.55);
  backdrop-filter: blur(4px);
}
.auth-modal-box {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--fg-muted);
  transition: background 0.15s;
}
.auth-modal-close:hover { background: var(--border); }
.auth-modal-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  background: var(--bg);
  border-radius: 10px;
  padding: 4px;
}
.auth-tab {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.auth-tab.active {
  background: var(--surface);
  color: var(--fg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.auth-modal-sub {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.auth-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
}
.auth-field { margin-bottom: 16px; }
.auth-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.auth-opt { font-weight: 400; color: var(--fg-muted); }
.auth-input {
  width: 100%;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.auth-input:focus { border-color: var(--accent); }
.auth-hint {
  display: block;
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 5px;
}
.auth-submit-btn {
  width: 100%;
  padding: 13px;
  background: var(--green);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}
.auth-submit-btn:hover { opacity: 0.85; }
.auth-switch-link {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--fg-muted);
}
.auth-switch-link a { color: var(--green); font-weight: 600; text-decoration: none; }
.auth-switch-link a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-modal-box { padding: 28px 24px; }
}
