
:root {
  --gold: #d4af37;
  --gold-soft: #e0c066;
  --blue: #007bff;
  --dark: #0b0b0f;
  --card: rgba(10, 10, 14, 0.75);
  --text: #f5f5f5;
  --muted: #b8b8c2;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--dark);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 12, 15, 0.6), rgba(6, 6, 8, 0.85)),
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.12), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(0, 123, 255, 0.12), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.05), transparent 38%);
  background-blend-mode: overlay, screen, screen, normal;
  z-index: -1;
}

.background-overlay {
  position: fixed;
  inset: 0;
  background: url('../img/marble-background.png') center/cover no-repeat;
  opacity: 0.65;
  z-index: -2;
  filter: brightness(60%);
}

.progress-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.7);
  transition: width 0.35s ease;
}

.hero {
  display: flex;
  justify-content: center;
  padding: 48px 16px 16px;
  text-align: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  width: min(312px, 48vw);
  height: auto;
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.6));
}

.container {
  width: min(960px, 90%);
  margin: 0 auto 80px;
  background: linear-gradient(135deg, rgba(15, 15, 22, 0.75), rgba(10, 10, 14, 0.55));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px clamp(16px, 4vw, 56px) 44px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
}

.step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

h1, h2 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  color: var(--gold);
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
}

h1 {
  font-size: clamp(32px, 4vw, 44px);
  text-align: center;
}

h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.subtitle {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}

.muted {
  color: var(--muted);
  margin-bottom: 16px;
}

.highlight {
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
}

.spaced {
  line-height: 1.6;
}

.center {
  text-align: center;
}

.gold {
  color: var(--gold);
  text-align: center;
}

.options-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 22px 0 12px;
  justify-items: stretch;
  grid-auto-rows: 1fr;
}

.options-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.options-grid.force-two {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.options-grid.force-two .option:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 520px;
  justify-self: center;
}

.option {
  border-radius: 14px;
  border: 1.5px solid var(--gold);
  background: rgba(5, 5, 8, 0.65);
  color: var(--text);
  padding: 16px 18px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  min-height: 68px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: balance;
}

.option.filled {
  border-color: rgba(0, 123, 255, 0.5);
  background: rgba(0, 123, 255, 0.12);
}

.option:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.option.selected {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(0, 123, 255, 0.18));
  border-color: var(--gold);
  color: #fffaf0;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35), inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.btn {
  border: none;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), #0c4cac);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.45);
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
}

.input option {
  background: #0b0b0f;
  color: var(--text);
}

.input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.input.error {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.35);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 16px;
  margin: 14px 0;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 14px;
  color: var(--text);
  opacity: 0.9;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 6px 0;
  color: var(--muted);
}

.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.checkbox.required span {
  color: var(--text);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px auto 16px;
  max-width: 640px;
  color: var(--text);
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 26px;
}

.checklist li::before {
  content: '?';
  position: absolute;
  left: 8px;
  color: var(--gold);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 24px 12px 42px;
  font-size: 14px;
}

.footer .contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: center;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  color: var(--text);
}

.contact-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-link:hover {
  border-color: rgba(0, 123, 255, 0.6);
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.25);
}

.contact-icon {
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 900px) {
  .options-grid.force-two {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 600px) {
  .logo {
    flex-direction: column;
  }

  .container {
    padding: 24px 16px 32px;
  }

  .options-grid,
  .options-grid.force-two,
  .options-grid.compact {
    grid-template-columns: 1fr;
  }

  .options-grid.force-two .option:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
}
