/* ==========================================
      FAQ PAGE STYLES
      ========================================== */

.faq-page-container {
    background: #f8f9fa;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.faq-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-illustration {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

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

/* ==========================================
   SEARCH BOX
   ========================================== */

.search-box {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    color: #94a3b8;
    font-size: 1.125rem;
}

.search-input {
    flex: 1;
    padding: 1rem 3.5rem 1rem 3.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    outline: none;
}

.btn-clear {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.btn-clear:hover {
    color: #667eea;
}

.search-hint {
    margin: 1rem 0 0 0;
    font-size: 0.875rem;
    color: #64748b;
}

/* ==========================================
   QUICK ACTIONS
   ========================================== */

.quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: #667eea;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    color: #667eea;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats-section {
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* ==========================================
   WHY ZYLEME SECTION
   ========================================== */

.why-zyleme-section {
    padding: 60px 0;
    background: white;
}

.why-zyleme-card {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
}

.section-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 1.75rem;
    color: #667eea;
    flex-shrink: 0;
}

.feature-item h6 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* ==========================================
   CATEGORIES SECTION
   ========================================== */

.categories-section {
    padding: 60px 0;
    background: white;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.category-btn {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.category-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.category-btn .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

.category-btn.active .badge {
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   FAQs SECTION
   ========================================== */

.faqs-section {
    padding: 60px 0 80px;
    background: white;
}

.search-results {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
}

.results-text {
    margin: 0;
    color: #64748b;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-icon {
    width: 100px;
    height: 100px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #94a3b8;
}

.no-results h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #64748b;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: #667eea;
}

.faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.faq-question {
    flex: 1;
    text-align: left;
}

.accordion-body {
    padding: 1.5rem;
}

.answer-content {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.helpful-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.helpful-text {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

.helpful-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-helpful {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-helpful:hover {
    border-color: #667eea;
    color: #667eea;
}

.btn-helpful.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.cta-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    border-radius: 1rem;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0;
}

.btn-white {
    background: white;
    color: #667eea;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    color: #667eea;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.contact-method i {
    font-size: 1.25rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .faq-hero {
        padding: 60px 0;
    }

    .hero-illustration {
        margin-bottom: 2rem;
    }

    .stats-section {
        padding: 40px 0;
        margin-top: -30px;
    }

    .why-zyleme-section,
    .categories-section,
    .faqs-section {
        padding: 40px 0;
    }

    .why-zyleme-card {
        padding: 2rem;
    }

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

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .quick-actions {
        flex-direction: column;
    }

    .quick-actions .btn-primary,
    .quick-actions .btn-outline {
        width: 100%;
        text-align: center;
    }

    .category-filter {
        flex-direction: column;
    }

    .category-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-card {
        padding: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .search-box {
        padding: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .why-zyleme-card {
        padding: 1.5rem;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.accordion-item {
    animation: fadeInUp 0.6s ease-out;
}
