/* ==========================================================
   hero.css — QuatroSystems
   
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;1,9..144,300&display=swap');

/* ---- Hero wrapper ---- */
.hero {
    position: relative;
    min-height: 620px;
    background: #060d1f;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Gradient overlay — textul să fie lizibil */
.hero-fog {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(6,13,31,.97) 38%,
        rgba(6,13,31,.70) 62%,
        rgba(6,13,31,.10) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ---- Content ---- */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 64px;
    max-width: 640px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4db8ff;
    border: 1px solid rgba(77, 184, 255, .25);
    background: rgba(77, 184, 255, .06);
    padding: 6px 14px;
    border-radius: 40px;
    margin-bottom: 28px;
    animation: heroFadeUp .7s ease both;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4db8ff;
    animation: heroBlink 2s ease-in-out infinite;
}

@keyframes heroBlink {
    0%, 100% { opacity: .4; transform: scale(.8); }
    50%       { opacity: 1;  transform: scale(1.2); }
}

/* Heading */
.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 300;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 22px;
    animation: heroFadeUp .7s .15s ease both;
}

.hero h1 .brand {
    display: block;
    font-weight: 700;
    background: linear-gradient(95deg, #fff 30%, #4db8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .sub {
    display: block;
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, .5);
    font-size: .6em;
    margin-top: 6px;
}

/* Descriere */
.hero-desc {
    font-size: 16px;
    font-weight: 300;
    color: rgba(200, 215, 240, .65);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 28px;
    animation: heroFadeUp .7s .28s ease both;
}

/* Bullets rapizi */
.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    animation: heroFadeUp .7s .38s ease both;
}

.hb {
    font-size: 12px;
    font-weight: 400;
    color: rgba(180, 210, 240, .7);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hb::before {
    content: '✓';
    color: #34d399;
    font-weight: 600;
    font-size: 11px;
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: heroFadeUp .7s .48s ease both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #244da8, #2d5fc4);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
    padding: 13px 26px;
    border-radius: 40px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
    box-shadow: 0 4px 24px rgba(36, 77, 168, .35);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(36, 77, 168, .5);
    color: #fff;
    text-decoration: none;
}

.btn-hero-primary svg {
    width: 16px;
    height: 16px;
    transition: transform .25s ease;
}

.btn-hero-primary:hover svg {
    transform: translateX(3px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(200, 220, 255, .8);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 13px 22px;
    border-radius: 40px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer;
    transition: all .3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ---- Stats strip ---- */
.hero-stats {
    position: absolute;
    bottom: 40px;
    left: 64px;
    right: 64px;
    display: flex;
    gap: 40px;
    z-index: 2;
    animation: heroFadeUp .7s .6s ease both;
}

.hs {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hs-val {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.hs-val span {
    color: #4db8ff;
    font-size: .65em;
}

.hs-lbl {
    font-size: 11px;
    font-weight: 300;
    color: rgba(160, 190, 220, .5);
    letter-spacing: .5px;
}

.hs-div {
    width: 1px;
    background: rgba(255, 255, 255, .1);
    align-self: stretch;
}



.scroll-hint span {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}




/* ---- Animații intrare ---- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .hero-content {
        padding: 60px 40px;
    }
    .hero-stats {
        left: 40px;
        right: 40px;
        gap: 28px;
    }
    .hero-actions{
        padding:25px;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 520px;
    }
    .hero-content {
        padding: 44px 24px;
        max-width: 100%;
    }
    .hero-stats {
        left: 24px;
        right: 24px;
        gap: 20px;
        bottom: 28px;
    }
    .hs-val { font-size: 22px; }
    .scroll-hint { display: none; }
    .hero-fog {
        background: linear-gradient(180deg, rgba(6,13,31,.95) 0%, rgba(6,13,31,.85) 100%);
    }
}
