/* ClarFisc – public site (index, calculatoare, ghiduri; RO + EN).
   One stylesheet for every public page. The Pro app (dashboard.html) has its own styles. */

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5f6b7a;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f8f7;
  --card: #ffffff;
  --teal: #0e7c6b;
  --teal-dark: #0a5c4f;
  --teal-50: #edf7f4;
  --teal-100: #d2ede5;
  --sun: #f5b301;
  --sun-50: #fff7e0;
  --amber: #b45309;
  --rose: #c2410c;
  --rose-50: #fff1ea;
  --c-net: #0e7c6b;
  --c-exp: #94a3b8;
  --c-cas: #f59e0b;
  --c-cass: #6366f1;
  --c-tax: #e11d48;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 6px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.check-ico { width: 18px; height: 18px; flex: 0 0 18px; color: var(--teal); margin-top: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-weight: 700; font-size: 0.95rem; line-height: 1.2; cursor: pointer; text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px -6px rgba(14, 124, 107, 0.6); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { background: var(--teal-50); color: var(--teal-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-sm { padding: 9px 14px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal); font-weight: 700; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.brand .brand-logo { width: 32px; height: 32px; }
.brand .wm-accent { color: var(--teal); }
.nav-links { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0 0 0 8px; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 0.93rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-link { font-weight: 700; font-size: 0.82rem; color: var(--muted); padding: 6px 8px; border-radius: 6px; letter-spacing: 0.04em; }
.lang-link:hover { background: var(--bg-alt); color: var(--ink); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-mobile-only { display: none; }

/* ---------- Hero: promisiunea, beta privat, cererea de invitație ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 64px 0 34px;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(45, 212, 191, 0.28), transparent 62%),
    radial-gradient(700px 480px at -8% 108%, rgba(245, 179, 1, 0.14), transparent 60%),
    linear-gradient(160deg, #052a24 0%, #073b33 55%, #062e28 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero > .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.beta-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 99px; background: rgba(245, 179, 1, 0.12); border: 1px solid rgba(245, 179, 1, 0.4); font-size: 0.8rem; font-weight: 800; color: #ffd257; margin-bottom: 22px; letter-spacing: 0.01em; }
.beta-pill i { width: 8px; height: 8px; border-radius: 50%; background: #ffd257; box-shadow: 0 0 0 0 rgba(255, 210, 87, 0.6); animation: beta-ping 2s ease-out infinite; }
@keyframes beta-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 87, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 210, 87, 0); } }
.beta-pill--light { background: var(--sun-50); border-color: #f5d27a; color: var(--amber); margin: 0; }
.beta-pill--light i { background: var(--sun); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.8vw, 4.3rem); line-height: 1.03; letter-spacing: -0.04em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #ffd257; background: linear-gradient(transparent 70%, rgba(245, 179, 1, 0.28) 0); }
.hero .lead { font-size: 1.18rem; color: #c3ddd6; max-width: 520px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(245, 179, 1, 0.8); }
.btn-sun:hover { background: #ffc61a; color: var(--ink); transform: translateY(-1px); }

.waitlist { display: flex; gap: 8px; max-width: 500px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); }
.waitlist input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 1rem; padding: 0 12px; outline: none; }
.waitlist input::placeholder { color: #8fb8ad; }
.waitlist:focus-within { border-color: rgba(255, 210, 87, 0.7); box-shadow: 0 0 0 4px rgba(245, 179, 1, 0.15); }
.waitlist .btn { padding: 13px 22px; }
.waitlist.done { justify-content: center; padding: 14px 18px; color: #d1fae5; font-weight: 700; }
.wl-note { margin: 14px 0 0; color: #9cc3b9; font-size: 0.9rem; }
.wl-note a { color: #fff; font-weight: 700; }
.wl-note a:hover { color: #ffd257; }

/* Cardurile plutitoare din dreapta: ce vezi în aplicație, fără să completezi nimic */
.hero-visual { position: relative; height: 430px; }
.hv-card { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); padding: 18px 20px; animation: hv-float 7s ease-in-out infinite; }
.hv-card small { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.hv-card b { display: block; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hv-card span { display: block; font-size: 0.82rem; color: var(--muted); }
.hv-main { left: 2%; top: 44px; width: 72%; padding: 24px 26px; }
.hv-main b { font-size: 2.7rem; line-height: 1.05; margin: 6px 0 4px; }
.hv-main em { display: block; font-style: normal; font-size: 0.78rem; font-weight: 700; color: var(--teal-dark); margin-top: 8px; }
.hv-bar { height: 8px; border-radius: 99px; background: var(--teal-100); margin-top: 16px; overflow: hidden; }
.hv-bar i { display: block; width: 79%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), #14b8a6); }
.hv-tag { display: inline-block !important; font-size: 0.68rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal-dark) !important; background: var(--teal-50); border-radius: 99px; padding: 3px 9px; margin-bottom: 8px; }
.hv-tag--sun { background: var(--sun-50); color: var(--amber) !important; }
.hv-efact { right: 0; top: 0; width: 210px; animation-delay: -2s; }
.hv-efact b { font-size: 1.25rem; }
.hv-radar { right: 0; top: 196px; width: 220px; animation-delay: -4s; }
.hv-radar b { font-size: 1.55rem; color: var(--teal); }
.hv-ai { left: 10%; bottom: 0; width: 330px; display: grid; grid-template-columns: 26px 1fr; gap: 8px 10px; align-items: start; animation-delay: -1s; }
.hv-ai img { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 7px; }
.hv-ai p { margin: 0; font-size: 0.86rem; line-height: 1.45; color: var(--ink-2); }
.hv-apply { grid-column: 2; justify-self: start; display: inline-block !important; font-size: 0.78rem !important; font-weight: 800; color: #fff !important; background: var(--teal); border-radius: 8px; padding: 6px 12px; }
/* 1001–1199 px: coloana din dreapta e îngustă – cifra mare se micșorează ca să nu intre sub cardul e-Factura */
@media (min-width: 1001px) and (max-width: 1199px) {
  .hv-main b { font-size: clamp(2rem, 2.6vw + 0.4rem, 2.7rem); }
  .hv-efact { width: 196px; }
}
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Trust row */
.trust { padding: 28px 0 8px; }
.trust-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-item svg { width: 18px; height: 18px; color: var(--teal); }
.hero .trust { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.hero .trust-in { color: #a9cfc5; font-size: 0.86rem; }
.hero .trust-item svg { color: #5eead4; }

.pill { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--teal-50); color: var(--teal-dark); }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--ink-2); }

/* ---------- Ce primești: grilă de carduri ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease; overflow: hidden; }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); }
.bento-card h3 { font-size: 1.18rem; margin: 14px 0 6px; }
.bento-card p { color: var(--ink-2); font-size: 0.95rem; margin: 0 0 18px; }
.b-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50); color: var(--teal); }
.b-ico svg { width: 22px; height: 22px; }
.bento-wide { grid-column: span 2; }
.bento-full { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1.6fr; gap: 22px; align-items: center; }
.bento-full h3 { margin-top: 0; }
.bento-full p { margin: 0; }
.bento-dark { background: linear-gradient(160deg, #073b33, #052a24); border-color: transparent; color: #fff; }
.bento-dark h3 { color: #fff; }
.bento-dark p { color: #c3ddd6; }
.bento-dark .b-ico { background: rgba(255, 255, 255, 0.1); color: #5eead4; }
.b-taxes { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.b-taxes > div:not(.b-split) { background: var(--bg-alt); border-radius: 14px; padding: 12px 14px; }
.b-taxes small { display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.b-taxes b { display: block; font-size: 1.3rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.b-taxes .t-teal { color: var(--teal); }
.b-split { grid-column: 1 / -1; display: flex; gap: 3px; height: 10px; border-radius: 99px; overflow: hidden; }
.b-split i { display: block; height: 100%; }
.s-net { width: 59%; background: var(--c-net); }
.s-exp { width: 6%; background: var(--c-exp); }
.s-cas { width: 13%; background: var(--c-cas); }
.s-cass { width: 9%; background: var(--c-cass); }
.s-tax { width: 7%; background: var(--c-tax); }
.b-pills { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.b-pills span { font-size: 0.74rem; font-weight: 800; padding: 5px 10px; border-radius: 99px; background: var(--teal-50); color: var(--teal-dark); }
.b-pills .warn { background: var(--sun-50); color: var(--amber); }
.b-stat { margin-top: auto; }
.b-stat b { display: block; font-size: 1.9rem; letter-spacing: -0.03em; color: var(--teal); }
.b-stat span { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.b-chat { margin-top: auto; display: grid; gap: 8px; }
.b-chat p { margin: 0; font-size: 0.84rem; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, 0.1); color: #e6f4f0; }
.b-chat p:first-child { justify-self: end; border-radius: 12px 12px 4px 12px; background: var(--teal); color: #fff; }
.b-chat .ans { color: #fff; }
.b-scan { margin-top: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.8rem; font-weight: 700; }
.b-scan span { padding: 6px 10px; border-radius: 10px; background: var(--bg-alt); color: var(--ink-2); }
.b-scan .ok { background: var(--teal-50); color: var(--teal-dark); }
.b-scan i { font-style: normal; color: var(--muted); }
.b-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.b-timeline li { position: relative; padding: 12px 12px 12px 14px; border-radius: 12px; background: var(--bg-alt); border-left: 3px solid var(--teal-100); }
.b-timeline b { display: block; font-size: 0.95rem; }
.b-timeline span { display: block; font-size: 0.76rem; color: var(--muted); line-height: 1.35; }
.b-timeline .hl { background: var(--sun-50); border-left-color: var(--sun); }

/* Banda „beta privat” de la prețuri */
.beta-banner { display: flex; align-items: center; gap: 16px; max-width: 920px; margin: -16px auto 28px; padding: 14px 18px; border-radius: 16px; background: #fffaf0; border: 1px solid #f5d27a; }
.beta-banner p { flex: 1; margin: 0; color: var(--ink-2); font-size: 0.94rem; }

/* Sticky sign-up bar (phones) */
.mcta { display: none; }

/* Form fields */
.field { display: grid; gap: 6px; }
.field > label, .field .label { font-weight: 700; font-size: 0.92rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.field .hint { color: var(--muted); font-size: 0.82rem; }
.input, .field input[type="number"], .field input[type="text"], .field input[type="email"], .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 1rem;
}
.input:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.money { position: relative; }
.money input { padding-right: 56px; }
.money::after { content: "RON"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; font-size: 0.85rem; pointer-events: none; }
input[type="range"] { width: 100%; accent-color: var(--teal); }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); flex: 0 0 18px; }
.check small { display: block; color: var(--muted); font-size: 0.82rem; }
.seg { display: inline-flex; background: var(--bg-alt); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 0.8rem; color: var(--muted); cursor: pointer; }
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Steps / fit ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num { width: 36px; height: 36px; border-radius: 10px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; max-width: 920px; margin: 0 auto; }
.price-card { border: 2px solid var(--teal); border-radius: 20px; padding: 32px; background: #fff; box-shadow: var(--shadow); position: relative; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.bill-toggle { display: inline-flex; background: var(--bg-alt); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 18px; }
.bill-toggle button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 0.86rem; color: var(--muted); cursor: pointer; }
.bill-toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.bill-toggle .save { color: var(--teal); }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-sub { color: var(--muted); margin: 8px 0 22px; font-size: 0.92rem; }
.price-card .ticks { margin-bottom: 26px; }
.price-card--free { border-color: var(--line); box-shadow: none; }
.price-card--free .price { margin-bottom: 0; }
.price-badge { position: absolute; top: -12px; right: 24px; background: var(--teal); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 4px 12px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.05em; }
.price-plus { font-weight: 700; font-size: 0.9rem; margin: 0 0 10px; }
.price-trial { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 10px; }
.price-side { display: grid; gap: 16px; align-content: start; }

/* ---------- ClarFisc față de alternative (#comparatie) ---------- */
/* Tabelul se derulează în propria cutie pe ecrane înguste; prima coloană rămâne vizibilă. */
.vs-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.vs-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 0.92rem; }
.vs-table th, .vs-table td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.vs-table thead th { border-top: 0; font-size: 0.85rem; font-weight: 800; color: var(--ink); vertical-align: bottom; }
.vs-table thead th small { display: block; font-weight: 500; color: var(--muted); font-size: 0.76rem; margin-top: 2px; }
.vs-table th[scope="row"], .vs-table thead th:first-child { text-align: left; font-weight: 600; color: var(--ink-2); position: sticky; left: 0; background: #fff; z-index: 1; width: 32%; }
.vs-table thead th:first-child { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.72rem; }
.vs-table .vs-us { background: var(--teal-50); }
.vs-table thead th.vs-us { color: var(--teal-dark); font-size: 0.95rem; border-radius: 0; box-shadow: inset 0 3px 0 var(--teal); }
.vs-table td small { display: block; color: var(--muted); font-size: 0.74rem; line-height: 1.3; margin-top: 3px; }
.vs-table td b { white-space: nowrap; }
.vs-table td.vs-us b { color: var(--teal-dark); font-size: 1.02rem; }
.vs-y, .vs-n { display: inline-block; width: 20px; height: 20px; vertical-align: middle; -webkit-mask: var(--vs-mask) center / contain no-repeat; mask: var(--vs-mask) center / contain no-repeat; }
.vs-y { background: var(--teal); --vs-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.vs-n { background: #b6c0cc; width: 16px; height: 16px; --vs-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.vs-v { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
/* Pe telefon fiecare rând devine un card cu cele patru variante, fără derulare laterală */
@media (max-width: 640px) {
  .vs-scroll { overflow: visible; border: 0; background: none; box-shadow: none; border-radius: 0; }
  .vs-table { min-width: 0; display: block; }
  .vs-table thead { display: none; }
  .vs-table tbody { display: grid; gap: 12px; }
  .vs-table tr { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .vs-table th[scope="row"] { grid-column: 1 / -1; position: static; width: auto; border-top: 0; padding: 12px 14px 8px; color: var(--ink); font-weight: 700; }
  .vs-table td { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 8px 14px 10px; }
  .vs-table td:nth-child(3), .vs-table td:nth-child(5) { border-left: 1px solid var(--line); }
  .vs-table td::before { content: attr(data-l); font-size: 0.68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
  .vs-table td.vs-us::before { color: var(--teal-dark); }
  .vs-table td small { margin-top: 0; }
}
.vs-fit { max-width: 780px; margin: 22px auto 0; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--sun-50); color: var(--ink-2); font-size: 0.93rem; }
.vs-note { max-width: 780px; margin: 12px auto 0; color: var(--muted); font-size: 0.8rem; text-align: center; }
.free-card { background: var(--teal-50); border-color: var(--teal-100); }
.free-card p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--teal); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }
.faq-more { text-align: center; margin-top: 22px; color: var(--muted); }

/* ---------- CTA band & footer ---------- */
.cta-band { padding: 80px 0; background: radial-gradient(700px 360px at 50% -20%, rgba(45, 212, 191, 0.25), transparent 70%), linear-gradient(160deg, #073b33, #052a24); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c7ece2; font-size: 1.08rem; max-width: 560px; margin: 0 auto 26px; }
.cta-band .hero-ctas { justify-content: center; }
.site-footer { background: var(--ink); color: #94a3b8; padding: 56px 0 28px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand .wm-accent { color: #5eead4; }
.site-footer h4 { color: #fff; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.82rem; }

/* ---------- Sub-pages ---------- */
.page-head { padding: 48px 0 28px; background: linear-gradient(180deg, var(--teal-50) 0%, #fff 100%); }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.page-head p { color: var(--ink-2); font-size: 1.08rem; max-width: 640px; margin: 0; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); font-weight: 600; }

/* Calculators */
.tool { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; padding: 24px 0 72px; }
.tool > * { min-width: 0; }
.tool-in { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 18px; box-shadow: var(--shadow-sm); }
.tool-in h2 { font-size: 1.1rem; margin: 0; }
.tool-in details summary { cursor: pointer; font-weight: 700; color: var(--teal); font-size: 0.9rem; }
.tool-in details .field { margin-top: 10px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 0; background: none; padding: 12px 14px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.active { color: var(--teal-dark); border-bottom-color: var(--teal); }
.pane { display: none; }
.pane.active { display: block; }
.res-hero { background: var(--ink); color: #e2e8f0; border-radius: 18px; padding: 26px; margin-bottom: 18px; }
.res-hero small { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; }
.res-hero b { display: block; font-size: clamp(2rem, 4vw, 2.7rem); color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin: 6px 0; }
.res-hero span { color: #94a3b8; font-size: 0.92rem; }
.split { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, 0.1); margin-top: 18px; }
.split i { display: block; height: 100%; transition: width 0.3s ease; }
.c-net { background: var(--c-net); } .c-exp { background: var(--c-exp); } .c-cas { background: var(--c-cas); } .c-cass { background: var(--c-cass); } .c-tax { background: var(--c-tax); }
.res-hero .split .c-net { background: #2dd4bf; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 0.8rem; color: #cbd5e1; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend .c-net { background: #2dd4bf; }
.rows { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.rows > div:first-child { border-top: 0; }
.rows .lbl small { display: block; color: var(--muted); font-size: 0.8rem; }
.rows .val { font-weight: 700; white-space: nowrap; }
.rows .total { background: var(--teal-50); font-weight: 800; }
.rows .total .val { color: var(--teal-dark); }
.note { background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; color: var(--ink-2); font-size: 0.9rem; margin-top: 16px; }
.note--sun { background: var(--sun-50); color: #7c4a03; }
.pro-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; border: 1px solid var(--teal-100); background: var(--teal-50); border-radius: 14px; padding: 18px 20px; margin-top: 20px; }
.pro-cta p { margin: 0; color: var(--ink-2); font-size: 0.95rem; max-width: 520px; }
.verdict { font-weight: 700; color: var(--teal-dark); background: var(--teal-50); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.cmp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.cmp-card { border: 1.5px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; position: relative; }
.cmp-card.winner { border-color: var(--teal); box-shadow: var(--shadow); }
.cmp-card .tag { position: absolute; top: -11px; left: 16px; background: var(--teal); color: #fff; font-size: 0.7rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.05em; display: none; }
.cmp-card.winner .tag { display: inline-block; }
.cmp-card h4 { margin: 0; }
.cmp-card .sub { color: var(--muted); font-size: 0.82rem; min-height: 2.4em; }
.cmp-card .amt { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 0; }
.cmp-card .amt-l { color: var(--muted); font-size: 0.8rem; margin-bottom: 12px; }
.cmp-card ul { list-style: none; padding: 0; font-size: 0.86rem; display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.cmp-card li { display: flex; justify-content: space-between; gap: 8px; }
.cmp-card li span { color: var(--muted); }
.cmp-card.off { opacity: 0.55; }
.du-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 0.93rem; }
.du-table th, .du-table td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; }
.du-table th { background: var(--bg-alt); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); border-top: 0; }
.du-table td.num { text-align: right; font-weight: 700; white-space: nowrap; }
.du-table td .where { color: var(--muted); font-size: 0.8rem; display: block; }
.du-table tr.total td { background: var(--teal-50); font-weight: 800; color: var(--teal-dark); }
.pane-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.deadlines { list-style: none; padding: 0; display: grid; gap: 12px; }
.deadline { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.deadline .when { background: var(--teal-50); color: var(--teal-dark); border-radius: 10px; text-align: center; padding: 8px 4px; font-weight: 800; line-height: 1.1; }
.deadline .when b { display: block; font-size: 1.35rem; }
.deadline .when span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; }
.deadline .when.txt { font-size: 0.72rem; padding: 12px 4px; }
.deadline h4 { margin: 0 0 2px; }
.deadline p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.deadline .who { display: inline-block; margin-top: 6px; }

/* Guides */
.guide-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; padding: 28px 0 8px; }
.toc-card { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; color: var(--ink); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.toc-card:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--ink); }
.toc-card .meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.toc-card h3 { font-size: 1rem; margin: 0 0 6px; }
.toc-card p { color: var(--muted); font-size: 0.86rem; margin: 0; }
.guides { max-width: 760px; padding: 32px 0 72px; display: grid; gap: 28px; }
.guide { border-top: 1px solid var(--line); padding-top: 32px; }
.guide .meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 0.82rem; margin-bottom: 8px; }
.guide h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.guide-body { color: var(--ink-2); font-size: 1.02rem; }
.guide-body ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 1em; }
.guide-body .muted { font-size: 0.9rem; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.back-top { font-size: 0.85rem; font-weight: 700; }

/* ---------- Modal & toast ---------- */
.modal { border: 0; border-radius: 20px; padding: 0; width: min(520px, calc(100vw - 24px)); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(3px); }
.modal-box { padding: 28px; position: relative; max-height: calc(100vh - 40px); overflow-y: auto; }
.modal-close { position: absolute; right: 14px; top: 14px; border: 0; background: var(--bg-alt); width: 34px; height: 34px; border-radius: 10px; font-size: 1.2rem; cursor: pointer; }
.modal h3 { font-size: 1.35rem; margin: 0 0 6px; }
.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 12px; }
.plan-pick label { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; display: grid; gap: 2px; position: relative; }
.plan-pick label.on { border-color: var(--teal); background: var(--teal-50); }
.plan-pick input { position: absolute; opacity: 0; }
.plan-pick strong { font-size: 1.25rem; }
.plan-pick span { color: var(--muted); font-size: 0.82rem; }
.plan-pick em { font-style: normal; font-size: 0.74rem; font-weight: 800; color: var(--teal); }
.modal-list { list-style: none; padding: 0; display: grid; gap: 8px; margin: 14px 0 18px; font-size: 0.92rem; }
.modal-list li { display: flex; gap: 10px; }
.stripe-badge { display: inline-flex; align-items: center; gap: 6px; color: #635bff; font-size: 0.78rem; font-weight: 700; }
.fine { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 0.92rem; opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 90; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .price-grid, .tool { grid-template-columns: 1fr; }
  .hero-visual { height: 400px; max-width: 520px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-full { grid-template-columns: auto 1fr; }
  .b-timeline { grid-column: 1 / -1; }
  .hero-grid { gap: 40px; }
  .tool-in { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Meniul cu 5 linkuri încape pe un rând de la ~1120 px; sub atât, butonul de meniu */
@media (max-width: 1120px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 16px; margin: 0; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  .nav-desktop-only { display: none; }
  .nav-mobile-only { display: block; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-wide, .bento-full { grid-column: auto; }
  .bento-full { grid-template-columns: 1fr; }
  .b-timeline { grid-template-columns: 1fr 1fr; }
  .beta-banner { flex-direction: column; align-items: flex-start; }
  .mcta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 42, 36, 0.96); backdrop-filter: blur(8px); color: #d5ece6; font-size: 0.85rem; font-weight: 600;
    transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s; }
  .mcta.show { transform: none; visibility: visible; }
  body.has-mcta .site-footer { padding-bottom: 80px; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 24px; }
  .hero-ctas .btn { width: 100%; }
  .waitlist { flex-direction: column; background: transparent; border: 0; padding: 0; backdrop-filter: none; }
  .waitlist input { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; padding: 14px; }
  .waitlist:focus-within { box-shadow: none; }
  .hero-visual { height: auto; display: grid; gap: 12px; padding: 4px 0 0; }
  .hv-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; animation: none; }
  .hv-main { padding: 18px 20px; margin-right: 18px; }
  .hv-main b { font-size: 2.1rem; }
  .hv-ai { width: auto; margin-left: 18px; }
  .hv-efact, .hv-radar { display: none; }
  .b-taxes { grid-template-columns: 1fr; }
  .price-card { padding: 22px; }
  .plan-pick { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  .nav-actions .lang-link { display: none; }
  .nav-actions .btn-primary { padding: 9px 12px; }
  .deadline { grid-template-columns: 54px 1fr; gap: 12px; }
  .guide-toc { gap: 8px; }
  .toc-card { padding: 12px 14px; }
  .toc-card p { display: none; }
  .toc-card h3 { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-card, .beta-pill i { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .tool-in, .tabs, .pro-cta, .pane-actions { display: none !important; }
  .pane { display: block !important; }
  .tool { display: block; }
}
