/* =========================================================================
   SEO / MARKETING PAGES — foaie de stil comună (pas 301, 23 sept 2026)
   -------------------------------------------------------------------------
   Folosită de paginile comerciale statice (detector-de-ia-tcc.html etc.).
   NU e încărcată de aplicație; app-ul are project/styles.css.
   Tokenurile de culoare sunt cele din styles.css, ca paginile să arate ca
   produsul. Zero JavaScript: FAQ-ul folosește <details>/<summary>.
   ========================================================================= */

:root {
  --bg: #000000;
  --surface: #101010;
  --surface-2: #181818;
  --primary: #E8B89A;
  --primary-strong: #E1E0CC;
  --primary-soft: rgba(225, 224, 204, 0.8);
  --muted: #9a9a90;
  --line: rgba(225, 224, 204, 0.12);
  --line-strong: rgba(225, 224, 204, 0.24);
  --ok: #9ec48a;
  --warn: #e8c46e;
  --maxw: 760px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--primary-soft);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

/* ---------- antet ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; padding-top: 0; padding-bottom: 0; }
.brand { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--primary-strong); text-decoration: none; }
.head-cta { font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; transition: border-color .15s, background .15s; white-space: nowrap; }
.head-cta:hover { border-color: var(--primary); background: rgba(232, 184, 154, 0.08); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 48px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
h1 { font-size: clamp(30px, 5.2vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; color: var(--primary-strong); margin-bottom: 20px; }
.lead { font-size: clamp(17px, 2.2vw, 19px); line-height: 1.6; color: var(--primary-soft); }

/* ---------- titluri ---------- */
h2 { font-size: clamp(22px, 3.2vw, 27px); line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; color: var(--primary-strong); margin-bottom: 18px; }
h3 { font-size: 17px; font-weight: 700; color: var(--primary-strong); margin-bottom: 8px; letter-spacing: -0.01em; }

/* ---------- text ---------- */
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--primary-strong); font-weight: 700; }
a { color: var(--primary); }
a:hover { color: var(--primary-strong); }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 10px; }
li::marker { color: var(--primary); }

/* ---------- butoane ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-size: 15px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; transition: all .18s ease; text-align: center;
}
.btn--primary { background: var(--primary); color: #0a0a08; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-strong); border-color: var(--primary-strong); color: #0a0a08; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--primary-strong); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-strong); }
.btn-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- carduri ---------- */
.cards { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 620px) { .cards--2 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; }
.card p { font-size: 15px; margin-bottom: 0; }

/* ---------- notă / avertisment ---------- */
.note { border-left: 3px solid var(--primary); background: rgba(232, 184, 154, 0.05); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 24px 0; }
.note p { font-size: 15.5px; margin-bottom: 10px; }
.note p:last-child { margin-bottom: 0; }
.note--ok { border-left-color: var(--ok); background: rgba(158, 196, 138, 0.05); }

/* ---------- pași numerotați ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { position: relative; padding-left: 44px; margin-bottom: 22px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(232, 184, 154, 0.12); color: var(--primary);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ---------- FAQ, fără JavaScript ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font-size: 16.5px; font-weight: 600; color: var(--primary-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 17px;
  font-size: 22px; font-weight: 400; color: var(--primary); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--primary); }
.faq .answer { padding: 0 0 22px; font-size: 15.5px; }

/* ---------- subsol ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.foot-links a { text-decoration: none; color: var(--muted); }
.foot-links a:hover { color: var(--primary); }

/* ---------- mobil ---------- */
@media (max-width: 620px) {
  section { padding: 44px 0; }
  .hero { padding: 44px 0 36px; }
  .btn { width: 100%; }
  .cta-row { gap: 10px; }
}

