/* ==========================================================================
   TopoDigi — stylesheet
   Paleta pornește din logo: bleumarin + albastru electric, cu auriu discret.
   ========================================================================== */

/* Fonturi găzduite local (GDPR: fără cereri către Google Fonts) */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2'); 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: 'JetBrains Mono'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); 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-weight: 400 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2'); 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 {
    --navy-950: #081326;
    --navy-900: #0d1b33;
    --navy-800: #13264a;
    --navy-700: #1b365d;
    --blue-600: #0f7fd0;
    --blue-500: #1592e6;
    --blue-400: #3cb0f2;
    --blue-100: #e3f2fd;
    --blue-50: #f1f8fe;
    --gold-500: #c4a35a;
    --gold-100: #f6eedb;
    --green-600: #138a5e;
    --green-100: #e2f5ec;
    --amber-600: #b7791f;
    --amber-100: #fdf1dc;
    --red-600: #c2410c;

    --ink: #142033;
    --ink-soft: #33415a;
    --muted: #5b6878;
    --line: #e4e7ee;
    --line-strong: #d3d8e2;
    --paper: #f6f7fa;
    --paper-warm: #faf8f3;
    --surface: #ffffff;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(13, 27, 51, .06), 0 1px 3px rgba(13, 27, 51, .05);
    --shadow: 0 10px 30px -12px rgba(13, 27, 51, .18), 0 2px 6px rgba(13, 27, 51, .05);
    --shadow-lg: 0 30px 60px -20px rgba(13, 27, 51, .30), 0 8px 20px -8px rgba(13, 27, 51, .12);

    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

    --container: 1200px;
    --gutter: 20px;
    --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; color: var(--navy-900); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-100); color: var(--navy-900); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Icons ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 1em; height: 1em; }
