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

:root {
  --green: #1D9E75;
  --green-dark: #168a63;
  --green-light: #e8f7f2;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f5f7fa;
  --white: #ffffff;
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Progress Bar ── */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: white;
  padding: 14px 24px;
  display: none;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 0 var(--border);
}

.progress-container.visible {
  display: flex;
}

.progress-logo {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.progress-track {
  flex: 1;
  height: 5px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 99px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.progress-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* ── Main Container ── */
.outer {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
}

.card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
  padding: 48px 44px;
  width: 100%;
  max-width: 754px;
}

/* ── Steps ── */
.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeUp 0.32s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Landing / Forside ── */
.landing-logo {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 36px;
}

.landing-logo-img {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
  margin: 0 auto 36px;
}

.landing-headline {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.landing-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ── Step Header ── */
.step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.step-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.step-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.step-header {
  margin-bottom: 26px;
}

/* ── Inputs ── */
.field {
  margin-bottom: 12px;
}

.form-input,
.form-textarea {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color 0.18s;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--green);
}

.form-input.has-error,
.form-textarea.has-error {
  border-color: #ef4444;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.error-msg {
  font-size: 13px;
  color: #ef4444;
  font-weight: 500;
  margin-top: 7px;
  display: none;
}

.error-msg.show {
  display: block;
}

/* ── Radio Group ── */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  background: white;
  user-select: none;
  -webkit-user-select: none;
}

.radio-option:hover {
  border-color: var(--green);
  background: var(--green-light);
}

.radio-option.selected {
  border-color: var(--green);
  background: var(--green-light);
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s, background 0.18s;
}

.radio-option.selected .radio-dot {
  border-color: var(--green);
  background: var(--green);
}

.radio-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  opacity: 0;
  transition: opacity 0.18s;
}

.radio-option.selected .radio-dot::after {
  opacity: 1;
}

.radio-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s, box-shadow 0.18s, color 0.18s, border-color 0.18s;
  text-decoration: none;
}

.btn-primary {
  background: #37c760;
  color: white;
  padding: 13px 28px;
  font-size: 15px;
}

.btn-primary:hover {
  background: #2daa54;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 98, 26, 0.35);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary.btn-lg {
  padding: 15px 44px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-secondary {
  background: white;
  color: var(--text-muted);
  border: 2px solid var(--border);
  padding: 13px 22px;
  font-size: 15px;
}

.btn-secondary:hover {
  border-color: #9ca3af;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.nav.has-back {
  justify-content: space-between;
}

/* ── Thank You ── */
.thank-you {
  text-align: center;
  padding: 20px 0 10px;
}

.check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.thank-you h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.thank-you p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .card {
    padding: 32px 22px;
    border-radius: 12px;
    box-shadow: none;
    background: white;
  }

  .outer {
    padding: 72px 12px 24px;
  }

  .landing-headline {
    font-size: 20px;
  }

  .step-title {
    font-size: 18px;
  }

  .thank-you h2 {
    font-size: 22px;
  }
}
