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

:root {
  --navy: #0B1F3A;
  --navy-mid: #152d52;
  --gold: #C9A84C;
  --gold-light: #e8c97e;
  --gold-pale: #fdf6e3;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --text-dark: #0B1F3A;
  --text-mid: #3a4a5c;
  --text-muted: #7a8fa3;
  --border: rgba(11, 31, 58, 0.10);
  --shadow: 0 18px 40px rgba(11, 31, 58, 0.08);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.6;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(201, 168, 76, 0.10), transparent 28%),
    linear-gradient(135deg, #07172c 0%, #0B1F3A 58%, #10284a 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 168, 76, 0.55) 50%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 32px 74px;
}

.hero-copy h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.04;
  margin-bottom: 18px;
  color: var(--white);
  letter-spacing: -0.02em;
  max-width: 620px;
}

.hero-copy h1 span {
  color: var(--gold);
}

.badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-subtext {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 28px;
}

.hero-benefits {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-benefit {
  color: rgba(255, 255, 255, 0.90);
  font-size: 15px;
  font-weight: 500;
}

.hero-preview-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 490px;
  justify-self: end;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.preview-dot-group {
  display: flex;
  gap: 6px;
}

.preview-dot-group span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.preview-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  padding: 15px 17px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 92%;
}

.chat-bubble.user {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.94);
  align-self: flex-end;
  border-bottom-right-radius: 8px;
}

.chat-bubble.bot {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.95);
  align-self: flex-start;
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-bottom-left-radius: 8px;
}

.preview-footer {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  letter-spacing: 0.03em;
}

.progress-bar-wrap {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  height: 4px;
  max-width: 420px;
  margin-top: 8px;
}

.progress-bar-fill {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  transition: width 0.3s ease;
}

.progress-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
  margin-top: 10px;
}

.benefit-strip {
  max-width: 1180px;
  margin: -24px auto 28px;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.benefit-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.benefit-item {
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  text-align: center;
}

.benefit-item strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 6px;
}

.benefit-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.form-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 24px 90px;
}

.section {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(11, 31, 58, 0.12);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), #e7c976);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-pale);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.field-group {
  margin-bottom: 20px;
}

.field-group:last-child {
  margin-bottom: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-dark);
}

.req {
  color: var(--gold);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(11, 31, 58, 0.16);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #98a7b6;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
  background: #fffefb;
}

textarea {
  resize: vertical;
  min-height: 96px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B1F3A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.radio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.package-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.radio-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
  transition: all 0.18s ease;
  user-select: none;
}

.radio-card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.card-emoji {
  font-size: 20px;
  display: block;
  margin-bottom: 6px;
}

.radio-card small {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
  color: inherit;
  opacity: 0.85;
}

.radio-cards input:checked + .radio-card {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.submit-area {
  text-align: center;
  margin-top: 38px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 18px 44px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.20);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  background: var(--navy-mid);
  box-shadow: 0 18px 38px rgba(11, 31, 58, 0.24);
}

.submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.submit-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.next-step-box {
  max-width: 720px;
  margin: 18px auto 0;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
}

.next-step-box strong {
  display: block;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 14px;
}

.next-step-box p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.success-screen {
  display: none;
  text-align: center;
  padding: 60px 32px;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 28px;
}

.success-screen h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
}

.success-screen p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.footer strong {
  color: var(--navy);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 72px 24px 58px;
  }

  .hero-preview-card {
    justify-self: stretch;
    max-width: 100%;
  }

  .benefit-strip-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .benefit-strip-inner {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 24px;
  }

  .form-wrap {
    padding: 20px 16px 70px;
  }

  .hero-grid {
    padding: 64px 18px 52px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero-subtext {
    font-size: 16px;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
    padding: 17px 22px;
  }
}