/* style.css — Her Voice */

:root {
  --pink: #FF1493;
  --pink-deep: #C71585;
  --pink-soft: #FFF0F6;
  --dark: #0A0A0A;
  --dark-surface: #141414;
  --dark-border: rgba(255, 255, 255, 0.07);
  --warm: #F7F3F0;
  --cream: #FAFAF8;
  --charcoal: #111;
  --muted: #888;
  --white: #fff;
  --border: rgba(0, 0, 0, 0.06);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
  --shadow-pink: 0 20px 48px -12px rgba(255, 20, 147, 0.2);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(255, 20, 147, 0.18);
  color: var(--charcoal);
}

.hero ::selection,
.section--dark ::selection,
.final-cta__box ::selection {
  background: rgba(255, 20, 147, 0.3);
  color: #fff;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

/* ——— Nav ——— */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.5s ease, border-color 0.5s ease;
}

/* On dark-hero pages, nav starts transparent */
.has-dark-hero .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.has-dark-hero .nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.nav__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  transition: color 0.5s ease;
}

.has-dark-hero .nav__wordmark { color: #fff; }
.has-dark-hero .nav--scrolled .nav__wordmark { color: var(--charcoal); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav__link:hover { color: var(--charcoal); }

.has-dark-hero .nav__link { color: rgba(255, 255, 255, 0.65); }
.has-dark-hero .nav__link:hover { color: #fff; }
.has-dark-hero .nav--scrolled .nav__link { color: var(--muted); }
.has-dark-hero .nav--scrolled .nav__link:hover { color: var(--charcoal); }

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Pink — for light backgrounds */
.btn--pink {
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 16px 40px -10px rgba(255, 20, 147, 0.35);
}

.btn--pink:hover {
  box-shadow: 0 20px 48px -8px rgba(255, 20, 147, 0.45);
}

/* Outline — for light backgrounds */
.btn--outline {
  color: var(--charcoal);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: var(--white);
}

.btn--outline:hover {
  border-color: rgba(255, 20, 147, 0.3);
  box-shadow: 0 12px 32px -8px rgba(255, 20, 147, 0.12);
}

/* White — for dark backgrounds */
.btn--white {
  color: var(--pink);
  background: var(--white);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

.btn--white:hover {
  box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.35);
}

/* Ghost — for dark backgrounds */
.btn--ghost {
  color: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.3);
}

.btn--sm {
  height: 42px;
  padding: 0 20px;
  font-size: 13px;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ——— Hero ——— */

.hero {
  position: relative;
  padding: 164px 0 140px;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

/* Animated glow orbs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Main center glow */
.hero::before {
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(255, 20, 147, 0.22) 0%, rgba(255, 20, 147, 0.06) 45%, transparent 70%);
  filter: blur(60px);
  animation: glow-pulse 7s ease-in-out infinite;
}

/* Secondary offset glow */
.hero::after {
  width: 380px;
  height: 380px;
  top: 15%;
  right: 12%;
  background: radial-gradient(circle, rgba(199, 21, 133, 0.15) 0%, transparent 70%);
  filter: blur(50px);
  animation: glow-drift 10s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -55%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -55%) scale(1.15); }
}

@keyframes glow-drift {
  0%, 100% { opacity: 0.4; transform: translate(0, 0); }
  33% { opacity: 0.7; transform: translate(-20px, 15px); }
  66% { opacity: 0.5; transform: translate(15px, -10px); }
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  margin-bottom: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255, 20, 147, 0.6);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(255, 20, 147, 0.6); }
  50% { opacity: 0.5; box-shadow: 0 0 4px rgba(255, 20, 147, 0.3); }
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-shadow: 0 0 80px rgba(255, 20, 147, 0.12);
}

.hero__sub {
  max-width: 500px;
  margin: 28px auto 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}

.hero__meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

/* ——— Section basics ——— */

.section { padding: 100px 0; }

.section__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section__label {
  display: inline-block;
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.section__sub {
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--muted);
}

