/* ==========================================
   [FAQ CSS] 1. SECȚIUNEA PRINCIPALĂ
   ========================================== */
.faq-section {
    width: 100%;
    padding: 40px 5% 50px 5%;
    background: linear-gradient(135deg, #cbd5e1 0%, #2dd4bf 50%, #0f766e 100%);   
    position: relative;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .faq-section { padding: 35px 4% 45px 4%; }
}

.faq-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================
   [FAQ CSS] 2. HEADER SECȚIUNE
   ========================================== */
.faq-header {
    text-align: center;
    margin-bottom: 28px;
}

.faq-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.faq-title span {
    background: linear-gradient(to right, #2563eb, #3b82f6, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-subtitle {
    font-size: 0.85rem;
    color: #334155;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
    font-weight: 700;
}

@media (min-width: 768px) {
    .faq-title { font-size: 2rem; }
    .faq-subtitle { 
        font-size: 1.1rem;
        font-weight: 700;
    }
}

/* ==========================================
   [FAQ CSS] 3. LISTĂ ÎNTREBĂRI
   ========================================== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================
   [FAQ CSS] 4. ITEM ÎNTREBARE (GLASSMORPHISM)
   ========================================== */
.faq-item {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 2px solid rgba(0, 51, 153, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    
    /* Stabilizare hardware-acceleration */
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.45); /* Fundal organic deschis care menține lizibilitatea textului închis */
}

.faq-item-active {
    border-color: #2563eb;
    background: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.15);
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    cursor: pointer;
    border: none;
    font-family: inherit;
    margin: 0;
}

.faq-question-text {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a; /* Culoare stabilă, lizibilă în mod nativ */
    line-height: 1.4;
    padding-right: 16px;
    transition: color 0.2s ease;
}

@media (min-width: 768px) {
    .faq-question-text {
        font-size: 1.05rem;
    }
}

.faq-icon {
    font-size: 1.3rem;
    font-weight: 900;
    color: #2563eb;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item-active .faq-icon {
    color: #ef4444; /* Roșu la activare pentru feedback vizual clar */
}

/* ==========================================
   [FAQ CSS] 5. CONȚINUT RĂSPUNS
   ========================================== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: transparent;
}

.faq-answer-content {
    padding: 4px 20px 20px 20px;
    border-top: 1px solid rgba(0, 51, 153, 0.15);
    color: #0f172a;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 600;
}

@media (min-width: 768px) {
    .faq-answer-content {
        font-size: 0.95rem;
    }
}

.faq-answer-content p {
    margin-top: 0;
    margin-bottom: 12px;
}
.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-highlight-box {
    background: rgba(255, 255, 255, 0.6);
    border-left: 4px solid #d97706;
    padding: 12px 16px;
    border-radius: 12px;
    margin: 14px 0;
    font-size: 0.85rem;
    color: #78350f;
    backdrop-filter: blur(2px);
}

.faq-highlight-box strong {
    color: #92400e;
}

/* ==========================================
   [FAQ CSS] 6. BUTON DEDICAT (INTEGRAT ÎN PALETĂ)
   ========================================== */
.faq-all-btn-wrapper {
    text-align: center;
    margin-top: 24px;
}

.faq-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0000FF, #0000CC);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.85rem;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 255, 0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

.faq-all-btn:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #0000CC, #000099); /* Fără verde aprins, păstrăm tema premium albastru închis */
    color: #ffffff;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 204, 0.4);
    border: 1px solid rgba(255,255,255,0.3);
}

.faq-all-btn svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}