/* E4E Beta Landing Page — styles.css */

/* ── Design Tokens ── */
:root {
  --charcoal: #222222;
  --orange: #C65830;
  --navy: #1E495D;
  --green: #8F875A;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --light-gray: #F4F4F4;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--charcoal);
  line-height: 1.6;
  font-size: 16px;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font); }
a { text-decoration: none; color: inherit; }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-container { max-width: 680px; margin: 0 auto; }
.overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.section-headline {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 32px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  transition: filter 0.2s;
}
.cta-btn:hover { filter: brightness(1.1); }
.cta-btn:active { transform: scale(0.98); }
.cta-btn--full { width: 100%; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: height 0.3s;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 24px;
}
.nav__logo { height: 28px; width: auto; }
.nav--scrolled .nav__inner { height: 44px; }
.nav--scrolled .nav__logo { height: 22px; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  padding-top: 56px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(34,34,34,0.4) 0%, rgba(34,34,34,0.85) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 680px;
}
.hero__headline {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 16px 0;
}
.hero__subhead {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero__scarcity {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.4);
  font-size: 32px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Section 2: What Is This ── */
.what-is-this { background: var(--cream); padding: 80px 0; }
.formula-cards { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.formula-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.formula-card__image {
  height: 128px;
  position: relative;
  overflow: hidden;
}
.formula-card__image--refuel { background: linear-gradient(135deg, rgba(198,88,48,0.2), rgba(198,88,48,0.05)); }
.formula-card__image--recharge { background: linear-gradient(135deg, rgba(30,73,93,0.2), rgba(30,73,93,0.05)); }
.formula-card__image--recover { background: linear-gradient(135deg, rgba(34,34,34,0.3), rgba(34,34,34,0.1)); }
.formula-card__body { padding: 24px; }
.formula-card__timing { font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.formula-card__name { font-size: 22px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 8px; }
.formula-card__desc { font-size: 15px; color: var(--charcoal); line-height: 1.6; }

/* ── Section 2A: Trust Strip ── */
.trust-strip { background: var(--white); padding: 80px 0; }
.trust-point { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--light-gray); }
.trust-point__icon { color: var(--green); font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.trust-point__title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.trust-point__desc { font-size: 14px; color: #57423b; line-height: 1.5; }
.fda-disclaimer {
  margin-top: 48px;
  padding: 16px;
  background: var(--light-gray);
  border-left: 3px solid var(--green);
  border-radius: 4px;
  font-size: 12px;
  font-style: italic;
  color: #57423b;
  line-height: 1.6;
}

/* ── Section 3: What You Get ── */
.what-you-get { background: var(--navy); color: var(--white); padding: 80px 0; }
.benefit-cards { display: flex; flex-direction: column; gap: 16px; margin: 40px 0; }
.benefit-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}
.benefit-card--primary { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.benefit-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.benefit-card__icon--orange { background: var(--orange); }
.benefit-card__icon--green { background: var(--green); }
.benefit-card__title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.benefit-card__desc { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.commitment-list {
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}
.commitment-list__title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); margin-bottom: 16px; }
.commitment-list ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.commitment-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.9); }
.commitment-list li .icon { color: var(--green); font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.commitment-list li .icon--warning { color: var(--orange); }

/* ── Section 4: Eligibility ── */
.eligibility { background: var(--light-gray); padding: 80px 0; }
.checklist { display: flex; flex-direction: column; gap: 16px; margin: 40px 0; }
.checklist__item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.checklist__icon { color: var(--green); font-size: 24px; flex-shrink: 0; }
.checklist__text { font-size: 15px; color: var(--charcoal); line-height: 1.4; }
.eligibility__note { font-size: 13px; font-style: italic; color: rgba(34,34,34,0.7); line-height: 1.6; }

/* ── Section 5: How It Works ── */
.how-it-works { background: var(--white); padding: 80px 0; }
.timeline { display: flex; flex-direction: column; gap: 0; margin: 40px 0; position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--orange);
}
.timeline__step { position: relative; padding: 0 0 32px; }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__number {
  position: absolute;
  left: -40px;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 1;
}
.timeline__title { font-size: 16px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.timeline__desc { font-size: 14px; color: #57423b; line-height: 1.5; }
.timeline__callout {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: 4px;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.5;
  font-weight: 500;
}

/* ── Section 6: Application Form ── */
.application { background: var(--cream); padding: 80px 0; }
.form-container {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 32px auto 0;
  padding: 32px 24px;
}
/* Progress Bar */
.progress-bar { display: flex; gap: 4px; margin-bottom: 32px; }
.progress-bar__step {
  flex: 1;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  transition: background 0.3s;
}
.progress-bar__step--active { background: var(--orange); }
.progress-bar__step--completed { background: var(--orange); }
.progress-bar__labels { display: flex; justify-content: space-between; margin-top: 8px; }
.progress-bar__label { font-size: 11px; color: #999; text-align: center; flex: 1; }
.progress-bar__label--active { color: var(--orange); font-weight: 700; }
/* Form Step */
.form-step { display: none; }
.form-step--active { display: block; }
.form-step__label { font-size: 12px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; }
/* Form Fields */
.field { margin-bottom: 20px; }
.field__label { display: block; font-size: 14px; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.field__input,
.field__select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: var(--font);
  background: var(--white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.field__input:focus,
.field__select:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 2px rgba(198,88,48,0.15); }
.field__hint { font-size: 12px; color: #999; margin-top: 4px; }
/* Slider */
.slider-group { display: flex; flex-direction: column; gap: 4px; }
.slider-group__labels { display: flex; justify-content: space-between; font-size: 12px; color: #999; }
.slider-group input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: #ddd;
  border-radius: 3px;
  outline: none;
}
.slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.slider-value { text-align: center; font-size: 24px; font-weight: 700; color: var(--orange); }
/* Radio / Checkbox */
.radio-group, .checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.radio-group label, .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.radio-group label:has(input:checked),
.checkbox-group label:has(input:checked) { border-color: var(--orange); background: rgba(198,88,48,0.04); }
.radio-group input, .checkbox-group input { accent-color: var(--orange); }
/* Disqualification messages */
.disqualify-msg {
  display: none;
  padding: 12px 16px;
  background: #FFF3F0;
  border-left: 3px solid #ba1a1a;
  border-radius: 4px;
  font-size: 14px;
  color: #93000a;
  margin-top: 8px;
}
.disqualify-msg--visible { display: block; }
.soft-msg {
  display: none;
  padding: 12px 16px;
  background: #FFF8E1;
  border-left: 3px solid var(--green);
  border-radius: 4px;
  font-size: 14px;
  color: #57423b;
  margin-top: 8px;
}
.soft-msg--visible { display: block; }
/* Commitment disclosure */
.commitment-disclosure {
  padding: 16px;
  background: var(--cream);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 24px;
}
/* Confirmation */
.form-confirmation {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.form-confirmation--visible { display: block; }
.form-confirmation__icon { font-size: 64px; color: var(--green); margin-bottom: 16px; }
.form-confirmation__headline { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.form-confirmation__body { font-size: 15px; color: var(--charcoal); line-height: 1.7; }

/* ── Section 7: FAQ ── */
.faq { background: var(--light-gray); padding: 80px 0; }
.faq-list { margin-top: 32px; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--charcoal);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chevron { transition: transform 0.3s; color: var(--orange); font-size: 24px; flex-shrink: 0; }
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-item__answer { padding: 0 0 20px; font-size: 16px; color: rgba(34,34,34,0.8); line-height: 1.6; }

/* ── Section 8: Founder Note ── */
.founder-note { background: var(--charcoal); color: var(--white); padding: 96px 0; }
.founder-note blockquote {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin: 24px 0 40px;
}
.founder-note__logo { height: 32px; width: auto; opacity: 0.6; margin-top: 32px; }
.founder-note__copyright { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 24px; }

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal--left.reveal--visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal--right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal--right.reveal--visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal--scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal--scale.reveal--visible {
  opacity: 1;
  transform: scale(1);
}
/* Stagger children */
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger--visible > *:nth-child(4) { transition-delay: 0.25s; }
.reveal-stagger--visible > *:nth-child(5) { transition-delay: 0.3s; }
.reveal-stagger--visible > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger--visible > * { opacity: 1; transform: translateY(0); }

/* Hero parallax-lite */
.hero__bg img { transition: transform 0.1s linear; will-change: transform; }

/* ── Desktop Adaptations ── */
@media (min-width: 768px) {
  .hero__headline { font-size: 48px; }
  .hero__subhead { font-size: 18px; }
  .hero__content { text-align: left; padding: 60px 24px; max-width: 600px; margin-left: 0; }
  .container { padding: 0 48px; }
  .formula-cards { flex-direction: row; gap: 24px; }
  .formula-card { flex: 1; }
  .benefit-cards { flex-direction: row; gap: 16px; }
  .benefit-card { flex: 1; flex-direction: column; }
  .timeline { flex-direction: row; padding-left: 0; gap: 0; }
  .timeline::before {
    top: 15px;
    left: 16px;
    right: 16px;
    bottom: auto;
    height: 2px;
    width: auto;
  }
  .timeline__step { flex: 1; padding: 48px 16px 0 0; }
  .timeline__step:last-child { padding-bottom: 0; }
  .timeline__number { left: 0; top: 0; }
  .section-headline { font-size: 32px; }
}
@media (min-width: 1024px) {
  .hero__headline { font-size: 56px; }
  .hero__content { padding: 80px 48px; }
  .checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
