:root {
    --bg1: #07111f;
    --bg2: #10213b;
    --card: rgba(255, 255, 255, .94);
    --glass: rgba(255, 255, 255, .065);
    --muted: #667085;
    --line: rgba(255, 255, 255, .14);
    --gold: #c9a24b;
    --gold2: #f4d47c;
    --dark: #172033;
    --green: #16a34a;
    --red: #b42318;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: white;
    background:
        radial-gradient(circle at 12% 15%, rgba(201, 162, 75, .18), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(59, 130, 246, .16), transparent 30%),
        linear-gradient(135deg, var(--bg1), var(--bg2));
}

.page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 30px 0 52px;
}

.topbar {
    min-height: 96px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 42px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.topbar-logo img {
    display: block;
}

.hero {
    padding: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 58px;
    align-items: center;
}

.badge {
    display: inline-flex;
    padding: 11px 17px;
    border: 1px solid rgba(244, 212, 124, .45);
    color: var(--gold2);
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, .045);
}

.intro h1 {
    font-size: clamp(37px, 5vw, 59px);
    line-height: 1.22;
    margin: 0 0 26px;
    letter-spacing: -.8px;
    max-width: 720px;
}

.lead {
    color: rgba(255, 255, 255, .76);
    font-size: 20px;
    line-height: 1.65;
    max-width: 660px;
    margin: 0;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
}

.features div {
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .96);
    font-size: 18px;
}

.panel,
.progress-card,
.result-card,
.error-card,
.trust-card {
    background: var(--card);
    color: var(--dark);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 22px 64px rgba(0, 0, 0, .26);
}

.panel {
    padding: 28px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(244, 212, 124, .20);
    backdrop-filter: blur(14px);
}

.drop-zone {
    min-height: 288px;
    border: 2px dashed rgba(203, 213, 225, .75);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    padding: 28px;
    text-align: center;
    background: rgba(255, 255, 255, .045);
    transition: all .22s ease;
    color: white;
}

.drop-zone:hover,
.drop-zone.drag {
    border-color: var(--gold2);
    background: rgba(255, 255, 255, .075);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(201, 162, 75, .14);
}

.drop-zone input {
    display: none;
}

.file-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    font-size: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

.drop-zone h3 {
    margin: 10px 0 0;
    font-size: 26px;
    color: white;
}

.drop-zone p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
}

.file-name {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
}

.primary-btn,
.secondary-btn,
.primary-link {
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 17px 20px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.primary-btn,
.primary-link {
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #172033;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(201, 162, 75, .27);
}

.primary-btn:hover,
.primary-link:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.primary-btn:disabled {
    opacity: .62;
    cursor: not-allowed;
}

.secondary-btn {
    background: #eef2f7;
    color: var(--dark);
}

.trust-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.trust-card {
    background: rgba(255, 255, 255, .08);
    color: white;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: none;
}

.trust-card strong {
    display: block;
    color: var(--gold2);
    font-size: 18px;
    margin-bottom: 8px;
}

.trust-card p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    line-height: 1.5;
}

.progress-card,
.result-card,
.error-card {
    margin-top: 32px;
}

.hidden {
    display: none;
}

.progress-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.progress-head h3 {
    margin: 0;
}

.progress-head p {
    margin: 5px 0 0;
    color: var(--muted);
}

.percent {
    font-size: 48px;
    font-weight: 900;
    color: var(--gold);
}

.bar {
    width: 100%;
    height: 18px;
    background: #e9edf3;
    border-radius: 999px;
    overflow: hidden;
    margin: 22px 0 14px;
}

.fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
    transition: width .45s ease;
}

.status {
    font-weight: 900;
    font-size: 20px;
}

