/* Bonoteca — site de prezentare. Aceleași culori și același font ca aplicația (lib/core/theme). */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations');
  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;
}

:root {
  --primary: #4B4BDB;
  --primary-dark: #3A3AC0;
  --ink: #17173A;
  --muted: #5A5C80;
  --bg: #F3F3FA;
  --surface: #FFFFFF;
  --line: #E4E4F2;
  --lavender: #ECECFD;
  --urgent: #C8293A;
  --urgent-soft: #FDEDEF;
  --warning: #B45309;
  --warning-soft: #FFF3E6;
  --safe: #157A45;
  --safe-soft: #E6F5EC;
  --radius: 24px;
  --gutter: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
section { scroll-margin-top: 24px; }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 26px; border-radius: 16px;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; transition: background-color .15s, transform .15s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(75, 75, 219, .30); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid #D6D6EA; }
.btn-ghost:hover { color: var(--ink); border-color: var(--primary); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262654; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: default; }

.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.h2 { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); }
.check {
  width: 30px; height: 30px; border-radius: 15px; background: var(--safe-soft);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}

/* Antet */
.header .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; border-radius: 13px; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--primary); }
.nav .btn { min-height: 44px; padding: 0 20px; border-radius: 14px; font-size: 15px; box-shadow: none; }