/* ---------- unealta publică (pas 457): #ideom-tool, desenată de seo-tool.js — același card ca pasul 1 din aplicație ---------- */
.tool { background: #0d0d0d; border: 1px solid var(--line); border-radius: 20px; padding: 18px; margin-top: 30px; display: flex; flex-direction: column; min-height: 320px; }
.tool [hidden] { display: none !important; }
.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.tool-head-title { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); }
.tool-head-right { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tool-head-right.is-over { color: var(--warn); }
.tool-body { position: relative; flex: 1; display: flex; flex-direction: column; }
.tool-text { flex: 1; width: 100%; min-height: 220px; resize: none; background: transparent; border: none; outline: none; color: var(--primary-strong); font: inherit; font-size: 15.5px; line-height: 1.6; padding: 4px 2px; transition: filter .2s ease, opacity .2s ease; }
.tool-text::placeholder { color: var(--muted); }
.tool-text.is-dimmed { filter: blur(2px); opacity: .5; }
.tool-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.tool-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(232, 184, 154, 0.12); border: 1px solid rgba(232, 184, 154, 0.3); color: var(--primary); border-radius: 999px; padding: 10px 20px; font-size: 13px; font-weight: 500; animation: tool-pulse 1.6s ease-in-out infinite; }
@keyframes tool-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.tool-actions { display: flex; align-items: center; gap: 12px; padding-top: 14px; margin-top: 12px; border-top: 1px solid var(--line); }
.tool-hint, .tool-status { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.tool-status--error { color: var(--warn); }
.tool-btn { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 22px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; background: var(--primary); border: 1px solid var(--primary); color: #1a1a16; transition: all .18s ease; white-space: nowrap; }
.tool-btn:hover:not(:disabled) { background: var(--primary-strong); border-color: var(--primary-strong); transform: translateY(-1px); }
.tool-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.tool-btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--primary-soft); }
.tool-btn--ghost:hover:not(:disabled) { background: rgba(255,255,255,0.05); color: var(--primary-strong); border-color: var(--primary-soft); transform: none; }
.tool-link { background: none; border: none; padding: 0; font: inherit; font-size: 12.5px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tool-link:hover { color: var(--primary); }
.tool-turnstile { line-height: 0; }
.tool-turnstile:empty { display: none; }
.tool-turnstile iframe { max-width: 100%; margin-top: 10px; }
.tool-out { flex: 1; display: flex; flex-direction: column; }
.tool-gauge { display: flex; justify-content: center; padding: 6px 0 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.tool-gauge-svg { width: 100%; max-width: 190px; height: auto; display: block; }
.tool-result { font-size: 15.5px; line-height: 1.65; color: var(--primary-strong); padding: 4px 2px; white-space: pre-wrap; }
.tool-result--orig { color: var(--muted); }
.tool-rewritten--missing { color: var(--muted); }
.tool-blur { color: var(--primary-soft); filter: blur(4px); user-select: none; pointer-events: none; }
.tool-ctabox { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 0 8px; }
.tool-ctabox--over { margin-top: -84px; position: relative; padding-top: 44px; background: linear-gradient(to bottom, rgba(13,13,13,0), #0d0d0d 55%); }
.tool-cta { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; background: var(--primary); color: #1a1a16; border: 1px solid var(--primary); transition: all .18s ease; text-align: center; }
.tool-cta:hover { background: var(--primary-strong); border-color: var(--primary-strong); color: #1a1a16; transform: translateY(-1px); }
.tool-cta-note { font-size: 12.5px; color: var(--muted); }
@media (max-width: 620px) {
  .tool { padding: 16px; margin-top: 24px; min-height: 300px; }
  .tool-text { min-height: 190px; font-size: 15px; }
  .tool-actions { flex-wrap: wrap; }
  .tool-btn { width: 100%; margin-left: 0; }
  .tool-cta { width: 100%; }
}

/* pas 462 — modul „reescrita” (pagina /humanizador-de-texto): original și reescriere lado a lado, fără scor */
.tool-compare { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 4px 0 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
@media (min-width: 620px) { .tool-compare { grid-template-columns: 1fr 1fr; gap: 18px; } .tool-compare-col--orig { border-right: 1px solid var(--line); padding-right: 18px; } }
.tool-compare-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tool-compare-col:not(.tool-compare-col--orig) .tool-compare-label { color: var(--primary); }
.tool-compare-text { font-size: 15px; line-height: 1.6; color: var(--primary-soft); white-space: pre-wrap; }
.tool-compare-col:not(.tool-compare-col--orig) .tool-compare-text { color: var(--primary-strong); }
