/*
 * Nurtura marketing site
 *
 * Single stylesheet, no preprocessor, no framework. Plain CSS custom
 * properties for the brand palette + a system-feeling Inter for type.
 *
 * Layout philosophy: generous whitespace, sage as the only saturated
 * colour, phones tilted slightly so the marketing rhythm feels human
 * rather than rigid. Mobile-first; desktop layouts kick in via min-width
 * media queries.
 */

:root {
  /* Sage palette — lifted from the app's design tokens */
  --sage-50:  #F4F6F0;
  --sage-100: #EDF1E4;
  --sage-200: #C8DBC8;
  --sage-400: #8A9D5E;
  --sage-500: #5E6A3C;
  --sage-600: #4A5E2E;
  --sage-700: #475130;
  --deep-sage: #3A6B3A;

  --charcoal:        #1A2B1A;
  --charcoal-mid:    #3D5C3D;
  --charcoal-muted:  #5A6B5A;
  --stone-50:  #FAFAF7;
  --stone-100: #F1F1ED;
  --stone-200: #E4E4DC;
  --stone-300: #C4C4BD;
  --stone-400: #8A8A85;

  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --border: #E8EDE8;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-2xl: 40px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 64px rgba(58, 107, 58, 0.22);

  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  color: var(--charcoal);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  font-size: 16px;
}

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

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

p { margin: 0 0 0.6em; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.4em; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }

/* ─── Nav ───────────────────────────────────────────────────────────── */
.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  z-index: 10;
  border-bottom: 1px solid transparent;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
.nav-brand img { border-radius: 8px; }

.nav-links {
  display: none;
  gap: 28px;
  font-size: 15px;
  color: var(--charcoal-mid);
  font-weight: 500;
}
.nav-links a:hover { color: var(--deep-sage); }

.nav-cta {
  padding: 10px 18px;
  background: var(--deep-sage);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { background: var(--sage-700); transform: translateY(-1px); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-select {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--charcoal-mid);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.lang-select:hover, .lang-select:focus {
  border-color: var(--sage-400);
  outline: none;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* ─── Hero ──────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 96px;
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--sage-500);
  color: #fff;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.8px;
  font-weight: 700;
  text-transform: lowercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 16px;
}
.hero-title-accent { color: var(--deep-sage); }

.hero-sub {
  font-size: 19px;
  color: var(--charcoal-mid);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-trust {
  font-size: 13px;
  color: var(--charcoal-muted);
  max-width: 480px;
  margin: 0;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    padding-top: 72px;
    padding-bottom: 120px;
  }
}

/* ─── Buttons ───────────────────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}

.cta-primary {
  background: var(--deep-sage);
  color: #fff;
  box-shadow: 0 8px 24px rgba(58, 107, 58, 0.28);
}
.cta-primary:hover { background: var(--sage-700); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(58, 107, 58, 0.34); }

.cta-secondary {
  background: var(--surface);
  color: var(--charcoal);
  border: 1.5px solid var(--border);
}
.cta-secondary:hover { background: var(--sage-50); border-color: var(--sage-200); }

.cta-large { padding: 18px 28px; font-size: 17px; }

.cta-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.cta-label { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.cta-eyebrow { font-size: 10px; font-weight: 500; opacity: 0.85; letter-spacing: 0.5px; }
.cta-main { font-size: 17px; font-weight: 700; }

/* ─── Phone frames ──────────────────────────────────────────────────── */
.phone-frame {
  background: #1a2b1a;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  max-width: 280px;
  position: relative;
  transition: transform 0.3s ease;
}
.phone-frame img {
  border-radius: 36px;
  width: 100%;
  height: auto;
  display: block;
}
.phone-frame--featured {
  transform: rotate(-2deg);
  max-width: 320px;
}
.phone-frame--featured:hover { transform: rotate(0); }

.phone-frame--offset {
  transform: translate(-30%, 80px) rotate(6deg);
  max-width: 240px;
  z-index: 0;
}

/* ─── Value props ───────────────────────────────────────────────────── */
.values {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .values { grid-template-columns: repeat(3, 1fr); padding-bottom: 120px; }
}

.value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.value:hover { transform: translateY(-4px); border-color: var(--sage-200); }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--charcoal-muted); margin: 0; font-size: 15px; }

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

/* ─── Features ──────────────────────────────────────────────────────── */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sage-500);
  margin: 0 0 12px;
}
.section-title { margin: 0 0 16px; }
.section-lead {
  font-size: 18px;
  color: var(--charcoal-mid);
  margin: 0;
  line-height: 1.5;
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--wide { grid-column: 1 / -1; }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { border-color: var(--sage-200); transform: translateY(-2px); }

.feature-card--wide {
  background: linear-gradient(135deg, var(--sage-50) 0%, var(--surface) 100%);
}

@media (min-width: 640px) {
  .feature-card { grid-template-columns: 1fr 1fr; }
  .feature-card--wide { grid-template-columns: 1.1fr 1fr; }
}

.feature-copy h3 { margin-bottom: 12px; font-size: 22px; }
.feature-copy p { color: var(--charcoal-muted); margin: 0; font-size: 16px; }

.feature-media {
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature-media .phone-frame {
  max-width: 220px;
  transform: rotate(2deg);
}
.feature-media .phone-frame:hover { transform: rotate(0); }

/* ─── Pregnancy section ─────────────────────────────────────────────── */
.pregnancy {
  background: var(--sage-50);
  padding: 96px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pregnancy {
  display: grid;
  gap: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .pregnancy { grid-template-columns: 1fr 1fr; }
}

.pregnancy-media {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 480px;
}
.pregnancy-media .phone-frame { max-width: 260px; transform: rotate(-3deg); }

.pregnancy-text .section-title { margin-bottom: 20px; }
.pregnancy-text .section-lead { margin-bottom: 28px; }

.pregnancy-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.pregnancy-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--charcoal);
}
.pregnancy-checks li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--deep-sage);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

/* ─── Premium ───────────────────────────────────────────────────────── */
.premium {
  padding: 96px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.premium-card {
  background: linear-gradient(135deg, #3A6B3A 0%, #5E6A3C 100%);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: 64px clamp(28px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 50%);
  pointer-events: none;
}
.premium-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin: 0 0 12px;
}
.premium-title { font-size: clamp(36px, 5vw, 56px); margin: 0 0 12px; color: #fff; }
.premium-sub { font-size: 18px; color: rgba(255,255,255,0.85); margin: 0 0 32px; }

.premium-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .premium-features { grid-template-columns: 1fr 1fr; }
}
.premium-features li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
}
.premium-feature-title { font-weight: 700; font-size: 15px; color: #fff; }
.premium-feature-body { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.45; }

.premium-always-free {
  background: rgba(255,255,255,0.12);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  color: #fff;
  margin: 0 0 32px;
}
.premium-always-free strong { color: #fff; }

.premium .cta-primary {
  background: #fff;
  color: var(--deep-sage);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.premium .cta-primary:hover { background: var(--sage-50); }

/* ─── Privacy strip ─────────────────────────────────────────────────── */
.privacy-strip {
  padding: 80px 24px;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.privacy-strip h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}
.privacy-strip p {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 17px;
  color: var(--charcoal-mid);
  line-height: 1.55;
}
.link {
  color: var(--deep-sage);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link:hover { color: var(--sage-700); }

/* ─── Footer ────────────────────────────────────────────────────────── */
.footer {
  padding: 40px 24px;
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.footer-brand img { border-radius: 8px; }
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}
