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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: #ffffff;
  min-height: 100vh;
}

.app {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.funnel-card {
  width: 100%;
  max-width: 520px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.funnel-header {
  margin-bottom: 24px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #38bdf8;
  margin-bottom: 10px;
}

.funnel-header h1 {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #ffffff;
}

.subtext {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.progress-wrapper {
  margin-bottom: 26px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.steps-container {
  position: relative;
}

.step {
  display: block;
}

.hidden {
  display: none;
}

.step h2 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #ffffff;
}

.step-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 22px;
}

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #e2e8f0;
  font-weight: 600;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.input-group input:focus {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.08);
}

.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(90deg, #0ea5e9 0%, #2563eb 100%);
  color: #ffffff;
  flex: 1;
}

.btn-primary:hover {
  opacity: 0.95;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  flex: 1;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.result-number {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: #38bdf8;
  margin-bottom: 14px;
}

.result-summary {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
}

.result-summary p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 8px;
}

.result-summary p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .app {
    padding: 14px;
  }

  .funnel-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .funnel-header h1 {
    font-size: 26px;
  }

  .step h2 {
    font-size: 22px;
  }

  .result-number {
    font-size: 36px;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}