/* Zicelo - site de prezentare */
:root {
  --bg: #f4f1ea;
  --panel: #fbfaf7;
  --card: #ffffff;
  --line: #e4ded1;
  --text: #1f1c17;
  --muted: #6b6558;
  --soft: #ece6da;
  --accent: #6d4aff;
  --accent-2: #5634f0;
  --accent-soft: #efeaff;
  --coral: #ff6a5c;
  --ink: #120f2e;
  --ink-2: #1c1840;
  --ok: #1e8e5a;
  --err: #c2341f;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 18px;
  --shadow: 0 1px 2px rgba(31, 28, 23, .05), 0 8px 28px rgba(31, 28, 23, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131218; --panel: #1a1920; --card: #211f29; --line: #312e3b; --text: #f2f0f7; --muted: #a6a2b4;
    --soft: #29263280; --accent: #9a82ff; --accent-2: #b4a2ff; --accent-soft: #2a2442; --ink: #0c0a1f; --ink-2: #16123a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
.serif, h1, h2.t { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 820px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(109, 74, 255, .28); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); background: var(--card); }
.btn-light { background: #fff; color: #120f2e; }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn .ic { width: 18px; height: 18px; }
.link { color: var(--accent); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { text-decoration: underline; }
.link .ic { width: 16px; height: 16px; }

/* antet */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--sans); letter-spacing: -.02em; text-decoration: none; }
.logo img { border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav > a, .dd-btn { padding: 8px 12px; border-radius: 10px; text-decoration: none; font: 500 15px/1 var(--sans); color: var(--text); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; }
.nav > a:hover, .dd-btn:hover, .nav > a.on { background: var(--soft); }
.dd-btn .ic { width: 15px; height: 15px; transition: transform .2s; }
.dd { position: relative; }
.dd.open .dd-btn .ic { transform: rotate(180deg); }
.mega { position: absolute; left: -120px; top: calc(100% + 10px); width: min(1060px, 94vw); background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(18, 15, 46, .18); padding: 28px; display: none; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.mega-sm { width: 460px; left: -40px; grid-template-columns: 1fr; padding: 18px; }
.dd.open .mega { display: grid; animation: drop .18s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.mega-item { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.mega-item:hover { background: var(--bg); }
.mega-t { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.mega-t .ic { color: var(--accent); }
.mega-d { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 4px; }
.nou { font-style: normal; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft);
  padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; }
.nou .ic { width: 12px; height: 12px; }
.mega-side { display: flex; flex-direction: column; gap: 14px; }
.mega-card { position: relative; display: grid; grid-template-columns: 1fr 190px; grid-auto-rows: min-content; column-gap: 14px; row-gap: 8px; padding: 22px; border-radius: 16px;
  text-decoration: none; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #2c2470 0%, #0d0b22 60%); overflow: hidden; min-height: 250px; }
.mega-card > :not(.mega-bubbles) { grid-column: 1; }
.mega-card strong { font: 500 22px/1.2 var(--serif); }
.mega-card > span:not(.btn):not(.badge-new):not(.mega-bubbles) { color: #cfcae6; font-size: 14px; }
.mega-card .btn { justify-self: start; margin-top: 6px; padding: 8px 14px; font-size: 14px; color: #120f2e; }
.badge-new { display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: var(--accent); color: #fff !important; font-weight: 600; font-size: 13px !important;
  padding: 4px 12px; border-radius: 999px; }
.badge-new .ic { width: 14px; height: 14px; }
.mega-bubbles { grid-column: 2; grid-row: 1 / span 5; align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 9px;
  background: #16133a; border: 1px solid #2c2768; border-radius: 14px; padding: 14px 10px; }
.mega-bubbles i { font-style: normal; font-size: 12px; padding: 6px 11px; border-radius: 14px; max-width: 100%; line-height: 1.3; }
.b-out { background: #2a3fb8; color: #dfe4ff; }
.b-in { align-self: flex-start; background: #24213d; color: #c9c5df; border: 1px solid #3a3660; }
.b-blue { background: #3d8bff; color: #fff; }
.b-raw { background: none !important; color: #a7a2c8; font-size: 11px !important; padding: 0 !important; }
.mega-quote { background: var(--accent-soft); border-radius: 16px; padding: 18px 20px; font: 400 16px/1.45 var(--serif); }
.mega-quote small { display: block; margin-top: 10px; font: 500 13px/1.3 var(--sans); color: var(--muted); }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.res-grid a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; }
.res-grid a:hover { background: var(--bg); }
.res-grid .ic { color: var(--accent); width: 18px; height: 18px; }
.top-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text); }

@media (max-width: 1020px) {
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--bg); padding: 12px 16px 24px; margin: 0; gap: 2px;
    border-bottom: 1px solid var(--line); max-height: calc(100vh - 68px); overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav > a, .dd-btn { width: 100%; justify-content: space-between; padding: 12px; font-size: 16px; }
  .mega, .mega-sm { position: static; width: auto; box-shadow: none; padding: 8px; grid-template-columns: 1fr; border-radius: 14px; margin-top: 4px; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-side { display: none; }
  .burger { display: inline-flex; }
  .hide-sm { display: none; }
}

/* sectiuni */
section { padding: 96px 0; }
.sec-sm { padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow .ic { width: 16px; height: 16px; }
h2.t { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; margin-bottom: 18px; }
h2.t em, h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 48px; }

/* hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .ic { width: 16px; height: 16px; color: var(--ok); }
.page-hero { padding: 80px 0 40px; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; margin-bottom: 18px; letter-spacing: -.02em; }
.page-hero .lead { margin-bottom: 26px; }

/* demo animat */
.demo { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; min-height: 420px; }
.demo-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--soft); }
.demo-app { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 14px; }
.demo-msg { min-height: 120px; font-size: 18px; line-height: 1.55; }
.demo-msg .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-raw { font-size: 13px; color: var(--muted); font-style: italic; min-height: 22px; margin-top: 8px; }
.pill { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: #15122e; color: #fff;
  border-radius: 999px; padding: 9px 16px; font-size: 13px; box-shadow: 0 10px 30px rgba(21, 18, 46, .35); white-space: nowrap; }
.pill .bars { display: flex; gap: 3px; align-items: center; height: 18px; }
.pill .bars i { width: 3px; border-radius: 3px; background: #b5a6ff; height: 6px; }
.pill.on .bars i { animation: eq 0.9s ease-in-out infinite; }
.pill.on .bars i:nth-child(2) { animation-delay: .1s; } .pill.on .bars i:nth-child(3) { animation-delay: .25s; }
.pill.on .bars i:nth-child(4) { animation-delay: .4s; } .pill.on .bars i:nth-child(5) { animation-delay: .15s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 18px; } }
.kbd { display: inline-flex; gap: 4px; }
.kbd b, kbd { display: inline-block; font: 600 12px/1 var(--sans); background: var(--soft); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 4px 7px; color: var(--text); }
.pill .kbd b { background: #2a2650; border-color: #3c3770; color: #fff; }
.demo-tabs { display: flex; gap: 6px; margin-top: 16px; }
.demo-tabs button { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 12px; font: 500 13px var(--sans); cursor: pointer; color: var(--muted); }
.demo-tabs button.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

/* demo notite (intunecat, ca la fireflies) */
.dark { background: var(--ink); color: #eceaf6; }
.dark .lead, .dark .muted { color: #b3aed0; }
.dark .eyebrow { color: #b5a6ff; }
.notes-demo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.nd-card { background: #1a1640; border: 1px solid #2c2768; border-radius: 18px; padding: 20px; }
.nd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; color: #a9a3d6; }
.nd-tabs { display: flex; gap: 4px; background: #120f30; border-radius: 10px; padding: 3px; }
.nd-tabs span { padding: 4px 10px; border-radius: 8px; font-size: 12px; }
.nd-tabs span.on { background: #2c2768; color: #fff; }
.nd-line { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid #241f55; font-size: 14px; opacity: 0; transform: translateY(6px); transition: all .4s; }
.nd-line.show { opacity: 1; transform: none; }
.nd-line b { color: #b5a6ff; font-weight: 600; font-size: 13px; }
.nd-sum h4 { font: 500 18px/1.3 var(--serif); margin: 4px 0 8px; color: #fff; }
.nd-sum ul { margin: 6px 0 0; padding-left: 18px; color: #cfcae8; font-size: 14px; }
.nd-sum li { margin: 4px 0; }
.nd-ask { margin-top: 14px; display: flex; gap: 8px; align-items: center; background: #120f30; border: 1px solid #2c2768; border-radius: 12px; padding: 10px 12px; color: #a9a3d6; font-size: 14px; }
.nd-ask .ic { color: #b5a6ff; }

/* carduri / grile */
.grid2, .grid3, .grid4 { display: grid; gap: 20px; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); } .hero-in, .notes-demo { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } section { padding: 64px 0; } .wrap { padding: 0 16px; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card h3 { font: 600 19px/1.3 var(--sans); margin: 14px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .ic-box { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.card .ic-box .ic { width: 22px; height: 22px; }
.card-link { text-decoration: none; display: block; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.dark .card { background: #1a1640; border-color: #2c2768; }
.dark .card p { color: #b3aed0; }
.dark .card .ic-box { background: #2c2768; color: #c9bdff; }

/* feature rows (text + ilustratie) */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.feat.rev .feat-txt { order: 2; }
.feat h3 { font: 400 clamp(28px, 3.2vw, 40px)/1.1 var(--serif); margin-bottom: 14px; letter-spacing: -.01em; }
.feat p { color: var(--muted); font-size: 17px; }
.feat ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feat li { display: flex; gap: 10px; margin: 10px 0; }
.feat li .ic { color: var(--accent); margin-top: 3px; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; gap: 28px; } .feat.rev .feat-txt { order: 0; } }
.vis { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); min-height: 260px; }
.vis-soft { background: linear-gradient(160deg, var(--accent-soft), var(--card)); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; margin: 3px; }
.chip.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.row-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row-line:last-child { border-bottom: 0; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.tag-ok { background: #e3f4ea; color: var(--ok); }
.tag-coral { background: #ffe8e5; color: #c63c2f; }
.bubble { background: var(--bg); border-radius: 14px; padding: 12px 14px; font-size: 15px; margin: 8px 0; }
.bubble.me { background: var(--accent); color: #fff; margin-left: 40px; }
.bubble small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.bubble.me small { color: #e2dbff; }

/* logo-uri integrari */
.logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.logo-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; font-weight: 600; font-size: 15px; text-decoration: none; }
.logo-pill img, .lg { width: 26px; height: 26px; border-radius: 6px; flex: none; }
.lg { display: inline-flex; align-items: center; justify-content: center; color: #fff; font: 700 13px/1 var(--sans); }

/* integrari - pagina */
.int-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.int-tools input { flex: 1 1 260px; }
.int-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.int-cats button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px; font: 500 14px var(--sans); cursor: pointer; color: var(--text); }
.int-cats button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.int-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.int-card .lg, .int-card img { width: 40px; height: 40px; border-radius: 10px; font-size: 16px; }
.int-card h3 { font: 600 17px/1.3 var(--sans); margin: 0; }
.int-card p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.int-card .int-cat { font-size: 12px; color: var(--muted); }
.int-group-t { font: 600 20px/1.2 var(--sans); margin: 34px 0 14px; }

/* preturi */
.toggle { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin: 10px 0 40px; }
.toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 14px var(--sans); cursor: pointer; color: var(--muted); }
.toggle button.on { background: var(--text); color: var(--bg); }
.toggle .save { color: var(--ok); font-size: 12px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; text-align: left; }
.plan.hl { border: 2px solid var(--accent); box-shadow: 0 18px 50px rgba(109, 74, 255, .18); }
.plan .pop { position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff; font: 700 11px/1 var(--sans); letter-spacing: .08em; padding: 7px 12px; border-radius: 999px; }
.plan h3 { font: 600 22px/1.2 var(--sans); }
.plan .pdesc { color: var(--muted); font-size: 14px; margin: 4px 0 18px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amt { font: 500 46px/1 var(--serif); letter-spacing: -.02em; }
.price .old { color: var(--muted); text-decoration: line-through; font-size: 18px; }
.price .cur { font-weight: 600; }
.pnote { color: var(--muted); font-size: 13px; min-height: 40px; margin: 6px 0 18px; }
.plan .btn { width: 100%; margin-bottom: 22px; }
.plan .lim { list-style: none; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.plan .lim li { padding: 3px 0; }
.plan .lim b { font-weight: 600; }
.plan .inc-t { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.plan ul.fl { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.plan ul.fl li { display: flex; gap: 8px; padding: 4px 0; }
.plan ul.fl .ic { color: var(--accent); width: 17px; height: 17px; margin-top: 3px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); margin-top: 24px; }
.cmp { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; width: 34%; }
.cmp thead th { position: sticky; top: 68px; background: var(--card); font-size: 15px; z-index: 2; }
.cmp thead th.hl { color: var(--accent); }
.cmp .grp td { background: var(--bg); font-weight: 700; text-align: left; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cmp td .ic { width: 18px; height: 18px; }
.cmp .yes { color: var(--accent); }
.cmp .no { color: var(--line); }
.cmp td small { display: block; color: var(--muted); font-size: 12px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 600 17px/1.4 var(--sans); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { color: var(--muted); padding-top: 10px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ROI */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.roi-in { padding: 34px; }
.roi-out { padding: 34px; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.roi label { display: block; font-weight: 600; margin-bottom: 22px; }
.roi input[type=range] { width: 100%; accent-color: var(--accent); margin-top: 10px; }
.roi .val { float: right; font: 500 22px var(--serif); color: var(--accent); }
.roi-out .big { font: 500 clamp(36px, 4vw, 52px)/1 var(--serif); }
.roi-out small { color: #b3aed0; display: block; font-size: 14px; margin-bottom: 6px; }
@media (max-width: 760px) { .roi { grid-template-columns: 1fr; } }

/* formulare */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form label small { font-weight: 400; color: var(--muted); }
input, textarea, select { font: 400 15px var(--sans); color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; outline: none; width: 100%; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .btn { justify-self: start; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.form-box { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }

/* articole / text lung */
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font: 500 30px/1.2 var(--serif); margin: 48px 0 16px; letter-spacing: -.01em; }
.prose h3 { font: 600 21px/1.3 var(--sans); margin: 32px 0 12px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 14px 14px 0; font: italic 400 20px/1.5 var(--serif); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 22px 0 28px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.prose code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: .88em; }
.prose pre { background: var(--ink); color: #e8e5f8; padding: 18px; border-radius: 14px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.prose pre code { background: none; padding: 0; }
.prose .tip { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; font-size: 16px; }
.art-head { padding: 64px 0 28px; }
.art-head h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -.02em; margin: 12px 0 18px; }
.art-meta { color: var(--muted); font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.art-cover { height: 260px; border-radius: 24px; margin: 8px 0 40px; display: flex; align-items: flex-end; padding: 26px; color: #fff; font: 500 22px/1.2 var(--serif); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; font-size: 15px; margin-bottom: 32px; }
.toc b { display: block; margin-bottom: 6px; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.toc a:hover { color: var(--accent); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-cover { height: 150px; display: flex; align-items: flex-end; padding: 16px; color: #fff; }
.post-cover .ic { width: 34px; height: 34px; opacity: .9; }
.post-b { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-b h3 { font: 500 21px/1.25 var(--serif); }
.post-b p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.post-b small { color: var(--muted); font-size: 13px; }
.cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.g1 { background: linear-gradient(135deg, #6d4aff, #2b1d8f); }
.g2 { background: linear-gradient(135deg, #ff6a5c, #b23a74); }
.g3 { background: linear-gradient(135deg, #1e8e5a, #0f4f5c); }
.g4 { background: linear-gradient(135deg, #2d6cdf, #13235b); }
.g5 { background: linear-gradient(135deg, #e0a422, #b44d18); }
.g6 { background: linear-gradient(135deg, #1b1840, #4b3fb8); }

/* tabele comparatie (vs) */
.vs { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 18px; overflow: hidden; }
.vs th, .vs td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }

/* pasi */
.steps { counter-reset: s; display: grid; gap: 16px; }
.step { position: relative; padding: 20px 20px 20px 66px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff;
  font: 700 15px/32px var(--sans); text-align: center; }
.step h3 { font: 600 17px/1.3 var(--sans); margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* banda de statistici */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat b { display: block; font: 500 clamp(34px, 4vw, 48px)/1 var(--serif); color: var(--accent); }
.stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* scenarii (in loc de testimoniale) */
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.quote-card p { font: 400 19px/1.5 var(--serif); color: var(--text); }
.quote-card small { color: var(--muted); font-size: 14px; }

/* descarcari */
.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } }
.dl .card { display: flex; flex-direction: column; gap: 10px; }
.dl .card .btn { margin-top: auto; align-self: flex-start; }

/* subsol */
.foot { background: var(--panel); border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 40px; }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 36px; border-radius: 24px; background: var(--ink); color: #fff; margin-bottom: 56px; }
.foot-cta h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 8px; }
.foot-cta p { color: #b3aed0; margin: 0; }
.foot-cta-b { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-cta .btn-ghost { color: #fff; border-color: #3c3770; }
.foot-cta .btn-ghost:hover { background: #1c1840; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.foot-cols h4 { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-cols a:not(.logo) { display: block; text-decoration: none; padding: 4px 0; font-size: 15px; }
.foot-cols a:not(.logo):hover { color: var(--accent); }
.foot-brand p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 260px; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-bottom a { color: inherit; }
@media (max-width: 900px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* aparitie la scroll */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* api docs */
.api-ep { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 12px 0; }
.api-ep code.m { font-weight: 700; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 6px; margin-right: 8px; font-size: 13px; }
.api-ep code.m.get { background: var(--ok); }
.api-ep code.m.del { background: var(--err); }
.api-ep p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.side-nav { position: sticky; top: 90px; display: grid; gap: 4px; font-size: 15px; }
.side-nav a { text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 8px; }
.side-nav a:hover { background: var(--soft); color: var(--text); }
.doc-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
@media (max-width: 860px) { .doc-grid { grid-template-columns: 1fr; } .side-nav { position: static; } }

/* coperti articole: iconita mare + undele de sunet */
.art-cover, .post-cover { position: relative; overflow: hidden; }
.art-cover { height: 200px; align-items: center; justify-content: flex-start; padding: 0 40px; }
.art-cover .ic { width: 72px; height: 72px; stroke-width: 1.4; opacity: .95; position: relative; z-index: 1; }
.post-cover .ic { position: relative; z-index: 1; }
.art-cover::after, .post-cover::after { content: ""; position: absolute; right: -20px; top: 0; bottom: 0; width: 70%;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 6px, transparent 6px 20px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 30%), radial-gradient(ellipse 60% 45% at 60% 50%, #000 40%, transparent 72%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.art-cover::before, .post-cover::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: 12%; top: -60px;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); }
[id] { scroll-margin-top: 90px; }
