:root {
  --bg: #0b0d12;
  --card: #141925;
  --text: #f7f6f3;
  --muted: #acb2bf;
  --accent: #d4af37;
  --accent-soft: rgba(212, 175, 55, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: url("/static/images/step-1-exterior.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.78) contrast(1.05) brightness(0.52) sepia(0.1) hue-rotate(-2deg);
  transform: scale(1.02);
  transition: background-image 320ms ease-in-out;
}

.page-bg.step-1 {
  filter: saturate(0.82) contrast(1.08) brightness(0.54) sepia(0.08) hue-rotate(-4deg);
}

.page-bg.step-2 {
  filter: saturate(0.76) contrast(1.07) brightness(0.5) sepia(0.1) hue-rotate(-2deg);
}

.page-bg.step-3 {
  filter: saturate(0.74) contrast(1.06) brightness(0.5) sepia(0.12) hue-rotate(-5deg);
}

.page-bg.step-4 {
  filter: saturate(0.72) contrast(1.05) brightness(0.5) sepia(0.12) hue-rotate(-6deg);
}

.page-bg.step-5 {
  filter: saturate(0.8) contrast(1.08) brightness(0.48) sepia(0.09) hue-rotate(-3deg);
}

.page-vignette {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 5% 0%, rgba(212, 175, 55, 0.28), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(27, 48, 83, 0.34), transparent 32%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.45) 0%, rgba(7, 9, 13, 0.84) 100%);
}

.app {
  max-width: 540px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #f5dd86;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 12px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.18;
}

.subtitle {
  margin: 0 0 20px;
  color: var(--muted);
}

.card {
  background: linear-gradient(180deg, rgba(25, 31, 45, 0.86) 0%, rgba(20, 25, 37, 0.92) 100%);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  padding: 20px;
}

.step-title {
  font-weight: 700;
  margin-bottom: 16px;
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #101624;
  color: var(--text);
  padding: 13px 14px;
  border-radius: 12px;
  text-align: left;
}

.option:hover,
.option:active {
  border-color: var(--accent);
  background: #181f2f;
}

.progress-wrap {
  margin-top: 14px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #242938;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #f0d57f 0%, var(--accent) 100%);
  transition: width 220ms ease;
}

.progress-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.lead-form {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, rgba(21, 27, 41, 0.9) 0%, rgba(18, 23, 35, 0.93) 100%);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 14px;
}

.lead-form h2 {
  margin: 0 0 2px;
  font-size: 20px;
}

.contact-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-method {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #111725;
  color: #e8ebf5;
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
}

.contact-method.active {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.15);
  color: #f6df8d;
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #101523;
  color: var(--text);
}

.cta {
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  background: linear-gradient(90deg, #f3da87 0%, var(--accent) 100%);
  color: #1d1500;
}

.success {
  margin-top: 20px;
  background: #121a29;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  padding: 14px;
}

.hidden {
  display: none;
}
