/* Modern FAQ Page - NetGigabit */

/* Modern FAQ Hero Section */
.modern-faq-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: white;
}

.modern-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" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="white" fill-opacity="0.05"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="40" cy="60" r="1"/><circle cx="60" cy="40" r="1"/></g></svg>');
    z-index: 1;
}

.modern-faq-hero > .container {
    position: relative;
    z-index: 2;
}

/* FAQ Hero Content */
.faq-hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
}

.faq-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-hero-badge i {
    animation: pulse 2s infinite;
}

.faq-hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: white;
}

.faq-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Modern Breadcrumbs */
.modern-faq-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.modern-faq-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.modern-faq-breadcrumbs a:hover {
    color: white;
}

.modern-faq-breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.modern-faq-breadcrumbs .current {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* Modern FAQ Section */
.modern-faq-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.modern-faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23e60012" fill-opacity="0.02"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="40" cy="60" r="1"/><circle cx="60" cy="40" r="1"/></g></svg>');
    z-index: 1;
}

.modern-faq-section > .container {
    position: relative;
    z-index: 2;
}

/* FAQ Section Header */
.faq-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.faq-section-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Modern FAQ Tabs */
.modern-faq-tabs {
    margin-bottom: 60px;
}

.faq-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.faq-tab-btn {
    background: white;
    border: 2px solid #f0f0f0;
    color: #666;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.faq-tab-btn:hover {
    border-color: rgba(230, 0, 18, 0.3);
    color: var(--ng-primary-start, #5b83cd);
}

.faq-tab-btn.active {
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    border-color: var(--ng-primary-start, #5b83cd);
    color: white;
}

/* Modern FAQ Content */
.modern-faq-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Modern Accordion */
.modern-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modern-accordion-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(230, 0, 18, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-accordion-item:hover {
    box-shadow: 0 8px 30px rgba(230, 0, 18, 0.15);
    transform: translateY(-2px);
}

.modern-accordion-item.active {
    border-color: rgba(230, 0, 18, 0.2);
}

.modern-accordion-header {
    background: transparent;
    border: none;
    padding: 24px 30px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.modern-accordion-header:hover {
    color: var(--ng-primary-start, #5b83cd);
}

.modern-accordion-item.active .modern-accordion-header {
    color: var(--ng-primary-start, #5b83cd);
    background: linear-gradient(135deg, rgba(230, 0, 18, 0.05), var(--ng-secondary-light, rgba(194, 128, 191, 0.1)));
}

.accordion-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(230, 0, 18, 0.1), var(--ng-secondary-light, rgba(194, 128, 191, 0.1)));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.accordion-icon i {
    color: var(--ng-primary-start, #5b83cd);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.modern-accordion-item.active .accordion-icon {
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    transform: scale(1.1);
}

.modern-accordion-item.active .accordion-icon i {
    color: white;
    transform: rotate(180deg);
}

.accordion-title {
    flex: 1;
    margin: 0 20px;
    line-height: 1.4;
}

.modern-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.modern-accordion-item.active .modern-accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 30px 30px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-top: 0;
}

/* FAQ Stats */
.faq-stats {
    margin-top: 80px;
    text-align: center;
}

.faq-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(230, 0, 18, 0.05);
    transition: all 0.3s ease;
}

.faq-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(230, 0, 18, 0.15);
}

.faq-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ng-primary-start, #5b83cd);
    margin-bottom: 8px;
    display: block;
}

.faq-stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Contact CTA */
.faq-contact-cta {
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.faq-contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="white" fill-opacity="0.05"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="40" cy="60" r="1"/><circle cx="60" cy="40" r="1"/></g></svg>');
    z-index: 1;
}

.faq-contact-cta > * {
    position: relative;
    z-index: 2;
}

.faq-cta-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.faq-cta-description {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--ng-primary-start, #5b83cd);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--ng-primary-start, #5b83cd);
}

.faq-cta-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-cta-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .modern-faq-hero {
        min-height: 50vh;
    }
    
    .modern-faq-section {
        padding: 80px 0;
    }
    
    .faq-section-header {
        margin-bottom: 40px;
    }
    
    .modern-faq-tabs {
        margin-bottom: 40px;
    }
    
    .faq-tab-buttons {
        gap: 8px;
    }
    
    .faq-tab-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .modern-accordion-header {
        padding: 20px 24px;
        font-size: 15px;
    }
    
    .accordion-body {
        padding: 0 24px 24px;
        font-size: 14px;
    }
    
    .faq-stats {
        margin-top: 60px;
    }
    
    .faq-contact-cta {
        padding: 40px 30px;
        margin-top: 60px;
    }
}

@media (max-width: 575px) {
    .modern-faq-hero {
        min-height: 40vh;
        padding: 40px 0;
    }
    
    .modern-faq-section {
        padding: 60px 0;
    }
    
    .faq-tab-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .faq-tab-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .modern-accordion-header {
        padding: 18px 20px;
        font-size: 14px;
    }
    
    .accordion-icon {
        width: 36px;
        height: 36px;
    }
    
    .accordion-icon i {
        font-size: 16px;
    }
    
    .accordion-title {
        margin: 0 16px;
    }
    
    .accordion-body {
        padding: 0 20px 20px;
        padding-top: 16px;
    }
    
    .faq-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .faq-stat-card {
        padding: 24px 16px;
    }
    
    .faq-stat-number {
        font-size: 2rem;
    }
    
    .faq-contact-cta {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .faq-cta-title {
        font-size: 20px;
    }
    
    .faq-cta-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}
