/* ============ Baby Up landing — design tokens from app screenshots ============ */
:root {
  --cream-0: #fefaf4;
  --cream-1: #fdf5ea;
  --cream-2: #faecdb;
  --card: #ffffff;
  --coral: #e27d60;
  --coral-dark: #d4694b;
  --coral-soft: #f7d9cd;
  --green: #6fa968;
  --mango: #f0a431;
  --ink: #3a322d;
  --ink-soft: #6e635b;
  --muted: #a2938680;
  --pill: #f5eadd;
  --line: #efe3d4;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -24px rgba(120, 80, 50, .35);
  --shadow-soft: 0 8px 30px -16px rgba(120, 80, 50, .28);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream-0) 0%, var(--cream-1) 40%, var(--cream-2) 100%);
  line-height: 1.6;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-soft);
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -12px rgba(226,125,96,.9); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-ghost:hover { transform: translateY(-2px); }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem clamp(1.2rem, 5vw, 4rem);
  background: rgba(254, 250, 244, .8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; }
.brand-icon { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-soft); }
.nav-links { display: flex; gap: 1.8rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--coral); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.lang-toggle {
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
  width: 42px; height: 34px; border-radius: 10px; font-weight: 600; cursor: pointer;
  font-size: .85rem; transition: all .15s ease;
}
.lang-toggle:hover { border-color: var(--coral); color: var(--coral); }

/* ============ Hero ============ */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.4rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem);
  max-width: 1240px; margin: 0 auto;
}
.hero-glow {
  position: absolute; top: -10%; right: -5%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,164,49,.22), transparent 65%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 30rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.hero-device { position: relative; z-index: 1; display: flex; justify-content: center; }
.device-frame {
  width: clamp(220px, 30vw, 320px);
  border-radius: 42px; padding: 0; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(120,70,40,.5), 0 0 0 8px #fff;
  transform: rotate(2deg); transition: transform .4s ease;
}
.device-frame:hover { transform: rotate(0deg) translateY(-6px); }
.device-frame img { width: 100%; }

/* ============ Sections ============ */
.section { max-width: 1140px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) clamp(1.4rem, 6vw, 4rem); }
.section-head { margin-bottom: 3rem; max-width: 36rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.02em; line-height: 1.2; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1rem; }

/* ============ Feature cards ============ */
.feature-grid { display: flex; flex-direction: column; gap: 2rem; }
.feature-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  background: var(--card); border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.feature-card.reverse { grid-template-columns: .9fr 1.1fr; }
.feature-card.reverse .feature-text { order: 2; }
.feature-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .8rem; letter-spacing: -.01em; }
.feature-text p { color: var(--ink-soft); font-size: 1.05rem; }
.feature-shot img {
  border-radius: 26px; box-shadow: var(--shadow);
  border: 6px solid #fff; max-width: 260px; margin-inline: auto;
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.chips li { background: var(--pill); color: var(--ink-soft); font-size: .85rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px; }

/* ============ Philosophy ============ */
.philosophy { text-align: center; }
.philo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 3rem; }
.philo-item { background: var(--card); border-radius: var(--radius); padding: 2rem 1.4rem; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.philo-emoji { font-size: 2rem; }
.philo-item h4 { margin: .8rem 0 .4rem; font-size: 1.15rem; }
.philo-item p { color: var(--ink-soft); font-size: .95rem; }

/* ============ Keepsake ============ */
.keepsake-inner {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  background: linear-gradient(135deg, #fff 0%, var(--cream-1) 100%);
  border-radius: 32px; padding: clamp(2rem, 5vw, 4rem); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.keepsake .feature-shot { display: flex; justify-content: center; }
.keepsake .feature-shot img { max-width: 240px; margin-inline: auto; }
.floaty { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.keep-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.keep-list li { font-weight: 500; color: var(--ink); }

/* ============ CTA ============ */
.cta-card {
  max-width: 640px; margin-inline: auto; text-align: center;
  background: var(--card); border-radius: 32px; padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.cta-icon { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 1.4rem; box-shadow: var(--shadow-soft); }
.cta-card h2 { margin-bottom: .8rem; }
.cta-card > p { color: var(--ink-soft); margin-bottom: 2rem; }
.btn-store { font-size: 1.05rem; padding: .9rem 2rem; margin-bottom: .5rem; }
.cta-contact { font-size: .95rem; color: var(--ink-soft); margin-top: 2.4rem; }
.cta-contact a { color: var(--coral); font-weight: 600; }
.cta-contact a:hover { text-decoration: underline; }
.cta-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* ============ Footer ============ */
.footer {
  text-align: center; padding: 3rem 1.4rem; border-top: 1px solid var(--line); margin-top: 2rem;
}
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; margin-bottom: .6rem; }
.footer-brand .brand-icon { width: 28px; height: 28px; }
.footer-copy { color: var(--ink-soft); font-size: .9rem; }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { padding: .7rem 1rem; gap: .5rem; }
  .brand { font-size: 1.05rem; gap: .45rem; flex-shrink: 0; }
  .brand-icon { width: 30px; height: 30px; }
  .nav-actions { gap: .5rem; }
  .lang-toggle { width: 38px; height: 32px; }
  .nav .btn-sm { padding: .5rem .85rem; font-size: .85rem; white-space: nowrap; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-actions, .hero-meta { justify-content: center; }
  .lead { margin-inline: auto; }
  .feature-card, .feature-card.reverse { grid-template-columns: 1fr; text-align: center; }
  .feature-card.reverse .feature-text { order: 0; }
  .feature-shot img { margin-top: 1.5rem; }
  .chips { justify-content: center; }
  .philo-grid { grid-template-columns: repeat(2, 1fr); }
  .keepsake-inner { grid-template-columns: 1fr; text-align: center; }
  .keep-list li { justify-content: center; }
}
@media (max-width: 460px) {
  .philo-grid { grid-template-columns: 1fr; }
}
