/* ============================================================================
   OPTIVEND, DESIGN REFRESH „MOLTEN FOUNDRY"
   Strat de design încărcat DUPĂ stilurile inline din fiecare pagină.
   Direcție: dark-first, ultra-futurist, liquid-glass, tech industrial.
   Semnătura vizuală: pagina pare luminată de strălucirea portocalie a
   automatelor, bloburi „molten" + contra-glow indigo rece, suprafețe de
   sticlă cu borduri-gradient, tipografie HUD pe Geist Mono.
   Structura, textele și legăturile paginilor rămân neatinse.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. TOKENS, suprascriu variabilele temelor existente
   --------------------------------------------------------------------------- */
:root {
    --radius-card: 20px;
    --radius-btn: 999px;
    --radius-tag: 999px;
}

html[data-theme="dark"] {
    color-scheme: dark;

    /* Suprafețe, carbon profund; secțiunile devin translucide ca să lase
       aurora lichidă să respire prin ele */
    --bg-primary: #06070B;
    --bg-secondary: rgba(255, 255, 255, 0.018);
    --bg-alt: rgba(255, 255, 255, 0.012);
    --bg-footer: rgba(2, 3, 6, 0.55);
    --bg-card: rgba(255, 255, 255, 0.035);
    --bg-card-hover: rgba(255, 255, 255, 0.065);
    --bg-card-translucent: rgba(255, 255, 255, 0.025);

    /* Accent, molten (portocaliul mărcii, intensificat pentru glow pe carbon) */
    --accent: #FF7A3D;
    --accent-light: #FFA26B;
    --accent-hover: #FF8A50;
    --accent-text: #FF9058;
    --accent-soft: rgba(255, 122, 61, 0.13);
    --accent-softer: rgba(255, 122, 61, 0.07);
    --accent-border: rgba(255, 122, 61, 0.32);
    --accent-ghost: rgba(255, 122, 61, 0.10);
    --accent-glow: rgba(255, 122, 61, 0.22);
    --glow-accent: rgba(255, 122, 61, 0.12);

    /* Text */
    --text-primary: #F4F6FB;
    --text-secondary: #A2ABBD;
    --text-muted: #6B7488;

    /* Linii */
    --border: rgba(255, 255, 255, 0.075);
    --border-hover: rgba(255, 138, 80, 0.42);
    --divider: rgba(255, 255, 255, 0.09);
    --btn-ghost-border: rgba(255, 255, 255, 0.16);

    /* Buton primar, metal topit */
    --btn-bg: linear-gradient(135deg, #FF9D57 0%, #FF6A22 55%, #ED4A16 100%);
    --btn-bg-hover: linear-gradient(135deg, #FFAC6C 0%, #FF7A35 55%, #F65620 100%);
    --btn-shadow: 0 8px 28px rgba(255, 106, 34, 0.35), 0 2px 8px rgba(255, 106, 34, 0.25);
    --btn-shadow-hover: 0 14px 44px rgba(255, 106, 34, 0.5), 0 4px 12px rgba(255, 106, 34, 0.3);

    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -28px rgba(0, 0, 0, 0.7);

    /* Nav */
    --nav-bg-scrolled: rgba(7, 8, 13, 0.6);
    --nav-fg: rgba(255, 255, 255, 0.85);
    --nav-fg-strong: #ffffff;
    --nav-ctrl-border: rgba(255, 255, 255, 0.22);
    --nav-ctrl-bg: rgba(255, 255, 255, 0.07);

    --mobile-menu-bg: rgba(6, 7, 11, 0.9);

    /* Hero */
    --hero-glow: radial-gradient(60% 55% at 50% 100%, rgba(255, 110, 40, 0.20) 0%, transparent 70%);
    --hero-fade: linear-gradient(to top, #06070B 0%, rgba(6, 7, 11, 0.3) 22%, transparent 78%);

    /* Straturi „liquid” proprii refresh-ului */
    --aurora-molten: rgba(255, 106, 34, 0.13);
    --aurora-molten-soft: rgba(255, 106, 34, 0.07);
    --aurora-cold: rgba(76, 92, 255, 0.10);
    --aurora-cold-soft: rgba(76, 92, 255, 0.055);
    --glass-bg: rgba(13, 15, 22, 0.62);
    --glass-edge-a: rgba(255, 255, 255, 0.16);
    --glass-edge-b: rgba(255, 255, 255, 0.045);
    --glass-edge-c: rgba(255, 122, 61, 0.22);
    --stat-grad-a: #FFD9BC;
    --stat-grad-b: #FF7A3D;
}

:root,
html[data-theme="light"] {
    color-scheme: light;

    /* Light, „porcelain lab”: rece, tehnic, curat (nu crem cald) */
    --bg-primary: #F4F5F8;
    --bg-secondary: rgba(255, 255, 255, 0.55);
    --bg-alt: rgba(255, 255, 255, 0.35);
    --bg-footer: rgba(255, 255, 255, 0.6);
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-card-translucent: rgba(255, 255, 255, 0.5);

    --accent: #F2601F;
    --accent-light: #FF8A50;
    --accent-hover: #E04F12;
    --accent-text: #C24610;
    --accent-soft: rgba(242, 96, 31, 0.12);
    --accent-softer: rgba(242, 96, 31, 0.065);
    --accent-border: rgba(242, 96, 31, 0.32);
    --accent-ghost: rgba(242, 96, 31, 0.10);
    --accent-glow: rgba(242, 96, 31, 0.18);
    --glow-accent: rgba(242, 96, 31, 0.14);

    --text-primary: #14171E;
    --text-secondary: #4C5364;
    --text-muted: #687080;

    --border: rgba(18, 24, 38, 0.10);
    --border-hover: rgba(242, 96, 31, 0.38);
    --divider: rgba(18, 24, 38, 0.10);
    --btn-ghost-border: rgba(18, 24, 38, 0.2);

    --btn-bg: linear-gradient(135deg, #FF8A43 0%, #F2601F 55%, #E04F12 100%);
    --btn-bg-hover: linear-gradient(135deg, #FF9A58 0%, #FA6C2A 55%, #E9581A 100%);
    --btn-shadow: 0 8px 26px rgba(226, 84, 20, 0.3), 0 2px 8px rgba(226, 84, 20, 0.18);
    --btn-shadow-hover: 0 14px 40px rgba(226, 84, 20, 0.42), 0 4px 12px rgba(226, 84, 20, 0.24);

    --shadow-card: 0 1px 2px rgba(20, 26, 40, 0.05), 0 18px 44px -18px rgba(40, 52, 90, 0.16);

    --nav-bg-scrolled: rgba(246, 247, 250, 0.65);
    --nav-fg: rgba(255, 255, 255, 0.85);
    --nav-fg-strong: #ffffff;
    --nav-ctrl-border: rgba(255, 255, 255, 0.26);
    --nav-ctrl-bg: rgba(255, 255, 255, 0.08);

    --mobile-menu-bg: rgba(250, 251, 253, 0.92);

    --hero-glow: radial-gradient(60% 55% at 50% 100%, rgba(255, 110, 40, 0.16) 0%, transparent 70%);
    --hero-fade: linear-gradient(to top, #F4F5F8 0%, rgba(244, 245, 248, 0.25) 20%, transparent 78%);

    --aurora-molten: rgba(255, 116, 45, 0.14);
    --aurora-molten-soft: rgba(255, 116, 45, 0.08);
    --aurora-cold: rgba(96, 112, 255, 0.10);
    --aurora-cold-soft: rgba(96, 112, 255, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.66);
    --glass-edge-a: rgba(255, 255, 255, 0.95);
    --glass-edge-b: rgba(30, 38, 60, 0.10);
    --glass-edge-c: rgba(242, 96, 31, 0.3);
    --stat-grad-a: #FF7A35;
    --stat-grad-b: #C93F0B;
}

/* ----------------------------------------------------------------------------
   2. FUNDAL, aurora lichidă
   Pe paginile interioare: strat fix în spatele întregului conținut.
   Pe index: strat propriu în interiorul panoului .page-rise (care trebuie să
   rămână opac ca să acopere fotografia hero la derulare).
   --------------------------------------------------------------------------- */
html {
    background: var(--bg-primary);
}
body {
    background: transparent;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 1100px 700px at 88% -6%, var(--aurora-cold), transparent 62%),
        radial-gradient(ellipse 1000px 720px at -8% 28%, var(--aurora-molten), transparent 60%),
        radial-gradient(ellipse 900px 640px at 104% 78%, var(--aurora-molten-soft), transparent 62%),
        radial-gradient(ellipse 760px 560px at 30% 108%, var(--aurora-cold-soft), transparent 65%);
}

/* Index: aurora în interiorul panoului care urcă peste hero */
.page-rise {
    background: var(--bg-primary);
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 -30px 70px -30px rgba(0, 0, 0, 0.8);
}
.page-rise::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 1000px 640px at 92% 1%, var(--aurora-cold), transparent 62%),
        radial-gradient(ellipse 980px 660px at -6% 12%, var(--aurora-molten), transparent 60%),
        radial-gradient(ellipse 900px 620px at 106% 38%, var(--aurora-molten-soft), transparent 62%),
        radial-gradient(ellipse 880px 600px at -8% 62%, var(--aurora-cold-soft), transparent 62%),
        radial-gradient(ellipse 1000px 680px at 50% 101%, var(--aurora-molten), transparent 64%);
}
.page-rise > * {
    position: relative;
    z-index: 1;
}
/* Muchia panoului: linie incandescentă subțire în loc de simpla bordură */
.page-rise > .trust,
html[data-theme="dark"] .page-rise > .trust {
    border-top: none;
    box-shadow: none;
    border-radius: 28px 28px 0 0;
}
.page-rise::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg,
        transparent 2%,
        var(--glass-edge-b) 20%,
        var(--accent-border) 50%,
        var(--glass-edge-b) 80%,
        transparent 98%);
}

/* ----------------------------------------------------------------------------
   3. BAZE, tipografie, selecție, focus, scrollbar
   --------------------------------------------------------------------------- */
h1, h2, h3, .section-title {
    font-weight: 650;
    letter-spacing: -0.045em;
}
h1 { font-weight: 680; }
.section-title { text-wrap: balance; }

::selection {
    background: var(--accent);
    color: #0B0500;
}

:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
    border-radius: 4px;
}

