/* ══════════════════════════════════════════════════════════════
   VIRALIO AUTOPILOT — /autopilot
   Spec app-uri 2026: Space Grotesk (titluri/CTA) · Inter (UI) ·
   JetBrains Mono (cifre). Fundal #0a0a0c, accent mint, DOAR dark,
   panouri radius 20px, CTA solid cu text #07120d.
   ══════════════════════════════════════════════════════════════ */

:root {
    --bg:            #0a0a0c;
    --bg-soft:       #0e0e12;
    --panel:         rgba(255,255,255,0.025);
    --panel-2:       rgba(255,255,255,0.045);
    --border:        rgba(255,255,255,0.07);
    --border-strong: rgba(255,255,255,0.14);
    --accent:        #65d69e;
    --accent-hover:  #7de0a8;
    --accent-ink:    #07120d;
    --accent-soft:   rgba(101,214,158,0.10);
    --accent-line:   rgba(101,214,158,0.32);
    --text:          #e6e6ea;
    --text-strong:   #ffffff;
    --muted:         #a1a1aa;
    --muted-soft:    #c8c9d0;
    --gold:          #f5c842;
    --gold-soft:     rgba(245,200,66,0.10);
    --radius:        20px;
    --hi:            inset 0 1px 0 rgba(255,255,255,0.06);
    --wrap:          1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4, .ttl, .btn, .eyebrow { font-family: 'Space Grotesk', 'Inter', sans-serif; }
a { color: inherit; }
::selection { background: rgba(101,214,158,0.30); color: #fff; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { position: relative; }

/* ── Elemente comune ─────────────────────────────────────────── */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent); padding: 6px 12px; border-radius: 999px;
    background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.eyebrow.plain { background: none; border: none; color: var(--muted); padding: 0; }

.h-sec {
    font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.06; letter-spacing: -0.035em;
    font-weight: 700; color: var(--text-strong); margin: 16px 0 0;
}
.h-sec em { font-style: normal; color: var(--accent); }
.p-sec { color: var(--muted-soft); font-size: 1.02rem; line-height: 1.65; max-width: 62ch; margin: 14px 0 0; }
.sec-head { margin-bottom: 42px; }

.panel {
    background: var(--panel); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--hi);
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 24px; border-radius: 14px; border: 1px solid transparent;
    font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none;
    transition: transform .15s ease, background .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--panel-2); }
.btn[disabled] { opacity: .5; pointer-events: none; }

.mono { font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; }

/* Reveal la scroll — un singur observer în JS adaugă .in */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero { padding: 64px 0 84px; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; inset: -220px 0 auto 0; height: 620px; pointer-events: none;
    background: radial-gradient(58% 52% at 50% 0%, rgba(101,214,158,0.13), transparent 70%);
}
.hero-grid {
    position: relative; display: grid; grid-template-columns: 1fr 0.92fr; gap: 54px; align-items: center;
}
.hero h1 {
    font-size: clamp(2.6rem, 6.2vw, 4.5rem); line-height: 0.98; letter-spacing: -0.045em;
    font-weight: 700; color: var(--text-strong); margin: 20px 0 0;
}
.hero h1 .dim { color: var(--muted); }
.hero h1 .mint { color: var(--accent); }
.hero-sub { color: var(--muted-soft); font-size: 1.1rem; line-height: 1.62; max-width: 46ch; margin: 20px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: 0.84rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--accent); font-size: 0.78rem; }

