/* ─── CSS VARIABLES ─── */
:root {
  --gold: #c9a96e;
  --gold-light: #e8d5a3;
  --ink: #0c1118;
  --ink-mid: #161e2a;
  --ink-soft: #1f2d3d;
  --text: #d6cfc4;
  --text-muted: #7a8fa6;
  --accent: #4a6fa5;
  --border: rgba(201,169,110,0.15);
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── GRAIN OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ─── BACKGROUND ─── */
.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(74,111,165,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(201,169,110,0.08) 0%, transparent 55%),
    var(--ink);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1060px;
  margin: auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── HEADER ─── */
header {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  text-decoration: none;
}

.header-badge {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
}

/* ─── HERO ─── */
.hero {
  padding: 90px 0 30px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 300;
  line-height: 1.15;
  color: #f0e9de;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-body {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.85;
  color: #9aabbf;
  font-weight: 300;
}

.hero-body strong {
  color: var(--text);
  font-weight: 500;
}

/* ─── MODULES STRIP ─── */
.modules-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 70px;
}

.module-tag {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold);
  background: rgba(201,169,110,0.04);
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-tag span { font-size: 14px; }

/* ─── PILLARS ─── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 2fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 90px;
}

.pillar {
  background: var(--ink-mid);
  padding: 40px 36px;
  transition: background 0.3s;
}

.pillar:hover { background: var(--ink-soft); }

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 20px;
}

.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: #f0e9de;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.pillar p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  font-weight: 300;
}

/* ─── FORM SECTION ─── */
.form-section {
  margin-bottom: 0px;
}

.section-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  color: #f0e9de;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
}

.form-box {
  background: var(--ink-mid);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 44px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

/* STEPS */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.step-item.active { color: var(--gold); }

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: 1px solid var(--text-muted);
  flex-shrink: 0;
}

.step-item.active .step-dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(201,169,110,0.5);
}

.step-line {
  width: 28px;
  height: 1px;
  background: var(--border);
}

/* FORM PARTS */
.form-part {
  display: none;
}
.form-part.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity:0; transform:translateY(10px); }
  to { opacity:1; transform:translateY(0); }
}

.form-part-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: #f0e9de;
  margin-bottom: 6px;
}

.form-part-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 300;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

input, select, textarea {
  font-family: 'DM Sans', sans-serif;
  padding: 14px 16px;
  background: rgba(12,17,24,0.8);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  color: #e8e0d4;
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(201,169,110,0.4);
}

select option { background: #161e2a; }

/* RADIO CARDS */
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.radio-card {
  position: relative;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
}

.radio-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 14px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  background: rgba(12,17,24,0.8);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s;
  text-align: center;
  height: 114px;
  line-height: 1.4;
}

.radio-card label span.icon {
  font-size: 22px;
  line-height: 1;
}

.radio-card input[type="radio"]:checked + label {
  border-color: rgba(201,169,110,0.5);
  background: rgba(201,169,110,0.07);
  color: var(--gold-light);
}

.radio-card label:hover {
  border-color: rgba(201,169,110,0.3);
  color: var(--text);
}

/* TEXTAREA */
textarea {
  resize: vertical;
  min-height: 100px;
}

/* BUTTONS */
.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: space-between;
  align-items: center;
}

.btn-back {
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: 0.2s;
}

.btn-back:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}

.btn-next {
  flex: 1;
  padding: 18px;
  background: linear-gradient(135deg, #c9a96e, #e8d5a3);
  border: none;
  border-radius: 12px;
  color: #0c1118;
  font-size: 16px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.3s;
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,169,110,0.25);
}

.btn-next.final {
  background: linear-gradient(135deg, #c9a96e 0%, #e8d5a3 50%, #c9a96e 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* PRIVACY NOTE */
.privacy-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 32px 0 60px;
  margin-top: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-icon {
  font-size: 16px;
  opacity: 0.7;
}

/* LOADING */
#loadingOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12,17,24,0.97);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
#loadingOverlay.active { display: flex; }

.spinner {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(201,169,110,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--text);
}

.loading-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── FOOTER ─── */
footer {
  background: var(--ink-mid);
  border-top: 1px solid var(--border);
  padding: 0 0 40px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 16px;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ─── LEGAL PAGES ─── */
.legal-hero {
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

.legal-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  color: #f0e9de;
  margin-bottom: 12px;
}

.legal-hero p {
  color: var(--text-muted);
  font-size: 15px;
}

.legal-content {
  max-width: 780px;
  padding-bottom: 80px;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-section h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin: 20px 0 10px;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-section ul li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--gold);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* Contact form */
.contact-form {
  background: var(--ink-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin-top: 40px;
}

.contact-form .field {
  margin-bottom: 20px;
}

.contact-form .field label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-form button[type="submit"] {
  padding: 16px 40px;
  background: linear-gradient(135deg, #c9a96e, #e8d5a3);
  border: none;
  border-radius: 10px;
  color: #0c1118;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201,169,110,0.25);
}

/* ─── SOCIAL PROOF ─── */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-proof-avatars {
  display: flex;
  flex-shrink: 0;
}

.social-proof-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #1a2535;
  margin-left: -8px;
  object-fit: cover;
}

.social-proof-avatars img:first-child {
  margin-left: 0;
}

.social-proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.social-proof-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-proof-stars {
  color: #f5c518;
  font-size: 15px;
  letter-spacing: 1px;
}

.social-proof-score {
  color: #f5c518;
  font-weight: 700;
  font-size: 14px;
}

.social-proof-label {
  color: var(--text-muted);
  font-size: 13px;
}

.social-proof-sub {
  color: var(--text-muted);
  font-size: 12px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .form-box { padding: 32px 24px; }
  .hero { padding: 60px 0 0; }
  .legal-hero { padding: 50px 0 36px; }
  .contact-form { padding: 28px 20px; }
.trust-bar {
display: flex;
        display: flex;
        justify-content: left;
        gap: 0;
        flex-wrap: wrap;
        padding: 32px 0 60px;
        margin-top: 20px;
}
  /* hero-body: center on desktop, left-align on mobile */
  .hero-body {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  /* pillars: single column, no overflow */
  .pillars {
    grid-template-columns: 1fr;
    overflow: visible;
    border-radius: 12px;
  }

  .pillar {
    padding: 28px 20px;
  }

  /* form steps: wrap tightly, smaller text */
  .form-steps {
    gap: 4px;
    justify-content: flex-start;
  }

  .step-item {
    font-size: 11px;
  }

  .step-line {
    width: 16px;
  }

  /* social proof: stack vertically on very small screens */
  .social-proof {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .social-proof-text {
    text-align: center;
  }

  .social-proof-rating {
    justify-content: center;
  }
}