html {
    scrollbar-color: rgba(128, 134, 150, 0.35) transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(128, 134, 150, 0.28);
    border-radius: 99px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--accent); }

/* Cuvintele-cheie din H1, text cu gradient topit */
.highlight,
h1 .highlight {
    background: linear-gradient(115deg, #FFC9A3 0%, var(--accent) 55%, #FF5A1F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
html[data-theme="light"] .highlight,
html[data-theme="light"] h1 .highlight {
    background: linear-gradient(115deg, #FF8A43 0%, #E4531A 55%, #B23A08 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ----------------------------------------------------------------------------
   4. HUD, etichete, eyebrows, numere
   --------------------------------------------------------------------------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--accent-border);
    background: var(--accent-softer);
    color: var(--accent-text);
    letter-spacing: 0.16em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.tag::before {
    content: '';
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px 1px var(--accent-glow), 0 0 2px var(--accent);
    animation: ov-pulse 2.6s ease-in-out infinite;
}
@keyframes ov-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.78); }
}

/* Numere & statistici, gradient „metal incandescent” + cifre tabulare */
.stat-value,
.stat-num,
.case-figure,
.impact-card-num,
.trust-stat .val,
.numbers-stat .val,
.network-stat .val,
.format-stat .val {
    background: linear-gradient(125deg, var(--stat-grad-a) 0%, var(--stat-grad-b) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.stat-suffix { -webkit-text-fill-color: initial; }

/* ----------------------------------------------------------------------------
   5. NAVIGAȚIE, bară de sticlă
   --------------------------------------------------------------------------- */
.nav.scrolled {
    background: var(--nav-bg-scrolled);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.4);
}
.mobile-menu {
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
}

/* ----------------------------------------------------------------------------
   6. BUTOANE, pastilă topită cu sheen + ghost de sticlă
   --------------------------------------------------------------------------- */
.btn-primary {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: var(--btn-bg);
    box-shadow: var(--btn-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.38) 50%, transparent 62%);
    transform: translateX(-130%) skewX(-8deg);
    transition: transform 0.75s var(--ease);
    pointer-events: none;
}
.btn-primary:hover {
    background: var(--btn-bg-hover);
    box-shadow: var(--btn-shadow-hover), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}