/* ── Consola (dreapta) ───────────────────────────────────────── */
.console { position: relative; }
.console-glow {
    position: absolute; inset: 8% -6%; border-radius: 50%; pointer-events: none;
    background: radial-gradient(50% 50% at 50% 50%, rgba(101,214,158,0.16), transparent 70%);
    filter: blur(24px);
}
.console-card { position: relative; padding: 16px; }
.cc-bar { display: flex; align-items: center; gap: 9px; padding: 2px 4px 14px; border-bottom: 1px solid var(--border); }
.cc-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.cc-dot.live { background: var(--accent); box-shadow: 0 0 0 0 rgba(101,214,158,0.55); animation: pulseDot 2.2s infinite; }
@keyframes pulseDot { 70%,100% { box-shadow: 0 0 0 9px rgba(101,214,158,0); } }
.cc-title { font-family: 'Space Grotesk', sans-serif; font-size: 0.84rem; font-weight: 600; color: var(--text-strong); }
.cc-tag { margin-left: auto; font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.cc-step { padding: 14px 4px; border-bottom: 1px solid var(--border); }
.cc-step:last-child { border-bottom: none; padding-bottom: 4px; }
.cc-label { display: flex; align-items: center; gap: 8px; font-size: 0.66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.cc-label .n {
    width: 17px; height: 17px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
    font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; letter-spacing: 0;
}
.cc-brief {
    background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 12px;
    padding: 11px 13px; font-size: 0.86rem; color: var(--text); min-height: 42px;
}
.cc-caret { display: inline-block; width: 7px; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.cc-items { display: grid; gap: 7px; }
.cc-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    font-size: 0.8rem; color: var(--muted-soft);
    opacity: 0; transform: translateY(6px); animation: itemIn .45s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes itemIn { to { opacity: 1; transform: none; } }
.cc-item b { color: var(--text-strong); font-weight: 500; }
.cc-item .fm {
    flex-shrink: 0; font-size: 0.6rem; letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.cc-item .tm { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--muted); }

.cc-post { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; padding: 8px 11px; border-radius: 11px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); }
.cc-post + .cc-post { margin-top: 7px; }
.cc-post .ok { color: var(--accent); }
.cc-post .wait { color: var(--muted); }
.cc-post .tm { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--muted); }

.cc-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border);
    font-size: 0.74rem; color: var(--muted);
}
.cc-foot b { font-family: 'JetBrains Mono', monospace; color: var(--accent); font-size: 0.95rem; }

/* ── Bandă cifre ─────────────────────────────────────────────── */
.stripe { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.stripe-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stripe-cell { padding: 26px 20px; border-right: 1px solid var(--border); }
.stripe-cell:last-child { border-right: none; }
.stripe-n { font-family: 'JetBrains Mono', monospace; font-size: 1.65rem; font-weight: 700; color: var(--text-strong); letter-spacing: -0.02em; }
.stripe-n .u { color: var(--accent); }
.stripe-l { font-size: 0.78rem; color: var(--muted); margin-top: 5px; line-height: 1.45; }

/* ══════════════════════════════════════════════════════════════
   DEMO — brief → plan
   ══════════════════════════════════════════════════════════════ */
.demo { padding: 92px 0; }
.demo-box { padding: 22px; margin-top: 34px; }
.demo-row { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.field-label { display: block; font-size: 0.72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.demo textarea {
    width: 100%; min-height: 116px; resize: vertical; padding: 14px 16px;
    background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 14px;
    color: var(--text); font-family: inherit; font-size: 0.95rem; line-height: 1.55;
}
.demo textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(101,214,158,0.10); }
.demo textarea::placeholder { color: rgba(255,255,255,0.26); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
    padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--panel); color: var(--muted-soft); font-size: 0.79rem; cursor: pointer;
    transition: all .16s ease; user-select: none;
}
.chip:hover { background: var(--panel-2); color: var(--text); }
.chip.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.chip i { margin-right: 6px; font-size: 0.74rem; }

.demo-side { display: grid; gap: 16px; }
.side-block { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); }
.count-row { display: flex; align-items: baseline; gap: 8px; }
.count-n { font-family: 'JetBrains Mono', monospace; font-size: 2rem; font-weight: 700; color: var(--accent); }
.count-u { font-size: 0.82rem; color: var(--muted); }
input[type="range"] {
    -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin-top: 12px;
    background: rgba(255,255,255,0.10); border-radius: 999px; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent); cursor: pointer; border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--accent-line);
}
input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
    cursor: pointer; border: 3px solid var(--bg);
}
.cost-line { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); padding: 5px 0; }
.cost-line b { color: var(--text-strong); font-family: 'JetBrains Mono', monospace; }
.cost-line.tot { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 9px; }
.cost-line.tot b { color: var(--accent); }

.demo-go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.demo-note { font-size: 0.78rem; color: var(--muted); }
.demo-note a { color: var(--accent); text-decoration: none; }
.demo-note a:hover { text-decoration: underline; }