.details {
    margin-top: 6px;
    color: var(--muted);
    font-size: 15px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.metrics div {
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.metrics span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 8px;
}

.metrics strong {
    font-size: 17px;
}

.result-card {
    text-align: center;
    border: 1px solid #abefc6;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #dcfae6;
    color: var(--green);
    font-size: 34px;
    font-weight: 900;
}

.result-card h3 {
    margin: 0 0 8px;
    font-size: 30px;
}

.result-card p {
    color: var(--muted);
    font-size: 17px;
}

.result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

.error-card {
    border: 1px solid #fecdd3;
    background: #fff1f3;
    color: var(--red);
}

@media (max-width: 960px) {
    .hero-grid,
    .trust-section {
        grid-template-columns: 1fr;
    }

    .topbar {
        justify-content: center;
        text-align: center;
    }

    .topbar-logo img {
        width: 260px;
        object-position: center;
    }

    .intro h1 {
        font-size: 40px;
    }

    .metrics,
    .result-actions {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   VERITAS HEADER CENTRAT
=========================== */

.header-logo {
    width: 480px;
    max-width: 92%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .35));
}

@media (max-width: 960px) {
    .topbar {
        min-height: 90px;
        margin-bottom: 34px;
    }

    .header-logo {
        width: 430px;
        max-width: 94%;
    }
}

@media (max-width: 560px) {
    .page {
        width: min(100% - 24px, 1180px);
        padding-top: 18px;
    }

    .topbar {
        min-height: 78px;
        margin-bottom: 28px;
    }

    .header-logo {
        width: 100%;
        max-width: 100%;
    }
}
/* ===========================
   HOME - HEADER ȘI MENIU
=========================== */

.topbar-with-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 96px;
    padding: 0 32px;
    box-sizing: border-box;
}

.topbar-with-nav .topbar-logo {
    width: auto;
    justify-content: flex-start;
    text-decoration: none;
}

.topbar-with-nav .header-logo {
    width: 330px;
    max-width: 100%;
    margin: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 28px);
    flex-wrap: wrap;
}

.nav-link {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: color .2s ease, transform .2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold2);
}

.nav-link:hover {
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .topbar-with-nav {
        flex-direction: column;
        justify-content: center;
        gap: 18px;
        padding-bottom: 18px;
    }

    .topbar-with-nav .topbar-logo {
        justify-content: center;
    }

    .topbar-with-nav .header-logo {
        width: 340px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 22px;
    }
}

@media (max-width: 560px) {
    .topbar-with-nav .header-logo {
        width: 300px;
    }

    .main-nav {
        gap: 12px 16px;
    }

    .nav-link {
        font-size: 14px;
    }
}
/* ===========================
   HOME - HERO
=========================== */

.home-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
    padding: 38px 0 54px;
}

.home-hero-content h1 {
    margin: 0 0 24px;
    max-width: 720px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.14;
    letter-spacing: -.8px;
}

.home-hero-content .lead {
    max-width: 680px;
}

.home-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.home-primary-action {
    width: auto;
    min-width: 210px;
    margin-top: 0;
    padding: 17px 30px;
}

.secondary-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, .06);
    transition: .2s ease;
}

.secondary-home-link:hover {
    border-color: var(--gold2);
    background: rgba(255, 255, 255, .10);
    transform: translateY(-1px);
}

.home-small-note {
    margin-top: 18px;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
}

/* CARD RAPORT DEMONSTRATIV */

.home-preview-card {
    padding: 30px;
    border-radius: 28px;
    color: var(--dark);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 28px 74px rgba(0, 0, 0, .30);
}

.preview-badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef2f7;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.home-preview-card h2 {
    margin: 20px 0 26px;
    font-size: 28px;
    line-height: 1.25;
}