.btn-primary:hover::after { transform: translateX(130%) skewX(-8deg); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    border-radius: 999px;
    border: 1px solid var(--btn-ghost-border);
    background: var(--bg-card-translucent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
                box-shadow 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-ghost:hover {
    border-color: var(--border-hover);
    background: var(--accent-ghost);
    box-shadow: 0 0 0 1px var(--accent-softer), 0 10px 30px -12px var(--accent-glow);
    transform: translateY(-2px);
}

/* ----------------------------------------------------------------------------
   7. SUPRAFEȚE DE STICLĂ, rețeta comună a cardurilor
   Bordură-gradient (alb sus → molten jos) desenată prin dublu background,
   fundal translucid, glow discret la hover.
   --------------------------------------------------------------------------- */
.solution-card,
.faq-item,
.form-card,
.trial-content,
.spec-card,
.impact-card,
.approach-card,
.cookie-notice {
    border: 1px solid transparent;
    border-radius: var(--radius-card);
    background:
        linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
        linear-gradient(158deg, var(--glass-edge-a) 0%, var(--glass-edge-b) 38%, var(--glass-edge-c) 100%) border-box;
    box-shadow: var(--shadow-card);
}
.solution-card,
.faq-item,
.spec-card,
.impact-card,
.approach-card {
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.solution-card:hover,
.spec-card:hover,
.impact-card:hover,
.approach-card:hover {
    transform: translateY(-4px);
    background:
        linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
        linear-gradient(158deg, var(--glass-edge-a) 0%, var(--glass-edge-b) 30%, var(--border-hover) 100%) border-box;
    box-shadow: var(--shadow-card), 0 24px 60px -24px var(--accent-glow);
}
.form-card,
.trial-content,
.cookie-notice {
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
}

/* FAQ, accent la deschidere */
.faq-item[open] {
    background:
        linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
        linear-gradient(158deg, var(--glass-edge-a) 0%, var(--glass-edge-b) 30%, var(--border-hover) 100%) border-box;
    box-shadow: var(--shadow-card), 0 18px 48px -22px var(--accent-glow);
}
.faq-item summary { transition: color 0.25s var(--ease); }
.faq-item summary:hover { color: var(--accent-text); }

/* CTA final, panoul de testare gratuită, luminat din interior */
.trial-content {
    background:
        radial-gradient(120% 130% at 50% 118%, var(--accent-soft) 0%, transparent 55%),
        linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
        linear-gradient(158deg, var(--glass-edge-a) 0%, var(--glass-edge-b) 34%, var(--glass-edge-c) 100%) border-box;
}

/* ----------------------------------------------------------------------------
   8. COMPONENTE PE PAGINI
   --------------------------------------------------------------------------- */

/* Hero (index): atmosferă mai cinematică, luminată de jos */
.hero-overlay {
    background:
        radial-gradient(70% 60% at 50% 108%, rgba(255, 106, 34, 0.22) 0%, transparent 65%),
        linear-gradient(180deg, rgba(5, 6, 10, 0.84) 0%, rgba(5, 6, 10, 0.55) 48%, rgba(5, 6, 10, 0.62) 100%);
}
.hero-stats .stat-card + .stat-card::before {
    background: linear-gradient(180deg, transparent, var(--accent-border), transparent);
}

/* Banda de încredere, chips de sticlă */
.trust-industry {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 18px;
    background: var(--bg-card-translucent);
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.trust-industry:hover {
    border-color: var(--border-hover);
    color: var(--accent-text);
    background: var(--accent-softer);
}

/* Pași de implementare, numerele devin repere HUD */
.step-number {
    font-family: 'Geist Mono', monospace;
    background: linear-gradient(125deg, var(--stat-grad-a), var(--stat-grad-b));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.step-icon {
    border: 1px solid var(--accent-border);
    border-radius: 14px;
    background: var(--accent-softer);
    color: var(--accent);
    box-shadow: 0 0 24px -6px var(--accent-glow);
}

/* Capturi de platformă / imagini mari, ramă de sticlă cu glow */
.platform-shot,
.proces-step-img {
    border: 1px solid transparent;
    border-radius: var(--radius-card);
    background:
        linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
        linear-gradient(158deg, var(--glass-edge-a) 0%, var(--glass-edge-b) 38%, var(--glass-edge-c) 100%) border-box;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.65), 0 0 60px -20px var(--glow-accent);
    overflow: hidden;
}
html[data-theme="light"] .platform-shot,
html[data-theme="light"] .proces-step-img {
    box-shadow: 0 26px 60px -26px rgba(40, 52, 90, 0.3), 0 0 50px -18px var(--glow-accent);
}

/* Formular contact, focus incandescent */
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 1px 0 0 var(--accent);
}
.direct-chip {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card-translucent);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.direct-chip:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 32px -16px var(--accent-glow);
    transform: translateY(-2px);
}

/* Footer, hairline incandescent + soclu translucid */
.footer {
    position: relative;
    background: var(--bg-footer);
    border-top: 1px solid var(--border);
}
.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--accent-border) 50%, transparent 95%);
    pointer-events: none;
}
.footer-social a {
    transition: color 0.3s var(--ease), transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

/* ----------------------------------------------------------------------------
   9. ACCESIBILITATE & PERFORMANȚĂ
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .tag::before { animation: none; }
    .btn-primary::after { display: none; }
    .btn-primary:hover,
    .btn-ghost:hover,
    .solution-card:hover,
    .spec-card:hover,
    .impact-card:hover,
    .approach-card:hover,
    .direct-chip:hover,
    .footer-social a:hover { transform: none; }
}

/* Fallback pentru browsere fără backdrop-filter: fundal mai opac */
@supports not (backdrop-filter: blur(1px)) {
    html[data-theme="dark"] {
        --glass-bg: rgba(13, 15, 22, 0.92);
        --nav-bg-scrolled: rgba(7, 8, 13, 0.94);
        --mobile-menu-bg: rgba(6, 7, 11, 0.98);
    }
    html[data-theme="light"] {
        --glass-bg: rgba(255, 255, 255, 0.94);
        --nav-bg-scrolled: rgba(246, 247, 250, 0.96);
        --mobile-menu-bg: rgba(250, 251, 253, 0.98);
    }
}

@media (max-width: 768px) {
    .page-rise,
    .page-rise > .trust,
    html[data-theme="dark"] .page-rise > .trust { border-radius: 20px 20px 0 0; }
}

/* ----------------------------------------------------------------------------
   10. LEGĂTURI CONTEXTUALE ÎN INTRODUCERILE DE SECȚIUNE
   Linkurile interne adăugate în text trebuie să arate ca linkuri, nu ca text.
   --------------------------------------------------------------------------- */
.section-intro a,
.proces-header a,
.specs-header a,
.faq-header a {
    color: var(--accent-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: var(--accent-border);
    transition: color .2s ease, text-decoration-color .2s ease;
}

.section-intro a:hover,
.proces-header a:hover,
.specs-header a:hover,
.faq-header a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}


/* ----------------------------------------------------------------------------
   11. ARTICOLE, elemente noi: h3, tabele, „citiți și"
   --------------------------------------------------------------------------- */
.article h3 {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 30px 0 8px;
}

.table-scroll { overflow-x: auto; margin: 24px 0; -webkit-overflow-scrolling: touch; }
.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin: 24px 0;
}
.table-scroll .article-table { margin: 0; min-width: 640px; }
.article-table caption {
    caption-side: top;
    text-align: left;
    font-family: 'Geist Mono', ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 0 10px;
}
.article-table th,
.article-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    line-height: 1.55;
}
.article-table thead th {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    background: var(--bg-card);
    border-bottom: 1px solid var(--divider);
}
.article-table tbody th { color: var(--text-primary); font-weight: 600; white-space: nowrap; }
.article-table-total td { color: var(--text-primary); border-top: 1px solid var(--accent-border); border-bottom: 0; }
.article-table-compare td:nth-child(3) { color: var(--text-primary); }
.article-table strong { color: var(--text-primary); }

