/* StrideXPro — Landing page styles
   Fonts: Archivo (Google Fonts)
   Color palette: navy #06182F, royal #1B4FA0, saffron #FF9933, ink #10151C
*/

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', sans-serif;
  color: #10151C;
  background: #F4F5F7;
  text-wrap: pretty;
  min-height: 100vh;
}

a { color: #1B4FA0; text-decoration: none; }
a:hover { color: #FF9933; }
*:focus-visible { outline: 2px solid #FF9933; outline-offset: 2px; }

/* ─── BUTTONS ─────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 0;
  padding: 16px 24px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.btn-saffron {
  color: #06182F;
  background: #FF9933;
}
.btn-saffron:hover { background: #FFB25C; color: #06182F; }

.btn-royal {
  color: #FFFFFF;
  background: #1B4FA0;
}
.btn-royal:hover { background: #2E7BE0; color: #FFFFFF; }

.btn-outline {
  color: #FFFFFF;
  background: transparent;
  border: 2px solid #2E7BE0;
  padding: 14px 24px;
}
.btn-outline:hover { background: #10305A; color: #FFFFFF; }

.btn-nav {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 12px 20px;
  color: #06182F;
  background: #FF9933;
}
.btn-nav:hover { background: #FFB25C; color: #06182F; }

/* ─── HEADER / NAV ─────────────────────────────────────── */

.site-header {
  background: #06182F;
  color: #FFFFFF;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 48px;
  border-bottom: 2px solid #10305A;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

/* Wrapper clips the PNG's border/box-line on all edges cleanly */
.nav-logo-wrap {
  /* Visible height — the img inside is rendered taller so the border
     pixels are pushed outside this overflow:hidden boundary */
  height: 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Blend mode lives on the wrapper so it composites against the nav bg */
  mix-blend-mode: screen;
}

.nav-logo-img {
  height: 68px;
  width: auto;
  display: block;
  margin-top: -8px;
  /* Negative left/right margins pull the internal PNG whitespace outside
     the overflow:hidden wrapper, effectively cropping it from both sides */
  margin-left: -22px;
  margin-right: -22px;
  filter: invert(1) hue-rotate(217deg) contrast(12) brightness(1.6);
}

.nav-location {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #9CC0F2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  color: #C6D6EE;
}

.nav-links a {
  color: #C6D6EE;
  text-decoration: none;
}
.nav-links a:hover { color: #FF9933; }

/* Hamburger — mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #C6D6EE;
  transition: transform 0.2s;
}

/* ─── HERO ──────────────────────────────────────────────── */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  border-bottom: 2px solid #10305A;
  min-height: 460px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0D2545;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
}

/* Placeholder shown when no hero image is present */
.hero-bg::after {
  content: 'Cricket Action Photo';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #10305A;
  pointer-events: none;
}

.hero-bg img + *,
.hero-bg img ~ *,
.hero-bg:has(img)::after { display: none; }

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #06182F 0%,
    #06182F 42%,
    rgba(6, 24, 47, 0.92) 58%,
    rgba(6, 24, 47, 0.45) 78%,
    rgba(6, 24, 47, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 48px 56px;
}

.hero-image-col {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #FF9933;
}

.hero-headline {
  margin: 24px 0 0;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -2px;
  color: #FFFFFF;
}

.hero-headline em {
  font-style: italic;
  color: #FF9933;
}

.hero-body {
  margin: 28px 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
  color: #C6D6EE;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ─── STATS BAR ─────────────────────────────────────────── */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item {
  padding: 32px 28px;
  border-right: 2px solid #10305A;
  border-bottom: 2px solid #10305A;
}

.stat-item:last-child { border-right: 0; }

.stat-number {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #FF9933;
}

.stat-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9CC0F2;
}

/* ─── SHARED SECTION STYLES ─────────────────────────────── */

.section {
  padding: 64px 48px;
  border-bottom: 2px solid #DDE2E9;
  background: #F4F5F7;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.section-eyebrow.royal  { color: #1B4FA0; }
.section-eyebrow.saffron { color: #FF9933; }

.section-heading {
  margin: 16px 0 40px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -1.2px;
  max-width: 820px;
}

/* ─── THE PROBLEM ───────────────────────────────────────── */

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 2px solid #10151C;
}

.problem-card {
  padding: 28px 28px 32px 0;
  border-right: 2px solid #DDE2E9;
}

.problem-card:last-child { border-right: 0; }

.problem-num {
  font-size: 12px;
  font-weight: 700;
  color: #FF9933;
  letter-spacing: 1.4px;
}

.problem-title {
  margin: 14px 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.problem-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #5A6472;
}

/* ─── THE PLATFORM / MODULES ─────────────────────────────── */

.platform-section { padding: 64px 48px; border-bottom: 2px solid #DDE2E9; }

.platform-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.platform-header .section-heading { margin-bottom: 0; }

.platform-flow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #5A6472;
  flex-shrink: 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 40px;
  border-top: 2px solid #10151C;
  border-left: 2px solid #DDE2E9;
}

.module-card {
  padding: 26px;
  border-right: 2px solid #DDE2E9;
  border-bottom: 2px solid #DDE2E9;
  background: #FFFFFF;
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.module-num {
  font-size: 12px;
  font-weight: 800;
  color: #1B4FA0;
}

.module-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 4px 8px;
}

.badge-p0 { color: #FFFFFF; background: #1B4FA0; }
.badge-p1 { color: #10151C; background: #DCE8FA; }
.badge-p2, .badge-p3 { color: #10151C; background: #E7EBF1; }

.module-title {
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.module-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #5A6472;
}

/* ─── PERSONAS ──────────────────────────────────────────── */

.personas-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border-bottom: 2px solid #DDE2E9;
}

.persona-card {
  padding: 48px;
  border-right: 2px solid #DDE2E9;
}

.persona-card:last-child { border-right: 0; }

.persona-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #FF9933;
}

.persona-quote {
  margin: 16px 0 20px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
}

.persona-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.persona-items li {
  font-size: 14px;
  line-height: 1.5;
  color: #5A6472;
  border-top: 1px solid #DDE2E9;
  padding-top: 10px;
}

/* ─── IMAGE GALLERY ─────────────────────────────────────── */

.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 320px;
  overflow: hidden;
  border-bottom: 2px solid #DDE2E9;
}

.gallery-slot {
  position: relative;
  overflow: hidden;
  border-right: 2px solid #F4F5F7;
  background: #C8D3E2;
}

.gallery-slot:last-child { border-right: 0; }

.gallery-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slot-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  pointer-events: none;
}

/* Gradient overlay on gallery slots */
.gallery-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,24,47,0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.gallery-slot-label { z-index: 2; }

/* ─── WAITLIST SECTION ──────────────────────────────────── */

.waitlist-section {
  background: #06182F;
  color: #FFFFFF;
  padding: 80px 48px;
}

.waitlist-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Left copy ── */
.waitlist-copy { max-width: 520px; }

.waitlist-heading {
  margin: 20px 0 0;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -1.8px;
}

.waitlist-heading em { font-style: italic; color: #FF9933; }

.waitlist-body {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #9CC0F2;
}

.waitlist-perks {
  margin: 32px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.waitlist-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #C6D6EE;
}

.perk-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: #FF9933;
}

/* ── Form card ── */
.waitlist-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #10305A;
  border-top: 3px solid #FF9933;
  padding: 40px 36px;
}

/* ── Form fields ── */
.waitlist-form { display: flex; flex-direction: column; gap: 22px; }

.wl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wl-field { display: flex; flex-direction: column; gap: 8px; }

.wl-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #9CC0F2;
}

.wl-input {
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #10305A;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.15s;
  outline: none;
}

.wl-input::placeholder { color: #5A6472; }

.wl-input:focus { border-color: #FF9933; }

.wl-input.wl-error { border-color: #E03A3A; }

.wl-error-msg {
  font-size: 11px;
  font-weight: 600;
  color: #E03A3A;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* ── Role chips ── */
.wl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wl-chip {
  cursor: pointer;
}

.wl-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.wl-chip span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid #10305A;
  color: #9CC0F2;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
}

.wl-chip input[type="radio"]:checked + span {
  background: rgba(255, 153, 51, 0.12);
  border-color: #FF9933;
  color: #FF9933;
}

.wl-chip:hover span {
  border-color: #2E7BE0;
  color: #FFFFFF;
}

/* ── Submit button ── */
.wl-submit {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #06182F;
  background: #FF9933;
  border: 0;
  padding: 18px 24px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
  margin-top: 4px;
}

.wl-submit:hover { background: #FFB25C; }
.wl-submit:disabled { background: #A0622A; cursor: not-allowed; }

.wl-note {
  font-size: 11px;
  color: #5A6472;
  text-align: center;
  letter-spacing: 0.4px;
}

/* Age field — animated show/hide */
#wl-age-field {
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease;
  max-height: 80px;
  opacity: 1;
}

#wl-age-field.wl-hidden {
  max-height: 0;
  opacity: 0;
  margin-top: -22px; /* collapse the gap */
  pointer-events: none;
}

/* ── Success state ── */
.waitlist-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 153, 51, 0.15);
  color: #FF9933;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-heading {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.success-body {
  font-size: 15px;
  line-height: 1.6;
  color: #9CC0F2;
}

/* ─── FOOTER ────────────────────────────────────────────── */

.site-footer {
  background: #06182F;
  color: #7E93B3;
  padding: 24px 48px;
  font-size: 12px;
  letter-spacing: 0.4px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .platform-flow { display: none; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 12px 24px; flex-wrap: wrap; gap: 12px; }
  .nav-toggle { display: flex; }
  .nav-logo-wrap { height: 34px; }
  .nav-logo-img  { height: 52px; margin-top: -6px; margin-left: -18px; margin-right: -18px; }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid #10305A;
    padding-top: 12px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #10305A;
  }

  .nav-links .btn-nav {
    margin-top: 12px;
    width: 100%;
  }

  /* Hero */
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 48px 24px 40px; }
  .hero-image-col { display: none; }
  .hero-gradient {
    background: linear-gradient(180deg,
      rgba(6, 24, 47, 0.95) 0%,
      rgba(6, 24, 47, 0.75) 100%
    );
  }

  /* Stats */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(3) { border-right: 2px solid #10305A; }
  .stat-item:nth-child(4) { border-right: 0; }

  /* Sections */
  .section, .platform-section { padding: 48px 24px; }

  /* Problems */
  .problems-grid { grid-template-columns: 1fr; }
  .problem-card {
    border-right: 0;
    border-bottom: 2px solid #DDE2E9;
    padding: 24px 0;
  }
  .problem-card:last-child { border-bottom: 0; }

  /* Modules */
  .modules-grid { grid-template-columns: 1fr; }

  /* Personas */
  .personas-section { grid-template-columns: 1fr; }
  .persona-card {
    border-right: 0;
    border-bottom: 2px solid #DDE2E9;
    padding: 36px 24px;
  }
  .persona-card:last-child { border-bottom: 0; }

  /* Gallery */
  .image-gallery { height: 200px; }

  /* Waitlist */
  .waitlist-section { padding: 56px 24px; }
  .waitlist-inner { grid-template-columns: 1fr; gap: 40px; }
  .waitlist-card { padding: 28px 24px; }
  .wl-row { grid-template-columns: 1fr; }

  /* Footer */
  .site-footer { padding: 20px 24px; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; }
  .stat-item:nth-child(3) { border-right: 0; }

  .image-gallery { grid-template-columns: 1fr; height: auto; }
  .gallery-slot { height: 180px; border-right: 0; border-bottom: 2px solid #F4F5F7; }
  .gallery-slot:last-child { border-bottom: 0; }
}
