:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5a677c;
  --line: #e5e7eb;
  --brand: #4f46e5;
  --brand-ink: #3730a3;
  --brand-soft: #eef2ff;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --ok: #16a34a;
  --ok-soft: #f0fdf4;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --max: 1120px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .92em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .75rem; }
section { padding: 88px 0; }
.soft { background: var(--bg-soft); }
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Bara de alertă */
.alert-bar { background: var(--ink); color: #e2e8f0; font-size: .9rem; padding: 10px 0; text-align: center; }
.alert-bar strong { color: #fff; }
.alert-bar a { color: #a5b4fc; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(239,68,68,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } html { scroll-behavior: auto; } }

/* Antet */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: "JetBrains Mono", monospace; font-size: .8rem; }
.logo span.tld { color: var(--muted); font-weight: 600; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav ul a { color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav ul a:hover { color: var(--ink); text-decoration: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }

/* Hero */
.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--danger-soft); color: #b91c1c; font-weight: 600; font-size: .85rem; border: 1px solid #fecaca; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--danger); }
.hero .lead { max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.trust span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 6px; }

.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.facts-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.facts-head .sev { background: var(--danger); color: #fff; font-size: .78rem; padding: 3px 10px; border-radius: 999px; }
.facts dl { margin: 0; }
.facts .row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.facts .row:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* Verificator versiune */
.checker { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.checker-form { display: flex; gap: 10px; }
.checker input { flex: 1; min-width: 0; padding: 14px 16px; font: 500 1.05rem "JetBrains Mono", monospace; border: 1px solid var(--line); border-radius: 10px; outline: none; }
.checker input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.checker .hint { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.result { margin-top: 20px; padding: 18px 20px; border-radius: 12px; display: none; }
.result.show { display: block; }
.result h3 { margin-bottom: .3em; }
.result p { margin: 0 0 .6em; }
.result p:last-child { margin: 0; }
.result.bad { background: var(--danger-soft); border: 1px solid #fecaca; }
.result.bad h3 { color: var(--danger); }
.result.warn { background: var(--warn-soft); border: 1px solid #fde68a; }
.result.warn h3 { color: var(--warn); }
.result.good { background: var(--ok-soft); border: 1px solid #bbf7d0; }
.result.good h3 { color: var(--ok); }
.scan-progress { display: none; align-items: center; gap: 12px; margin-top: 20px; color: var(--ink-2); font-weight: 500; }
.scan-progress.show { display: flex; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scan-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .94rem; background: rgba(255,255,255,.6); border-radius: 10px; overflow: hidden; }
.scan-table th, .scan-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid rgba(15,23,42,.07); vertical-align: top; }
.scan-table tr:last-child th, .scan-table tr:last-child td { border-bottom: 0; }
.scan-table th { color: var(--muted); font-weight: 500; width: 38%; }
.scan-table td { font-weight: 600; word-break: break-word; }
.signals { margin: 0 0 14px; padding-left: 20px; color: var(--ink-2); font-size: .94rem; }
.signals li { margin-bottom: 4px; }
.result .small { font-size: .85rem; color: var(--muted); }
.terminal { background: var(--ink); color: #e2e8f0; border-radius: 10px; padding: 14px 16px; font-family: "JetBrains Mono", monospace; font-size: .88rem; margin-top: 16px; overflow-x: auto; white-space: pre; }
.terminal .c { color: #64748b; }

/* Grile & carduri */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--ink-2); margin: 0; }
.card .tag { display: inline-block; font-family: "JetBrains Mono", monospace; font-size: .8rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; margin-bottom: 12px; color: var(--ink-2); }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }

.stack { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.stack span { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; color: var(--ink-2); font-size: .95rem; }

/* Pachete */
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.plan.featured::before { content: attr(data-label); position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.plan .price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan .per { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.note { color: var(--muted); font-size: .9rem; text-align: center; margin-top: 24px; }

/* Proces */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.step h3 { font-size: 1.05rem; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-points li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-points .icon { flex: none; margin: 0; }
.contact-points strong { display: block; }
.contact-points span { color: var(--muted); font-size: .95rem; }
form.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
label .opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
textarea { min-height: 110px; resize: vertical; }
.urgency { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.urgency input { position: absolute; opacity: 0; pointer-events: none; }
.urgency label { margin: 0; text-align: center; padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; cursor: pointer; font-size: .9rem; }
.urgency input:checked + label { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.urgency input:focus-visible + label { box-shadow: 0 0 0 4px var(--brand-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin: 6px 0 20px; }
.consent input { margin-top: 4px; }
.consent label { font-weight: 400; font-size: .88rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-msg.ok { display: block; background: var(--ok-soft); color: #14532d; border: 1px solid #bbf7d0; }
.form-msg.err { display: block; background: var(--danger-soft); color: #7f1d1d; border: 1px solid #fecaca; }

/* CTA final */
.cta-band { background: var(--ink); color: #fff; border-radius: 20px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { color: #cbd5e1; margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--ink); flex: none; }
.cta-band .btn-primary:hover { background: #e2e8f0; }

footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 32px; }
.foot-by { margin-top: 4px; font-size: .85rem; color: var(--muted); }
.foot-by strong { color: var(--ink); }
.company { font-style: normal; line-height: 1.7; }
.company strong { color: var(--ink); }
.anpc { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.anpc a { font-size: .8rem; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; }
footer h3 { color: var(--ink); font-size: .9rem; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { color: var(--ink-2); }
.disclaimer { border-top: 1px solid var(--line); padding-top: 24px; font-size: .82rem; }

@media (max-width: 960px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
    }
@media (max-width: 760px) {
  .nav ul { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav ul.open { display: flex; }
  .nav ul li a { display: block; padding: 10px 0; }
  .menu-btn { display: block; }
  .nav .btn-sm { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0; }
  .grid-2, .grid-3, .steps, .field-row, .foot-grid { grid-template-columns: 1fr; }
  .checker { padding: 22px; }
  .checker-form { flex-direction: column; }
  .facts .row { grid-template-columns: 110px 1fr; }
  form.lead-form { padding: 22px; }
}

/* Utilitare */
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--muted); }
.txt-danger { color: var(--danger); }
.btn-block { width: 100%; }
.foot-about { margin-top: 12px; max-width: 340px; }

/* Contract, NDA, DPA */
.legal-band { margin-top: 56px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.legal-band-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.legal-band-head .icon { flex: none; margin: 0; }
.legal-band-head p { color: var(--ink-2); margin: 0; }
.legal-doc { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--bg-soft); }
.legal-doc strong { display: block; margin-bottom: 6px; }
.legal-doc span { color: var(--ink-2); font-size: .94rem; }
.gdpr-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }

/* Pagini de conținut (politica de confidențialitate) */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 20px 88px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2.2em; }
.doc h3 { margin-top: 1.4em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: .92rem; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .92rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-soft); }
.doc .table-wrap { overflow-x: auto; }

/* Ancorele nu ajung sub antetul fix */
[id] { scroll-margin-top: 80px; }

/* Banner consimțământ cookie-uri: bandă fixă în partea de jos a ecranului */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(15,23,42,.12); }
.cc-box { max-width: var(--max); margin: 0 auto; padding: 18px 20px; max-height: 85vh; overflow-y: auto; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "prefs prefs" "main actions"; gap: 0 32px; align-items: center; }
.cc-main { grid-area: main; }
.cc-title { font-size: 1rem; margin: 0 0 .25em; letter-spacing: -.01em; }
.cc-text { font-size: .9rem; color: var(--ink-2); margin: 0; }
.cc-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cc-actions .btn { min-width: 110px; }
.cc-prefs { grid-area: prefs; margin-bottom: 14px; }
.cc-cat { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cc-cat label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; cursor: pointer; }
.cc-cat input { width: 18px; height: 18px; accent-color: var(--brand); }
.cc-cat p { margin: 4px 0 0 26px; font-size: .86rem; color: var(--muted); }
.cc-always { font-size: .78rem; color: var(--ok); font-weight: 600; margin-left: auto; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; text-decoration: none; }
.link-btn:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .cc-box { grid-template-columns: 1fr; grid-template-areas: "prefs" "main" "actions"; padding: 16px; }
  .cc-actions { margin-top: 14px; }
  .cc-actions .btn { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .cc-actions [data-cc="settings"], .cc-actions [data-cc="save"] { order: 3; }
}
.facts-foot { margin: 0; padding: 10px 20px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); background: var(--bg-soft); }

/* Linkurile din text se disting și prin subliniere, nu doar prin culoare (WCAG 1.4.1) */
:is(p, address, td, label, .doc li, .alert-bar) a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* Selector de limbă */
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: .82rem; font-weight: 600; }
.lang-switch a { padding: 6px 10px; color: var(--ink-2); text-decoration: none; line-height: 1.2; }
.lang-switch a + a { border-left: 1px solid var(--line); }
.lang-switch a:hover { background: var(--bg-soft); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .nav { gap: 12px; }
  .nav > nav { order: 3; }
  .nav-end { margin-left: auto; }
}