.preview-score {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.preview-score-value {
    font-size: 54px;
    line-height: 1;
    font-weight: 900;
    color: var(--gold);
}

.preview-score-label {
    padding-bottom: 7px;
    color: var(--muted);
    font-size: 14px;
    text-align: right;
}

.preview-bar {
    height: 16px;
    margin: 22px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #e9edf3;
}

.preview-bar-fill {
    width: 64.79%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.preview-grid div {
    padding: 15px;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    background: #f8fafc;
}

.preview-grid span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
}

.preview-grid strong {
    color: #172033;
    font-size: 20px;
}

.preview-source {
    margin-top: 18px;
    padding: 15px;
    border-left: 4px solid var(--gold);
    border-radius: 10px;
    background: #fffaf0;
    color: #475467;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 960px) {
    .home-hero {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 18px;
    }

    .home-hero-content {
        text-align: center;
    }

    .home-hero-content .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .home-actions {
        justify-content: center;
    }

    .home-preview-card {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .home-hero-content h1 {
        font-size: 36px;
    }

    .home-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-primary-action,
    .secondary-home-link {
        width: 100%;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-score {
        align-items: flex-start;
        flex-direction: column;
    }

    .preview-score-label {
        text-align: left;
    }
}
/* ===========================
   HOME - AVANTAJE
=========================== */

.home-benefits-section {
    padding: 76px 0 30px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold2);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.2;
}

.section-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.65;
}

.home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-benefit-card {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: rgba(255, 255, 255, .075);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.home-benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 212, 124, .42);
    background: rgba(255, 255, 255, .10);
}

.benefit-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(244, 212, 124, .25);
    border-radius: 18px;
    background: rgba(244, 212, 124, .10);
    color: var(--gold2);
    font-size: 24px;
    font-weight: 900;
}

.home-benefit-card h3 {
    margin: 0 0 10px;
    color: white;
    font-size: 21px;
}

.home-benefit-card p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.6;
}

@media (max-width: 960px) {
    .home-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .home-benefits-section {
        padding-top: 54px;
    }

    .home-benefits-grid {
        grid-template-columns: 1fr;
    }
}
/* ===========================
   HOME - CUM FUNCȚIONEAZĂ
=========================== */

.how-section {
    padding: 76px 0 36px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step-card {
    position: relative;
    min-height: 220px;
    padding: 28px 24px 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: rgba(255, 255, 255, .07);
}

.step-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    color: #172033;
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(201, 162, 75, .22);
}

.step-card h3 {
    margin: 0 0 10px;
    color: white;
    font-size: 21px;
}

.step-card p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.6;
}

@media (max-width: 960px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .how-section {
        padding-top: 54px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}
/* ===========================
   HOME - CTA FINAL
=========================== */

.home-cta {
    margin-top: 76px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(244, 212, 124, .26);
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            rgba(244, 212, 124, .10),
            rgba(255, 255, 255, .06)
        );
}

.home-cta h2 {
    margin: 6px 0 10px;
    max-width: 720px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}

.home-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .70);
    font-size: 17px;
}

.home-cta-button {
    width: auto;
    min-width: 240px;
    margin-top: 0;
    padding: 18px 28px;
    white-space: nowrap;
}

/* ===========================
   HOME - FOOTER
=========================== */

.site-footer {
    margin-top: 62px;
    padding: 30px 0 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .65);
}
.site-footer > div:last-child {
    justify-self: end;
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
}

.site-footer > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-footer strong {
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    letter-spacing: 3px;
}

.site-footer span {
    font-size: 12px;
}

.site-footer nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.site-footer a {
    color: rgba(255, 255, 255, .76);
    text-decoration: none;
    font-weight: 700;
}

.site-footer a:hover {
    color: var(--gold2);
}

.site-footer p {
    margin: 0;
    text-align: right;
    font-size: 13px;
}

@media (max-width: 860px) {
    .home-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-cta-button {
        width: 100%;
    }

    .site-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer > div {
        align-items: center;
    }

    .site-footer p {
        text-align: center;
    }
}
/* ==============================
   PAGINA DESPRE VERITAS
============================== */

.about-section {
    padding: 28px 0 36px;
}

.about-card {
    max-width: 1050px;
    margin: 0 auto;
    padding: 34px 70px 30px;
    background: #f8f5ef;
    border: 1px solid rgba(201, 151, 58, 0.85);
    border-radius: 20px;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #14213a;
}

