/* HormoneWise Marketing Site — style.css */

:root {
  --rose-deep: #C44D82;
  --rose-pink: #E87BAF;
  --rose-light: #F5D0E0;
  --plum: #8C4794;
  --plum-light: #B87FC0;
  --menopause-warm: #D98C59;
  --menopause-amber: #E8A84C;
  --success: #40B86B;
  --warning: #EBB333;

  --bg-warm: #FDF8FA;
  --bg-blush: #FBF0F4;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFF5F9;
  --text-primary: #1A1118;
  --text-secondary: #6B5A63;
  --text-tertiary: #A6949D;

  --radius: 14px;
  --radius-lg: 20px;
  --font-stack: -apple-system, 'SF Pro Display', 'SF Pro Text', system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  background: var(--bg-warm);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--rose-deep);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--plum);
}

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

/* --- Layout --- */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* --- Navigation --- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 250, 0.88);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 77, 130, 0.1);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--rose-deep);
}

/* --- Hero --- */

.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-blush) 0%, var(--bg-warm) 100%);
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(196, 77, 130, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--rose-deep), var(--plum));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.hero .subtitle {
  font-size: 1rem;
  color: var(--text-tertiary);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rose-deep);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 77, 130, 0.35);
  color: #fff;
}

.btn-appstore svg {
  width: 24px;
  height: 24px;
}

/* --- iPhone Device Frame --- */

.device-frame {
  position: relative;
  display: inline-block;
  width: 260px;
  padding: 12px;
  background: #F8F0F3;
  border-radius: 36px;
  box-shadow:
    0 0 0 2px rgba(196, 77, 130, 0.15),
    0 20px 60px rgba(100, 40, 70, 0.15),
    0 0 80px rgba(196, 77, 130, 0.06);
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #1A1118;
  border-radius: 14px;
  z-index: 2;
}

.device-frame img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.device-frame-sm {
  width: 200px;
  padding: 9px;
  border-radius: 28px;
}

.device-frame-sm::before {
  width: 68px;
  height: 18px;
  top: 9px;
  border-radius: 10px;
}

.device-frame-sm img {
  border-radius: 19px;
}

.hero-device {
  margin: 0 auto;
}

/* --- Dual Mode Banner --- */

.dual-modes {
  background: var(--bg-warm);
  text-align: center;
}

.dual-modes .section-heading {
  margin-bottom: 40px;
}

.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.mode-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  text-align: center;
  border: 1px solid rgba(196, 77, 130, 0.08);
  transition: transform 0.25s, border-color 0.25s;
}

.mode-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 77, 130, 0.2);
}

.mode-card .device-frame-sm {
  margin: 0 auto 20px;
}

.mode-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mode-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.5;
}

.mode-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.mode-label.cycle {
  background: rgba(196, 77, 130, 0.1);
  color: var(--rose-deep);
}

.mode-label.menopause {
  background: rgba(217, 140, 89, 0.12);
  color: var(--menopause-warm);
}

/* --- Features --- */

.features {
  background: var(--bg-blush);
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  text-align: center;
  border: 1px solid rgba(196, 77, 130, 0.06);
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 77, 130, 0.18);
}

.feature-card .device-frame-sm {
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.5;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

/* --- Hero Badges --- */

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(196, 77, 130, 0.08);
  color: var(--rose-deep);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- What's New Section --- */

.whats-new {
  background: var(--bg-warm);
}

.new-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.new-feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(196, 77, 130, 0.06);
  transition: transform 0.25s, border-color 0.25s;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  gap: 0 20px;
}

.new-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 77, 130, 0.18);
}

.new-feature-icon {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accent-siri .new-feature-icon { background: rgba(88, 86, 214, 0.1); color: #5856D6; }
.accent-score .new-feature-icon { background: rgba(140, 71, 148, 0.1); color: var(--plum); }
.accent-hrt .new-feature-icon { background: rgba(196, 77, 130, 0.1); color: var(--rose-deep); }
.accent-programs .new-feature-icon { background: rgba(64, 184, 107, 0.1); color: var(--success); }
.accent-watch .new-feature-icon { background: rgba(217, 140, 89, 0.1); color: var(--menopause-warm); }

.new-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.new-feature-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 12px;
  grid-column: 2;
}

.new-feature-list {
  grid-column: 2;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.new-feature-list li {
  background: var(--bg-blush);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* --- Pricing Section --- */

.pricing-section {
  background: var(--bg-warm);
  text-align: center;
}

.pricing-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  border: 1px solid rgba(196, 77, 130, 0.1);
}

.pricing-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--rose-deep), var(--plum));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-box > p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.pricing-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pricing-compare-item {
  padding: 20px 16px;
  border-radius: var(--radius);
  text-align: center;
}

.pricing-compare-item.competitor {
  background: #F5F0F2;
}

.pricing-compare-item.ours {
  background: rgba(196, 77, 130, 0.08);
  border: 2px solid var(--rose-deep);
}

.pricing-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-price {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.competitor .pricing-price {
  color: var(--text-tertiary);
  text-decoration: line-through;
}

.ours .pricing-price {
  color: var(--rose-deep);
}

.pricing-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.ours .pricing-note {
  color: var(--success);
  font-weight: 600;
}

/* --- AI Section --- */

.ai-section {
  background: var(--bg-warm);
  text-align: center;
}

.ai-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.ai-highlight {
  padding: 24px 16px;
}

.ai-highlight .ai-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.ai-highlight h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.ai-highlight p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* --- Privacy Teaser --- */

.privacy-teaser {
  text-align: center;
  background: var(--bg-blush);
}

.privacy-teaser .privacy-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid rgba(64, 184, 107, 0.12);
}

.privacy-teaser h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.privacy-teaser p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.privacy-teaser .privacy-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.privacy-tag {
  background: rgba(64, 184, 107, 0.08);
  color: var(--success);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--rose-deep), var(--plum));
  color: #fff;
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 77, 130, 0.3);
  color: #fff;
}

/* --- Footer --- */

footer {
  padding: 40px 0;
  border-top: 1px solid rgba(196, 77, 130, 0.08);
  text-align: center;
  background: var(--bg-warm);
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

footer p {
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

footer .footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

footer .footer-links a {
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

footer .footer-links a:hover {
  color: var(--rose-deep);
}

/* --- Privacy Policy Page --- */

.privacy-page {
  padding: 120px 0 80px;
}

.privacy-page .container {
  max-width: 720px;
}

.privacy-page h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.privacy-page .effective-date {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.privacy-page h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--rose-deep);
}

.privacy-page p,
.privacy-page li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.privacy-page ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.privacy-page li {
  margin-bottom: 6px;
}

.privacy-page a {
  color: var(--rose-deep);
}

.privacy-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.privacy-page .back-link:hover {
  color: var(--rose-deep);
}

/* --- Responsive --- */

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .new-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Let the last card (Watch) span full width if odd count */
  .new-features-grid .new-feature-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 600px;
    justify-self: center;
  }
}

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 4rem;
  }
}

@media (max-width: 639px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }

  section {
    padding: 56px 0;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .device-frame {
    width: 220px;
  }

  .mode-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ai-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .new-features-grid {
    grid-template-columns: 1fr;
  }

  .new-feature-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .new-feature-icon {
    grid-row: auto;
    margin: 0 auto 12px;
  }

  .new-feature-card p,
  .new-feature-list {
    grid-column: 1;
  }

  .new-feature-list {
    justify-content: center;
  }

  .pricing-comparison {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