/* Început */
.hero .wrap { padding-top: 40px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 17px; background: var(--lavender); color: var(--primary); font-size: 14px; font-weight: 700; }
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: var(--primary); }
.hero h1 { font-size: 64px; line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.hero .lead { font-size: 21px; font-weight: 500; max-width: 580px; }
.motto { font-size: 19px; font-weight: 800; color: var(--primary); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: 6px; }
.hero-visual { position: relative; min-height: 760px; display: flex; align-items: center; justify-content: center; }
.blob { position: absolute; border-radius: 50%; background: #E4E4FB; }
.hero-visual .blob { width: 560px; height: 560px; }
.float-art { position: absolute; width: 150px; height: 150px; }
.hero-visual .art-1 { left: 0; top: 60px; }
.hero-visual .art-2 { right: 0; bottom: 110px; }
.notif {
  position: absolute; left: -8px; bottom: 36px; width: 310px; background: var(--surface);
  border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(23, 23, 58, .14);
  padding: 14px; display: flex; gap: 12px; align-items: center;
}
.notif img { width: 44px; height: 44px; flex-shrink: 0; }
.notif strong { display: block; font-size: 13px; font-weight: 800; }
.notif span { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }

/* Telefon: machetă din aplicație, construită în HTML */
.phone { position: relative; width: 344px; flex-shrink: 0; border-radius: 50px; background: var(--ink); padding: 12px; box-shadow: 0 40px 80px rgba(23, 23, 58, .28); }
.screen { border-radius: 40px; background: var(--bg); overflow: hidden; padding: 34px 16px 18px; display: flex; flex-direction: column; gap: 12px; min-height: 692px; font-size: 13px; }
.scr-hi { font-size: 12px; color: var(--muted); font-weight: 500; }
.scr-title { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.value { position: relative; overflow: hidden; background: var(--primary); color: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.value img { position: absolute; right: -12px; top: -10px; width: 104px; height: 104px; }
.value .lbl { font-size: 11px; font-weight: 600; color: #DADAFF; }
.value .num { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.value .num small { font-size: 15px; font-weight: 700; }
.value .sub { font-size: 11px; color: #DADAFF; }
.bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .2); }
.legend { display: flex; gap: 14px; font-size: 11px; font-weight: 600; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 7px; height: 7px; border-radius: 4px; display: inline-block; }
.scr-sec { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 800; margin-top: 2px; }
.scr-sec a { font-size: 12px; font-weight: 700; text-decoration: none; pointer-events: none; }
.act { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; gap: 10px; align-items: center; }
.act-body { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 10px; font-size: 10px; font-weight: 700; }
.pill-urgent { background: var(--urgent-soft); color: var(--urgent); }
.pill-warn { background: var(--warning-soft); color: var(--warning); }
.pill-info { background: var(--lavender); color: var(--primary); }
.act-name { font-size: 13px; font-weight: 700; }
.act-sub { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-price { font-size: 12px; font-weight: 700; white-space: nowrap; }

.scr-bar { text-align: center; font-size: 13px; font-weight: 800; margin-bottom: 2px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.card-cap { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.card-head { display: flex; gap: 10px; align-items: center; }
.card-ico { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.p-name { font-size: 16px; font-weight: 800; }
.p-meta { font-size: 11px; color: var(--muted); }
.p-price { font-size: 17px; font-weight: 800; color: var(--primary); margin-top: 2px; }
.status { font-size: 13px; font-weight: 700; }
.detail { font-size: 11px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.progress { height: 6px; border-radius: 3px; background: #EDEDF6; overflow: hidden; margin-top: 6px; }
.progress div { height: 6px; }
.doc { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; min-height: 26px; }
.scr-actions { margin-top: auto; display: flex; gap: 8px; }
.scr-actions span { flex: 1; min-height: 40px; border-radius: 13px; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; text-align: center; }
.scr-actions .a1 { background: var(--primary); color: #fff; }
.scr-actions .a2 { background: var(--surface); border: 1.5px solid var(--line); }

.screen-home { padding-bottom: 0; }
.tabbar { margin: auto -16px 0; background: var(--surface); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; padding: 8px 12px 14px; }
.tab { width: 52px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; font-weight: 500; color: var(--muted); }
.tab.on { color: var(--primary); font-weight: 700; }
.fab { width: 44px; height: 44px; border-radius: 22px; background: var(--primary); display: flex; align-items: center; justify-content: center; margin-top: -18px; box-shadow: 0 8px 18px rgba(75,75,219,.35); }

/* Secțiuni */
.band { background: var(--surface); }
.pad { padding-top: 96px; padding-bottom: 96px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 900px; }
.center .sec-head { align-items: center; }

.questions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 1080px; padding: 0; margin: 0 0 44px; list-style: none; }
.questions li { min-height: 64px; padding: 0 28px; border-radius: 32px; font-size: 21px; font-weight: 700; display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); }
.questions .q-urgent { background: var(--urgent-soft); color: var(--urgent); border-color: transparent; }
.questions .q-warn { background: var(--warning-soft); color: var(--warning); border-color: transparent; }
.questions .q-info { background: var(--lavender); color: var(--primary); border-color: transparent; }
.answer { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step, .tile { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { font-size: 40px; font-weight: 800; color: var(--primary); letter-spacing: -.03em; }
.step img { width: 88px; height: 88px; }
.step h3, .tile h3 { font-size: 21px; font-weight: 800; line-height: 1.25; }
.step p, .tile p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.tile { border-radius: 24px; padding: 26px; gap: 12px; }
.tile img { width: 64px; height: 64px; }
.tile h3 { font-size: 19px; }
.tile p { font-size: 15px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.pass-visual { position: relative; min-height: 860px; display: flex; align-items: center; justify-content: center; }
.pass-visual .blob { width: 600px; height: 600px; background: var(--bg); }
.pass-visual .art-1 { left: 10px; top: 80px; width: 130px; height: 130px; }
.pass-visual .phone { width: 380px; }
.pass-visual .screen { min-height: 720px; font-size: 14px; }
.pass-copy { display: flex; flex-direction: column; gap: 22px; }
.pass-copy .h2 { font-size: 52px; line-height: 1.06; letter-spacing: -.035em; }
.pass-copy .lead { font-size: 20px; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.55; }
.note { font-size: 15px; line-height: 1.55; color: var(--muted); background: var(--bg); border-radius: 16px; padding: 16px 18px; }

.stores { font-size: 22px; line-height: 1.6; font-weight: 700; color: var(--muted); max-width: 1000px; margin: 28px 0; }
.stores span { color: var(--primary); }

.panel { border-radius: 40px; padding: 72px; }
.panel-dark { background: var(--ink); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.panel-dark .eyebrow { color: #B9B9FF; }
.panel-dark .lead { color: #C9C9E6; }
.priv { display: flex; flex-direction: column; gap: 14px; }
.priv div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 20px; }
.priv strong { display: block; font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.priv span { font-size: 15px; line-height: 1.5; color: #C9C9E6; }
.priv a { color: #fff; }

.panel-cta { background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.panel-cta .lead { color: #E0E0FF; font-size: 19px; }
.cta-copy { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.cta-art { width: 260px; height: 260px; flex-shrink: 0; }
.form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.form label.lbl { font-size: 14px; font-weight: 700; }
.form-row { display: flex; gap: 10px; }
.form input[type=email] {
  flex: 1; min-width: 0; min-height: 58px; padding: 0 18px; border-radius: 16px; border: 0;
  background: #fff; font: inherit; font-size: 16px; color: var(--ink);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #E0E0FF; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.consent a { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 22px; font-size: 14px; font-weight: 700; }
.form-msg.ok { color: #fff; }
.form-msg.err { color: #FFD9DD; }

.footer .wrap { padding-top: 32px; padding-bottom: 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--muted); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--muted); font-weight: 600; text-decoration: none; }
.footer a:hover { color: var(--primary); }
.footer small { font-size: 13px; line-height: 1.5; }

/* Pagini de text (confidențialitate) */
.doc-page { max-width: 820px; margin: 0 auto; padding: 32px 24px 96px; }
.doc-page h1 { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.doc-page h2 { font-size: 24px; font-weight: 800; margin: 40px 0 12px; }
.doc-page p, .doc-page li { font-size: 16px; line-height: 1.65; color: #2A2A52; }
.doc-page p + p { margin-top: 12px; }
.doc-page ul { padding-left: 22px; }
.doc-page .draft { background: var(--warning-soft); color: var(--warning); border-radius: 14px; padding: 14px 16px; font-weight: 700; margin: 16px 0 24px; }
.doc-page .table-wrap { overflow-x: auto; }
.doc-page table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--surface); border-radius: 16px; overflow: hidden; }
.doc-page th, .doc-page td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc-page th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Ecrane medii */
@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .hero h1 { font-size: 54px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 22px; }
}
@media (max-width: 980px) {
  .nav a:not(.btn) { display: none; }
  .hero .wrap, .split, .panel-dark { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 0; padding: 20px 0 40px; }
  .pass-visual { order: 2; min-height: 0; padding: 20px 0; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .panel-cta { flex-direction: column; align-items: flex-start; }
  .cta-art { width: 160px; height: 160px; order: -1; }
}

/* Telefon */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .header .wrap { height: 68px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-name { font-size: 19px; }
  .nav .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .hero .wrap { padding-top: 16px; padding-bottom: 56px; gap: 8px; }
  .hero-copy { gap: 18px; }
  .hero h1 { font-size: 36px; line-height: 1.08; letter-spacing: -.03em; }
  .hero .lead { font-size: 17px; }
  .motto { font-size: 17px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .hero-visual .blob { width: 320px; height: 320px; }
  .float-art { width: 88px; height: 88px; }
  .hero-visual .art-1 { display: none; }
  .hero-visual .art-2 { right: -4px; top: 10px; bottom: auto; }
  .notif { position: relative; left: auto; bottom: auto; width: 100%; max-width: 320px; margin: -40px auto 0; }
  .hero-visual { flex-direction: column; }
  .phone { width: 280px; border-radius: 42px; padding: 10px; }
  .screen { min-height: 0; border-radius: 33px; padding: 26px 12px 14px; gap: 10px; }
  .screen-home { padding-bottom: 0; }
  .tabbar { margin: 4px -12px 0; }
  .pad { padding-top: 56px; padding-bottom: 56px; }
  .h2 { font-size: 30px; line-height: 1.12; }
  .sec-head { margin-bottom: 28px; }
  .center { text-align: left; align-items: stretch; }
  .center .sec-head { align-items: flex-start; }
  .questions { justify-content: flex-start; gap: 10px; margin-bottom: 28px; }
  .questions li { min-height: 48px; padding: 0 18px; font-size: 16px; border-radius: 24px; }
  .answer { font-size: 21px; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step { border-radius: 22px; padding: 22px; gap: 10px; }
  .step-num { font-size: 30px; }
  .step img { width: 64px; height: 64px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 15px; }
  .tile { flex-direction: row; align-items: flex-start; padding: 16px; border-radius: 20px; gap: 14px; }
  .tile img { width: 52px; height: 52px; flex-shrink: 0; }
  .tile h3 { font-size: 17px; margin-bottom: 4px; }
  .tile p { font-size: 14px; }
  .split { gap: 28px; }
  .pass-copy .h2 { font-size: 32px; line-height: 1.08; }
  .pass-copy .lead { font-size: 17px; }
  .pass-visual .phone { width: 300px; }
  .pass-visual .screen { min-height: 0; font-size: 13px; }
  .pass-visual .blob { width: 320px; height: 320px; }
  .pass-visual .art-1 { display: none; }
  .ticks li { font-size: 15px; gap: 12px; }
  .check { width: 26px; height: 26px; }
  .stores { font-size: 17px; margin: 18px 0; }
  .panel { border-radius: 30px; padding: 32px 22px; }
  .panel-dark { gap: 20px; }
  .priv strong { font-size: 16px; }
  .priv span { font-size: 14px; }
  .priv div { padding: 16px; border-radius: 18px; }
  .panel-cta .lead { font-size: 16px; }
  .cta-art { width: 110px; height: 110px; }
  .form-row { flex-direction: column; }
  .form input[type=email], .form .btn { min-height: 54px; width: 100%; }
  .footer .wrap { padding-top: 24px; padding-bottom: 32px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .doc-page { padding: 16px 16px 64px; }
  .doc-page h1 { font-size: 32px; }
  .doc-page h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