.about-heading {
    text-align: center;
    margin-bottom: 28px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: 1px solid #d5a449;
    border-radius: 999px;
    color: #b77913;
    background: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.about-heading h1 {
    margin: 18px 0 10px;
    color: #0c1930;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
}

.about-title-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #c58b24;
}

.about-title-separator span {
    width: 65px;
    height: 2px;
    background: #d6a13c;
}

.about-title-separator strong {
    font-size: 20px;
    line-height: 1;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content > p {
    margin: 0;
    color: #172033;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
}

.about-brand {
    color: #b87812;
}

.about-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 22px auto;
}

.about-divider > span {
    width: min(230px, 31%);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #d1a04c,
        transparent
    );
}

.about-divider-icon {
    min-width: 36px;
    color: #c58b24;
    text-align: center;
    font-size: 24px;
    line-height: 1;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 30px;
    border-top: 1px solid rgba(197, 139, 36, 0.18);
    padding-top: 24px;
}

.about-feature {
    display: flex;
    gap: 16px;
    padding: 0 24px;
    align-items: flex-start;
}

.about-feature + .about-feature {
    border-left: 1px solid rgba(197, 139, 36, 0.22);
}

.about-feature-icon {
    display: flex;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1e3c6;
    color: #b97a13;
    font-size: 28px;
    font-weight: 700;
}

.about-feature h3 {
    margin: 2px 0 7px;
    color: #14213a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.about-feature p {
    margin: 0;
    color: #394150;
    font-size: 14px;
    line-height: 1.55;
}

/* Responsive */

