:root {
  --ink: #102f42;
  --muted: #59717e;
  --blue: #0f4f78;
  --cyan: #0f88af;
  --amber: #d99343;
  --green: #43a17b;
  --coral: #c85f5c;
  --paper: #fbfcfc;
  --soft: #eef6f8;
  --line: #d8e5ea;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 47, 66, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 252, 252, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 229, 234, 0.8);
}
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; }
.brand img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; box-shadow: 0 8px 18px rgba(16, 47, 66, 0.16); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a, .lang-toggle {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}
.nav-links a:hover, .lang-toggle:hover { color: var(--blue); background: var(--soft); }
.lang-toggle { border-color: var(--line); color: var(--blue); background: var(--white); }
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 86px 0 76px;
  overflow: hidden;
  background: #0b2637;
}
.hero-bg {
  position: absolute;
  inset: -22px;
  background:
    linear-gradient(90deg, rgba(8, 31, 45, 0.86) 0%, rgba(8, 31, 45, 0.70) 37%, rgba(8, 31, 45, 0.30) 72%, rgba(8, 31, 45, 0.44) 100%),
    url("hero-greece.png") center / cover no-repeat;
  filter: blur(8px) saturate(1.05);
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 31, 45, 0.08), rgba(8, 31, 45, 0.55));
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 720px) minmax(310px, 0.8fr); gap: 64px; align-items: center; }
.hero-copy { max-width: 760px; }
.eyebrow { color: var(--cyan); font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: 0; line-height: 1.04; }
h1 { margin-top: 14px; font-size: clamp(42px, 6vw, 74px); max-width: 760px; }
.hero .eyebrow { color: #8ee4f0; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.36); }
.hero h1 { color: #fff; text-shadow: 0 5px 28px rgba(0, 0, 0, 0.36); }
.lead { margin: 22px 0 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; max-width: 640px; }
.hero .lead { color: rgba(255, 255, 255, 0.88); text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 900;
}
.btn-primary { color: var(--white); background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 22px rgba(15, 79, 120, 0.22); }
.btn-primary:hover { background: #0c415f; }
.btn-secondary { background: var(--white); color: var(--ink); }
.btn-secondary:hover { border-color: var(--cyan); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 12px; color: var(--muted); font-size: 13px; font-weight: 800; }
.hero .pill { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(10px); }
.phone-stage {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
  min-height: 610px;
  display: grid;
  place-items: center;
  perspective: 900px;
}
.phone-mockup {
  position: relative;
  width: 268px;
  height: 552px;
  border-radius: 42px;
  background: #0f2432;
  padding: 11px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42), 0 0 0 2px rgba(255,255,255,0.08) inset;
  transform: rotate(-3deg);
  animation: phoneFloat 6s ease-in-out infinite;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #f7fafc;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-top { background: #16567e; color: #fff; padding: 18px 18px 16px; }
.phone-status { display: flex; justify-content: space-between; align-items: center; font-size: 11px; opacity: 0.82; margin-bottom: 14px; }
.phone-label { font-size: 12px; opacity: 0.78; }
.phone-title { font-weight: 900; font-size: 21px; margin-top: 2px; }
.phone-tags { display: flex; gap: 7px; margin-top: 12px; }
.phone-tags span { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.16); font-size: 11px; font-weight: 800; }
.phone-body { padding: 15px; flex: 1; }
.phone-section-title { font-size: 11px; font-weight: 900; color: #54697a; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.balance-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 13px;
  padding: 11px 12px;
  box-shadow: 0 1px 3px rgba(15,36,50,0.06);
  margin-bottom: 9px;
}
.balance-row span:nth-child(2) { flex: 1; min-width: 0; }
.balance-row strong { display: block; font-size: 13px; color: #0f2432; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.balance-row small { display: block; color: #7c93a3; font-size: 11px; margin-top: 2px; }
.balance-row b { color: #217553; font-size: 14px; }
.balance-row b.negative { color: #b45438; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #e4f0f7; display: grid; place-items: center; font-weight: 900; color: #16567e; font-size: 12px; flex: 0 0 auto; }
.avatar.warm { background: #f8ead8; color: #9b5a12; }
.receipt-card {
  margin-top: 15px;
  border-radius: 17px;
  padding: 14px;
  background: linear-gradient(135deg, #e4f0f7, #fff0df);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #0f2432;
}
.phone-action {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 15px;
  min-height: 44px;
  background: #d99343;
  color: #fff;
  font: inherit;
  font-weight: 900;
}
.coin-orbit {
  position: absolute;
  inset: 50%;
  width: 1px;
  height: 1px;
  transform-style: preserve-3d;
  z-index: 3;
}
.coin-orbit::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 150px;
  left: -160px;
  top: -75px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  transform: rotate(-15deg);
}
.orbit-one { animation: orbitSpin 8s linear infinite; }
.orbit-two { animation: orbitSpin 11s linear infinite reverse; }
.orbit-three { animation: orbitSpin 13s linear infinite; }
.orbit-two::before { width: 260px; height: 128px; left: -130px; top: -64px; transform: rotate(24deg); }
.orbit-three::before { width: 370px; height: 178px; left: -185px; top: -89px; transform: rotate(8deg); }
.coin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff4c4, #f0b841 54%, #b96f1e 100%);
  color: #68400a;
  font-weight: 1000;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.28), inset 0 0 0 3px rgba(255,255,255,0.35);
}
.coin-eur { transform: translate(150px, -92px); }
.coin-usd { transform: translate(-162px, 56px); }
.coin-ron { width: 52px; height: 52px; font-size: 13px; transform: translate(116px, 134px); text-transform: uppercase; }
@keyframes phoneFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-14px); }
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.preview-wrap { position: relative; }
.preview { border-radius: 38px; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--soft); }
.quick-card {
  position: absolute; right: -6px; bottom: 42px; width: 218px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 16px; box-shadow: var(--shadow);
}
.quick-card strong { display: block; font-size: 14px; }
.quick-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.section { padding: 74px 0; }
.section.alt { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(31px, 4vw, 48px); max-width: 670px; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.55; max-width: 390px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 22px; min-height: 235px;
}
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--soft); color: var(--blue); margin-bottom: 18px;
}
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
.workflow { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: start; }
.steps { display: grid; gap: 12px; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 18px;
}
.num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 900; }
.step h3 { font-size: 18px; margin-bottom: 5px; }
.step p { margin: 0; color: var(--muted); line-height: 1.5; }
.panel {
  background: var(--ink); color: var(--white); border-radius: 8px;
  padding: 30px; min-height: 100%;
}
.panel p { color: #bfd2dc; line-height: 1.65; margin: 14px 0 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat { border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; padding: 16px; }
.stat strong { display: block; font-size: 26px; }
.stat span { color: #bfd2dc; font-size: 13px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tab {
  border: 1px solid var(--line); background: var(--white); color: var(--muted);
  border-radius: 999px; padding: 10px 16px; font: inherit; font-weight: 900; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--blue); color: var(--white); border-color: var(--blue); }
