/*
 * „Despre noi" (`templates/pages/about.html.twig`) — stilurile specifice paginii, fișier separat (nu `<style>` în
 * Twig). Culorile, hero-ul de bază, butoanele și titlurile de secțiune vin din `site.css` (comun cu Home / Contact).
 */

/* ── Hero ── */
section.va-hero {
    padding: 6.5rem 0 6rem;
}

.va-hero-subtitle {
    color: #5eead4;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Sigla într-un cerc luminos, ușor plutitor. */
.va-logo-orb {
    width: 300px;
    max-width: 80vw;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 62%, transparent 70%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 80px rgba(20, 184, 166, 0.25);
    animation: va-float 6s ease-in-out infinite;
}

.va-logo-orb img {
    width: 78%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

@keyframes va-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ── Povestea ── */
.va-story {
    background:
        radial-gradient(circle at 95% 10%, rgba(20, 184, 166, 0.12), transparent 40%),
        #f7f8ff;
}

.va-h2 {
    font-weight: 800;
    color: var(--vh-ink);
    margin: 0.5rem 0 1.25rem;
    text-wrap: balance;
}

.va-copy {
    color: #334155;
    font-size: 1.08rem;
    line-height: 1.7;
}

.va-promise {
    position: relative;
    margin: 0;
    padding: 2.25rem 2rem 2rem;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--vh-indigo), #312e81 55%, #0f766e);
    box-shadow: 0 24px 50px rgba(49, 46, 129, 0.35);
}

.va-promise-mark {
    position: absolute;
    top: -0.6rem;
    left: 1.25rem;
    font-size: 5rem;
    line-height: 1;
    color: #5eead4;
    opacity: 0.7;
}

.va-promise p {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 1rem;
}

.va-promise footer {
    color: #c7d2fe;
    font-size: 0.9rem;
}

/* ── Principii ── */
.va-pillars {
    background: linear-gradient(135deg, #ecfeff 0%, #eef2ff 100%);
}

.va-pillar {
    height: 100%;
    border-radius: 18px;
    padding: 1.75rem;
    background: #fff;
    border-top: 5px solid;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.va-pillar h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--vh-ink);
}

.va-pillar p { color: var(--vh-muted); margin: 0; }

.va-pillar-speed { border-color: var(--vh-indigo); }
.va-pillar-clarity { border-color: var(--vh-teal); }
.va-pillar-trust { border-color: #8b5cf6; }

/* ── Ce poți face ── */
.va-can {
    background: linear-gradient(180deg, #ffffff 0%, #eef0ff 100%);
}

.va-can-card {
    height: 100%;
    border-radius: 18px;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e6e9f2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.va-can-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(79, 70, 229, 0.12);
}

.va-can-number {
    display: inline-block;
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(90deg, var(--vh-indigo), var(--vh-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.va-can-card p { color: #334155; margin: 0; }

/* ── Îndemn ── */
.va-cta {
    padding: 4.5rem 0;
    background: linear-gradient(115deg, var(--vh-navy) 0%, #312e81 55%, #0f766e 100%);
    color: #fff;
}

.va-cta h2 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.va-cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 36rem;
    margin: 0 auto 2rem;
}

/* ── Ecrane înguste ── */
@media (max-width: 991.98px) {
    section.va-hero { text-align: center; padding: 4.5rem 0; }
    .va-hero .vh-hero-lead { margin-left: auto; margin-right: auto; }
    .va-logo-orb { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    .va-logo-orb { animation: none; }
    .va-can-card:hover { transform: none; }
}

/* ═══════════ Hero „stunning” — primele 2-3 secunde ═══════════ */

section.va-hero {
    padding-bottom: 8rem;
}

/* Lumini în mișcare peste fotografie (sub conținut). */
.va-aurora {
    position: absolute;
    width: 46vw;
    height: 46vw;
    max-width: 640px;
    max-height: 640px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.va-aurora-1 {
    top: -18%;
    left: -10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.9), transparent 65%);
    animation: va-drift-1 14s ease-in-out infinite alternate;
}

.va-aurora-2 {
    bottom: -25%;
    right: -8%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.85), transparent 65%);
    animation: va-drift-2 16s ease-in-out infinite alternate;
}

@keyframes va-drift-1 { to { transform: translate(18%, 22%) scale(1.15); } }
@keyframes va-drift-2 { to { transform: translate(-20%, -15%) scale(1.2); } }

/* Intrarea: fiecare element urcă și apare, pe rând. */
.va-rise {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    animation: va-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

p.va-rise { display: block; }

.va-d0 { animation-delay: 0.05s; }
.va-d1 { animation-delay: 0.2s; }
.va-d2 { animation-delay: 0.38s; }
.va-d3 { animation-delay: 0.6s; }
.va-d4 { animation-delay: 0.8s; }

@keyframes va-rise { to { opacity: 1; transform: none; } }

.va-title { font-size: clamp(3rem, 7vw, 5.4rem); }
.va-word { margin-right: 0.25em; }

.va-gradient {
    background: linear-gradient(90deg, #a5b4fc, #5eead4, #a5b4fc);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: va-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.38s forwards, va-shine 4s linear 1.2s infinite;
}

@keyframes va-shine { to { background-position: -200% center; } }

/* Scena siglei: inel rotitor, unde radar, fasciculul care trece și insigna „✓ Bilet valid”. */
.va-logo-stage {
    position: relative;
    width: 340px;
    max-width: 82vw;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.va-pop {
    opacity: 0;
    transform: scale(0.85);
    animation: va-pop 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.2) 0.35s forwards;
}

@keyframes va-pop { to { opacity: 1; transform: none; } }

.va-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 55%, #5eead4 70%, #818cf8 85%, transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    animation: va-spin 5s linear infinite;
}

@keyframes va-spin { to { transform: rotate(1turn); } }

.va-pulse {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 2px solid rgba(94, 234, 212, 0.55);
    opacity: 0;
    animation: va-pulse 3.2s ease-out infinite;
}

.va-pulse-2 { animation-delay: 1.6s; }

@keyframes va-pulse {
    0% { transform: scale(0.85); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

.va-logo-stage .va-logo-orb {
    position: relative;
    width: 76%;
    overflow: hidden;
}

/* Fasciculul de scanare trece peste siglă, apoi se oprește 2 secunde; în buclă. */
.va-beam {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 3px;
    border-radius: 3px;
    background: #5eead4;
    box-shadow: 0 0 22px 6px rgba(94, 234, 212, 0.7);
    animation: va-beam 4s ease-in-out 0.9s infinite;
    opacity: 0;
}

@keyframes va-beam {
    0% { top: 12%; opacity: 0; }
    8% { opacity: 1; }
    45% { top: 86%; opacity: 1; }
    52%, 100% { top: 86%; opacity: 0; }
}

/* Insigna apare după prima trecere a fasciculului, apoi „respiră” discret. */
.va-badge {
    position: absolute;
    right: -4%;
    bottom: 12%;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    background: var(--vh-green);
    box-shadow: 0 12px 30px rgba(25, 135, 84, 0.45);
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    animation: va-badge 0.6s cubic-bezier(0.2, 0.9, 0.25, 1.3) 2.4s forwards, va-breathe 3s ease-in-out 3.2s infinite;
}

@keyframes va-badge { to { opacity: 1; transform: none; } }
@keyframes va-breathe { 50% { transform: scale(1.05); } }

/* Banda de verdicte de jos. */
.va-ticker {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.9rem 0;
    overflow: hidden;
    background: rgba(11, 21, 48, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    z-index: 1;
}

.va-ticker-track {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    animation: va-ticker 32s linear infinite;
}

@keyframes va-ticker { to { transform: translateX(-50%); } }

.va-chip {
    flex: none;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.va-chip-ok { background: rgba(25, 135, 84, 0.35); }
.va-chip-action { background: rgba(245, 179, 1, 0.3); }
.va-chip-no { background: rgba(220, 53, 69, 0.32); }

@media (max-width: 991.98px) {
    .va-logo-stage { width: 260px; }
    .va-badge { right: 0; }
}

/* Fără mișcare: totul apare direct, în poziția finală. */
@media (prefers-reduced-motion: reduce) {
    .va-rise, .va-pop, .va-badge { opacity: 1; transform: none; animation: none; }
    .va-gradient { animation: none; }
    .va-aurora, .va-ring, .va-pulse, .va-beam, .va-ticker-track { animation: none; }
    .va-pulse, .va-beam { display: none; }
}
