/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) contrast(1.05) saturate(1.1);
  transform: scale(1.05);
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom { to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(255, 90, 30, 0.35), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(50, 0, 100, 0.45), transparent 55%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 100%);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 4px;
  color: #fff;
}
.logo span { color: #ff5a1e; margin: 0 6px; }
.nav-meta {
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 18px;
  background: rgba(255, 90, 30, 0.15);
  border: 1px solid rgba(255, 90, 30, 0.4);
  color: #ff8a5e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -1px;
  margin-bottom: 28px;
  text-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.accent {
  background: linear-gradient(135deg, #ff5a1e 0%, #ffb01e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 21px);
  max-width: 620px;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn-primary {
  background: linear-gradient(135deg, #ff5a1e 0%, #ff8a1e 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 20px 38px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 40px rgba(255, 90, 30, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(255, 90, 30, 0.6);
}
.btn-primary:active { transform: translateY(0); }

.trust { display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #0a0a0a;
  margin-left: -10px;
  background: linear-gradient(135deg, #ff5a1e, #ffb01e);
}
.avatars span:nth-child(2) { background: linear-gradient(135deg, #1ec8ff, #1e6dff); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #c81eff, #ff1eb0); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #1eff8a, #1eb0ff); }
.avatars span:first-child { margin-left: 0; }
.trust-text { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.4; }
.trust-text strong { color: #fff; }
.stars { color: #ffb01e; letter-spacing: 2px; }

.hero-stats {
  display: flex;
  gap: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 540px;
}
.stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 1;
  background: linear-gradient(135deg, #ff5a1e, #ffb01e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat .lbl {
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  text-transform: uppercase;
}

/* ============ FUNNEL ============ */
.funnel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 24px;
}
.funnel.open {
  opacity: 1;
  pointer-events: auto;
}
.funnel-card {
  background: linear-gradient(180deg, #161616 0%, #0e0e0e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 56px 48px 48px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}
.funnel.open .funnel-card { transform: translateY(0) scale(1); }

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  font-size: 24px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.close-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Progress */
.progress { margin-bottom: 36px; }
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff5a1e, #ffb01e);
  border-radius: 100px;
  width: 12.5%;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.progress-text {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* Steps */
.step {
  display: none;
  animation: stepIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.step-icon {
  font-size: 44px;
  margin-bottom: 16px;
}
.step h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  line-height: 1.5;
}
.step-desc.large { font-size: 17px; color: rgba(255,255,255,0.75); }

/* Inputs */
.text-input {
  width: 100%;
  padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: #fff;
  font-size: 17px;
  outline: none;
  transition: border 0.2s, background 0.2s;
}
.text-input:focus {
  border-color: #ff5a1e;
  background: rgba(255, 90, 30, 0.05);
}
.text-input::placeholder { color: rgba(255,255,255,0.3); }
.textarea { resize: vertical; min-height: 80px; font-family: inherit; margin-top: 16px; }

.big-number {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}
.small-number { font-size: 32px; font-weight: 800; text-align: center; max-width: 100px; }
.age-input-wrap, .height-input, .weight-input {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.suffix {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}

.unit-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 20px;
}
.unit-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  border-radius: 100px;
  transition: all 0.2s;
}
.unit-btn.active {
  background: #fff;
  color: #0a0a0a;
}

/* Option grids */
.option-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}
.option-grid.two { grid-template-columns: repeat(2, 1fr); }
.option-card {
  padding: 24px 18px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: all 0.2s;
  text-align: center;
}
.option-card:hover {
  background: rgba(255, 90, 30, 0.08);
  border-color: rgba(255, 90, 30, 0.4);
  transform: translateY(-2px);
}
.option-card.selected {
  background: rgba(255, 90, 30, 0.12);
  border-color: #ff5a1e;
  box-shadow: 0 0 0 4px rgba(255, 90, 30, 0.15);
}
.opt-emoji {
  font-size: 32px;
  margin-bottom: 6px;
}
.opt-label {
  font-size: 15px;
  font-weight: 600;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  text-align: left;
  transition: all 0.2s;
}
.option-row:hover {
  background: rgba(255, 90, 30, 0.06);
  border-color: rgba(255, 90, 30, 0.3);
  transform: translateX(4px);
}
.option-row.selected {
  background: rgba(255, 90, 30, 0.1);
  border-color: #ff5a1e;
}
.row-emoji { font-size: 28px; }
.row-title { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.row-sub { font-size: 13px; color: rgba(255,255,255,0.55); }

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.chip {
  padding: 10px 18px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: all 0.2s;
}
.chip:hover { border-color: rgba(255,255,255,0.3); }
.chip.selected {
  background: #ff5a1e;
  border-color: #ff5a1e;
  color: #fff;
}

/* Actions */
.step-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
}
.btn-next, .btn-submit {
  flex: 1;
  padding: 18px 28px;
  background: linear-gradient(135deg, #ff5a1e, #ff8a1e);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(255, 90, 30, 0.3);
}
.btn-next:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 90, 30, 0.45);
}
.btn-next:disabled, .btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.btn-back {
  padding: 18px 24px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-back:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Summary */
.summary {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(255, 90, 30, 0.05);
  border: 1px solid rgba(255, 90, 30, 0.15);
  border-radius: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}
.summary div { display: flex; justify-content: space-between; padding: 4px 0; }
.summary strong { color: #fff; font-weight: 600; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  line-height: 1.5;
}
.checkbox input { margin-top: 3px; accent-color: #ff5a1e; }

/* Success */
.success { text-align: center; }
.success-anim {
  margin: 12px auto 28px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5a1e, #ffb01e);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.check {
  font-size: 56px;
  color: #fff;
  font-weight: 800;
}
@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.success h2 { text-align: center; }
.next-steps {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.next-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}
.next-item span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5a1e, #ffb01e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.success .btn-primary { width: 100%; }
.download-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  margin-bottom: 12px;
}
.btn-secondary {
  width: 100%;
  padding: 16px 24px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* Responsive */
@media (max-width: 640px) {
  .nav { padding: 20px 24px; }
  .hero-content { padding: 0 24px 60px; }
  .hero-stats { gap: 32px; padding-top: 32px; }
  .stat .num { font-size: 42px; }
  .funnel-card { padding: 48px 28px 32px; border-radius: 24px; }
  .step h2 { font-size: 24px; }
  .option-grid.two { grid-template-columns: 1fr 1fr; }
  .step-actions { flex-direction: column-reverse; }
  .btn-back, .btn-next, .btn-submit { width: 100%; }
}
