/* Rosa Luxe — Beauty salon quiz landing */
:root {
  --rose: #c4707c;
  --rose-deep: #9e4f5c;
  --blush: #e8b4b8;
  --petal: #f3d4d6;
  --cream: #faf6f3;
  --ink: #2a2224;
  --muted: #6b5a5e;
  --sand: #e8ddd6;
  --gold: #b8956c;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(158, 79, 92, 0.12);
  --radius: 18px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Atmosphere */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(232, 180, 184, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 20%, rgba(184, 149, 108, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(243, 212, 214, 0.45), transparent 55%),
    linear-gradient(180deg, #faf6f3 0%, #f7efe9 100%);
}

.bg-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* Header */
.site-header {
  padding: 1.25rem 0;
  position: relative;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--rose-deep);
}

.logo span {
  font-weight: 400;
  color: var(--ink);
}

.header-note {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  padding: 2rem 0 3.5rem;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
  animation: rise 0.9s ease both;
}

.hero-brand em {
  font-style: italic;
  color: var(--rose-deep);
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--muted);
  max-width: 32ch;
  margin-bottom: 1.5rem;
  animation: rise 0.9s ease 0.12s both;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 38ch;
  margin-bottom: 2rem;
  animation: rise 0.9s ease 0.2s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  animation: rise 0.9s ease 0.28s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(158, 79, 92, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(158, 79, 92, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--rose-deep);
  border: 1.5px solid var(--blush);
  padding: 0.9rem 1.4rem;
}

.btn-ghost:hover {
  background: rgba(232, 180, 184, 0.25);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(196, 112, 124, 0.2);
  animation: rise 0.9s ease 0.36s both;
}

.trust-item {
  font-size: 0.85rem;
  color: var(--muted);
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}

/* Hero visual */
.hero-visual {
  position: relative;
  animation: fade-in 1.1s ease 0.2s both;
}

.visual-frame {
  position: relative;
  border-radius: 28px 28px 80px 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, rgba(42, 34, 36, 0.15), rgba(158, 79, 92, 0.35)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 1000'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23e8b4b8'/%3E%3Cstop offset='.5' stop-color='%23c4707c'/%3E%3Cstop offset='1' stop-color='%239e4f5c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='800' height='1000'/%3E%3Ccircle cx='400' cy='380' r='180' fill='%23faf6f3' opacity='.18'/%3E%3Ccircle cx='280' cy='620' r='120' fill='%23b8956c' opacity='.2'/%3E%3Cpath d='M200 900 Q400 700 600 900' stroke='%23faf6f3' stroke-width='2' fill='none' opacity='.3'/%3E%3C/svg%3E")
      center / cover;
  box-shadow: var(--shadow);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(250, 246, 243, 0.35), transparent 40%),
    linear-gradient(to top, rgba(42, 34, 36, 0.55), transparent 50%);
}

.visual-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  color: var(--white);
  z-index: 1;
}

.visual-caption p {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
}

.visual-caption span {
  font-size: 0.85rem;
  opacity: 0.85;
}

.orbit {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--rose-deep);
  line-height: 1.2;
  animation: float 5s ease-in-out infinite;
}

.orbit-1 {
  top: -12px;
  right: 8%;
  animation-delay: 0s;
}

.orbit-2 {
  bottom: 18%;
  left: -18px;
  animation-delay: 1.2s;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-text {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}

/* Value blocks */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(232, 180, 184, 0.45);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--blush);
  margin-bottom: 0.5rem;
}

.value h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Quiz */
.quiz-section {
  background: linear-gradient(180deg, transparent, rgba(232, 180, 184, 0.18), transparent);
}

.quiz-shell {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 180, 184, 0.5);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}

.quiz-progress {
  height: 4px;
  background: var(--petal);
}

.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blush), var(--rose-deep));
  transition: width 0.4s ease;
}

.quiz-body {
  padding: 2.25rem 2rem 2.5rem;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: grid;
  gap: 0.75rem;
}

.option {
  text-align: left;
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1.5px solid var(--sand);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.option:hover {
  border-color: var(--rose);
  background: #fff;
  transform: translateX(4px);
}

.option.selected {
  border-color: var(--rose-deep);
  background: rgba(232, 180, 184, 0.25);
  box-shadow: inset 0 0 0 1px var(--rose);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
}

.quiz-nav .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Result */
.result {
  display: none;
  text-align: center;
  animation: rise 0.6s ease both;
}

.result.active {
  display: block;
}

.result-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(232, 180, 184, 0.35);
  color: var(--rose-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.result h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.result p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 42ch;
  margin-inline: auto;
}

.result-list {
  text-align: left;
  max-width: 380px;
  margin: 0 auto 1.75rem;
  list-style: none;
}

.result-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.95rem;
  display: flex;
  gap: 0.6rem;
}

.result-list li::before {
  content: "✦";
  color: var(--gold);
}

.lead-form {
  display: grid;
  gap: 0.75rem;
  max-width: 380px;
  margin: 0 auto;
  text-align: left;
}

.lead-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--sand);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--rose);
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(184, 149, 108, 0.15);
  color: var(--ink);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
  animation: rise 0.4s ease both;
}

.quiz-panel.hidden {
  display: none;
}

/* Trust / social proof */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.proof-quote {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
}

.proof-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.proof-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.75;
}

.proof-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(232, 180, 184, 0.4);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--rose-deep);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  padding-bottom: 5rem;
}

.cta-box {
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    linear-gradient(135deg, rgba(158, 79, 92, 0.92), rgba(196, 112, 124, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(250, 246, 243, 0.25), transparent 45%);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.cta-box p {
  opacity: 0.9;
  max-width: 42ch;
  margin: 0 auto 1.5rem;
}

.cta-box .btn-primary {
  background: var(--white);
  color: var(--rose-deep);
  box-shadow: 0 10px 28px rgba(42, 34, 36, 0.2);
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(196, 112, 124, 0.2);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

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

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .values,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .orbit-2 {
    left: 0;
  }

  .visual-frame {
    aspect-ratio: 5 / 4;
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .quiz-body {
    padding: 1.5rem 1.15rem 1.75rem;
  }

  .proof-stats {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
