/**
 * ========================================
 * HERO CARDS - STILURI COMUNE
 * ========================================
 * 
 * Fișier: hero-cards-common.css
 * Versiune: 1.0.0
 * 
 * Conține DOAR stiluri 100% identice între:
 * - card-analiza-financiara.php
 * - card-scor-hero.php
 * - card-cumparaturi-hero.php
 * 
 * IMPORTANT: Acest CSS se încarcă o singură dată
 * și se cache-ază pentru toate paginile!
 */

/* ========================================
   1. HERO BASE CONTAINER
   ======================================== */
.einv-hero-base {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 15, 0.95) 0%,
        rgba(20, 20, 20, 0.9) 50%,
        rgba(15, 15, 15, 0.95) 100%
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background-image 0.6s ease-in-out;
}

/* ========================================
   2. HERO OVERLAY (::before)
   ======================================== */
.einv-hero-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* ========================================
   3. HERO CONTENT CONTAINER
   ======================================== */
.einv-hero-content-base {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

/* ========================================
   4. TITLU H2
   ======================================== */
.einv-hero-title-base {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.einv-hero-title-base .company-highlight {
    color: #2ada49;
}

/* ========================================
   5. TEXT INTRO BASE
   ======================================== */
.einv-hero-intro-base {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.einv-hero-intro-base strong {
    color: #ffffff;
    font-weight: 600;
}

.einv-hero-intro-base .keyword {
    color: #2ada49;
    font-weight: 500;
}

/* ========================================
   6. BADGE-URI (DATA ACTUALIZARE / TRUST)
   ======================================== */
.einv-hero-badge-base {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.einv-hero-badge-base svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke: rgba(255, 255, 255, 0.5);
}

.einv-hero-badge-base span {
    color: rgba(255, 255, 255, 0.85);
}

.einv-hero-badge-base:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   7. TRUST BADGES (pentru card cumpărături)
   ======================================== */
.einv-trust-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.trust-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-family: inherit;
    cursor: default;
    transition: all 0.3s ease;
}

.trust-badge-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.trust-badge-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke: rgba(255, 255, 255, 0.5);
}

.trust-badge-btn span {
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   8. RESPONSIVE - TABLET (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    .einv-hero-title-base {
        font-size: 2.25rem;
    }
    
    .einv-hero-badge-base,
    .trust-badge-btn {
        font-size: 0.7rem;
        padding: 0.5rem 0.85rem;
    }
    
    .einv-hero-badge-base svg,
    .trust-badge-btn svg {
        width: 13px;
        height: 13px;
    }
}

/* ========================================
   9. RESPONSIVE - MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    .einv-hero-title-base {
        font-size: 1.85rem;
    }
    
    .einv-hero-badge-base,
    .trust-badge-btn {
        font-size: 0.65rem;
        padding: 0.45rem 0.75rem;
    }
    
    .einv-hero-badge-base svg,
    .trust-badge-btn svg {
        width: 12px;
        height: 12px;
    }
}

/* ========================================
   10. UTILITY
   ======================================== */
* {
    -webkit-tap-highlight-color: transparent;
}
