:root {
  --primary: #05091A;
  --accent: #FBBF24;
  --accent-deep: #F59E0B;
  --step-counter: #0369A1;
  --text: #0F172A;
  --muted: #64748B;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --card-hover: #F1F5F9;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.09);
  --shadow-amber: 0 8px 32px rgba(251,191,36,0.2);
  --radius: 10px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

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

html, body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(251,191,36,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251,191,36,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  background: rgba(248,250,252,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  width: 100%;
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo { display: none; }
.brand-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.brand-logo span { color: var(--accent); }

/* ── Funnel-Container ────────────────────────────────────── */
.funnel { max-width: 560px; margin: 0 auto; padding: 32px 20px 40px; min-height: calc(100vh - 73px); display: flex; flex-direction: column; }
.funnel-main { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding-bottom: 32px; }

/* ── Step-Counter ────────────────────────────────────────── */
.step-counter {
  text-align: center;
  color: var(--step-counter);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  background: rgba(3,105,161,0.06);
  border: 1px solid rgba(3,105,161,0.12);
  padding: 5px 18px;
  border-radius: 99px;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

/* ── Shimmer ─────────────────────────────────────────────── */
@keyframes textShimmer {
  0%   { background-position: -300% center; }
  100% { background-position:  300% center; }
}

/* ── Step ────────────────────────────────────────────────── */
.step { display: none; flex-direction: column; gap: 20px; animation: fadeIn 0.35s ease; }
.step.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── Intro Quote ─────────────────────────────────────────── */
.quote {
  font-size: clamp(22px, 4.5vw, 28px);
  font-weight: 800;
  text-align: center;
  line-height: 1.35;
  padding: 16px 0 8px;
  letter-spacing: -0.02em;
  background: linear-gradient(
    90deg,
    #0F172A 0%, #0F172A 25%,
    #D97706 38%, #FBBF24 50%,
    #D97706 62%, #0F172A 75%,
    #0F172A 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.quote .hl { -webkit-text-fill-color: transparent; }
.quote-author {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-top: -2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Headlines ───────────────────────────────────────────── */
.step h1 {
  font-size: clamp(24px, 5vw, 32px); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.2; text-align: center; color: var(--text);
}
.step h2 {
  font-size: clamp(20px, 4.3vw, 26px); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.25; text-align: center; padding: 0 8px;
  background: linear-gradient(
    90deg,
    #0F172A 0%, #0F172A 28%,
    #B45309 40%, #FBBF24 50%,
    #B45309 60%, #0F172A 72%,
    #0F172A 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.question-step h2 { animation: textShimmer 12s linear infinite; }
.step .sub { font-size: 14px; color: var(--accent-deep); text-align: center; font-weight: 600; margin-top: -8px; }
.step .hint { font-size: 14px; color: var(--muted); text-align: center; }

/* ── Options: Solid-List ─────────────────────────────────── */
.options { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

.opt-solid {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--card); color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  cursor: pointer; font-size: 15px; font-weight: 600; font-family: inherit;
  text-align: left; transition: all 0.18s ease; box-shadow: var(--shadow-sm);
}
.opt-solid:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(251,191,36,0.15); transform: translateY(-1px); }
.opt-solid.selected { border-color: var(--accent); background: rgba(251,191,36,0.05); box-shadow: var(--shadow-amber); }
.opt-solid .icon { width: 28px; height: 28px; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.opt-solid .label { flex: 1; }

/* ── Options: Card-List (multiselect) ────────────────────── */
.opt-card {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; background: var(--card); color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  cursor: pointer; font-size: 15px; font-weight: 500; font-family: inherit;
  text-align: left; transition: all 0.18s ease; box-shadow: var(--shadow-sm);
}
.opt-card:hover { background: var(--card-hover); border-color: var(--accent); transform: translateY(-1px); }
.opt-card.selected { border-color: var(--accent); background: rgba(251,191,36,0.05); box-shadow: 0 4px 16px rgba(251,191,36,0.12); }
.opt-card .icon { width: 28px; color: var(--accent); font-size: 20px; flex-shrink: 0; display: grid; place-items: center; }
.opt-card .label { flex: 1; }
.opt-card .radio {
  width: 22px; height: 22px; border: 2px solid var(--border); border-radius: 4px;
  flex-shrink: 0; transition: all 0.15s ease; display: grid; place-items: center;
}
.opt-card.selected .radio { background: var(--accent); border-color: var(--accent); }
.opt-card.selected .radio::after {
  content: ""; display: block; width: 6px; height: 11px;
  border: 2px solid #05091A; border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* ── Grid (2×2) ──────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }

.grid-card {
  display: flex; flex-direction: column; cursor: pointer; font-family: inherit;
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1.5px solid var(--border); transition: all 0.18s ease; box-shadow: var(--shadow-sm);
}
.grid-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(251,191,36,0.15); }
.grid-card.selected { border-color: var(--accent); box-shadow: var(--shadow-amber); }

.grid-card.image .top { background: #F1F5F9; padding: 24px 16px; display: grid; place-items: center; min-height: 100px; }
.grid-card.image .top .icon { font-size: 44px; }
.grid-card.image .bottom {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #05091A; padding: 14px 12px; min-height: 68px;
  display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.3;
}

.grid-card.solid {
  background: var(--card); padding: 22px 12px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-height: 150px; text-align: center; justify-content: center;
}
.grid-card.solid:hover { background: rgba(251,191,36,0.04); }
.grid-card.solid.selected { background: rgba(251,191,36,0.07); }
.grid-card.solid .icon { font-size: 38px; line-height: 1; }
.grid-card.solid .label { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--text); }

/* ── Inputs ──────────────────────────────────────────────── */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: 15px 16px 15px 44px; font-size: 16px; font-family: inherit;
  color: var(--text); border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--card); transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
textarea { padding: 15px 16px; min-height: 120px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(251,191,36,0.12); }
.input-wrap { position: relative; }
.input-wrap .input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; pointer-events: none; }

/* ── CTA Button ──────────────────────────────────────────── */
.btn {
  display: block; width: 100%; padding: 16px 24px; font-size: 16px; font-weight: 700;
  font-family: inherit; background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #05091A; border: none; border-radius: var(--radius); cursor: pointer;
  transition: all 0.18s ease; text-align: center; text-decoration: none;
  margin-top: 12px; letter-spacing: 0.01em; box-shadow: 0 4px 16px rgba(245,158,11,0.25);
}
.btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,158,11,0.35); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-secondary { background: transparent; color: var(--muted); font-size: 14px; padding: 10px; box-shadow: none; }
.btn-secondary:hover:not(:disabled) { color: var(--text); transform: none; box-shadow: none; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-fields { display: flex; flex-direction: column; gap: 12px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.consent label { cursor: pointer; }
.consent a { color: var(--text); }
.error { color: #dc2626; font-size: 14px; }

/* ── Trust ───────────────────────────────────────────────── */
.trust {
  text-align: center; margin-top: 20px; color: var(--muted); font-size: 13px; font-weight: 500;
  padding: 12px 16px; background: rgba(251,191,36,0.05);
  border: 1px solid rgba(251,191,36,0.15); border-radius: var(--radius);
}
.stars { font-size: 18px; letter-spacing: 2px; color: var(--accent); margin-bottom: 4px; }

/* ── Thanks ──────────────────────────────────────────────── */
.thanks-icon { font-size: 56px; text-align: center; margin-bottom: 4px; filter: drop-shadow(0 4px 12px rgba(251,191,36,0.3)); }

/* ── Footer ──────────────────────────────────────────────── */
.funnel-footer { text-align: center; padding-top: 40px; color: var(--muted); font-size: 12px; }
.funnel-footer a { color: var(--muted); text-decoration: none; }
.funnel-footer a:hover { color: var(--text); }

/* ── Slider ──────────────────────────────────────────────── */
.slider-wrap { padding: 16px 0; }
.slider-value { text-align: center; font-size: 44px; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
input[type="range"] { width: 100%; height: 6px; -webkit-appearance: none; background: var(--border); border-radius: 3px; outline: none; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px;
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  border-radius: 50%; cursor: pointer; box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; background: linear-gradient(135deg, #F59E0B, #FBBF24);
  border-radius: 50%; cursor: pointer; border: none;
}
.slider-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 520px) {
  .funnel { padding: 24px 16px 32px; }
  .grid-card.solid { min-height: 140px; padding: 18px 10px; }
  .grid-card.image .top { padding: 18px 12px; min-height: 86px; }
  .grid-card.image .top .icon { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
