@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&family=Libre+Franklin:wght@400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* App palette */
  --bg-primary: #F9F7F1;
  --bg-surface: #FFFFFF;
  --text-primary: #2D2D2D;
  --text-secondary: #8A8A8A;
  --text-muted: #ADADAD;
  --border: #D2CEC9;

  /* Cycle phase colors */
  --menstrual: #F1A5A6;
  --menstrual-deep: #E74C3C;
  --follicular: #72E3D4;
  --ovulation: #F0D890;
  --luteal: #ECD2FF;
  --luteal-deep: #B75CA4;

  /* Accents */
  --accent-pink: #EA1E63;
  --accent-warm: #D4A060;
  --accent-blue: #7090C8;

  /* Gradients */
  --bloom-start: #F0D0D0;
  --bloom-mid: #ECD2FF;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Libre Franklin', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 10vw, 8rem);
  --content-max: 1140px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

/* ── Utility ── */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-bar {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  pointer-events: auto;
  max-width: calc(100% - 28px);
  --nav-chip-size: 52px;
}

.nav-home {
  flex: 0 0 auto;
  align-self: center;
  width: var(--nav-chip-size);
  height: var(--nav-chip-size);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  transition: background 0.4s, box-shadow 0.4s, transform 0.25s;
}

.nav-home:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.nav-home__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-glass {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: var(--nav-chip-size);
  padding: 0 0.75rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  pointer-events: auto;
  transition: background 0.4s, box-shadow 0.4s;
}

.nav.scrolled .nav-glass {
  background: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links li:last-child {
  margin-left: 0.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text-primary);
  color: var(--bg-primary) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45, 45, 45, 0.2);
  background: transparent;
  color: var(--text-primary) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  position: absolute;
  left: 5px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(ellipse at center,
    rgba(236, 210, 255, 0.35) 0%,
    rgba(241, 165, 166, 0.2) 40%,
    rgba(114, 227, 212, 0.1) 70%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: bloomPulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(240, 216, 144, 0.2) 0%,
    rgba(114, 227, 212, 0.15) 50%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: bloomPulse 10s ease-in-out 2s infinite;
}

@keyframes bloomPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeUp 1s ease-out;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

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

.hero-logo {
  width: 280px;
  height: 280px;
  margin-bottom: -1.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: -0.6rem;
  color: var(--text-primary);
}

.hero-tagline {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: none;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Floating cycle orbs container — anchored around logo */
.hero-orbs {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: -1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-orb--1 {
  width: 180px;
  height: 180px;
  background: var(--menstrual);
  top: -20px;
  left: -40px;
  animation: floatOrb1 10s ease-in-out infinite;
}

.hero-orb--2 {
  width: 160px;
  height: 160px;
  background: var(--follicular);
  top: -30px;
  right: -30px;
  animation: floatOrb2 12s ease-in-out infinite;
}

.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: var(--ovulation);
  bottom: 40px;
  left: 20px;
  animation: floatOrb3 9s ease-in-out infinite;
}

.hero-orb--4 {
  width: 170px;
  height: 170px;
  background: var(--luteal);
  bottom: 20px;
  right: 10px;
  animation: floatOrb4 11s ease-in-out infinite;
}

.hero-orb--5 {
  width: 140px;
  height: 140px;
  background: var(--luteal-deep);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatOrb5 8s ease-in-out infinite;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0); }
  25% { transform: translate(60px, 40px); }
  50% { transform: translate(20px, 80px); }
  75% { transform: translate(-40px, 30px); }
  100% { transform: translate(0, 0); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-50px, 50px); }
  50% { transform: translate(-30px, 90px); }
  75% { transform: translate(30px, 40px); }
  100% { transform: translate(0, 0); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0); }
  25% { transform: translate(50px, -40px); }
  50% { transform: translate(80px, 20px); }
  75% { transform: translate(-30px, -20px); }
  100% { transform: translate(0, 0); }
}

@keyframes floatOrb4 {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-60px, -30px); }
  50% { transform: translate(-20px, -60px); }
  75% { transform: translate(40px, -20px); }
  100% { transform: translate(0, 0); }
}

@keyframes floatOrb5 {
  0% { transform: translate(-50%, -50%) translate(0, 0); }
  25% { transform: translate(-50%, -50%) translate(40px, -30px); }
  50% { transform: translate(-50%, -50%) translate(-30px, 50px); }
  75% { transform: translate(-50%, -50%) translate(-50px, -20px); }
  100% { transform: translate(-50%, -50%) translate(0, 0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.app-store-badge {
  transition: transform 0.25s, filter 0.25s;
  display: inline-block;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.app-store-badge img {
  height: 52px;
  width: auto;
}

.hero-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s, gap 0.25s;
}

.hero-link:hover {
  color: var(--text-primary);
  gap: 0.6rem;
}


/* ── Features ── */
.features {
  padding: var(--section-pad) 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--luteal-deep);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 580px;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 3.5rem;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid rgba(210, 206, 201, 0.45);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45, 45, 45, 0.08);
}


.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(241, 165, 166, 0.2); }
.feature-card:nth-child(2) .feature-icon { background: rgba(114, 227, 212, 0.2); }
.feature-card:nth-child(3) .feature-icon { background: rgba(240, 216, 144, 0.25); }
.feature-card:nth-child(4) .feature-icon { background: rgba(236, 210, 255, 0.35); }
.feature-card:nth-child(5) .feature-icon { background: rgba(212, 160, 96, 0.15); }
.feature-card:nth-child(6) .feature-icon { background: rgba(112, 144, 200, 0.15); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}

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

