:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --ink: #0f172a;
  --muted: #526077;
  --line: #e2e8f0;
  --brand: #1d4ed8;
  --brand-ink: #ffffff;
  --brand-soft: #e8efff;
  --accent: #0ea5a4;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120; --bg-alt: #0f172a; --ink: #e5eaf3; --muted: #9aa8bf; --line: #1e293b;
    --brand: #4f7dff; --brand-soft: #16224a; --card: #111a2e; --shadow: 0 1px 2px rgba(0,0,0,.4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 650; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 .7em; }
.lead { font-size: 1.1rem; color: var(--muted); }

/* butoane */
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 1.5px solid var(--brand); padding: .8em 1.4em; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(29,78,216,.25); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); box-shadow: none; }
.btn-sm { padding: .55em 1em; font-size: .92rem; }

/* navigatie */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: .5em; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.bname span, .foot b span { color: var(--brand); }
.logo { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.logo svg { width: 26px; height: 26px; }
.links { display: flex; align-items: center; gap: 1.6em; }
.links > a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.links > a:hover { color: var(--brand); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .burger { display: block; }
  .links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .links.open { display: flex; }
  .links > a { padding: .8em 0; border-bottom: 1px solid var(--line); }
}

/* hero */
.hero { background: radial-gradient(1000px 500px at 85% -10%, var(--brand-soft), transparent 70%), var(--bg); padding: clamp(48px, 8vw, 96px) 0; }
.hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .93rem; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: .45em; }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(15,23,42,.25); overflow: hidden; transform: rotate(1.2deg); }
.hc-top { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.hc-top span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; }
.hc-tile { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; background: var(--bg-alt); font-size: .88rem; }
.hc-tile svg { width: 26px; height: 26px; color: var(--brand); }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; gap: 36px; } .hero-card { transform: none; } }

/* sectiuni */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head p:not(.eyebrow) { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .95rem; flex: 1; margin: 0 0 14px; }
.card .more { color: var(--brand); font-weight: 600; font-size: .9rem; }
.ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.ic svg { width: 24px; height: 24px; }
.ic.big { width: 56px; height: 56px; } .ic.big svg { width: 30px; height: 30px; }

/* produse detaliate */
.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; padding: 48px 0; border-bottom: 1px solid var(--line); }
.product:last-child { border-bottom: 0; }
.product.rev .p-text { order: 2; }
.p-feat { list-style: none; margin: 0; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; }
.p-feat li { position: relative; padding-left: 30px; }
.p-feat li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; } .product.rev .p-text { order: 0; } }

.why { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 3px solid var(--accent); }
.why p { color: var(--muted); margin: 0; font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }
.steps span { color: var(--muted); font-size: .95rem; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: .7em .85em; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: #059669; } .form-msg.err { color: #dc2626; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .form { padding: 20px; } }

/* footer */
.foot { background: #0b1120; color: #9aa8bf; padding: 40px 0; font-size: .92rem; }
.foot b { color: #fff; font-size: 1.15rem; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.foot nav a { color: #9aa8bf; } .foot nav a:hover { color: #fff; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr; text-align: center; } }

/* pagini de produs */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--brand); }
.hc-tile small { color: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: .78rem; }
.flist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 18px; }
.fgroup { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.fgroup h3 { margin-bottom: 14px; }
.fgroup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fgroup li { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; font-size: .94rem; align-items: baseline; }
.fgroup ul.plain li { grid-template-columns: 1fr; position: relative; padding-left: 18px; }
.fgroup ul.plain li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.fgroup code { font-family: ui-monospace, Consolas, monospace; font-size: .82rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 2px 7px; border-radius: 6px; justify-self: start; }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq details p { color: var(--muted); margin: 12px 0 0; }
