:root {
  --violet: #5b2eff;
  --violet-dark: #1b0b3b;
  --pink: #ff2e88;
  --ink: #15131f;
  --ink-2: #5c5872;
  --paper: #ffffff;
  --soft: #f4f2fb;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--violet); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---- antet ---- */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86); backdrop-filter: blur(12px); border-bottom: 1px solid #eee; }
header.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
header.top img { width: 36px; height: 36px; border-radius: 10px; }
header.top .brand { font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
header.top nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
header.top nav a { color: var(--ink-2); text-decoration: none; }
header.top nav a:hover { color: var(--violet); }

/* ---- prezentare ---- */
.hero { background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 55%, var(--pink) 120%); color: #fff; padding: 80px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; }
.hero p { font-size: 19px; opacity: .92; margin: 0 0 28px; max-width: 34em; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.cta { display: inline-block; background: #fff; color: var(--violet-dark); font-weight: 700; padding: 15px 26px; border-radius: 16px; text-decoration: none; }
.cta.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); margin-left: 10px; }
.hero .art { display: flex; justify-content: center; }
.hero .art img { width: min(280px, 70vw); border-radius: 26%; box-shadow: 0 30px 80px rgba(0,0,0,.35); }

/* ---- secțiuni ---- */
section { padding: 72px 0; }
section.soft { background: var(--soft); }
h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.01em; margin: 0 0 12px; }
.lead { color: var(--ink-2); font-size: 18px; max-width: 40em; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(20,10,60,.06), 0 8px 30px rgba(20,10,60,.06); }
.card .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
/* trei telefoane în aceeași temă: cel din mijloc în față, cele laterale ușor în spate */
.trio { display: flex; justify-content: center; align-items: center; margin: 12px auto 0; }
.phone { margin: 0; text-align: center; width: 280px; flex: 0 0 auto; position: relative; }
.phone.side { width: 250px; z-index: 1; }
.phone.side:first-child { margin-right: -28px; }
.phone.side:last-child { margin-left: -28px; }
.phone.side:first-child .device { transform: rotate(-4deg) translateY(14px); }
.phone.side:last-child .device { transform: rotate(4deg) translateY(14px); }
.phone.main { z-index: 2; }
.device { position: relative; padding: 9px; border-radius: 48px;
  background: linear-gradient(145deg, #4a4a55 0%, #17171d 22%, #0d0d12 60%, #3a3a44 100%);
  box-shadow: 0 34px 70px rgba(20,10,60,.32), 0 6px 14px rgba(20,10,60,.18), inset 0 0 0 1.5px rgba(255,255,255,.14); }
.device::before { content: ""; position: absolute; right: -3px; top: 24%; width: 3px; height: 13%; border-radius: 0 3px 3px 0; background: #2b2b33; }
.device::after { content: ""; position: absolute; left: -3px; top: 18%; width: 3px; height: 18%; border-radius: 3px 0 0 3px; background: #2b2b33; }
.screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 40px; overflow: hidden; background: #000; }
.screen::after { content: ""; position: absolute; top: 12px; left: 50%; width: 11px; height: 11px; transform: translateX(-50%);
  background: #050507; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.05); z-index: 2; }
.screen::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: 40px;
  background: linear-gradient(120deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 32%); }
.screen canvas { width: 100%; height: 100%; display: block; }
.phone figcaption { margin-top: 18px; font-weight: 600; color: var(--ink-2); }
.phone.side figcaption { margin-top: 30px; }
.theme-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 34px auto 0; }
.theme-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ddd8f0; background: #fff; color: var(--violet);
  font-size: 24px; line-height: 1; cursor: pointer; }
.theme-nav button:hover { background: var(--violet); color: #fff; }
.theme-nav div { text-align: center; min-width: 220px; }
.theme-nav strong { display: block; font-size: 19px; }
.theme-nav span { color: var(--ink-2); font-size: 14px; }
h3.more { margin: 64px 0 18px; font-size: 24px; }
.kbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kbs figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16 / 10; box-shadow: 0 10px 30px rgba(20,10,60,.12); }
.kbs canvas { width: 100%; height: 100%; display: block; }
.kbs figcaption { position: absolute; left: 12px; top: 10px; background: rgba(0,0,0,.42); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 10px; }
.privacy-points li { margin: 6px 0; }

/* ---- documente (politica de confidențialitate) ---- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.doc h1 { font-size: 36px; margin: 0 0 6px; }
.doc .meta { color: var(--ink-2); margin: 0 0 32px; }
.doc h2 { font-size: 23px; margin: 36px 0 10px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 10px 0 20px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid #eee; }
.doc th { background: var(--soft); }
.lang { display: inline-flex; gap: 6px; margin-bottom: 18px; }
.lang a { font-size: 14px; padding: 4px 10px; border-radius: 999px; border: 1px solid #ddd; text-decoration: none; color: var(--ink-2); }
.lang a.on { background: var(--violet); color: #fff; border-color: var(--violet); }
.todo { background: #fff4d6; border-radius: 6px; padding: 0 4px; }

footer { background: var(--violet-dark); color: rgba(255,255,255,.75); padding: 36px 0; font-size: 14.5px; }
footer a { color: #fff; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero .art { order: -1; justify-content: flex-start; }
  .hero .art img { width: 120px; }
  .trio { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 16px; gap: 14px; }
  .phone, .phone.side { width: 70vw; max-width: 280px; margin: 0 !important; scroll-snap-align: center; }
  .phone .device { transform: none !important; }
  .kbs { grid-template-columns: 1fr 1fr; }
  header.top nav { gap: 12px; font-size: 14px; }
  .cta.ghost { margin: 10px 0 0; }
}
