:root {
  --bg-cream: #FFFFFF;
  --bg-offwhite: #F2F8FB;
  --bg-pink-soft: #FDF2F5;
  --text-dark: #18232C;
  --text-medium: #455667;
  --accent-color: #D85A7B;
  --accent-hover: #BF4464;
  --accent-blue: #1C819C;
  --accent-blue-hover: #14687E;
  --wa-green: #1FAF54;
  --wa-green-hover: #179444;
  --border-soft: #E2ECF2;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(28, 129, 156, 0.06);
  --shadow-md: 0 12px 32px rgba(24, 35, 44, 0.08);
  --shadow-pink: 0 14px 30px rgba(216, 90, 123, 0.22);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

mark {
  background: linear-gradient(120deg, #FDE2EB 0%, #D4EEF7 100%);
  color: inherit;
  padding: 0 6px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-dark);
}

/* Topbar */
.topbar {
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1;
}

.brand-role {
  font-size: 12px;
  color: var(--text-medium);
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-offwhite);
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.topbar-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
}

/* Screens */
.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: fadeIn 0.28s ease;
}

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

.hidden {
  display: none !important;
}

/* Hero */
#step-hero {
  padding: 42px 0 64px;
  background: radial-gradient(circle at top right, #FDF2F5 0%, #FFFFFF 55%, #F2F8FB 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pink-soft);
  color: var(--accent-color);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 22px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--text-dark);
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E4F4F8;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-color);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-pink);
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.micro-trust {
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 10px;
}

.profile-preview-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.hero-portrait {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 14px;
}

.hero-stats .stat strong {
  display: block;
  font-size: 17px;
  color: var(--accent-blue);
}

.hero-stats .stat span {
  font-size: 12px;
  color: var(--text-medium);
}

.hero-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--text-medium);
}

/* Quiz */
#step-quiz {
  padding: 40px 0 80px;
  min-height: 75vh;
  background: var(--bg-offwhite);
}

.quiz-container {
  max-width: 680px;
}

.quiz-progress-wrap {
  margin-bottom: 18px;
}

.quiz-progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 6px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: #DCEAF0;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-color));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.mirror-banner {
  background: #FFF7FA;
  border-left: 4px solid var(--accent-color);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.quiz-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
}

.quiz-question {
  font-size: clamp(22px, 3vw, 27px);
  margin-bottom: 8px;
}

.quiz-hint {
  font-size: 14.5px;
  color: var(--text-medium);
  margin-bottom: 22px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  text-align: left;
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.15s ease;
}

.quiz-option:hover {
  border-color: var(--accent-color);
  background: var(--bg-pink-soft);
  transform: translateX(3px);
}

.quiz-option .opt-arrow {
  color: var(--accent-color);
  font-weight: 700;
  opacity: 0.7;
}

.quiz-nav {
  margin-top: 22px;
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-medium);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 2px;
}

.btn-ghost:hover {
  color: var(--text-dark);
}

/* Opt-in */
#step-optin {
  padding: 50px 0 80px;
  min-height: 75vh;
  background: var(--bg-offwhite);
}

.optin-container {
  max-width: 560px;
}

.analyzing-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #E2ECF2;
  border-top-color: var(--accent-color);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: spin 0.8s linear infinite;
}

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

.optin-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
}

.optin-card h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.optin-sub {
  font-size: 15.5px;
  color: var(--text-medium);
  margin-bottom: 22px;
}

.optin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  font-size: 15.5px;
  font-family: var(--font-body);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-medium);
  cursor: pointer;
}

.form-error {
  color: #C53030;
  font-size: 13.5px;
  font-weight: 600;
}

/* Result Page */
.result-hero {
  background: linear-gradient(180deg, #F2F8FB 0%, #FFFFFF 100%);
  padding: 46px 0 56px;
  border-bottom: 1px solid var(--border-soft);
}

.res-title {
  font-size: clamp(28px, 3.8vw, 40px);
  margin-bottom: 12px;
}

.res-intro {
  font-size: 17.5px;
  color: var(--text-medium);
  max-width: 780px;
  margin-bottom: 28px;
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.diag-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.diag-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.diag-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.diag-card p {
  font-size: 14.5px;
  color: var(--text-medium);
}

.risk-card {
  border-color: #F6CBD7;
  background: #FFF9FB;
}

.risk-score-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.risk-score-row strong {
  font-size: 32px;
  color: var(--accent-color);
  font-family: var(--font-heading);
}

.risk-badge {
  background: #FDE2EB;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.risk-bar-track {
  width: 100%;
  height: 10px;
  background: #F3DCE4;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.risk-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #E889A2, #C23B60);
  border-radius: 999px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--bg-offwhite);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 10px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.split-text h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 16px;
}

.split-text p {
  margin-bottom: 14px;
  color: var(--text-medium);
}

.highlight-box {
  background: #fff;
  border-left: 4px solid var(--accent-blue);
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 15.5px;
}

.feature-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Booking Box */
.section-cta-block {
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF2F5 100%);
}

.booking-box {
  background: #fff;
  border: 2px solid #F3DCE4;
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.booking-box h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 14px;
}

.booking-lead {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--text-medium);
  font-size: 17px;
}

.frame-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
  margin-bottom: 30px;
}

.frame-col {
  padding: 20px;
  border-radius: var(--radius-md);
}

.frame-no {
  background: #FFF5F5;
  border: 1px solid #FED7D7;
}

.frame-yes {
  background: #F0FBF4;
  border: 1px solid #C6F6D5;
}

.frame-col h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.frame-col ul {
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--wa-green);
  color: #fff;
  font-weight: 700;
  font-size: 17.5px;
  padding: 18px 30px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(31, 175, 84, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-whatsapp:hover {
  background: var(--wa-green-hover);
  transform: translateY(-2px);
}

/* Bio & Testimonials */
.bio-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 44px;
}

.bio-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.bio-role {
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.bio-grid p {
  color: var(--text-medium);
  margin-bottom: 10px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testi-card {
  background: var(--bg-offwhite);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border-soft);
}

.stars {
  color: #E59819;
  margin-bottom: 8px;
}

.testi-card p {
  font-size: 14.5px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

/* FAQ */
.faq-container {
  max-width: 760px;
}

.faq-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 28px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 14px;
}

.faq-item h4 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 14.5px;
  color: var(--text-medium);
}

.final-cta-center {
  text-align: center;
  margin-top: 32px;
}

/* Footer */
.footer {
  background: #0D1B2A;
  color: #CBD5E1;
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
}

.disclaimer {
  margin-top: 8px;
  font-size: 11.5px;
  color: #94A3B8;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .diagnosis-grid,
  .split-grid,
  .frame-grid,
  .bio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: 2;
  }

  .booking-box {
    padding: 28px 18px;
  }

  .btn-whatsapp {
    font-size: 15.5px;
    padding: 16px 20px;
    width: 100%;
  }

  .topbar-badge {
    display: none;
  }
}