.article-related {
    margin-top: 40px;
    padding: 24px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--bg-card);
}
.article-related h2 {
    font-family: 'Geist Mono', ui-monospace, monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 12px;
}
.article-related ul { list-style: none; padding: 0; margin: 0; }
.article-related li { margin: 0 0 8px; font-size: 15.5px; line-height: 1.5; }
.article-related li::marker { content: ''; }
.article-related li:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------------------
   13. CALM, reglaje „Apple-style": mai mult aer, mai puțină mișcare decorativă
   --------------------------------------------------------------------------- */
.section-pad { padding: clamp(84px, 9.5vw, 132px) 0; }
.section-title { letter-spacing: -0.04em; }
.section-intro { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; }

/* punctul din etichete nu mai pulsează; rămâne un reper static */
.tag::before { animation: none; box-shadow: 0 0 6px var(--accent-glow); }

/* aurora în tema light: abia perceptibilă (fundal „porcelain", nu gradient) */
html[data-theme="light"] body::before,
:root:not([data-theme="dark"]) body::before { opacity: 0.55; }

/* Carduri: bordură hairline, fără glow la repaus; glow-ul apare doar la hover */
.solution-card,
.spec-card,
.impact-card,
.approach-card,
.post-card { box-shadow: none; }

/* Imaginile din articole: atributele width/height servesc doar la rezervarea spațiului;
   înălțimea reală urmează lățimea (altfel imaginea se deformează pe ecrane înguste) */
