/* AXD Funnel — shared styles, matches base.html */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #1A1A2E;
  --navy-light: #222240;
  --gold: #C9A84C;
  --gold-light: #D4B85E;
  --white: #F5F5F0;
  --gray: #A0A0A0;
  --text: #E8E8E8;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,26,46,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 0.75rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; font-size: 1.4rem; color: var(--gold);
  text-decoration: none; letter-spacing: 0.05em;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: var(--gray); text-decoration: none; font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.03em; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 0.5rem 1.2rem !important; border-radius: 4px;
  font-weight: 600 !important;
}
@media (max-width: 720px) {
  nav { padding: 0.6rem 1rem; }
  .nav-links { gap: 0.8rem; }
  .nav-links a:not(.nav-cta) { display:none; }
}

.funnel-wrap {
  max-width: 720px; margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
}
.funnel-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.8rem;
}
.funnel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700;
  color: var(--white); line-height: 1.1; margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.funnel-lede {
  color: var(--gray); font-size: 1.05rem; max-width: 580px; margin-bottom: 2.5rem;
}
.funnel-progress {
  display: flex; gap: 0.4rem; margin-bottom: 2.5rem;
}
.funnel-progress-step {
  flex: 1; height: 3px; background: rgba(201,168,76,0.15);
  border-radius: 2px; transition: background 0.35s ease;
}
.funnel-progress-step.active { background: var(--gold); }

.step { display: none; }
.step.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from {opacity:0; transform: translateY(8px);} to {opacity:1; transform: translateY(0);} }

.step-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; color: var(--white); font-weight: 600;
  line-height: 1.2; margin-bottom: 1.5rem;
}
.step-help { color: var(--gray); font-size: 0.92rem; margin-bottom: 1.5rem; }

.options { display: grid; gap: 0.6rem; }
.opt {
  background: var(--navy-light);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 6px; padding: 1.1rem 1.3rem;
  cursor: pointer; transition: all 0.25s;
  color: var(--text); font-size: 1rem;
  text-align: left; width: 100%; font-family: inherit;
  display: flex; align-items: center; gap: 0.8rem;
}
.opt:hover { border-color: var(--gold); transform: translateX(2px); }
.opt.selected { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.opt-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4); flex-shrink: 0;
  position: relative;
}
.opt.selected .opt-radio {
  border-color: var(--gold);
  background: var(--gold);
}
.opt.selected .opt-radio::after {
  content:''; position:absolute; inset:4px; background: var(--navy); border-radius:50%;
}

.text-input, textarea {
  width: 100%; background: var(--navy-light);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 6px; padding: 1rem 1.2rem;
  color: var(--text); font-size: 1rem; font-family: inherit;
  transition: border 0.25s; margin-bottom: 0.8rem;
}
.text-input:focus, textarea:focus {
  outline: none; border-color: var(--gold);
}
textarea { min-height: 100px; resize: vertical; }

.actions {
  display: flex; gap: 0.8rem; margin-top: 2rem;
  align-items: center; justify-content: space-between;
}
.btn {
  background: var(--gold); color: var(--navy);
  border: none; padding: 0.95rem 2rem;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em;
  border-radius: 4px; cursor: pointer;
  font-family: inherit; transition: all 0.2s;
}
.btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn-back {
  background: transparent; color: var(--gray);
  border: 1px solid rgba(160,160,160,0.2);
}
.btn-back:hover { color: var(--gold); border-color: var(--gold); background: transparent; transform: none; }

.success {
  display: none; text-align: center; padding: 2rem 0;
}
.success.active { display: block; animation: fadeIn 0.4s ease; }
.success-icon {
  width: 64px; height: 64px; margin: 0 auto 1.5rem;
  border-radius: 50%; background: rgba(201,168,76,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 28px;
}
.success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; color: var(--white); margin-bottom: 0.6rem;
}
.success-text { color: var(--gray); max-width: 480px; margin: 0 auto 2rem; }

.error-msg {
  color: #FF8A7A; font-size: 0.9rem; margin-top: 0.6rem;
  display: none;
}
.error-msg.show { display: block; }

.privacy-note {
  margin-top: 1.5rem; font-size: 0.78rem; color: var(--gray);
  line-height: 1.55;
}
.privacy-note a { color: var(--gold); text-decoration: none; border-bottom: 1px dotted; }

.funnel-footer {
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 2rem 1.5rem; text-align: center;
  color: var(--gray); font-size: 0.78rem;
}
.funnel-footer a {
  color: var(--gray); text-decoration: none; margin: 0 0.6rem;
  border-bottom: 1px dotted rgba(201,168,76,0.2);
  transition: color 0.2s;
}
.funnel-footer a:hover { color: var(--gold); }