/* Citirea brandului dintr-un link — scurtătura peste formularul gol */
.brand-row { display: flex; gap: 9px; align-items: stretch; }
.brand-row input {
    flex: 1 1 auto; min-width: 0;
    padding: 11px 14px; border-radius: 13px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border-strong);
    color: var(--text); font-family: inherit; font-size: 0.92rem;
}
.brand-row input:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(101,214,158,0.10); }
.brand-row input::placeholder { color: rgba(255,255,255,0.26); }
.brand-row .btn { flex: 0 0 auto; white-space: nowrap; }
.brand-note { margin: 9px 0 0; }
.brand-note.err { color: var(--gold); }
.brand-note.ok { color: var(--accent); }

/* Output plan */
.plan-out { margin-top: 26px; display: none; }
.plan-out.on { display: block; }
.plan-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pill {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border); font-size: 0.78rem; color: var(--muted-soft);
}
.pill b { color: var(--text-strong); font-weight: 500; }
.pill.mint { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.pill.demo-flag { background: var(--gold-soft); border-color: rgba(245,200,66,0.30); color: var(--gold); }

/* Bara de producție — planul devine fișiere */
.prod-bar {
    display: none; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 14px 16px; margin-bottom: 16px; border-radius: 16px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border-strong);
}
.prod-bar.on { display: flex; }
.prod-info { flex: 1 1 260px; min-width: 0; }
.prod-info b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; color: var(--text-strong); }
.prod-info span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.prod-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.prod-progress { flex: 1 1 100%; display: flex; align-items: center; gap: 11px; }
.pp-track { flex: 1 1 auto; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.pp-fill { height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width .5s ease; }
.pp-txt { flex: 0 0 auto; font-size: 0.76rem; color: var(--muted); }

/* Starea randării, pe cardul ideii */
.ci-state {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
    font-size: 0.68rem; letter-spacing: .04em; color: var(--muted);
}
/* Verdele e pentru „s-a terminat bine", nu pentru „așteaptă". La randare,
   atenția o duce bara de progres — cardul rămâne liniștit. */
.ci-state.gata { color: var(--accent); }
.ci-state.esuat { color: var(--gold); }
.ci-out {
    display: flex; align-items: center; gap: 8px; margin-top: 10px;
    padding: 8px 11px; border-radius: 11px;
    background: var(--accent-soft); border: 1px solid var(--accent-line);
    font-size: 0.78rem;
}
.ci-out a { color: var(--accent); text-decoration: none; font-weight: 500; }
.ci-out a:hover { text-decoration: underline; }
.ci-err {
    margin-top: 10px; padding: 8px 11px; border-radius: 11px;
    background: var(--gold-soft); border: 1px solid rgba(245,200,66,0.30);
    font-size: 0.76rem; color: var(--gold); line-height: 1.45;
}

.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 12px; }
.card-idea {
    padding: 15px 16px; border-radius: 16px; background: rgba(255,255,255,0.022);
    border: 1px solid var(--border); cursor: pointer; transition: border-color .18s ease, background .18s ease;
}
.card-idea:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.038); }
.ci-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ci-day { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; color: var(--muted); }
.ci-fmt { font-size: 0.62rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.ci-cr { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; color: var(--muted); }
.ci-hook { font-family: 'Space Grotesk', sans-serif; font-size: 0.98rem; font-weight: 600; color: var(--text-strong); line-height: 1.32; letter-spacing: -0.015em; }
.ci-script { font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-idea.open .ci-script { -webkit-line-clamp: unset; }
.ci-more { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.card-idea.open .ci-more { display: block; }
.ci-block { margin-bottom: 11px; }
.ci-block:last-child { margin-bottom: 0; }
.ci-k { font-size: 0.64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.ci-v { font-size: 0.83rem; color: var(--text); line-height: 1.5; }
.ci-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ci-tag { font-size: 0.7rem; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 6px; padding: 2px 7px; }
.ci-os { display: flex; flex-wrap: wrap; gap: 5px; }
.ci-os span { font-size: 0.7rem; color: var(--muted-soft); background: rgba(255,255,255,0.04); border-radius: 6px; padding: 3px 8px; }

.plan-loading { display: none; padding: 40px 0; text-align: center; }
.plan-loading.on { display: block; }
.ldr { display: inline-flex; gap: 6px; }
.ldr i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: bounce 1.1s infinite; }
.ldr i:nth-child(2) { animation-delay: .15s; } .ldr i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-7px); opacity: 1; } }
.ldr-txt { margin-top: 14px; font-size: 0.86rem; color: var(--muted); }

/* ══════════════════════════════════════════════════════════════
   BUCLA — diferențiatorul
   ══════════════════════════════════════════════════════════════ */