@media (max-width: 900px) {
    .about-card {
        padding: 30px 34px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-feature {
        padding: 0;
    }

    .about-feature + .about-feature {
        border-left: 0;
        border-top: 1px solid rgba(197, 139, 36, 0.22);
        padding-top: 22px;
    }
}

@media (max-width: 640px) {
    .about-section {
        padding: 18px 0 26px;
    }

    .about-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .about-heading h1 {
        font-size: 38px;
    }

    .about-content > p {
        font-size: 16px;
        line-height: 1.65;
        text-align: left;
    }

    .about-divider {
        margin: 18px auto;
    }

    .about-divider > span {
        width: 30%;
    }
}
/*=========================================
HOME - CARD ANIMAT
=========================================*/

.home-scan-card{

    position:relative;

    width:100%;
    max-width:640px;

    background:#faf8f3;

    border-radius:24px;

    padding:28px;

    border:1px solid rgba(206,162,69,.55);

    box-shadow:
    0 20px 50px rgba(0,0,0,.20);

}



.scan-card-header{

display:flex;

align-items:center;

gap:10px;

margin-bottom:20px;

font-weight:600;

color:#24324d;

}



.scan-status-dot{

width:10px;

height:10px;

border-radius:50%;

background:#18c46b;

animation:pulseDot 1.4s infinite;

}



.scan-document{

position:relative;

overflow:hidden;

background:white;

border-radius:18px;

padding:30px;

height:360px;

border:1px solid #ececec;

}



.scan-document-title{

font-size:22px;

font-weight:700;

color:#13203b;

margin-bottom:25px;

}



.scan-text-line{

display:block;

height:10px;

border-radius:20px;

background:#dde4ef;

margin-bottom:16px;

}



.line-long{

width:100%;

}



.line-medium{

width:76%;

}



.line-short{

width:42%;

display:inline-block;

}



.scan-text-row{

display:flex;

align-items:center;

gap:14px;

margin-bottom:16px;

}



.scan-highlight{

background:#fff0bd;

padding:7px 12px;

border-radius:20px;

font-size:14px;

font-weight:600;

color:#9b6907;

}



.scan-highlight-secondary{

background:#dff8e9;

color:#1c9150;

}



.scanner-beam{

position:absolute;

left:0;

width:100%;

height:4px;

background:linear-gradient(90deg,
transparent,
#f5c64d,
transparent);

animation:scanBeam 5s linear infinite;

}



.moving-magnifier{

position:absolute;

width:90px;

height:90px;

animation:magnifierMove 5s ease-in-out infinite;

}



.magnifier-glass{

position:absolute;

width:60px;

height:60px;

border-radius:50%;

border:6px solid #d3a134;

background:rgba(255,255,255,.45);

backdrop-filter:blur(2px);

}



.magnifier-handle{

position:absolute;

width:34px;

height:8px;

background:#8b6731;

border-radius:8px;

transform:rotate(45deg);

top:56px;

left:48px;

}



.scan-progress-area{

margin-top:22px;

}



.scan-progress-info{

display:flex;

justify-content:space-between;

margin-bottom:10px;

font-size:15px;

}



.scan-progress-bar{

height:12px;

background:#e8ebef;

border-radius:20px;

overflow:hidden;

}



.scan-progress-fill{

height:100%;

width:35%;

border-radius:20px;

background:linear-gradient(90deg,#d1a03d,#ffd86d);

animation:progressAnimation 5s linear infinite;

}



.scan-result-row{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:18px;

margin-top:22px;

}



.scan-result-row span{

display:block;

font-size:13px;

color:#657084;

}



.scan-result-row strong{

font-size:18px;

color:#13203b;

}



.scan-active-text{

color:#1c9150!important;

}



@keyframes pulseDot{

50%{

transform:scale(1.4);

opacity:.5;

}

}



@keyframes scanBeam{

0%{

top:35px;

}

100%{

top:320px;

}

}



@keyframes magnifierMove{

0%{

left:35px;

top:20px;

}

20%{

left:250px;

top:55px;

}

45%{

left:130px;

top:145px;

}

70%{

left:320px;

top:225px;

}

100%{

left:35px;

top:20px;

}

}



@keyframes progressAnimation{

0%{

width:20%;

}

50%{

width:75%;

}

100%{

width:20%;

}
}
/* ==========================
   DOCUMENT VERITAS ANIMAT
========================== */

.scan-document{
    position:relative;
    overflow:hidden;
    padding:22px;
}

.scan-document-title{
    font-size:18px;
    font-weight:700;
    margin-bottom:18px;
    color:#2b2b2b;
}

.scan-paragraph{
    line-height:2.1;
    margin-bottom:16px;
}

.scan-word{
    display:inline-block;
    padding:3px 8px;
    margin:2px;
    border-radius:8px;
    transition:.5s;
    color:#777;
    font-size:14px;
}

/* Toate pornesc gri */

.original-text,
.similarity-text,
.citation-text,
.legislation-text,
.translation-text{

    background:#f3f3f3;
    color:#777;

}
/* Apar progresiv după scanare */

.similarity-text{

    animation:similarityReveal 8s infinite;

}

.citation-text{

    animation:citationReveal 8s infinite;

}

.legislation-text{

    animation:legislationReveal 8s infinite;

}

.translation-text{

    animation:translationReveal 8s infinite;

}
/* legenda */

.scan-legend{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    margin-top:22px;
    font-size:13px;
    color:#666;
}

.legend-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    display:inline-block;
    margin-right:6px;
}

.similarity-dot{
    background:#e5c100;
}

.citation-dot{
    background:#28a745;
}

.legislation-dot{
    background:#3c7dff;
}

.translation-dot{
    background:#9a4dff;
}
/* ==========================
   LIVE ANALYSIS PANEL
========================== */

.scan-live-panel{

    position:absolute;

    right:18px;

    top:20px;

    width:200px;

    background:white;

    border-radius:14px;

    padding:14px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    border:1px solid #ececec;

}

.scan-live-title{

    font-size:13px;

    font-weight:700;

    margin-bottom:12px;

    color:#333;

}

.scan-live-item{

    opacity:0;

    transform:translateY(10px);

    margin-bottom:10px;

    font-size:13px;

    animation:liveAppear 8s infinite;

}

.item1{

    animation-delay:0s;

}

.item2{

    animation-delay:2s;

}

.item3{

    animation-delay:4s;

}

.item4{

    animation-delay:6s;

}

.live-icon{

    margin-right:6px;

}

@keyframes liveAppear{

    0%{

        opacity:0;

        transform:translateY(10px);

    }

    10%{

        opacity:1;

        transform:translateY(0);

    }

    35%{

        opacity:1;

    }

    45%{

        opacity:0;

    }

    100%{

        opacity:0;

    }

}
.scan-live-panel{
    position:absolute;
    right:18px;
    top:20px;
    width:220px;
    background:#ffffff;
    border-radius:14px;
    padding:14px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    border:1px solid #ececec;
    z-index:20;
}

.scan-live-title{
    display:block;
    color:#333333;
    font-size:13px;
    font-weight:700;
    margin-bottom:12px;
}

.scan-live-item{
    display:flex;
    align-items:center;
    width:100%;
    gap:8px;

    color:#2b2b2b !important;
    font-size:13px !important;
    font-weight:500;
    line-height:1.4;

    white-space:nowrap;
    overflow:visible;

    opacity:0;
    transform:translateY(10px);
    margin-bottom:10px;

    animation:liveAppear 8s infinite;
}

.live-icon{
    display:inline-block;
    font-size:14px;
    line-height:1;
    flex:0 0 auto;
}

.item1{
    animation-delay:0s;
}

.item2{
    animation-delay:2s;
}

.item3{
    animation-delay:4s;
}

.item4{
    animation-delay:6s;
}

@keyframes liveAppear{
    0%{
        opacity:0;
        transform:translateY(10px);
    }

    10%{
        opacity:1;
        transform:translateY(0);
    }

    35%{
        opacity:1;
        transform:translateY(0);
    }

    45%{
        opacity:0;
        transform:translateY(-5px);
    }

    100%{
        opacity:0;
        transform:translateY(-5px);
    }
}
@keyframes similarityReveal{

    0%,12%{

        background:#f3f3f3;
        color:#777;

    }

    18%,100%{

        background:#fff2b5;
        color:#7a5a00;

    }

}

@keyframes citationReveal{

    0%,30%{

        background:#f3f3f3;
        color:#777;

    }

    36%,100%{

        background:#dff5df;
        color:#0b6f29;

    }

}

@keyframes legislationReveal{

    0%,48%{

        background:#f3f3f3;
        color:#777;

    }

    54%,100%{

        background:#e3edff;
        color:#2159b6;

    }

}

@keyframes translationReveal{

    0%,66%{

        background:#f3f3f3;
        color:#777;

    }

    72%,100%{

        background:#efe3ff;
        color:#7430b6;

    }

}
.site-footer > div:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.site-footer > nav:not(.footer-legal) {
    grid-column: 2;
    grid-row: 1;
}

.site-footer .footer-legal {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    margin-top: 8px;
}

.site-footer .footer-legal a {
    font-size: 13px;
    font-weight: 600;
}

.site-footer > div:last-child {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
}
/* PAGINA TERMENI ȘI CONDIȚII */

.legal-page {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 60px 0 20px;
}

.legal-hero {
    max-width: 820px;
    margin: 0 auto 38px;
    text-align: center;
}

.legal-hero .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.legal-hero h1 {
    margin: 0 0 16px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
}

.legal-hero > p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .72);
    font-size: 17px;
    line-height: 1.7;
}

.legal-hero .legal-update {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, .50);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 38px 44px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 20px;
    background: rgba(255, 255, 255, .035);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.legal-content section {
    padding: 8px 0 30px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.legal-content section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.legal-content h2 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.3;
}

.legal-content p {
    margin: 0 0 15px;
    color: rgba(255, 255, 255, .76);
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
}

.legal-content strong {
    color: rgba(255, 255, 255, .95);
}

.legal-content a {
    color: var(--gold2);
    font-weight: 700;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .legal-page {
        width: min(100% - 24px, 1100px);
        padding-top: 38px;
    }

    .legal-content {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .legal-content h2 {
        font-size: 21px;
    }

    .legal-content p {
        font-size: 14px;
    }
}