.tutorial-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 26px; align-items: start; }
.tutorial-card, .legal-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px;
}
.tutorial-card h2 { font-size: 30px; margin-bottom: 12px; }
.tutorial-card p, .legal-card p, .legal-card li { color: var(--muted); line-height: 1.65; }
.tutorial-video-head { margin-bottom: 24px; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(16, 47, 66, 0.06);
}
.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(15, 79, 120, 0.88), rgba(67, 161, 123, 0.64)),
    url("hero-greece.png") center / cover no-repeat;
  color: #fff;
}
.video-placeholder::after {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.55);
  position: absolute;
}
.video-placeholder span {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.08em;
}
.video-card h3 { font-size: 18px; margin: 14px 0 6px; }
.video-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.video-card code { white-space: normal; overflow-wrap: anywhere; }
.video-card video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 8px; background: #0f2432; }
.legal-card h2 { font-size: 24px; margin-top: 30px; margin-bottom: 10px; }
.legal-card h2:first-child { margin-top: 0; }
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: 8px; background: var(--white); overflow: hidden; }
.faq button {
  width: 100%; min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  border: 0; background: transparent; padding: 16px 20px; text-align: left; font: inherit; font-weight: 900; cursor: pointer;
}
.faq div { display: none; padding: 0 20px 18px; color: var(--muted); line-height: 1.55; }
.faq.open div { display: block; }
.cta { background: var(--ink); color: var(--white); padding: 64px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); max-width: 620px; }
.cta p { color: #bfd2dc; margin: 14px 0 0; line-height: 1.55; max-width: 620px; }
.footer { background: #092536; color: #b6cad4; padding: 44px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h3 { color: var(--white); font-size: 14px; margin-bottom: 13px; }
.footer a { display: block; color: #b6cad4; margin: 9px 0; }
.footer a:hover { color: var(--white); }
.fine { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 32px; padding-top: 18px; font-size: 13px; color: #83a0ae; }
.page-hero { padding: 60px 0 36px; background: var(--soft); }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); }
.disclaimer { background: #fff1df; border: 1px solid #edd2ad; color: #7c4a10; border-radius: 8px; padding: 14px 16px; margin: 22px 0; line-height: 1.5; font-size: 14px; }
[data-lang="en"] .ro, [data-lang="ro"] .en { display: none !important; }

@media (max-width: 900px) {
  .hero-grid, .workflow, .tutorial-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head, .cta-row { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-card { position: static; margin-top: 14px; width: auto; }
  .phone-stage { min-height: 570px; margin: 6px auto 0; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav-inner { min-height: auto; padding: 12px 0; align-items: flex-start; }
  .nav-links { justify-content: flex-end; flex-wrap: wrap; gap: 4px; }
  .nav-links a { display: none; }
  .hero { padding-top: 44px; }
  .feature-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .tutorial-card, .legal-card, .panel { padding: 22px; }
  .hero { min-height: calc(100vh - 138px); padding-bottom: 72px; }
  .phone-stage {
    position: absolute;
    right: -90px;
    bottom: -34px;
    width: 300px;
    min-height: 520px;
    transform: scale(0.62);
    transform-origin: bottom right;
    opacity: 0.58;
    pointer-events: none;
    z-index: 0;
  }
  .hero-copy { position: relative; z-index: 2; }
  .phone-mockup { width: 250px; height: 515px; }
  .coin-orbit::before { opacity: 0.55; }
  .coin { transform: scale(0.9); }
}

/* ── Pagini legale (confidențialitate / termeni / ștergere cont) ───────── */
.legal-card { max-width: 100%; }
.legal-card h2 { color: var(--deep, var(--blue)); }
.legal-card h3 { font-size: 16px; margin: 18px 0 4px; }
.legal-card ul, .legal-card ol { padding-left: 20px; margin: 8px 0; }
.legal-card li { color: var(--muted); line-height: 1.6; margin: 5px 0; }
.legal-card b { color: var(--ink); }
.legal-card a { color: var(--blue); font-weight: 700; }
.legal-card .good { color: var(--green); font-weight: 700; }
.legal-card code { background: var(--soft); padding: 1px 6px; border-radius: 5px; font-size: 13px; }
.legal-card .card { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin: 12px 0; color: var(--muted); }
.legal-card .imp { border-left: 4px solid var(--blue); background: var(--soft); border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 12px 0; color: var(--ink); }
.legal-card .warn { border-left: 4px solid var(--coral); background: #fbeceb; border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 14px 0; color: #7a2f2c; }
.legal-card .ok { border-left: 4px solid var(--green); background: #e8f4ef; border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 14px 0; color: #1c5d45; }
.legal-scroll { width: 100%; overflow-x: auto; }
.legal-card table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 14px; }
.legal-card th, .legal-card td { border: 1px solid var(--line); padding: 8px 11px; text-align: left; vertical-align: top; line-height: 1.5; }
.legal-card th { background: var(--soft); color: var(--blue); font-size: 13px; }
.legal-meta { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.page-hero .legal-meta { margin-top: 12px; }

/* ── Badge-uri magazin (placeholder până la linkuri) ───────────────────── */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 54px; padding: 9px 18px; border-radius: 13px;
  background: rgba(15, 36, 50, 0.55); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 800; cursor: not-allowed;
}
.store-badge .badge-mark { font-size: 22px; line-height: 1; }
.store-badge small { display: block; font-size: 10px; opacity: 0.82; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.store-badge b { font-size: 15px; display: block; }
.store-soon { color: rgba(255, 255, 255, 0.72); font-size: 13px; font-weight: 700; }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.err-wrap { min-height: 66vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.err-code { font-size: clamp(72px, 16vw, 150px); font-weight: 1000; line-height: 1; color: var(--blue); }
.err-wrap p { color: var(--muted); font-size: 18px; max-width: 460px; margin: 14px auto 26px; line-height: 1.55; }

/* ── Media drop-in: video-uri de tutorial + galerie capturi ───────────── */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.media-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.media-card h3 { font-size: 17px; margin: 13px 0 4px; }
.media-slot { position: relative; border-radius: 12px; overflow: hidden; background: #0f2432; border: 1px solid var(--line); }
.media-slot.r-16-9 { aspect-ratio: 16 / 9; }
.media-slot.r-9-16 { aspect-ratio: 9 / 16; }
.media-slot video { width: 100%; height: 100%; object-fit: contain; background: #0f2432; display: block; }
.media-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-ph {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  text-align: center; color: #fff; padding: 12px;
  background: linear-gradient(135deg, rgba(15, 79, 120, 0.9), rgba(67, 161, 123, 0.62)), url("hero-greece.png") center / cover no-repeat;
}
.media-ph .play { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); border: 2px solid rgba(255, 255, 255, 0.6); display: grid; place-items: center; font-size: 19px; padding-left: 3px; }
.media-ph small { font-size: 12px; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.92; }
@media (max-width: 640px) { .media-grid, .shot-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Manual de utilizare: cuprins lateral + document lung ──────────────────
   Pagina tutoriale.html e un document de referință, nu o pagină de marketing:
   se citește pe sărite, se dă link direct la un capitol și se printează.
   Politica de securitate a site-ului (.htaccess: style-src 'self') interzice
   orice CSS inline, deci TOT ce ține de manual stă aici. */
.manual-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 38px; align-items: start; }

/* Cuprinsul e un <details open>: pe ecran mare rezumatul e ascuns și lista stă
   lipită la scroll; pe telefon rezumatul devine buton de pliere. Fără JavaScript —
   dacă scriptul nu se încarcă, cuprinsul rămâne complet funcțional. */
.toc { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 16px 8px 16px 16px; }
.toc > summary { display: none; }
.toc-title { font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; max-height: calc(100vh - 190px); overflow-y: auto; }
.toc li { margin: 0; }
.toc a {
  display: block; padding: 6px 10px 6px 12px;
  border-left: 2px solid transparent;
  color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.35;
}
.toc a:hover { color: var(--blue); background: var(--soft); }
.toc a[aria-current="true"] { color: var(--blue); border-left-color: var(--cyan); background: var(--soft); }
.toc .toc-sep { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }

/* Bara de sus e sticky (72px), deci un titlu vizat de o ancoră ar intra sub ea. */
.manual-body h2, .manual-body h3, .section[id], .manual-anchor { scroll-margin-top: 92px; }
.manual-body h2 { font-size: 27px; margin-top: 42px; padding-top: 4px; border-top: 1px solid var(--line); }
.manual-body h2:first-child { margin-top: 0; border-top: 0; }
.manual-body h3 { font-size: 17px; margin: 24px 0 6px; color: var(--ink); }
.manual-body ol, .manual-body ul { padding-left: 22px; }
.manual-body ol li, .manual-body ul li { margin: 6px 0; }
.manual-body .lede { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 6px 0 0; }
/* Etichetele citate din aplicație — se scriu la fel peste tot, ca cititorul să
   le recunoască pe ecranul telefonului. */
/* `display:inline` + box-decoration-break, NU inline-block cu nowrap: o etichetă lungă
   („Ajutor și tutoriale") trebuie să se rupă pe două rânduri pe telefon, altfel împinge
   pagina pe orizontală. Chenarul se desenează pe ambele fragmente. */
.ui {
  display: inline;
  background: var(--soft); border: 1px solid var(--line); border-radius: 5px;
  padding: 0 6px; font-weight: 700; color: var(--blue);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  overflow-wrap: break-word;
}
.manual-body table { font-size: 13.5px; }
.manual-body th:first-child, .manual-body td:first-child { min-width: 210px; }

/* Capturi în firul textului: figura e ASCUNSĂ până când fișierul chiar există
   (app.js pune .shot-filled după ce verifică). Altfel un manual fără capturi ar
   fi plin de casete goale. */
.shot { display: none; margin: 18px 0; }
.shot.shot-filled { display: block; }
.shot .media-slot { border-radius: 10px; max-width: 320px; }
.shot figcaption { margin-top: 7px; color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .manual-layout { grid-template-columns: 1fr; }
  .toc { position: static; padding: 0; }
  .toc > summary { display: block; cursor: pointer; padding: 14px 16px; font-weight: 900; color: var(--blue); list-style: none; }
  .toc > summary::-webkit-details-marker { display: none; }
  .toc > summary::after { content: " ▾"; }
  .toc[open] > summary::after { content: " ▴"; }
  .toc-title { display: none; }
  .toc ol { max-height: 44vh; padding: 0 16px 16px; }
}

/* ── Print: manualul trebuie să iasă curat pe hârtie ─────────────────────── */
@media print {
  .nav, .toc, .footer, .page-hero .actions, .tabs, .media-grid, .cta { display: none !important; }
  .section, .page-hero { padding: 0; background: none; }
  .legal-card { border: 0; padding: 0; }
  .faq div { display: block !important; }
  .faq button { padding-left: 0; }
  .faq button span:last-child { display: none; }
  .step, .faq, .manual-body table, .shot { break-inside: avoid; }
  .manual-body h2 { break-after: avoid; }
  body { background: #fff; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; }
}
