/* Fonturi găzduite local (Google Fonts, SIL Open Font License 1.1).
   Nunito pentru titluri, Roboto pentru text. Câte un fișier variabil pe
   subset; latin-ext aduce diacriticele românești (ă, ș, ț). */
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url(fonts/nunito-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url(fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/roboto-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/roboto-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Culorile aplicației (lib/theme/app_theme.dart): violet #6c4fd8 */
:root {
  --text: #1d1b2b; --muted: #5a5670; --bg: #fbfaff; --alt: #f3f0fc; --card: #ffffff;
  --line: #e6e1f3; --accent: #6c4fd8; --accent-ink: #ffffff;
  --soft: #efeafd; --night: #17122f; --night-2: #2a1f5c; --moon: #ffd98a;
  --sleep: #6c4fd8; --feed: #d63c7a; --diaper: #12877f; --growth: #2e8b3d; --health: #d1453b;
  --vacc: #c0671b; --kids: #4a6fd8; --note: #8a5bb8; --doc: #5b5f73;
  --shadow: 0 1px 2px rgba(29,27,43,.05), 0 8px 24px rgba(29,27,43,.06);
  --head: 'Nunito', 'Roboto', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #ece8f8; --muted: #b3adc8; --bg: #110e1c; --alt: #171327; --card: #1d1930;
    --line: #2f2949; --accent: #b9a6ff; --accent-ink: #160f33; --soft: #262040;
    --sleep: #b9a6ff; --feed: #ff8fbb; --diaper: #5fd3c8; --growth: #7fd68b; --health: #ff8a80;
    --vacc: #ffb169; --kids: #9db4ff; --note: #d2a8ff; --doc: #b8bccd;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 'Roboto', system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; }

/* --- Butoane --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .98rem; border: 0; transition: transform .15s, box-shadow .15s, filter .15s; }
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(108,79,216,.3); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.nav .btn-sm { background: #fff; color: #2a1f5c; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn-soft { background: var(--soft); color: var(--accent); }
.btn-soft:hover { box-shadow: none; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: #17122f; text-decoration: none; padding: 10px 22px 10px 18px; border-radius: 14px; font-family: var(--head); font-weight: 800; font-size: 1.2rem; line-height: 1.1; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store .ic { width: 26px; height: 26px; fill: #6c4fd8; stroke: #6c4fd8; stroke-width: 1.5; }
.store small { display: block; font-family: 'Roboto', sans-serif; font-weight: 500; font-size: .72rem; opacity: .7; letter-spacing: .02em; }

/* --- Bara de sus --- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(23,18,47,.95); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--head); font-weight: 900; font-size: 1.3rem; }
.brand img { border-radius: 10px; background: #fff; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav nav a:hover { color: #fff; }

/* --- Cerul de noapte (hero, secțiunea de noapte, final) --- */
.hero, .night, .final { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 75% 10%, #3b2a86 0%, transparent 60%), linear-gradient(170deg, var(--night) 0%, var(--night-2) 100%); }
.sky { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 120px 80px, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 210px 150px, rgba(255,255,255,.8) 50%, transparent 52%),
    radial-gradient(1px 1px at 60px 190px, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(2px 2px at 280px 40px, rgba(255,217,138,.9) 50%, transparent 52%),
    radial-gradient(1px 1px at 330px 220px, #fff 50%, transparent 52%);
  background-size: 360px 260px; }
.sky::after { content: ""; position: absolute; inset: 0; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 40px 70px, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 190px 20px, rgba(255,255,255,.85) 50%, transparent 52%),
    radial-gradient(1px 1px at 300px 160px, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 420px 260px, rgba(255,217,138,.8) 50%, transparent 52%),
    radial-gradient(1px 1px at 110px 300px, rgba(255,255,255,.6) 50%, transparent 52%);
  background-size: 470px 340px; background-position: 130px 90px; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--moon); font-weight: 600; font-size: .9rem; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 900; letter-spacing: -0.02em; }
.glow { background: linear-gradient(90deg, #ffd98a, #ffb3d1 55%, #c9b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 20px 0 28px; font-size: 1.15rem; line-height: 1.65; color: rgba(255,255,255,.86); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: .95rem; }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips .ic { color: var(--moon); }

.hero-art { position: relative; height: 560px; }
/* luna: semilună desenată din umbra unui cerc transparent */
.moon { position: absolute; z-index: 0; width: 110px; height: 110px; border-radius: 50%; right: 10%; top: -8px; background: transparent; box-shadow: 28px 16px 0 0 var(--moon); filter: drop-shadow(0 0 28px rgba(255,217,138,.45)); transform: rotate(-12deg); }
.phone { margin: 0; width: 260px; padding: 9px; border-radius: 40px; background: #0d0a1a; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px rgba(0,0,0,.35), 0 10px 20px rgba(0,0,0,.2); }
.phone img { width: 100%; height: auto; border-radius: 32px; }
.hero .phone { position: absolute; }
.phone-front { left: 12%; top: 40px; z-index: 2; width: 270px; }
.phone-back { z-index: 1; right: 2%; top: 120px; width: 230px; transform: rotate(6deg); }

/* --- Secțiuni --- */
.section { padding: 96px 0; }
.section.alt { background: var(--alt); }
.head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.kicker { margin: 0 0 10px; color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.head h2, .show-copy h2, .privacy h2, .final h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; }
.sub { margin: 14px 0 0; color: var(--muted); font-size: 1.1rem; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); transition: transform .2s; }
.feat:hover { transform: translateY(-3px); }
.feat h3 { font-size: 1.12rem; font-weight: 800; margin: 14px 0 6px; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }
.tag { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-family: 'Roboto', sans-serif; font-size: .66rem; font-weight: 800; letter-spacing: .06em; }
.badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.badge svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.badge.big { width: 72px; height: 72px; border-radius: 22px; flex: none; }
.badge.big svg { width: 36px; height: 36px; }
.c-sleep { --c: var(--sleep); } .c-feed { --c: var(--feed); } .c-diaper { --c: var(--diaper); } .c-growth { --c: var(--growth); }
.c-health { --c: var(--health); } .c-vacc { --c: var(--vacc); } .c-kids { --c: var(--kids); } .c-note { --c: var(--note); } .c-doc { --c: var(--doc); }
.c-feed-t { color: var(--feed); } .c-growth-t { color: var(--growth); } .c-vacc-t { color: var(--vacc); }

/* --- Ecran + text, alternant --- */
.show { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }
.show + .show { margin-top: 96px; }
.show.rev { grid-template-columns: 1fr 340px; }
.show.rev .phone { order: 2; }
.show .phone { justify-self: center; width: 280px; }
.show-copy { max-width: 520px; }
.show-copy > p { color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--accent-ink); background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; stroke-width: 3; margin-top: 1px; }

.night { padding: 96px 0; }
.night .show { position: relative; }
.night .kicker { color: var(--moon); }
.night .show-copy { max-width: 600px; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 32px; }
.mini .ic { width: 28px; height: 28px; color: var(--moon); }
.mini h3 { font-size: 1.1rem; font-weight: 800; margin: 10px 0 4px; }
.mini p { margin: 0; color: rgba(255,255,255,.75); font-size: .95rem; }

/* --- Pro --- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px; box-shadow: var(--shadow); }
.plan h3 { font-size: 1.2rem; font-weight: 800; }
.plan .price { font-family: var(--head); font-size: 2.8rem; font-weight: 900; margin: 10px 0 0; line-height: 1.1; }
.plan .price s.old { font-size: 1.4rem; font-weight: 700; color: var(--muted); margin-right: 6px; }
.plan .price span { display: block; font-family: 'Roboto', sans-serif; font-size: .92rem; font-weight: 400; color: var(--muted); margin-top: 6px; }
.plan .ticks { margin: 22px 0 28px; flex: 1; font-size: .96rem; align-content: start; }
.plan .btn { align-self: stretch; }
.plan.best { border: 2px solid var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--card)), var(--card) 60%); }
.ribbon { position: absolute; top: -14px; left: 28px; margin: 0; background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

.steps-wrap { margin-top: 56px; background: var(--alt); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.steps-wrap h3 { font-size: 1.3rem; font-weight: 800; }
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--head); font-weight: 900; }
.steps p { margin: 0; font-size: .96rem; color: var(--muted); }
.steps strong { color: var(--text); }
.fine { margin: 22px 0 0; color: var(--muted); font-size: .9rem; }

/* --- Confidențialitate --- */
.privacy { display: flex; gap: 32px; align-items: flex-start; max-width: 860px; }
.privacy p { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }
.privacy a { font-weight: 600; text-decoration: none; }

/* --- Întrebări --- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--head); font-weight: 800; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* --- Final și subsol --- */
.final { text-align: center; padding: 88px 0; }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final img { border-radius: 24px; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.final h2 { max-width: 16em; }

.foot { background: var(--night); color: rgba(255,255,255,.72); padding: 56px 0 28px; font-size: .95rem; }
.foot a { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 10px; }
.foot p { margin: 6px 0; }
.foot .brand { margin-bottom: 8px; }
.foot-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.5); }

:focus-visible { outline: 3px solid var(--moon); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* --- Ecrane mici --- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 24px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .cta, .chips { justify-content: center; }
  .hero-art { height: 500px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phone-front { left: 6%; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .show, .show.rev { grid-template-columns: 1fr; gap: 40px; }
  .show.rev .phone { order: 0; }
  .show-copy { max-width: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav nav { display: none; }
  .nav-in { justify-content: space-between; }
  .section, .night { padding: 64px 0; }
  .show + .show { margin-top: 64px; }
  .hero-art { height: 430px; }
  .phone-front { width: 220px; left: 4%; top: 30px; }
  .phone-back { width: 180px; right: 0; top: 80px; }
  .moon { width: 76px; height: 76px; box-shadow: 20px 12px 0 0 var(--moon); right: 8%; }
  .show .phone { width: 240px; }
  .mini { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { flex-direction: row; align-items: flex-start; }
  .steps span { flex: none; }
  .steps-wrap { padding: 24px 20px; }
  .privacy { flex-direction: column; gap: 20px; }
  .foot-in { grid-template-columns: 1fr; gap: 20px; }
  .plan { padding: 26px 22px; }
  .features { gap: 10px; }
  .feat { display: grid; grid-template-columns: 46px 1fr; gap: 0 14px; padding: 16px; border-radius: 16px; }
  .feat .badge { grid-row: span 2; }
  .feat h3 { margin: 2px 0 4px; }
}

/* --- Politica de confidențialitate --- */
body.policy { line-height: 1.7; }
.policy main { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; }
.policy h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; margin: 0 0 6px; }
.policy h2 { font-size: 1.25rem; font-weight: 800; margin: 36px 0 8px; }
.policy .meta { color: var(--muted); margin: 0 0 20px; }
.policy .back { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; }
.policy hr { border: none; border-top: 1px solid var(--line); margin: 56px 0; }
.policy ul { padding-left: 22px; }
.steps-intro { margin: 12px 0 0; }