/* ——— Feature grid ——— */

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

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 20, 147, 0.12);
  box-shadow: var(--shadow-pink);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--pink-soft);
  font-size: 24px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ——— Steps ——— */

.section--warm {
  background: var(--warm);
}

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

.step {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ——— Pricing ——— */

.section--dark {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

/* Subtle glow in dark sections */
.section--dark::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: 0;
  left: 50%;
  transform: translate(-50%, -40%);
  background: radial-gradient(circle, rgba(255, 20, 147, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.section--dark > .container {
  position: relative;
  z-index: 2;
}

.section--dark .section__label { color: rgba(255, 20, 147, 0.8); }
.section--dark h2 { color: #fff; }
.section--dark .section__sub { color: rgba(255, 255, 255, 0.45); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.price-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
}

.price-card--free {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
}

.price-card--paid {
  background: linear-gradient(160deg, rgba(255, 20, 147, 0.12) 0%, var(--dark-surface) 100%);
  border: 1px solid rgba(255, 20, 147, 0.2);
}

.price-card__label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}

.price-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
}

.price-card p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 15px;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.price-list li + li { margin-top: 12px; }

.price-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

.pricing-cta {
  text-align: center;
  margin-top: 40px;
}

/* ——— FAQ ——— */

.faq-list { max-width: 680px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-item summary:hover { color: var(--pink); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--pink);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  padding-right: 40px;
}

/* ——— Final CTA ——— */

.final-cta { padding: 0 0 100px; }

.final-cta__box {
  text-align: center;
  padding: 72px 40px;
  border-radius: 32px;
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Glow in CTA box */
.final-cta__box::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255, 20, 147, 0.18) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.final-cta__box > * {
  position: relative;
  z-index: 2;
}

.final-cta__box .section__label { color: var(--pink); }
.final-cta__box h2 { color: var(--white); }

.final-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ——— Footer ——— */

.footer {
  padding: 44px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.footer__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.footer__copy {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__link {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer__link:hover { color: var(--charcoal); }

/* ——— Reveal animations ——— */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ——— Legal pages ——— */

.legal-shell {
  padding: 44px;
  margin: 100px auto 72px;
  max-width: 920px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
}

.legal-shell h1, .legal-shell h2 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.legal-shell h1 { margin: 0; font-size: clamp(3rem, 6vw, 4.5rem); }
.legal-shell h2 { margin: 30px 0 12px; font-size: 30px; }
.legal-shell p, .legal-shell li { color: var(--muted); }
.legal-shell ul { margin: 0; padding-left: 18px; }

.legal-shell .effective-date {
  margin-top: 10px;
  color: var(--pink);
  font-weight: 600;
}

.legal-shell__lede {
  margin-top: 22px;
  max-width: 720px;
  font-size: 18px;
}

.legal-callout {
  padding: 20px 22px;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 20, 147, 0.12);
  background: var(--pink-soft);
}

.legal-callout p { margin: 0; }

/* ——— Responsive ——— */

@media (max-width: 980px) {
  .features, .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, 1120px); }

  .nav__links { gap: 16px; }

  .hero { padding: 130px 0 100px; }

  .hero::before { width: 350px; height: 350px; }
  .hero::after { width: 200px; height: 200px; top: 10%; right: 5%; }

  .section { padding: 72px 0; }

  h1 { font-size: clamp(2.8rem, 11vw, 4rem); }

  .hero__sub { font-size: 15px; }
  .hero__meta { font-size: 12px; gap: 16px; }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas .btn { width: 100%; max-width: 320px; }

  .feature-card, .step, .price-card { padding: 28px 20px; }

  .final-cta__box { padding: 48px 24px; border-radius: 24px; }

  .final-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .final-cta__actions .btn { width: 100%; max-width: 320px; }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__links { gap: 16px; flex-wrap: wrap; }

  .legal-shell { padding: 28px 20px; margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero__badge-dot {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
