/* BabyOps — Mission Control for Your Baby */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #FAFBFD;
  --surface: #FFFFFF;
  --text: #1A1F36;
  --text-muted: #6B7394;
  --text-dim: #9CA3BF;
  --blue: #4A90D9;
  --blue-soft: #E8F0FE;
  --blue-glow: rgba(74, 144, 217, 0.15);
  --rose: #D4849A;
  --rose-soft: #FDE8EF;
  --border: rgba(26, 31, 54, 0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.02);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blue); color: #fff; }

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

/* --- NAV --- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 253, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

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

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* --- HERO --- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--bg) 100%);
  border-radius: 0 0 40px 40px;
  margin-bottom: 80px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--blue), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* --- BADGE --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.badge-rose {
  background: var(--rose-soft);
  color: var(--rose);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px var(--blue-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--blue-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* --- THEME SHOWCASE --- */
.theme-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 40px 0;
}

.theme-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.theme-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.theme-pill span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

/* --- SECTIONS --- */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  margin-bottom: 12px;
}

section h3 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* --- FEATURES GRID --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(74, 144, 217, 0.2);
}

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

.feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

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

/* --- STEPS --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--text);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- VOICE DEMO --- */
.voice-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 40px auto;
}

.voice-demo .label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.voice-demo blockquote {
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  padding-left: 16px;
  border-left: 3px solid var(--blue);
  margin-bottom: 20px;
}

.voice-demo .result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.voice-demo .result-item {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.voice-demo .result-item .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.voice-demo .result-item .key {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CTA --- */
.cta {
  text-align: center;
  padding: 80px 0;
}

.cta h3 {
  font-size: 2.2rem;
}

/* --- FAQ --- */
.faq-item { margin-bottom: 24px; }

.faq-question {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 1rem;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

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

footer p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; margin-bottom: 40px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { display: none; }
  .theme-row { flex-direction: column; align-items: center; }
  .voice-demo .result { grid-template-columns: 1fr; }
  section h3 { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