/* ── How It Works ── */
.how-it-works {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1045 30%, #3a1155 50%, #2a0e3d 70%, #120826 100%);
  color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(180, 50, 120, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(100, 160, 230, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(140, 40, 90, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.how-it-works .section-label {
  color: #e88bc4;
}

.how-it-works .section-title {
  color: var(--bg-primary);
}

.how-it-works .section-subtitle {
  color: rgba(249, 247, 241, 0.6);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #e88bc4, #8bb8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(249, 247, 241, 0.6);
}

/* ── Terms ── */
.terms-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, #1b0a2e 0%, #2e1040 25%, #3d1248 45%, #351540 65%, #1a0825 100%);
  color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.terms-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(200, 60, 100, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(90, 150, 220, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(160, 60, 140, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.terms-section .section-label {
  color: #c870a8;
}

.terms-section .section-title {
  color: var(--bg-primary);
}

.terms-section .section-subtitle {
  color: rgba(249, 247, 241, 0.5);
  margin-bottom: 1rem;
}

.terms-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(249, 247, 241, 0.65);
  max-width: 600px;
  margin-bottom: 3rem;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.terms-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 120, 180, 0.12);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.35s, background 0.35s, border-color 0.35s;
}

.terms-card:hover {
  transform: translateY(-4px);
  background: rgba(200, 120, 180, 0.08);
  border-color: rgba(200, 120, 180, 0.2);
}

.terms-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #d45d8e, #7ab0e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.terms-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.terms-badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(212, 93, 142, 0.2);
  color: #e88bc4;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  border: 1px solid rgba(212, 93, 142, 0.3);
}

.terms-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(249, 247, 241, 0.6);
}

.terms-card strong {
  color: #e88bc4;
}

.terms-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.terms-list li {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(249, 247, 241, 0.55);
  padding-left: 1.25rem;
  position: relative;
}

.terms-list li::before {
  content: '~';
  position: absolute;
  left: 0;
  color: #8bb8f0;
  font-weight: 600;
}

/* Privacy section variant */
#privacy.terms-section {
  background: linear-gradient(135deg, #0d1a30 0%, #1a1040 25%, #251545 45%, #1e1038 65%, #0e0d28 100%);
}

#privacy.terms-section::before {
  background:
    radial-gradient(ellipse at 25% 30%, rgba(100, 160, 230, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(180, 60, 130, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(120, 80, 200, 0.08) 0%, transparent 50%);
}

#privacy .section-label {
  color: #8bb8f0;
}

/* ── Privacy ── */
.privacy-section {
  padding: var(--section-pad) 0;
}

.privacy-card {
  background: linear-gradient(135deg, rgba(114, 227, 212, 0.08), rgba(236, 210, 255, 0.08));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.privacy-content .section-label {
  color: #3BA899;
}

.privacy-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.privacy-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.privacy-points li::before {
  content: '~';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(114, 227, 212, 0.2);
  border-radius: 50%;
  font-size: 0.7rem;
  color: #3BA899;
  font-weight: 600;
}

.privacy-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.privacy-shield {
  width: 200px;
  height: 240px;
  position: relative;
}

.shield-shape {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, rgba(114, 227, 212, 0.15), rgba(236, 210, 255, 0.15));
  border: 2px solid rgba(114, 227, 212, 0.3);
  border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  animation: shieldFloat 5s ease-in-out infinite;
}

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

/* ── FAQ ── */
.faq-section {
  padding: var(--section-pad) 0;
}

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  text-align: left;
  line-height: 1.4;
  transition: color 0.25s;
}

.faq-question:hover {
  color: var(--luteal-deep);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.25s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--luteal-deep);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 1.25rem 0;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-contact {
  max-width: 720px;
  margin-top: 3rem;
}

.faq-contact-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--text-muted);
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: var(--luteal-deep);
  box-shadow: 0 0 0 3px rgba(183, 92, 164, 0.1);
}

.contact-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-submit {
  align-self: flex-start;
  padding: 0.7rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--text-primary);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45, 45, 45, 0.2);
}

.form-message {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(183, 92, 164, 0.2);
  background: rgba(183, 92, 164, 0.08);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-message p {
  margin: 0;
}

/* ── CTA ── */
.cta {
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta h2 em {
  font-style: italic;
  color: var(--luteal-deep);
}

.cta p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta .app-store-badge img {
  margin: 0 auto;
}

/* ── Footer ── */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Legal Pages ── */
.legal-page {
  padding-top: 8rem;
  padding-bottom: var(--section-pad);
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }


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

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .terms-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

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

  .privacy-visual {
    order: -1;
  }

  .privacy-points {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 0.75rem clamp(1rem, 4vw, 1.5rem);
    justify-content: flex-end;
  }

  .nav-glass {
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-toggle {
    display: block;
    z-index: 101;
    align-self: flex-end;
    order: -1;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem 0 0;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    margin-left: 0 !important;
  }

  .nav-links a {
    font-size: 0.95rem;
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    color: var(--text-primary);
  }

  .nav-links a:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .nav-cta {
    margin-top: 0.25rem;
    text-align: center;
    justify-content: center;
  }

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

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