.i-lg { width: 1.6em; height: 1.6em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-sm { padding-block: clamp(48px, 6vw, 72px); }
.bg-paper { background: var(--paper); }
.bg-warm { background: var(--paper-warm); }
.bg-navy { background: var(--navy-900); color: #c9d4e6; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.stack > * + * { margin-top: 16px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-gold { color: var(--gold-500); }
.eyebrow-light { color: var(--blue-400); }
.display { font-size: clamp(2.35rem, 5.2vw, 4rem); letter-spacing: -.035em; line-height: 1.05; font-weight: 800; }
.h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); letter-spacing: -.03em; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: var(--muted); line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.text-gradient {
    background: linear-gradient(100deg, var(--blue-600), var(--blue-400) 60%, var(--navy-700));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--navy-800); --fg: #fff; --bd: var(--navy-800);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 22px; border-radius: 12px; border: 1.5px solid var(--bd);
    background: var(--bg); color: var(--fg); font-weight: 650; font-size: .97rem; line-height: 1.2;
    cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .i { transition: transform .2s ease; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { --bg: var(--blue-500); --bd: var(--blue-500); box-shadow: 0 8px 20px -8px rgba(21, 146, 230, .6); }
.btn-primary:hover { --bg: var(--blue-600); --bd: var(--blue-600); }
.btn-outline { --bg: transparent; --fg: var(--navy-800); --bd: var(--line-strong); }
.btn-outline:hover { --bd: var(--navy-700); --bg: #fff; }
.btn-light { --bg: #fff; --fg: var(--navy-900); --bd: #fff; }
.btn-ghost-light { --bg: rgba(255,255,255,.06); --fg: #fff; --bd: rgba(255,255,255,.25); }
.btn-ghost-light:hover { --bg: rgba(255,255,255,.12); --bd: rgba(255,255,255,.5); }
.btn-sm { padding: 9px 15px; font-size: .88rem; border-radius: 10px; }
.btn-lg { padding: 16px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.link-arrow .i { transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #b7c3d8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #dfe7f4; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 27, 51, .35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 13px; border-radius: 10px; color: var(--ink-soft); font-weight: 600; font-size: .94rem;
    background: none; border: 0; cursor: pointer; transition: background .2s, color .2s;
}
.nav-link:hover { color: var(--navy-900); background: var(--paper); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-link { color: var(--blue-600); }
.nav-link .i-chev { transition: transform .25s; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-item { position: relative; }
.mega {
    position: absolute; top: calc(100% + 12px); left: -8px; transform: translate(0, 8px);
    width: min(680px, 92vw); padding: 14px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translate(0, 0); }
.nav-item.is-open .i-chev { transform: rotate(180deg); }
.mega-link { display: flex; gap: 14px; padding: 14px; border-radius: 14px; color: var(--ink); transition: background .2s; }
.mega-link:hover { background: var(--paper); color: var(--ink); }
.mega-link[aria-current="page"] { background: var(--blue-50); }
.mega-link strong { display: block; color: var(--navy-900); font-size: .97rem; }
.mega-link span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.5; margin-top: 2px; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--paper); font-size: .88rem; color: var(--muted); }

.icon-badge {
    display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
    border-radius: 12px; background: var(--blue-50); color: var(--blue-600);
    border: 1px solid #d5e9fa;
}
.icon-badge .i { width: 22px; height: 22px; }
.icon-badge.gold { background: var(--gold-100); color: #8a6d2a; border-color: #eadfc2; }
.icon-badge.green { background: var(--green-100); color: var(--green-600); border-color: #c8ead9; }
.icon-badge.navy { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.icon-badge.lg { width: 56px; height: 56px; border-radius: 16px; }
.icon-badge.lg .i { width: 26px; height: 26px; }

.nav-mobile-cta { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; cursor: pointer; color: var(--navy-900); }
.nav-toggle .i-close { display: none; }
body.nav-open .nav-toggle .i-menu { display: none; }
body.nav-open .nav-toggle .i-close { display: block; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px); background: linear-gradient(180deg, #f3f7fc 0%, #fff 100%); isolation: isolate; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(27, 54, 93, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 54, 93, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero::after {
    content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -200px; top: -240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 176, 242, .28), rgba(21, 146, 230, .08) 45%, transparent 70%);
}
.hero .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.hero .lead { max-width: 580px; margin-block: 22px 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; list-style: none; color: var(--ink-soft); font-size: .92rem; font-weight: 550; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { color: var(--green-600); }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-900); color: #c3cfe2; padding-block: clamp(56px, 8vw, 96px); isolation: isolate; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero::after {
    content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -180px; bottom: -320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(21, 146, 230, .45), transparent 65%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.03em; max-width: 820px; }
.page-hero .lead { color: #b3c1d8; max-width: 700px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero .split { align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: .85rem; margin-bottom: 22px; color: #8fa1bd; }
.breadcrumb a { color: #c9d6ea; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Mock UI ---------- */
.mock {
    position: relative; background: #fff; border-radius: 20px; border: 1px solid var(--line);
    box-shadow: var(--shadow-lg); overflow: hidden; font-size: .84rem;
}
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e6ee; }
.mock-dots i:first-child { background: #ff8a80; } .mock-dots i:nth-child(2) { background: #ffd57a; } .mock-dots i:nth-child(3) { background: #7bdcb5; }
.mock-url { flex: 1; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: var(--paper); color: var(--muted); font-family: var(--mono); font-size: .74rem; overflow: hidden; white-space: nowrap; }
.mock-url .i { color: var(--green-600); width: 13px; height: 13px; }
.mock-body { padding: 20px; }
.mock-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-title strong { color: var(--navy-900); font-size: 1rem; }
.mock-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.mock-row .icon-badge { width: 34px; height: 34px; border-radius: 10px; }
.mock-row .icon-badge .i { width: 17px; height: 17px; }
.mock-row b { display: block; color: var(--navy-900); font-weight: 650; font-size: .86rem; }
.mock-row small { color: var(--muted); font-family: var(--mono); font-size: .72rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; background: var(--paper); color: var(--ink-soft); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-blue { background: var(--blue-50); color: var(--blue-600); }
.pill-green { background: var(--green-100); color: var(--green-600); }
.pill-amber { background: var(--amber-100); color: var(--amber-600); }
.pill-plain::before { display: none; }

.timeline-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.timeline-mini span { height: 6px; border-radius: 6px; background: var(--line); }
.timeline-mini span.done { background: var(--green-600); }
.timeline-mini span.now { background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.timeline-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; font-size: .68rem; color: var(--muted); }

.float-card {
    position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
    padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: .82rem;
    animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; color: var(--navy-900); }
.float-card small { color: var(--muted); }
.float-card.fc-1 { left: -36px; bottom: 54px; }
.float-card.fc-2 { right: -24px; top: -26px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-visual { position: relative; padding: 24px 18px 24px 24px; }

.doc-mock { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 26px 24px; box-shadow: var(--shadow); position: relative; }
.doc-mock .doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-strong); margin-bottom: 16px; }
.doc-mock .doc-head strong { display: block; color: var(--navy-900); font-size: .95rem; letter-spacing: .02em; }
.doc-mock .line { height: 8px; border-radius: 6px; background: #eef1f6; margin-bottom: 10px; }
.doc-mock .line.w60 { width: 60%; } .doc-mock .line.w80 { width: 80%; } .doc-mock .line.w40 { width: 40%; }
.doc-sign { margin-top: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.stamp { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1.5px solid var(--green-600); color: var(--green-600); border-radius: 10px; font-weight: 700; font-size: .75rem; transform: rotate(-3deg); background: rgba(19, 138, 94, .04); }
.signature { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.6rem; color: var(--navy-700); line-height: 1; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy-900); line-height: 1.1; }
.stat .num small { font-size: .55em; font-weight: 700; color: var(--blue-600); margin-left: 2px; }
.stat p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.stats-wrap { margin-top: -56px; position: relative; z-index: 2; }

/* ---------- Cards ---------- */
.card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; min-width: 0;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe3f5; }
.card h3 { font-size: 1.22rem; margin-top: 18px; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .link-arrow { margin-top: 8px; }
.card-flat { background: var(--paper); border-color: transparent; }
.card-dark { background: var(--navy-800); border-color: rgba(255,255,255,.08); color: #b9c6dc; }
.card-dark h3 { color: #fff; }
.card-dark p { color: #a9b8d0; }
.card-link { display: flex; flex-direction: column; color: inherit; height: 100%; }
.card-link:hover { color: inherit; }
.card-link .link-arrow { margin-top: auto; padding-top: 18px; color: var(--blue-600); }
.card-tag { position: absolute; top: 22px; right: 22px; }

.problem-solution { display: grid; gap: 14px; margin-top: 18px; }
.ps { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; font-size: .93rem; line-height: 1.55; }
.ps .i { margin-top: 2px; }
.ps-problem { background: #fdf3ef; color: #6b3b25; }
.ps-problem .i { color: var(--red-600); }
.ps-solution { background: var(--green-100); color: #145c40; }
.ps-solution .i { color: var(--green-600); }
.ps strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }

/* Compare (azi vs topodigi) */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.compare-col { border-radius: var(--radius-lg); padding: 34px; }
.compare-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.compare-col ul { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.compare-col li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.compare-col li .i { margin-top: 3px; }
.compare-old { background: #fff; border: 1px dashed var(--line-strong); color: var(--muted); }
.compare-old li .i { color: #c26b4a; }
.compare-new { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #c6d3e8; box-shadow: var(--shadow-lg); }
.compare-new h3 { color: #fff; }
.compare-new li .i { color: #5fd4a5; }
.compare-arrow { display: grid; place-items: center; }
.compare-arrow span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-500); color: #fff; box-shadow: 0 10px 24px -8px rgba(21, 146, 230, .7); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step .icon-badge { width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-100); box-shadow: 0 0 0 6px var(--surface); margin: 0 auto 18px; }
.bg-paper .step .icon-badge { box-shadow: 0 0 0 6px var(--paper); }
.step .icon-badge .i { width: 24px; height: 24px; }
.step-num { display: block; font-family: var(--mono); font-size: .74rem; color: var(--blue-600); font-weight: 600; letter-spacing: .06em; margin-bottom: 6px; }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Vertical process */
.process { list-style: none; display: grid; gap: 0; position: relative; }
.process li { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding-bottom: 36px; position: relative; }
.process li:last-child { padding-bottom: 0; }
.process li::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: linear-gradient(var(--blue-100), var(--line)); }
.process li:last-child::before { display: none; }
.process .p-num { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-family: var(--mono); font-weight: 600; color: var(--blue-600); font-size: 1.05rem; }
.process h3 { font-size: 1.2rem; margin: 6px 0 6px; }
.process p { color: var(--muted); margin-bottom: 8px; }
.process .meta { display: flex; flex-wrap: wrap; gap: 8px; }

.process.compact li { grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 14px; }
.process.compact li::before { left: 21px; top: 44px; }
.process.compact .p-num { width: 44px; height: 44px; border-radius: 12px; font-size: .9rem; }
.process.compact h3 { font-size: 1.02rem; margin: 10px 0 0; }

/* ---------- Feature list ---------- */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.check-list .i { color: var(--green-600); margin-top: 3px; }
.check-list.light li { color: #c6d3e8; }
.check-list.light .i { color: #5fd4a5; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.x-list { list-style: none; display: grid; gap: 10px; }
.x-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; color: var(--ink-soft); }
.x-list .i { color: var(--red-600); margin-top: 3px; }

.feature { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.feature h3 { font-size: 1.08rem; margin: 2px 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.feature-block { scroll-margin-top: calc(var(--header-h) + 24px); }
.feature-block + .feature-block { margin-top: clamp(64px, 8vw, 104px); }
.feature-block.reverse .split > :first-child { order: 2; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.role { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.role-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.role-head h3 { margin: 0; font-size: 1.15rem; }
.role-head span { display: block; color: var(--muted); font-size: .85rem; }
.role .check-list { font-size: .94rem; }

/* ---------- Trust band ---------- */
.trust-band { position: relative; overflow: hidden; isolation: isolate; }
.trust-band::after { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(21, 146, 230, .35), transparent 65%); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust-item { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: background .25s, border-color .25s; }
.trust-item:hover { background: rgba(255,255,255,.07); border-color: rgba(60, 176, 242, .4); }
.trust-item .i { color: var(--blue-400); width: 28px; height: 28px; margin-bottom: 16px; }
.trust-item h3 { font-size: 1.04rem; margin-bottom: 6px; }
.trust-item p { margin: 0; color: #9fb0ca; font-size: .92rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; transition: transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card .tier { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.price-card h3 { font-size: 1.5rem; margin: 6px 0 8px; }
.price-card .for { color: var(--muted); font-size: .92rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; color: var(--navy-900); }
.price .amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price .per { color: var(--muted); font-weight: 600; }
.price-sub { font-size: .86rem; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.price-sub b { color: var(--ink); }
.price-card .check-list { font-size: .93rem; margin-bottom: 28px; }
.price-card .btn { margin-top: auto; }
.price-card.featured { background: linear-gradient(170deg, var(--navy-800), var(--navy-950)); border-color: var(--navy-800); color: #c3d0e5; box-shadow: var(--shadow-lg); }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .tier { color: var(--blue-400); }
.price-card.featured .for, .price-card.featured .price .per, .price-card.featured .price-sub { color: #9fb0ca; }
.price-card.featured .price-sub { border-color: rgba(255,255,255,.12); }
.price-card.featured .price-sub b { color: #fff; }
.price-card.featured .check-list li { color: #d3dded; }
.price-card.featured .check-list .i { color: #5fd4a5; }
.badge-top { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--blue-500); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; box-shadow: 0 6px 16px -6px rgba(21, 146, 230, .8); }
.vat-note { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--gold-100); color: #7a5f22; font-size: .86rem; font-weight: 600; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .94rem; }
.table th, .table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--paper); color: var(--navy-900); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; position: sticky; top: 0; }
.table thead th.hl { background: var(--navy-800); color: #fff; }
.table tbody th { color: var(--navy-900); font-weight: 650; width: 22%; }
.table td.hl { background: var(--blue-50); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table .row-money th, .table .row-money td { font-weight: 750; color: var(--navy-900); font-size: 1rem; background: #fcfcfd; }
.table .row-money td.hl { background: #e6f2fd; }

/* Configurator */
.configurator { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; font-weight: 650; font-size: .9rem; color: var(--navy-900); line-height: 1.3; }
.seg label .i { color: var(--blue-600); width: 22px; height: 22px; }
.seg label:hover { border-color: var(--blue-400); }
.seg input:checked + label { border-color: var(--blue-500); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(21, 146, 230, .15); }
.seg input:focus-visible + label { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.range-field { margin-top: 26px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.range-head output { font-family: var(--mono); font-weight: 600; color: var(--navy-900); background: var(--paper); padding: 4px 10px; border-radius: 8px; }
input[type="range"] { width: 100%; accent-color: var(--blue-500); height: 6px; }
.range-scale { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); margin-top: 6px; font-family: var(--mono); }
.quote { position: sticky; top: calc(var(--header-h) + 20px); background: linear-gradient(165deg, var(--navy-800), var(--navy-950)); color: #c3d0e5; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.quote::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(60, 176, 242, .4), transparent 65%); }
.quote .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-500); font-weight: 700; }
.quote .q-name { color: #fff; font-size: 1.5rem; font-weight: 750; margin: 6px 0 18px; letter-spacing: -.02em; }
.quote .q-main { display: flex; align-items: baseline; gap: 8px; color: #fff; }
.quote .q-main strong { font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: -.04em; line-height: 1; }
.quote dl { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; margin: 24px 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.quote dt { color: #9fb0ca; }
.quote dd { margin: 0; color: #fff; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.quote .q-note { font-size: .84rem; color: #9fb0ca; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 12px 14px; border-radius: 12px; margin-bottom: 20px; }
.quote .q-why { font-size: .86rem; color: #b3c1d8; margin-bottom: 20px; }

/* Generator ofertă */
.stack-lg { display: grid; gap: 24px; min-width: 0; }
.panel-title { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin-bottom: 18px; }
.step-dot { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--navy-800); color: #fff; font-size: .85rem; font-family: var(--mono); flex: none; }
.q-link { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; color: #b3c1d8; font-size: .9rem; font-weight: 600; }
.q-link:hover { color: #fff; }
.q-alert { background: rgba(194, 65, 12, .16); border: 1px solid rgba(251, 146, 60, .45); color: #fed7aa; padding: 12px 14px; border-radius: 12px; font-size: .88rem; margin-bottom: 14px; }
.q-result { margin-top: 18px; padding: 18px; border-radius: 14px; background: rgba(95, 212, 165, .1); border: 1px solid rgba(95, 212, 165, .4); }
.q-result-title { display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; color: #fff; font-weight: 700; margin-bottom: 12px; }
.q-result-title .i { color: #5fd4a5; margin-top: 1px; }
.q-files { display: grid; gap: 8px; margin-bottom: 10px; }
.q-files a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; background: #fff; color: var(--navy-900); font-weight: 650; font-size: .92rem; }
.q-files a:hover { background: var(--blue-50); color: var(--navy-900); }
.q-files a .i { color: var(--blue-600); }
.q-result .small { color: #b3c1d8; margin: 0; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .label { font-weight: 650; font-size: .9rem; color: var(--navy-900); }
.field label .opt { color: var(--muted); font-weight: 500; }
.input, .select, .textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff;
    transition: border-color .2s, box-shadow .2s; font-size: .97rem;
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b6878' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 42px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(21, 146, 230, .14); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--red-600); }
.field .error { color: var(--red-600); font-size: .82rem; display: none; }
.field.has-error .error { display: block; }
.checkbox { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--ink-soft); }
.checkbox input { width: 20px; height: 20px; accent-color: var(--blue-500); margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: none; gap: 12px; align-items: start; padding: 16px 18px; border-radius: 14px; font-size: .94rem; margin-bottom: 20px; }
.alert.show { display: grid; grid-template-columns: auto 1fr; }
.alert-success { background: var(--green-100); color: #145c40; }
.alert-error { background: #fdecea; color: #8a2a12; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
a.contact-card:hover { color: var(--ink); border-color: #cfe3f5; box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card strong { display: block; color: var(--navy-900); font-size: 1.05rem; word-break: break-word; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #cfe3f5; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 650; color: var(--navy-900); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--navy-700); transition: transform .25s, background .25s, color .25s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--blue-500); color: #fff; }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.faq-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; color: var(--ink-soft); font-weight: 600; font-size: .93rem; }
.faq-nav a:hover, .faq-nav a.is-active { background: var(--paper); color: var(--blue-600); }
.faq-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }

/* ---------- Video ---------- */
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-950); box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-poster { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(21, 146, 230, .55), transparent 55%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; cursor: pointer; border: 0; width: 100%; text-align: center; padding: 24px; }
.video-poster .play { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue-600); margin: 0 auto 18px; box-shadow: 0 0 0 12px rgba(255,255,255,.12); transition: transform .25s, box-shadow .25s; }
.video-poster:hover .play { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(255,255,255,.1); }
.video-poster .play .i { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.video-poster strong { display: block; font-size: 1.25rem; }
.video-poster span { color: #b3c1d8; font-size: .92rem; }
.video-frame.is-playing .video-poster { display: none; }

/* ---------- Dashboard mock ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi small { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.kpi b { font-size: 1.35rem; color: var(--navy-900); letter-spacing: -.02em; }
.kpi.warn b { color: var(--amber-600); }
.kpi.eu b { color: var(--blue-600); }
.bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 96px 1fr 32px; gap: 10px; align-items: center; font-size: .76rem; color: var(--ink-soft); }
.bar i { display: block; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.bar span:last-child { font-family: var(--mono); text-align: right; color: var(--muted); }
.bar-track { background: var(--paper); border-radius: 6px; }

/* ---------- CTA ---------- */
.cta {
    position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-950) 70%); color: #c3d0e5;
    display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center;
}
.cta::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; border: 60px solid rgba(21, 146, 230, .22); box-shadow: 0 0 120px rgba(60, 176, 242, .35), inset 0 0 80px rgba(60, 176, 242, .25); }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.cta p { margin: 0; color: #a9b8d0; font-size: 1.06rem; max-width: 620px; }
.cta .btn-row { justify-content: flex-end; }

/* ---------- Callout ---------- */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid #d5e9fa; color: var(--ink-soft); }
.callout .i { color: var(--blue-600); margin-top: 2px; }
.callout p:last-child { margin: 0; }
.callout.gold { background: var(--gold-100); border-color: #eadfc2; }
.callout.gold .i { color: #8a6d2a; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.chip .i { color: var(--blue-600); width: 16px; height: 16px; }
.page-hero .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #d5dfee; }
.page-hero .chip .i { color: var(--blue-400); }

/* Formula box */
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 700; color: var(--navy-900); }
.formula .term { padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.formula .term small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.formula .op { font-size: 1.4rem; color: var(--blue-600); }
.formula .term.total { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.formula .term.total small { color: #9fb0ca; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #93a3bd; font-size: .93rem; padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.site-footer .footer-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #b5c2d7; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { color: var(--blue-400); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--navy-800); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .i { transform: rotate(-90deg); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; display: grid; gap: 6px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
    .nav-actions .btn-phone { display: none; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .footer-grid .footer-contact-col { grid-column: 1 / -1; }
}

@media (max-width: 1060px) {
    :root { --header-h: 68px; }
    /* backdrop-filter ar transforma header-ul în containing block pentru meniul fix */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .nav-toggle { display: grid; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff;
        flex-direction: column; align-items: stretch; gap: 2px; padding: 16px var(--gutter) 32px; overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
    }
    body.nav-open { overflow: hidden; }
    body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
    .nav-link { padding: 14px 12px; font-size: 1.05rem; justify-content: space-between; width: 100%; border-radius: 12px; }
    .nav-item .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px; grid-template-columns: minmax(0, 1fr); opacity: 1; visibility: visible; display: none; }
    .nav-item.is-open .mega { display: grid; transform: none; }
    .mega::before { display: none; }
    .mega-foot { display: none; }
    .nav-mobile-cta { display: grid !important; gap: 10px; margin-top: 18px; }
    .nav-actions .btn-demo { display: none; }
    .topbar-left .hide-md { display: none; }
}

@media (max-width: 980px) {
    .split, .split-wide, .hero .split, .configurator, .faq-layout { grid-template-columns: minmax(0, 1fr); }
    .feature-block.reverse .split > :first-child { order: 0; }
    .grid-4, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3, .roles, .pricing { grid-template-columns: minmax(0, 1fr); }
    .pricing { max-width: 520px; margin-inline: auto; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .steps::before { display: none; }
    .compare { grid-template-columns: minmax(0, 1fr); }
    .compare-arrow span { transform: rotate(90deg); }
    .cta { grid-template-columns: minmax(0, 1fr); }
    .cta .btn-row { justify-content: flex-start; }
    .quote { position: static; }
    .faq-nav { position: static; display: flex; flex-wrap: wrap; }
    .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; }
    .topbar { display: none; }
    .brand img { height: 30px; }
    .grid-2, .grid-4, .trust-grid, .form-grid, .check-list.cols-2 { grid-template-columns: minmax(0, 1fr); }
    .seg { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 20px 18px; }
    .kpis { grid-template-columns: 1fr 1fr; }
    .card, .role, .price-card, .compare-col { padding: 24px; }
    .float-card.fc-1 { left: -6px; bottom: -20px; }
    .float-card.fc-2 { right: -6px; top: -34px; }
    .hero-visual { padding: 34px 0 30px; }
    .btn-row .btn { flex: 1 1 auto; }
    .btn { white-space: normal; text-align: center; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .footer-bottom { flex-direction: column; }
    .bar { grid-template-columns: 80px 1fr 28px; }
    .mock-body { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
    .topbar, .site-header, .site-footer, .to-top, .cta { display: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