.article-figure img,
.article-hero-img img,
.post-card-img img { height: auto; }
.article-hero-img img { aspect-ratio: 16 / 9; }
.post-card-img img { height: 100%; }

/* ----------------------------------------------------------------------------
   14. FIX: butoanele din interiorul articolelor
   Regula `.article a` (culoare accent + subliniere) are specificitate mai mare
   decât `.btn-primary`, așa că împrumuta butonului textul portocaliu, portocaliu
   pe portocaliu, ilizibil. Butoanele se exclud explicit.
   --------------------------------------------------------------------------- */
.article a.btn-primary,
.article a.btn-ghost,
.article a.btn-large {
    text-decoration: none;
}

.article a.btn-primary,
.article a.btn-primary:hover,
.article a.btn-primary:focus-visible {
    color: #ffffff;
    font-weight: 600;
}

.article a.btn-ghost,
.article a.btn-ghost:hover {
    color: var(--text-primary);
}

/* Panoul CTA: puțin mai mult aer sub text, ca butonul să nu stea lipit */
.article-cta .btn-primary { margin-top: 4px; }

/* ----------------------------------------------------------------------------
   BUTON ALB, varianta solida fara accent portocaliu.
   Se aplica peste .btn-ghost (mostenind dimensiunile) si functioneaza pe fundal
   deschis (bordura + umbra il decupeaza) si pe fundal inchis (contrast direct).
   --------------------------------------------------------------------------- */
.btn-white,
.btn-white:hover,
.btn-white:focus-visible {
    background: #FFFFFF;
    color: #12141A;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.btn-white {
    border: 1px solid rgba(18, 24, 38, 0.10);
    box-shadow: 0 8px 24px rgba(10, 14, 22, 0.12), 0 2px 6px rgba(10, 14, 22, 0.07);
}
.btn-white:hover {
    border-color: rgba(18, 24, 38, 0.18);
    box-shadow: 0 14px 36px rgba(10, 14, 22, 0.18), 0 4px 10px rgba(10, 14, 22, 0.10);
    transform: translateY(-2px);
}
.btn-white:active { transform: translateY(0); }
html[data-theme="dark"] .btn-white {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
}
html[data-theme="dark"] .btn-white:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 4px 10px rgba(0, 0, 0, 0.35);
}
