:root {
    --bg: #f3f4f6;
    --card-bg: #ffffff;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text-main: #0f172a;
    --text-muted: #6b7280;
    --border-subtle: #e5e7eb;
    --success: #16a34a;
}
* { box-sizing:border-box; }
body {
    margin:0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:var(--bg);
    color:var(--text-main);
}
.page {
    min-height:100vh;
    display:flex;
    flex-direction:column;
}
header {
    padding:16px 20px;
    background:#0f172a;
    color:#e5e7eb;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
header .logo {
    font-weight:700;
    letter-spacing:0.04em;
    font-size:1rem;
}
header .badge-gdpr {
    font-size:0.75rem;
    border-radius:999px;
    border:1px solid rgba(148,163,184,.6);
    padding:4px 10px;
    display:flex;
    align-items:center;
    gap:6px;
}
header .badge-gdpr span.icon {
    width:6px;
    height:6px;
    border-radius:999px;
    background:#4ade80;
}

[hidden] { display: none !important; }
.hidden { display: none !important; }

main {
    flex:1;
    padding:24px 16px 32px;
    display:flex;
    justify-content:center;
}
.layout {
    max-width:1100px;
    width:100%;
    display:grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap:24px;
}
@media (max-width: 900px) {
    .layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hero-card, .form-card {
    background:var(--card-bg);
    border-radius:16px;
    padding:22px 24px;
    box-shadow:0 18px 45px rgba(15,23,42,.08);
}
.hero-card h1 {
    margin:0 0 8px;
    font-size:1.8rem;
}
.hero-subtitle {
    margin:0 0 16px;
    font-size:0.98rem;
    color:var(--text-muted);
}
.highlight-price {
    display:inline-flex;
    align-items:baseline;
    gap:6px;
    margin:12px 0 16px;
    padding:6px 10px;
    border-radius:999px;
    background:#eff6ff;
    color:#1d4ed8;
    font-size:0.9rem;
    font-weight:500;
}
.highlight-price span.old {
    text-decoration:line-through;
    color:#9ca3af;
    font-weight:400;
}
.badge-discount {
    font-size:0.8rem;
    background:#dcfce7;
    color:#166534;
    padding:3px 8px;
    border-radius:999px;
    font-weight:500;
}
.hero-benefits {
    list-style:none;
    padding:0;
    margin:12px 0 16px;
}
.hero-benefits li {
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-bottom:6px;
    font-size:0.95rem;
    color:var(--text-muted);
}
.hero-benefits li span.icon {
    margin-top:2px;
    width:16px;
    height:16px;
    border-radius:999px;
    background:#dcfce7;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    color:#16a34a;
    flex-shrink:0;
}

.gdpr-info {
    margin-top:12px;
    padding:10px 12px;
    border-radius:10px;
    background:#ecfeff;
    border:1px solid #bae6fd;
    font-size:0.8rem;
    color:#0369a1;
}

.form-card h2 {
    margin:0 0 10px;
    font-size:1.25rem;
}
.form-card p {
    margin:0 0 12px;
    font-size:0.9rem;
    color:var(--text-muted);
}
.alert {
    margin-bottom:12px;
    padding:10px 12px;
    border-radius:8px;
    font-size:0.86rem;
}
.alert-error {
    background:#fef2f2;
    color:#b91c1c;
    border:1px solid #fecaca;
}
.alert-success {
    background:#d1fae5;
    color:#166534;
    border:1px solid #a7f3d0;
}
.form-row {
    margin-bottom:10px;
}
.form-row label {
    display:block;
    font-size:0.86rem;
    font-weight:500;
    margin-bottom:4px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="number"],
.form-row select {
    width:100%;
    padding:7px 9px;
    border-radius:8px;
    border:1px solid var(--border-subtle);
    font-size:0.9rem;
}
.form-row input:focus,
.form-row select:focus {
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 1px rgba(37,99,235,.35);
}
.radio-group {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    font-size:0.88rem;
}
.radio-pill {
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:5px 9px;
    border-radius:999px;
    background:#f9fafb;
    border:1px solid #e5e7eb;
    cursor:pointer;
}
.radio-pill input {
    margin:0;
}

.two-cols {
    display:flex;
    gap:10px;
}
@media (max-width: 600px) {
    .two-cols {
        flex-direction:column;
    }
}

.gdpr-box {
    margin-top:8px;
    padding:9px 10px;
    border-radius:10px;
    border:1px solid var(--border-subtle);
    background:#f9fafb;
    font-size:0.8rem;
    overflow:auto;
}
.checkbox-row {
    margin-top:8px;
    font-size:0.84rem;
    display:flex;
    align-items:flex-start;
    gap:6px;
}
.checkbox-row input {
    margin-top:2px;
}

.btn-primary {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    background:var(--primary);
    color:#fff;
    border:none;
    border-radius:999px;
    padding:8px 16px;
    font-size:0.94rem;
    font-weight:600;
    cursor:pointer;
    margin-top:10px;
}
.btn-primary:hover {
    background:var(--primary-dark);
}
.btn-primary span.sub {
    font-size:0.8rem;
    font-weight:400;
    opacity:.9;
}
.secure-note {
    margin-top:6px;
    font-size:0.78rem;
    color:#6b7280;
    display:flex;
    align-items:center;
    gap:5px;
}
.secure-note span.icon-lock {
    font-size:11px;
}

footer {
    padding:10px 16px 18px;
    text-align:center;
    font-size:0.78rem;
    color:#9ca3af;
}

/* === Wrapper nou: header / main / footer semantice === */

.site-header {
    padding:16px 20px;
    background:#0f172a;
    color:#e5e7eb;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.site-header .logo {
    font-weight:700;
    letter-spacing:0.04em;
    font-size:1rem;
}

.site-header .badge-gdpr {
    font-size:0.75rem;
    border-radius:999px;
    border:1px solid rgba(148,163,184,.6);
    padding:4px 10px;
    display:flex;
    align-items:center;
    gap:6px;
}

.site-header .badge-gdpr span.icon {
    width:6px;
    height:6px;
    border-radius:999px;
    background:#4ade80;
}

/* Titlu site – link stilizat ca text normal */
.site-header-title a {
    color: #ffffff;              /* alb */
    text-decoration: none;       /* fără underline */
    font-weight: inherit;        /* păstrează stilul titlului */
}

/* Vizitat / hover / focus – fără mov, fără schimbări */
.site-header-title a:visited,
.site-header-title a:hover,
.site-header-title a:focus,
.site-header-title a:active {
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

.site-header-title a:hover {
    opacity: 0.9;
    text-shadow: 0 0 6px rgba(255,255,255,0.25);
}


.site-main {
    flex:1;
    padding:24px 16px 32px;
    display:flex;
    justify-content:center;
}

.site-footer {
    padding:10px 16px 18px;
    text-align:center;
    font-size:0.78rem;
    color:#9ca3af;
}

/* === Landing (ecran 1) === */

.landing-hero {
    width:100%;
    display:flex;
    justify-content:center;
}

.landing-card {
    max-width:840px;
    width:100%;
    background:var(--card-bg);
    border-radius:20px;
    padding:28px 28px 22px;
    box-shadow:0 18px 45px rgba(15,23,42,.08);
}

.landing-card .kicker {
    font-size:0.8rem;
    text-transform:uppercase;
    letter-spacing:0.18em;
    color:#6b7280;
    margin:0 0 6px;
}

.landing-card h1 {
    margin:0 0 12px;
    font-size:2rem;
    line-height:1.25;
}

.landing-text {
    margin:0 0 16px;
    font-size:0.98rem;
    color:var(--text-muted);
}

.landing-tags {
    list-style:none;
    padding:0;
    margin:0 0 18px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.landing-tags li {
    font-size:0.8rem;
    padding:4px 10px;
    border-radius:999px;
    background:#eff6ff;
    color:#1d4ed8;
    border:1px solid #bfdbfe;
}

.landing-meta {
    margin-top:14px;
    font-size:0.78rem;
    color:#6b7280;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    align-items:center;
}

/* === Formular (ecran 2) === */

.form-section {
    margin-top:20px;
    width:100%;
    display:flex;
    justify-content:center;
}

.form-section .form-card {
    max-width:840px;
    width:100%;
}

.form-subtitle {
    margin:0 0 12px;
    font-size:0.9rem;
    color:var(--text-muted);
}

.form-card .alert ul {
    margin:6px 0 0 18px;
    padding:0;
    font-size:0.86rem;
}

/* override mic pentru .two-cols în cardul de formular */
.form-card .two-cols .form-row {
    flex:1;
}

/* === Hero centrat pentru ?test=GUID (placeholder) === */

.hero-card.hero-centered {
    max-width:680px;
    width:100%;
    text-align:center;
}

/* === Ecran 3: card de preț / ofertă === */

.pricing-wrapper {
    width:100%;
    display:flex;
    justify-content:center;
}

.pricing-card {
    max-width:520px;
    width:100%;
    background:var(--card-bg);
    border-radius:24px;
    padding:26px 26px 22px;
    box-shadow:0 18px 45px rgba(15,23,42,.1);
}

.pricing-card h1 {
    margin:0 0 12px;
    font-size:1.7rem;
}

.pricing-amounts {
    display:flex;
    align-items:baseline;
    gap:10px;
    margin:4px 0 10px;
    font-size:1.3rem;
}

.pricing-amounts .old {
    text-decoration:line-through;
    color:#f97373;
    font-size:1rem;
}

.pricing-amounts .current {
    font-weight:700;
    font-size:1.6rem;
}

.pricing-discount {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    margin-bottom:16px;
}

.pricing-discount .badge {
    font-size:0.8rem;
    padding:4px 10px;
    border-radius:999px;
    background:#fee2e2;
    color:#b91c1c;
    font-weight:600;
}

.pricing-discount .label {
    font-size:0.78rem;
    color:#6b7280;
}

.pricing-text {
    margin:0 0 14px;
    font-size:0.92rem;
    color:var(--text-muted);
}

.pricing-card h3 {
    margin:14px 0 6px;
    font-size:1rem;
}

.pricing-benefits,
.pricing-points {
    list-style:none;
    padding:0;
    margin:6px 0 10px;
    font-size:0.9rem;
    color:var(--text-muted);
}

.pricing-benefits li,
.pricing-points li {
    margin-bottom:4px;
}

.pricing-benefits li strong {
    color:var(--text-main);
}

.pricing-actions {
    margin-top:14px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

/* Voucher box + form */
.voucher-box{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:12px;
}

.voucher-form{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;              /* pe mobil se rupe frumos */
}

.voucher-form input[type="text"]{
  flex:1 1 220px;
  min-width:180px;
  height:40px;
  padding:0 12px;
  border:1px solid #d1d5db;
  border-radius:10px;
  background:#fff;
  font-size:14px;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.voucher-form input[type="text"]::placeholder{
  color:#9ca3af;
}

.voucher-form input[type="text"]:focus{
  border-color:#94a3b8;
  box-shadow:0 0 0 3px rgba(148,163,184,.25);
}

/* butonul tău existent */
.voucher-form .btn-secondary{
  height:40px;
  padding:0 14px;
  border-radius:10px;
  white-space:nowrap;
}

/* mobile: buton full-width */
@media (max-width: 520px){
  .voucher-form{
    gap:8px;
  }
  .voucher-form .btn-secondary{
    width:100%;
  }
}




.btn-secondary {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    background:#e5e7eb;
    color:#111827;
    border:none;
    border-radius:999px;
    padding:8px 16px;
    font-size:0.9rem;
    font-weight:500;
    cursor:pointer;
    text-decoration:none;
}

.btn-secondary:hover {
    background:#d1d5db;
}

.pricing-actions .btn-primary,
.pricing-actions .btn-secondary {
    flex:0 0 auto;
}

.pricing-secure {
    margin-top:10px;
    font-size:0.78rem;
    color:#6b7280;
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}

/* === Utilitare === */

.hero-card.hero-centered,
.landing-card,
.form-card,
.pricing-card {
    backdrop-filter: blur(6px);
}

/* Responsive tweak pentru mobile */

@media (max-width: 640px) {
    .landing-card,
    .form-card,
    .pricing-card {
        padding:18px 16px 18px;
        border-radius:16px;
    }

    .landing-card h1 {
        font-size:1.6rem;
    }

    .pricing-card h1 {
        font-size:1.4rem;
    }

    .pricing-amounts {
        flex-direction:row;
        gap:6px;
    }
}





/* =========================
   PAGINA DE CUMPĂRARE (PRICING)
   ============================ */
/* =========================================================
   PRICING / CHECKOUT – WARM, FRIENDLY, TRUST-ORIENTED
   ========================================================= */

/* ---------- BODY & LAYOUT ---------- */
body.is-pricing {
    background: radial-gradient(
        circle at top,
        #fffaf7 0%,
        #fff1eb 60%,
        #ffffff 100%
    );
    color: #1f2937;
}

body.is-pricing .site-main {
    padding: 32px 16px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---------- WRAPPER + SOFT BLOBS ---------- */
.pricing-wrapper {
    position: relative;
    width: 100%;
    max-width: 980px;
    min-height: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.pricing-wrapper::before,
.pricing-wrapper::after {
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.pricing-wrapper::before {
    background: radial-gradient(circle, #fbcfe8 0%, transparent 60%);
    top: -200px;
    left: -160px;
    animation: pricing-blob-left 28s ease-in-out infinite alternate;
}

.pricing-wrapper::after {
    background: radial-gradient(circle, #a7f3d0 0%, transparent 60%);
    bottom: -220px;
    right: -140px;
    animation: pricing-blob-right 34s ease-in-out infinite alternate;
}

@keyframes pricing-blob-left {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(40px, 30px, 0) scale(1.06); }
    100% { transform: translate3d(-20px, 60px, 0) scale(1.02); }
}

@keyframes pricing-blob-right {
    0%   { transform: translate3d(0, 0, 0) scale(1.05); }
    50%  { transform: translate3d(-50px, -20px, 0) scale(1.08); }
    100% { transform: translate3d(20px, -60px, 0) scale(1.03); }
}

/* ---------- CARD ---------- */
.pricing-card {
    position: relative;
    z-index: 1;
    max-width: 560px;
    width: 100%;
    border-radius: 26px;
    padding: 26px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.94),
        rgba(255,255,255,0.88)
    );
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(226, 232, 240, 0.9);
}

/* gradient border subtil */
.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        #fb7185,
        #fbbf24,
        #34d399
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.55;
    pointer-events: none;
}

/* ---------- TITLU & TEXT ---------- */
.pricing-card h1 {
    margin: 0 0 8px;
    font-size: 1.75rem;
    text-align: center;
    color: #111827;
}

.pricing-text {
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #475569;
    text-align: justify;
}

/* ---------- PREȚ ---------- */
.pricing-amounts {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    margin: 10px 0;
}

.pricing-amounts .old {
    text-decoration: line-through;
    color: #fb7185;
    font-size: 1rem;
}

.pricing-amounts .current {
    font-weight: 800;
    font-size: 1.9rem;
    color: #14b8a6;
}

/* ---------- DISCOUNT ---------- */
.pricing-discount {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.pricing-discount .badge {
    padding: 6px 14px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0f766e;
    border: 1px solid #99f6e4;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ---------- SECTIUNI ---------- */
.pricing-card h3 {
    margin: 14px 0 6px;
    font-size: 1rem;
    color: #1f2937;
}

.pricing-benefits,
.pricing-points {
    list-style: none;
    padding: 0;
    margin: 4px 0 10px;
    font-size: 0.9rem;
    color: #475569;
}

.pricing-benefits li,
.pricing-points li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 6px;
    text-align: justify;
}

.pricing-benefits li::before {
    content: "🌱";
    position: absolute;
    left: 0;
}

.pricing-points li::before {
    content: "✨";
    position: absolute;
    left: 0;
}

/* ---------- ACTIONS ---------- */
.pricing-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pricing-actions .btn-primary,
.pricing-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    min-height: 44px;
    font-size: 0.9rem;
    text-decoration: none;
}

.pricing-actions .btn-primary {
    flex: 1 1 auto;
    background: linear-gradient(135deg, #fb7185, #f97316);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.35);
}

.pricing-actions .btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.pricing-actions .btn-secondary {
    flex: 0 0 auto;
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5f5;
}

/* ---------- SECURE NOTE ---------- */
.pricing-secure {
    margin-top: 12px;
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    text-align: center;
}

/* ---------- FOOTER ---------- */
body.is-pricing .site-footer {
    background: transparent;
    color: #64748b;
    font-size: 0.76rem;
    border-top: 1px solid #e2e8f0;
}

/* =========================================================
   RESPONSIVE – MOBILE
   ========================================================= */
@media (max-width: 640px) {

    body.is-pricing .site-main {
        padding: 20px 12px 28px;
    }

    .pricing-card {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .pricing-card h1 {
        font-size: 1.45rem;
    }

    .pricing-amounts .current {
        font-size: 1.55rem;
    }

    .pricing-wrapper::before,
    .pricing-wrapper::after {
        width: 460px;
        height: 460px;
        filter: blur(55px);
    }

    .pricing-actions {
        flex-direction: column;
    }

    .pricing-actions .btn-primary,
    .pricing-actions .btn-secondary {
        width: 100%;
    }
}





/* ===============================
   LANDING – BACKGROUND WOW
   =============================== */

body.is-landing {
    position: relative;
    overflow-x: hidden;
    background: radial-gradient(circle at top, #e0f2fe 0%, #e5e7eb 30%, #fdf2ff 80%);
    color: #0f172a;
    animation: landingFade 0.6s ease-out;
}

@keyframes landingFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* blob-uri pastelate, ușor animate, doar pe landing */
body.is-landing::before,
body.is-landing::after {
    content: "";
    position: fixed;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

/* blob sus-stânga (albastru-lila) */
body.is-landing::before {
    background: radial-gradient(circle at 30% 30%, #60a5fa 0, transparent 60%);
    top: -260px;
    left: -200px;
    animation: landingBlobLeft 24s ease-in-out infinite alternate;
}

/* blob jos-dreapta (roz-piersică) */
body.is-landing::after {
    background: radial-gradient(circle at 70% 70%, #f97316 0, transparent 60%);
    bottom: -260px;
    right: -200px;
    animation: landingBlobRight 30s ease-in-out infinite alternate;
}

@keyframes landingBlobLeft {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(40px, 20px, 0) scale(1.05); opacity: 0.8; }
    100% { transform: translate3d(-30px, 60px, 0) scale(1.02); opacity: 0.6; }
}

@keyframes landingBlobRight {
    0%   { transform: translate3d(0, 0, 0) scale(1.05); }
    50%  { transform: translate3d(-40px, -20px, 0) scale(1.08); opacity: 0.85; }
    100% { transform: translate3d(30px, -60px, 0) scale(1.03); opacity: 0.65; }
}

/* cardul de landing – mai „glassmorphism” */
body.is-landing .landing-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    border-radius: 26px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
}

/* ===============================
   LANDING – CENTRARE CONȚINUT
   =============================== */

.landing-hero {
    width: 100%;
    display: flex;
    justify-content: center;
}

.landing-card {
    max-width: 840px;
    margin: 0 auto;
}

/* titlu și kicker centrate */
.landing-card .kicker,
.landing-card h1 {
    text-align: center;
}

/* paragraful mare – justify ca în Word */
.landing-text {
    text-align: justify;
    text-justify: inter-word;
}

/* tag-urile – centrate și pe un singur rând cât se poate */
.landing-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* butonul de start – centrat */
#btn-start-experience {
    display: inline-flex;
    margin: 16px auto 0;
}

/* textul de jos – centrat și el */
.landing-meta {
    margin-top: 10px;
    font-size: 0.78rem;
    color: #6b7280;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    text-align: center;
}



/* =============================
   FORM BACKGROUND (is-form)
   ============================= */

body.is-form {
    background: linear-gradient(135deg, #eef2f6 0%, #e5e9f2 40%, #edf1f7 100%);
    color: #0f172a;
    animation: formFade 0.5s ease-out;
}

@keyframes formFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

body.is-form .form-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    border: 1px solid rgba(180, 190, 205, 0.6);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.06);
    padding: 32px 28px 26px;
    max-width: 720px;
    margin: 0 auto;
}

body.is-form .form-card h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 6px;
}

body.is-form .form-card h2::before {
    content: "📝";
    display: block;
    font-size: 2rem;
    margin-bottom: 6px;
    opacity: .85;
}

body.is-form .form-subtitle {
    text-align: justify;
    text-justify: inter-word;
    color: #475569;
    max-width: 620px;
    margin: 0 auto 20px;
    font-size: .95rem;
}

body.is-form .form-row {
    margin-bottom: 18px;
}

body.is-form input[type="text"],
body.is-form input[type="email"],
body.is-form input[type="number"],
body.is-form select {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 14px;
    width: 100%;
    font-size: 0.95rem;
    transition: border-color .2s, box-shadow .2s;
}

body.is-form input:focus,
body.is-form select:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
    outline: none;
}

body.is-form .radio-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

body.is-form .radio-pill {
    background: #f1f5f9;
    border-radius: 999px;
    padding: 8px 16px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

body.is-form .radio-pill input {
    display: none;
}

body.is-form .radio-pill span {
    font-size: .9rem;
    color: #334155;
}

body.is-form .radio-pill input:checked + span {
    font-weight: 600;
    color: #0f172a;
}

body.is-form .radio-pill:hover {
    background: #e2e8f0;
}

body.is-form .gdpr-box {
    background: rgba(209, 250, 229, 0.4);
    border-left: 4px solid #10b981;
    padding: 14px 16px;
    border-radius: 12px;
    margin-top: 22px;
    font-size: 0.9rem;
    color: #065f46;
}

body.is-form .gdpr-box strong::before {
    content: "🔒";
    margin-right: 6px;
}

body.is-form .gdpr-box {
    margin-bottom: 16px;
}


body.is-form button.btn-primary,
body.is-landing button.btn-primary {
    display: block;
    margin: 26px auto 0;
    padding: 12px 34px;
    border-radius: 999px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    box-shadow: 0 12px 24px rgba(59,130,246,0.30);
}

body.is-form button.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

body.is-form .secure-note {
    margin-top: 12px;
    font-size: .82rem;
    color: #475569;

    display: flex;
    justify-content: center;     /* centrează pe orizontală */
    align-items: center;         /* aliniere perfectă pe verticală */
    gap: 6px;
    flex-wrap: wrap;
    width: 100%;                 /* previne îngustarea flexbox */
    text-align: center;
}

/* Centrare reală pentru butonul de start */
body.is-landing #btn-start-experience {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 20px auto 0 !important;
}

/* Centrare garantată pentru secure-note */
body.is-form .secure-note,
body.is-landing .secure-note {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 10px auto 0 !important;
}

/* Forțăm cardul landing să se comporte ca un container centrat */
.landing-card {
    text-align: center;
}

.landing-text {
    text-align: justify;
    text-justify: inter-word;
}

/* =============================
   FORM BACKGROUND – WOW EFFECT
   (albastru-lila jos stânga,
    roz-piersică sus dreapta)
   ============================= */

body.is-form {
    position: relative;
    overflow-x: hidden;
    background: radial-gradient(circle at 40% 60%, #eef2f6 0%, #e8ecf3 40%, #f2f4f7 100%);
    animation: formFade 0.6s ease-out;
}

/* fade-in */
@keyframes formFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* BLOB-URI ANIMATE doar pentru formular */
body.is-form::before,
body.is-form::after {
    content: "";
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.65;
    pointer-events: none;
    z-index: -1;
}

/* 💜 Albastru–Lila – jos stânga (opus landing-ului) */
body.is-form::before {
    background: radial-gradient(circle at 30% 30%, #7dd3fc 0, transparent 65%);
    bottom: -260px;
    left: -220px;
    animation: formBlobLeft 26s ease-in-out infinite alternate;
}

/* 🧡 Roz–Piersică – sus dreapta (opus landing-ului) */
body.is-form::after {
    background: radial-gradient(circle at 70% 70%, #fb7185 0, transparent 65%);
    top: -240px;
    right: -200px;
    animation: formBlobRight 32s ease-in-out infinite alternate;
}

/* animații de tip val */
@keyframes formBlobLeft {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(30px, -40px, 0) scale(1.07); opacity: 0.75; }
    100% { transform: translate3d(-20px, 30px, 0) scale(1.02); opacity: 0.6; }
}

@keyframes formBlobRight {
    0%   { transform: translate3d(0, 0, 0) scale(1.03); }
    50%  { transform: translate3d(-40px, 40px, 0) scale(1.1); opacity: 0.78; }
    100% { transform: translate3d(20px, -20px, 0) scale(1.04); opacity: 0.65; }
}


/* =========================
   HEADER PILL CENTRAT
   ========================= */

.site-header {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 8px 16px 0;
    background: transparent;   /* nu mai avem bară full-width */
    pointer-events: none;      /* ca să nu blocheze click-uri sub el */
}

.site-header-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: center;   /* pill-ul la mijloc */
    pointer-events: auto;      /* dar conținutul e clicabil */
}

/* „pilula” flotantă cu text + GDPR */
.site-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    color: #e5e7eb;
    font-size: 0.8rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
}

.site-header-title {
    font-weight: 600;
}

.site-header-separator {
    opacity: 0.55;
}

.site-header-gdpr::before {
  content: "📚 ";
  display: inline-block;
  width: 18px;
  height: 12px;
  margin-right: 6px;
}

/* un pic de spațiu sus ca să nu se lipească de card */
.page {
    padding-top: 40px;
}

/* Mobile – mai mic, să nu ocupe toată lățimea */
@media (max-width: 640px) {
    .site-header {
        top: 4px;
        padding: 4px 10px 0;
    }

    .site-header-pill {
        font-size: 0.75rem;
        padding: 5px 10px;
        max-width: 100%;
    }

    .site-header-inner {
        justify-content: center;
    }
}


/* ===========================
   LANDING SLIDER
   =========================== */

.landing-slider {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    margin: 10px auto 18px;
    min-height: 190px;
    background: radial-gradient(circle at 0 0, #0f172a 0, #111827 40%, #020617 100%);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.35);
}

/* fiecare slide ocupă tot containerul */
.landing-slide {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.landing-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* imaginea din stânga */
.landing-slide-image {
    flex: 1.1;
    background-size: cover;
    background-position: center;
    filter: saturate(1.1) contrast(1.05);
}

/* textul din dreapta, pe un gradient semi-transparent */
.landing-slide-text {
    flex: 1.3;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #f9fafb;
    background: linear-gradient(115deg, rgba(15,23,42,0.92), rgba(15,23,42,0.75), rgba(15,23,42,0.4));
}

/* micro-tip pentru categorie */
.landing-slide-eyebrow {
    margin: 0 0 4px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a5b4fc;
}

/* titlu slide */
.landing-slide-title {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
}

/* text explicativ */
.landing-slide-copy {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.4;
    color: #e5e7eb;
}

/* puncte de navigare */
.landing-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.landing-slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(148, 163, 184, 0.6);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.landing-slider-dots button.is-active {
    width: 18px;
    background: #38bdf8;
    transform: translateY(-1px);
}

/* Responsive – pe mobil imaginea sus, textul jos */
@media (max-width: 640px) {
    .landing-slide {
        flex-direction: column;
    }

    .landing-slide-image {
        flex: 0 0 140px;
    }

    .landing-slide-text {
        flex: 1;
        padding: 14px 14px 22px;
    }

    .landing-slide-title {
        font-size: 0.98rem;
    }

    .landing-slide-copy {
        font-size: 0.82rem;
    }
}

/* Override pentru mobile – slider mai înalt, text lizibil */
@media (max-width: 640px) {
    .landing-slider {
        min-height: 340px;           /* mai mult spațiu pentru imagine + text */
        padding-bottom: 22px;        /* loc pentru bulinele de navigare */
    }

    .landing-slide {
        flex-direction: column;      /* deja aveai asta, o păstrăm explicit */
    }

    .landing-slide-image {
        flex: 0 0 180px;             /* imagine puțin mai mare pe verticală */
        background-position: center;
    }

    .landing-slide-text {
        flex: 1;
        padding: 12px 14px 26px;     /* text cu mai mult spațiu jos */
    }

    .landing-slide-title {
        font-size: 0.96rem;
        margin-bottom: 6px;
    }

    .landing-slide-copy {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .landing-slider-dots {
        bottom: 6px;                 /* puțin mai jos, dar în interiorul cardului */
    }
}




/* ===========================
   PAGINI DE CONȚINUT (ex. Politica de confidențialitate)
   =========================== */

body.content-page .site-main {
    padding: 32px 16px 40px;
    display: flex;
    justify-content: center;
}

.content-wrapper {
    width: 100%;
    max-width: 960px;
}

.content-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    padding: 28px 24px 30px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(209, 213, 219, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #111827;
}

.content-card h1 {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 1.7rem;
    text-align: left;
}

.content-meta {
    margin: 0 0 16px;
    font-size: 0.8rem;
    color: #6b7280;
}

.content-card h2 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 6px;
}

.content-card h3 {
    font-size: 1rem;
    margin-top: 14px;
    margin-bottom: 4px;
}

.content-card p {
    margin: 0 0 10px;
    text-align: justify;
    text-justify: inter-word;
}

.content-card ul {
    margin: 0 0 10px 18px;
    padding-left: 0;
}

.content-card li {
    margin-bottom: 4px;
}

/* footer pentru content page */
body.content-page .site-footer {
    margin-top: 16px;
}

/* responsive */
@media (max-width: 640px) {
    .content-card {
        padding: 22px 16px 24px;
        border-radius: 18px;
    }

    .content-card h1 {
        font-size: 1.4rem;
    }
}




/* ===========================
   PAYMENT RESULT PAGE
   =========================== */

/* Background general pentru pagina de payment */
body.is-payment-success {
    background: radial-gradient(circle at 0% 0%, #bbf7d0 0, #ecfdf5 40%, #f9fafb 100%);
}

body.is-payment-error {
    background: radial-gradient(circle at 0% 0%, #fed7d7 0, #fef2f2 35%, #fdf2e9 100%);
}

/* Centrare conținut pe verticală/orizontală */
.payment-main {
    min-height: calc(100vh - 80px); /* ajustabil în funcție de header */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 40px;
}

/* Container principal pentru card */
.payment-result {
    width: 100%;
    max-width: 960px;
}

/* Cardul propriu-zis */
.payment-card {
    background-color: #ffffff;
    border-radius: 28px;
    padding: 32px 32px 30px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Cercuri decorative (lavandă / portocaliu) */
.payment-card::before,
.payment-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    opacity: 0.25;
    pointer-events: none;
}

.payment-card::before {
    width: 210px;
    height: 210px;
    top: -90px;
    left: -80px;
    background: radial-gradient(circle at 30% 30%, #a5b4fc 0, #6366f1 35%, transparent 70%);
}

.payment-card::after {
    width: 230px;
    height: 230px;
    bottom: -110px;
    right: -90px;
    background: radial-gradient(circle at 70% 70%, #fed7aa 0, #fb923c 35%, transparent 72%);
}

/* Conținutul cardului peste decor */
.payment-card > * {
    position: relative;
    z-index: 1;
}

/* Titlu, text */
.payment-card h1 {
    margin: 0 0 10px;
    font-size: 1.9rem;
    line-height: 1.2;
}

.payment-lead {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #111827;
}

.payment-text {
    margin: 0 0 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
}

.payment-note {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #6b7280;
}
.payment-note--warning {
    color: #b45309;
}

/* Colorare diferită pentru succes vs eroare */
.payment-result--success .payment-card h1 {
    color: #14532d;
}

.payment-result--error .payment-card h1 {
    color: #b91c1c;
}

/* Butoane aliniate */
.payment-actions {
    margin: 18px 0 8px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Ajustăm un pic butoanele existente în contextul ăsta */
.payment-result .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(22, 163, 74, 0.40);
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.payment-result--error .btn-primary {
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.38);
    background: linear-gradient(135deg, #f97316, #dc2626);
}

.payment-result .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #374151;
    background: rgba(255,255,255,0.9);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 640px) {
    .payment-card {
        padding: 24px 18px 22px;
        border-radius: 22px;
    }

    .payment-card h1 {
        font-size: 1.5rem;
    }

    .payment-main {
        padding: 20px 10px 30px;
    }

    .payment-actions {
        flex-direction: column;
    }

    .payment-result .btn-primary,
    .payment-result .btn-secondary {
        width: 100%;
    }
}


/* ===========================
   CHOOSE TEST STEP
   =========================== */

.choose-test-section {
    padding: 40px 16px 48px;
}

.choose-test-card {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.16);
    padding: 28px 26px 26px;
}

.choose-test-card h1 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    text-align: center;
}

.choose-test-lead {
    margin: 0 0 20px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #4b5563;
    text-align: center;
}

.choose-test-form {
    margin-top: 8px;
}

.choose-test-grid {
    display: grid;
    /* max 3 carduri pe linie, dar se „strânge” frumos pe ecrane mai înguste */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 18px;

    /* centrează „blocul” de carduri când sunt 1–2 pe linie */
    justify-content: center;
}

/* Card individual (e buton) */
.choose-test-card-item {
    border: 1px solid rgba(148,163,184,0.7);
    border-radius: 20px;
    text-align: left;
    cursor: pointer;
    background: linear-gradient(145deg, #f9fafb, #ffffff);
    transition: transform 0.15s ease, box-shadow 0.15s ease,
                border-color 0.15s ease, background 0.15s ease;

    display: flex;
    flex-direction: column;
    padding: 18px 16px 20px;

    /* important pentru egalarea înălțimii pe rând */
    height: 100%;
}

.choose-test-card-item h2 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: #111827;
    text-align: center;
}

.choose-test-desc {
    margin: 0 0 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4b5563;
    max-height: 80px;
    overflow: hidden;
    text-align: justify;
}

.choose-test-price {
    font-weight: 600;
    font-size: 0.98rem;
    color: #1d4ed8;
    margin-bottom: 6px;
    text-align: center;
}

.choose-test-cta {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2563eb;
    padding-top: 12px;
    text-align: center;

    margin-top: auto;   /* împinge CTA la baza cardului */
}

/* hover */
.choose-test-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(15,23,42,0.18);
    border-color: #60a5fa;
    background: linear-gradient(145deg, #eff6ff, #ffffff);
}

.choose-test-note {
    margin: 4px 0 12px;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
}

.choose-test-back {
    display: flex;
    justify-content: center;
}

@media (max-width: 900px) {
    .choose-test-card-item {
        flex: 1 1 45%;   /* cam 2 pe linie pe ecrane medii */
        max-width: 360px;
    }
}

@media (max-width: 640px) {
    .choose-test-card-item {
        flex: 1 1 100%;  /* un singur card pe linie pe mobil */
        max-width: 100%;
    }
}




.test-session-wrapper {
    padding: 2rem 1rem 3rem;
}

.test-session-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    padding: 2rem 1.5rem 2.5rem;
}

@media (min-width: 768px) {
    .test-session-card {
        padding: 2.5rem 3rem 3rem;
    }
}



@media (max-width: 800px) {
    .test-session-wrapper {
        padding: initial;
    }
    .test-session-card{
        padding: 0.5rem 0.75rem 1.05rem;
    }
}

.test-session-header {
    text-align: center;
    margin-bottom: 2rem;
}

.test-session-header h1 {
    margin-bottom: 0.5rem;
}

.test-session-subtitle {
    color: #666;
    font-size: 0.75rem;
}

.test-question-text {
    position: relative;
    padding: 1.8rem 1.6rem;
    margin-bottom: 2rem;
    font-size: 1.45rem;
    line-height: 1.55;
    font-weight: 600;
    background: #f8f9ff;
    border-radius: 14px;
    text-align: center;
    border-left: 6px solid #5662f6;
    color: #1d1d35;
    box-shadow: 0 6px 18px rgba(86, 98, 246, 0.15);
}

/* Ghilimele decorative – stil blockquote modern */
.test-question-text::before {
    content: "“";
    position: absolute;
    top: -18px;
    left: 20px;
    font-size: 3.5rem;
    color: rgba(86, 98, 246, 0.25);
    font-weight: bold;
    pointer-events: none;
}

.test-question-text::after {
    content: "”";
    position: absolute;
    bottom: -25px;
    right: 20px;
    font-size: 3.5rem;
    color: rgba(86, 98, 246, 0.25);
    font-weight: bold;
    pointer-events: none;
}

/* Mobile-friendly */
@media (max-width: 600px) {
    .test-question-text {
        font-size: 1.25rem;
        padding: 1.4rem 1.2rem;
    }
}

.test-answer-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.test-answer-options.two-options {
    flex-direction: row;
}

@media (max-width: 768px) {
    .test-answer-options.two-options {
        flex-direction: column;
    }
}

.test-answer-btn {
    flex: 1 1 0;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    background: #f5f5f7;
    color: #222;
    text-align: center;
    transition: background 0.15s ease, transform 0.08s ease, box-shadow 0.15s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    white-space: normal;
}

.test-answer-btn:hover {
    background: #e4e6ff;
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.25);
    transform: translateY(-1px);
}

.test-answer-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.test-answer-btn:disabled {
    opacity: 0.6;
    cursor: default;
    box-shadow: none;
    transform: none;
}

.test-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.75rem;
}

.test-skip-btn {
    border-radius: 999px;
    border: none;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    cursor: pointer;
    background: #f0f0f5;
    color: #555;
    transition: background 0.15s ease, color 0.15s ease;
}

.test-skip-btn:hover {
    background: #e1e3ff;
    color: #333;
}

.test-skip-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.test-progress {
    margin-top: 1rem;
}

.test-progress-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.35rem;
}

.test-progress-bar-bg {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #ececf2;
    overflow: hidden;
}

.test-progress-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #4a6cf7, #9b6cff);
    transition: width 0.25s ease;
}

.test-status-message {
    min-height: 1.2rem;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.75rem;
    text-align: center;
}

.test-status-message.error {
    color: #b00020;
}

.test-session-root.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.test-empty-state {
    text-align: center;
    color: #555;
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem;
}

.test-completed-cta {
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid #ececf2;
    text-align: center;
}

.test-completed-message {
    font-size: 1.05rem;
    font-weight: 500;
    color: #26264b;
    margin-bottom: 0.9rem;
}

.test-report-btn {
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1.9rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(90deg, #4a6cf7, #9b6cff);
    color: #fff;
    box-shadow: 0 6px 16px rgba(74, 108, 247, 0.35);
    transition: transform 0.08s ease, box-shadow 0.15s ease, opacity 0.2s ease;
}

.test-report-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(74, 108, 247, 0.45);
}

.test-report-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
}

.test-report-btn:disabled {
    opacity: 0.6;
    cursor: default;
    box-shadow: none;
}


/* ===========================
   SPINNER / LOADING INDICATOR
   =========================== */

.spinner-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #ccc;
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-overlay {
    position: absolute;      /* sau fixed, dacă vrei pe tot ecranul */
    inset: 0;                /* top/right/bottom/left: 0 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

.spinner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid #e0e0e0;
    border-top-color: #007bff;
    animation: spin 0.8s linear infinite;
}

.spinner-time {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.spinner-label {
    font-size: 13px;
    color: #666;
    text-align: center;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}



/* ============================
   PREPHASE (întrebări preliminare)
   ============================ */

.prephase-root {
    margin-top: 1.5rem;
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.prephase-root .test-session-subtitle {
    margin-bottom: 1.25rem;
}

/* Formularul de prephase */

.prephase-form {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.prephase-form h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f172a; /* slate-900 */
}

/* Grupuri de câmpuri */

.prephase-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.prephase-form .form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827; /* gray-900 */
}

.prephase-form .form-group label span.optional {
    font-weight: 400;
    font-size: 0.9em;
    color: #6b7280; /* gray-500 */
}

/* Textarea / input */

.prephase-form textarea,
.prephase-form input[type="text"],
.prephase-form input[type="email"] {
    width: 100%;
    min-height: 80px;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #d1d5db; /* gray-300 */
    background-color: #f9fafb;  /* gray-50 */
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.4;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    box-sizing: border-box;
}

.prephase-form input[type="text"],
.prephase-form input[type="email"] {
    min-height: 40px;
}

/* Focus states */

.prephase-form textarea:focus,
.prephase-form input[type="text"]:focus,
.prephase-form input[type="email"]:focus {
    outline: none;
    border-color: #2563eb; /* blue-600 */
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
    background-color: #ffffff;
}

/* Placeholder */

.prephase-form textarea::placeholder,
.prephase-form input[type="text"]::placeholder,
.prephase-form input[type="email"]::placeholder {
    color: #9ca3af; /* gray-400 */
    font-size: 0.9rem;
}

/* Acțiuni formular (butonul de Continuă) */

.prephase-form .form-actions {
    margin-top: 0.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Status message pentru prephase */

#prephase-status-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #374151; /* gray-700 */
}

#prephase-status-message.error {
    color: #dc2626; /* red-600 */
}

/* Mic ajustaj pentru statusurile globale existente */
.test-status-message.error {
    color: #dc2626; /* red-600 */
}

/* Responsive pentru mobil */

@media (max-width: 640px) {
    .prephase-root {
        padding: 1.25rem 1rem;
        margin-top: 1rem;
    }

    .prephase-form .form-actions {
        justify-content: stretch;
    }

    .prephase-form .form-actions .btn,
    .prephase-form .form-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }
}


/* endof prephase styles */

/* ===========================
   VOC REPORT STYLES
   =========================== */

.voc-report {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 12px 32px;
}

.voc-report h1 {
    font-size: 22px;
    margin-bottom: 8px;
}

.voc-report h2 {
    font-size: 20px;
    margin: 18px 0 8px;
}

.voc-report h3 {
    font-size: 18px;
    margin: 12px 0 6px;
}

.voc-report p {
    margin: 6px 0;
}

.voc-report .disclaimer {
    background: #fff9e6;
    border-left: 4px solid #ffb74d;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.voc-report .section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
    background: #fafafa;
}

.voc-report .section-title {
    font-size: 19px;
    margin-bottom: 6px;
    font-weight: 700;
}

.voc-report .small {
    font-size: 14px;
    color: #555;
}

/* Grid pt top direcții */
.voc-report .grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.voc-report .card {
    flex: 1 1 230px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: #fff;
    margin-top: 15px;
}

/* Bar chart prietenos cu print-ul */
.voc-report .bar-chart {
    width: 100%;
    max-width: 680px;
    margin-top: 4px;
}

.voc-report .bar-row {
    margin: 8px 0;
}

.voc-report .bar-label {
    font-size: 14px;
    margin-bottom: 2px;
}

.voc-report .bar-outer {
    background: #f0f0f0;
    border-radius: 4px;
    border: 1px solid #ddd;
    height: 22px;
    overflow: hidden;
}

.voc-report .bar-inner {
    height: 100%;
    background-color: #4caf50; /* fără gradient, ca să print-eze clar */
    color: #fff;
    font-size: 14px;
    padding: 3px 6px;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Print-friendly */
@media print {
    .voc-report {
        padding: 0;
        max-width: 100%;
    }

    .voc-report .section {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .voc-report .bar-outer {
        background: #eee !important;
        border-color: #999 !important;
    }

    .voc-report .bar-inner {
        background-color: #555 !important;
        color: #fff !important;
    }

    /* dacă ai un reset agresiv, îl păstrezi DAR faci excepție pt bar-chart */
    .bar-inner,
    .bar-outer {
        background-color: #444 !important;
        background-image: none !important;
        color: #fff !important;
    }

    .bar-outer {
        border: 1px solid #999 !important;
    }

    header, footer, nav, .site-header, .site-footer {
        display: none !important;
    }
    body {
        background: #fff !important;
    }
}

.report-header {
    margin-bottom: 12px;
}
.report-title {
    font-size: 20px;
    font-weight: 600;
}
.report-meta {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

@media (max-width: 600px) {
    .report-wrapper {
        margin: 0px !important;
        padding: 2px 4px 2px 4px !important;
    }
    .site-main {
        padding: 12px 8px 16px;
    }
}



.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}
.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #0f172a;
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.cookie-banner__title { font-weight: 700; margin-bottom: 4px; }
.cookie-banner__desc { opacity: 0.9; font-size: 14px; line-height: 1.35; }
.cookie-banner__link { color: #9cc6ff; font-size: 13px; display: inline-block; margin-top: 6px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cookie-modal__card {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 14px;
}
.cookie-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 6px 10px 6px;
}
.cookie-modal__title { font-weight: 700; }
.cookie-modal__close {
  border: 0; background: transparent; font-size: 22px; cursor: pointer;
}
.cookie-opt { display: flex; gap: 10px; padding: 10px 6px; }
.cookie-modal__footer { padding: 10px 6px 6px 6px; display: flex; justify-content: flex-end; }





/* Container formular */
.form {
    max-width: 100%;
}

/* Field generic */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Label */
.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

/* Input + textarea */
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease;
}

/* Focus */
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

/* TEXTAREA – partea importantă */
.form-field textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.55;
}

/* Placeholder */
.form-field textarea::placeholder,
.form-field input::placeholder {
    color: #9ca3af;
}

/* Error state (opțional) */
.form-field.is-error textarea,
.form-field.is-error input {
    border-color: #ef4444;
}

.form-field textarea.auto-grow {
    resize: none;
    overflow: hidden;
}