.loop { padding: 92px 0; border-top: 1px solid var(--border); background: var(--bg-soft); }
.loop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.loop-svg { width: 100%; height: auto; }
.loop-path { fill: none; stroke: rgba(255,255,255,0.10); stroke-width: 1.4; }
.loop-run { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 90 900; animation: dashRun 7s linear infinite; }
@keyframes dashRun { to { stroke-dashoffset: -990; } }
.loop-node circle { fill: #0e0e12; stroke: var(--border-strong); stroke-width: 1.2; }
.loop-node.hot circle { stroke: var(--accent-line); fill: rgba(101,214,158,0.06); }
.loop-node text { font-family: 'Space Grotesk', sans-serif; font-size: 11px; fill: #e6e6ea; text-anchor: middle; }
.loop-node .sub { font-size: 8.4px; fill: #a1a1aa; }
.loop-node.hot text { fill: #65d69e; }

.loop-steps { display: grid; gap: 12px; margin-top: 26px; }
.ls { display: flex; gap: 13px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); }
.ls-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); font-size: 0.82rem; }
.ls h4 { margin: 0 0 3px; font-size: 0.94rem; color: var(--text-strong); font-weight: 600; letter-spacing: -0.01em; }
.ls p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

.vs-box { margin-top: 30px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.vs-row { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; line-height: 1.6; }
.vs-row + .vs-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.vs-row .tagx { flex-shrink: 0; font-size: 0.64rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--border-strong); color: var(--muted); }
.vs-row.mint .tagx { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.vs-row b { color: var(--text-strong); }

/* Insight mock */
.insight { padding: 18px; margin-top: 22px; }
.ins-head { display: flex; align-items: center; gap: 9px; font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; }
.ins-head i { color: var(--accent); }
.ins-row { display: grid; grid-template-columns: 116px 1fr 74px; align-items: center; gap: 12px; padding: 7px 0; font-size: 0.83rem; }
.ins-row .nm { color: var(--text); }
.ins-bar { height: 7px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.ins-bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); width: 0; transition: width 1.1s cubic-bezier(.16,1,.3,1); }
.ins-row .vv { text-align: right; font-family: 'JetBrains Mono', monospace; color: var(--muted-soft); font-size: 0.78rem; }
.ins-note { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); }
.ins-note b { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   FORMATE
   ══════════════════════════════════════════════════════════════ */
.formats { padding: 92px 0; }
.fmt-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.fmt {
    padding: 14px; border-radius: var(--radius); background: var(--panel);
    border: 1px solid var(--border); transition: border-color .2s ease, transform .2s ease;
}
.fmt:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.phone {
    position: relative; aspect-ratio: 9/16; border-radius: 14px; overflow: hidden;
    background: linear-gradient(160deg, #16161c, #0b0b0f); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; padding: 14px; text-align: center;
}
.phone::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(80% 55% at 50% 0%, rgba(101,214,158,0.13), transparent 62%);
}
.ph-quote { font-family: 'Space Grotesk', sans-serif; font-size: 0.88rem; font-weight: 700; color: #fff; line-height: 1.3; letter-spacing: -0.02em; }
.ph-sub { font-size: 0.6rem; color: var(--muted); margin-top: 8px; letter-spacing: .1em; text-transform: uppercase; }
.ph-face { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1.2rem; margin: 0 auto 10px; }
.ph-cap { position: absolute; left: 10px; right: 10px; bottom: 12px; font-size: 0.62rem; color: #fff; background: rgba(0,0,0,0.55); border-radius: 7px; padding: 5px 7px; }
.ph-strip { position: absolute; inset: auto 0 0 0; display: flex; gap: 3px; padding: 8px; }
.ph-strip i { flex: 1; height: 26px; border-radius: 4px; background: rgba(255,255,255,0.07); }
.ph-strip i:nth-child(2) { background: rgba(101,214,158,0.22); }
.ph-q { font-size: 0.78rem; color: #fff; font-weight: 600; }
.ph-opts { margin-top: 10px; display: grid; gap: 5px; }
.ph-opts span { font-size: 0.6rem; padding: 5px 6px; border-radius: 6px; background: rgba(255,255,255,0.06); color: var(--muted-soft); }
.ph-opts span.ok { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.ph-wave { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 40px; }
.ph-wave i { width: 3px; border-radius: 2px; background: var(--accent); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 8px; opacity: .5; } 50% { height: 34px; opacity: 1; } }

.fmt h4 { margin: 13px 0 4px; font-size: 0.92rem; color: var(--text-strong); font-weight: 600; letter-spacing: -0.01em; }
.fmt p { margin: 0; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.fmt .cost { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 0.72rem; color: var(--muted); }
.fmt .cost b { font-family: 'JetBrains Mono', monospace; color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   AUTOPOST
   ══════════════════════════════════════════════════════════════ */
.autopost { padding: 92px 0; border-top: 1px solid var(--border); background: var(--bg-soft); }
.ap-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: center; }
.ap-list { display: grid; gap: 12px; margin-top: 26px; }
.ap-item { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; line-height: 1.6; color: var(--muted-soft); }
.ap-item i { color: var(--accent); margin-top: 4px; font-size: 0.8rem; }
.ap-item b { color: var(--text-strong); }

.sched { padding: 18px; }
.sched-head { display: flex; align-items: center; gap: 9px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.sched-head .ttl { font-size: 0.86rem; font-weight: 600; color: var(--text-strong); }
.sched-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sched-live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulseDot 2.2s infinite; }
.sr { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.84rem; }
.sr:last-child { border-bottom: none; }
.sr .t { font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; color: var(--muted); }
.sr .n { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr .s { font-size: 0.7rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }
.sr .s.done { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.sr .s.next { background: var(--gold-soft); border-color: rgba(245,200,66,0.28); color: var(--gold); }
.plats { display: flex; gap: 8px; margin-top: 16px; }
.plat { flex: 1; text-align: center; padding: 11px 6px; border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); font-size: 0.72rem; color: var(--muted); }
.plat i { display: block; font-size: 1.05rem; color: var(--text); margin-bottom: 6px; }
.plat.on { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.plat.on i { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   VOLUM
   ══════════════════════════════════════════════════════════════ */
.volume { padding: 92px 0; }
.vol-grid { display: grid; grid-template-columns: 0.95fr 1fr; gap: 56px; align-items: center; }
.vol-panel { padding: 24px; }
.vol-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.vo { padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); text-align: center; }
.vo b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; color: var(--accent); letter-spacing: -0.02em; }
.vo span { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.tickets { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 22px; }
.tk { width: 13px; height: 18px; border-radius: 3px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); }
.tk.on { background: var(--accent-soft); border-color: var(--accent-line); }
.vol-disc { margin-top: 20px; font-size: 0.78rem; color: var(--muted); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   CREDITE
   ══════════════════════════════════════════════════════════════ */
.credits { padding: 92px 0; border-top: 1px solid var(--border); background: var(--bg-soft); }
.cr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.cr {
    padding: 20px; border-radius: var(--radius); background: var(--panel);
    border: 1px solid var(--border); position: relative;
}
.cr.hot { border-color: var(--accent-line); background: rgba(101,214,158,0.045); }
.cr-tag { position: absolute; top: -9px; left: 20px; font-size: 0.62rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.cr h4 { margin: 0 0 4px; font-size: 1rem; color: var(--text-strong); font-weight: 600; }
.cr .amt { font-family: 'JetBrains Mono', monospace; font-size: 1.7rem; color: var(--accent); letter-spacing: -0.02em; }
.cr .amt small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0; }
.cr ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.cr li { font-size: 0.82rem; color: var(--muted-soft); display: flex; gap: 8px; line-height: 1.45; }
.cr li i { color: var(--accent); font-size: 0.72rem; margin-top: 4px; }
.cr li b { color: var(--text-strong); font-weight: 500; }
.cr-foot { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; }
.cr-note { font-size: 0.8rem; color: var(--muted); max-width: 62ch; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   FAQ + CTA
   ══════════════════════════════════════════════════════════════ */
.faq { padding: 92px 0; }
.faq-list { max-width: 820px; margin: 36px auto 0; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
    list-style: none; cursor: pointer; padding: 19px 40px 19px 0; position: relative;
    font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 500; color: var(--text-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    color: var(--accent); font-size: 1.3rem; font-weight: 300; transition: transform .2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq .ans { padding: 0 0 20px; font-size: 0.9rem; color: var(--muted-soft); line-height: 1.7; max-width: 72ch; }
.faq .ans a { color: var(--accent); }

.final { padding: 96px 0 110px; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--border); }
.final::before {
    content: ''; position: absolute; inset: auto 0 -260px 0; height: 520px; pointer-events: none;
    background: radial-gradient(50% 50% at 50% 100%, rgba(101,214,158,0.14), transparent 70%);
}
.final h2 { position: relative; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.04; letter-spacing: -0.04em; color: var(--text-strong); margin: 18px 0 0; font-weight: 700; }
.final p { position: relative; color: var(--muted-soft); font-size: 1.02rem; line-height: 1.65; max-width: 54ch; margin: 16px auto 0; }
.final-cta { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.final-fine { position: relative; margin-top: 22px; font-size: 0.76rem; color: var(--muted); }

.legal { padding: 30px 0 50px; }
.legal p { font-size: 0.73rem; color: rgba(255,255,255,0.32); line-height: 1.65; max-width: 92ch; margin: 0 auto; text-align: center; }

/* ── Toast ───────────────────────────────────────────────────── */
.toast {
    position: fixed; right: 18px; bottom: 18px; z-index: 99999; max-width: 330px;
    padding: 13px 16px; border-radius: 14px; background: #14141a; border: 1px solid var(--border-strong);
    color: var(--text); font-size: 0.86rem; box-shadow: 0 18px 50px rgba(0,0,0,.55);
    opacity: 0; transform: translateY(10px); pointer-events: none; transition: all .25s cubic-bezier(.16,1,.3,1);
}
.toast.on { opacity: 1; transform: none; }

/* ── Modal login (același pattern ca /apps/*) ────────────────── */
.ap-login { position: fixed; inset: 0; z-index: 99998; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.72); backdrop-filter: blur(4px); }
.ap-login.on { display: flex; }
.ap-login-card { width: 100%; max-width: 400px; padding: 30px 26px; border-radius: var(--radius); background: #101015; border: 1px solid var(--border-strong); text-align: center; position: relative; }
.ap-login-x { position: absolute; top: 12px; right: 12px; background: none; border: none; color: var(--muted); font-size: 1rem; cursor: pointer; }
.ap-login-ic { width: 46px; height: 46px; border-radius: 15px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); font-size: 1.1rem; }
.ap-login-card h2 { margin: 0 0 8px; font-size: 1.25rem; color: var(--text-strong); letter-spacing: -0.02em; }
.ap-login-card p { margin: 0 0 18px; font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.ap-gbtn { display: flex; justify-content: center; min-height: 44px; }
.ap-login-alt { display: block; margin-top: 14px; font-size: 0.78rem; color: var(--muted); text-decoration: none; }
.ap-login-alt:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — pe mobil poate arăta ALTFEL, nu doar mai îngust
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
    .hero-grid, .loop-grid, .ap-grid, .vol-grid { grid-template-columns: 1fr; gap: 40px; }
    .fmt-grid { grid-template-columns: repeat(3, 1fr); }
    .cr-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-row { grid-template-columns: 1fr; }
    .stripe-grid { grid-template-columns: repeat(2, 1fr); }
    .stripe-cell:nth-child(2) { border-right: none; }
    .stripe-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 640px) {
    .hero { padding: 40px 0 60px; }
    .demo, .loop, .formats, .autopost, .volume, .credits, .faq { padding: 64px 0; }
    .final { padding: 70px 0 80px; }
    .fmt-grid { grid-template-columns: repeat(2, 1fr); }
    /* Al 5-lea format ocupă toată lățimea — mai bine decât un card orfan pe jumătate */
    .fmt-grid .fmt:last-child { grid-column: 1 / -1; }
    .fmt-grid .fmt:last-child .phone { aspect-ratio: 16/9; }
    .plan-grid { grid-template-columns: 1fr; }
    .vol-out { grid-template-columns: 1fr; }
    /* Pe telefon butonul lăsa ~100px pentru adresă — prea puțin ca să scrii.
       Trec pe două rânduri, cu butonul pe toată lățimea. */
    .brand-row { flex-wrap: wrap; }
    .brand-row input { flex: 1 1 100%; }
    .brand-row .btn { flex: 1 1 100%; justify-content: center; }
    .prod-actions { flex: 1 1 100%; }
    .prod-actions .btn { flex: 1 1 auto; justify-content: center; }
    .hero-cta .btn, .final-cta .btn { width: 100%; }
    .demo-box { padding: 16px; }
    .h-sec { font-size: clamp(1.7rem, 7.5vw, 2.3rem); }
}
