/* BJJ College Funnel — New Design System */
/* Fonts: Bebas Neue (display) + Source Sans 3 (body) */

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

:root {
  --bg: #0a0a0a;
  --bg-surface: #141414;
  --bg-input: #1a1a1a;
  --red: #e62929;
  --red-hover: #ff3333;
  --text: #f0f0f0;
  --text-muted: #999;
  --text-dim: #666;
  --border: rgba(255,255,255,.1);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --max-w: 780px;
  --max-w-cta: 680px;
  --gutter: 24px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══ Fixed Header / Logo ═══ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  background: linear-gradient(to bottom, rgba(10,10,10,.95) 60%, transparent);
  pointer-events: none;
}
.site-header a { pointer-events: auto; }

.logo-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  height: 34px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  letter-spacing: 1.5px;
}
.logo-tagline {
  font-size: 9px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 2px;
}

/* ═══ Page Sections ═══ */
.page {
  display: none;
}
.page.active {
  display: block;
}

.page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px var(--gutter) 60px;
}

/* Video pages: centered flex layout */
.page-content--video {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: center;
}

/* CTA page: block layout for scroll */
.page-content--cta {
  max-width: var(--max-w-cta);
  padding-top: 110px;
}

/* ═══ Greeting (Page 1) ═══ */
.greeting {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  text-align: center;
}
.greeting em {
  font-style: normal;
  color: var(--text);
  font-weight: 400;
}

/* ═══ Section Title (Page 2) ═══ */
.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ═══ Video Container ═══ */
.video-wrap {
  width: 100%;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  background: var(--bg-surface);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.video-wrap .aspect {
  padding-top: 56.25%;
  position: relative;
}
.video-wrap iframe,
.video-wrap .placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-dim);
  font-size: 14px;
}
.placeholder .play-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.placeholder .play-icon svg {
  width: 20px; height: 20px;
  fill: white;
  margin-left: 3px;
}

/* CTA page video spacing */
.page-content--cta .video-wrap {
  margin-bottom: 24px;
}

/* ═══ Below-video caption ═══ */
.below-video {
  text-align: center;
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ═══ Continue Button ═══ */
.btn-continue {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 48px;
  background: var(--red);
  color: white;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-continue:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}
.btn-continue:active {
  transform: scale(0.98);
}

/* ═══ Page 3: CTA Headline ═══ */
.headline {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 1.5px;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 32px;
  white-space: nowrap;
}

/* ═══ Bridge copy ═══ */
.bridge {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

/* ═══ Teaser section ═══ */
.teaser-intro {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
  text-align: center;
}

.teaser-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.teaser-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
}
.teaser-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

/* ═══ Divider ═══ */
.divider {
  width: 60px;
  height: 1px;
  background: var(--red);
  margin: 0 auto 32px;
  opacity: 0.5;
}

/* ═══ Contact Block ═══ */
.contact-block {
  text-align: center;
  margin-bottom: 32px;
}
.contact-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.contact-phone {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-phone a {
  color: inherit;
  text-decoration: none;
}
.contact-email {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
}
.contact-email a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: color .2s, border-color .2s;
}
.contact-email a:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ═══ Form Section ═══ */
.form-section {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  margin-bottom: 40px;
}
.form-intro {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 28px;
  font-weight: 300;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field.full { flex-basis: 100%; }

.form-field label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}

.form-field input,
.form-field select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color .2s;
  outline: none;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--red);
}
.form-field input::placeholder {
  color: var(--text-dim);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-field select option {
  background: var(--bg-surface);
}

/* Form validation errors */
.error-msg {
  display: none;
  font-size: 12px;
  color: var(--red);
  margin-top: 2px;
}
.form-field.error input,
.form-field.error select {
  border-color: var(--red);
}
.form-field.error .error-msg {
  display: block;
}

/* Submit button */
.btn-submit {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  background: var(--red);
  color: white;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-submit:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

/* ═══ Partner Showcase (hidden at launch) ═══ */
.partner-showcase {
  display: none;
  text-align: center;
  margin-bottom: 40px;
}
.partner-showcase.visible {
  display: block;
}
.partner-showcase h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/* ═══ Confirmation ═══ */
.confirmation {
  text-align: center;
}
.confirmation .headline {
  margin-bottom: 16px;
}
.confirmation .bridge {
  margin-bottom: 12px;
}
.confirmation .contact-phone {
  margin: 16px 0;
}
.sig {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ═══ Footer ═══ */
.page-footer {
  text-align: center;
  margin-top: 160px;
  padding: 20px 0;
  font-size: 11px;
  color: var(--text-dim);
  opacity: 0.5;
}
.page-footer a {
  color: var(--text-dim);
  text-decoration: none;
}

/* ═══ Responsive ═══ */
@media (max-width: 600px) {
  .site-header { padding: 14px 16px; }
  .logo-icon { height: 22px; }
  .logo-name { font-size: 18px; }
  .logo-tagline { font-size: 8px; }
  .page-content { padding: 80px 16px 40px; }
  .greeting { font-size: 16px; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 14px; }
  .headline { font-size: 28px; }
  .bridge { font-size: 15px; }
  .contact-phone { font-size: 28px; }
  .btn-continue { padding: 12px 36px; font-size: 16px; }
  .form-row { flex-direction: column; gap: 12px; }
  .form-section { padding: 24px 20px; }
  .teaser-list li { font-size: 14px; }
}
