/* Help Center Modern FAQ Archive Styles */
.ikbase-help-center-modern .ikbase-faq-archive-modern {
    background: #ffffff;
}

/* Hero Section */
.ikbase-modern-hero {
    position: relative;
    padding: 5rem 1rem 4rem;
    overflow: hidden;
}

.ikbase-hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 0;
}

.ikbase-hero-bg-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.ikbase-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.ikbase-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ikbase-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ikbase-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    font-weight: 400;
}

.ikbase-search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.ikbase-search-icon {
    position: absolute;
    left: 1.5rem;
    color: #9ca3af;
    z-index: 1;
}

.ikbase-search-input {
    flex: 1;
    padding: 1.25rem 1.5rem 1.25rem 4rem;
    border: none;
    font-size: 1.0625rem;
    color: #1f2937;
}

.ikbase-search-input:focus {
    outline: none;
}

.ikbase-search-btn {
    padding: 1.25rem 2rem;
    background: #3b82f6;
    color: white;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.ikbase-search-btn:hover {
    background: #2563eb;
}

/* Stats Bar */
.ikbase-stats-bar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 2rem 0;
}

.ikbase-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.ikbase-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.ikbase-stat-item svg {
    color: #3b82f6;
}

.ikbase-stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.ikbase-stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Main Content */
.ikbase-faq-main-content {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ikbase-search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.ikbase-search-results-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.ikbase-clear-search {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.ikbase-clear-search:hover {
    text-decoration: underline;
}

/* Topic Section */
.ikbase-topic-section-modern {
    margin-bottom: 4rem;
}

.ikbase-topic-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.ikbase-topic-title-wrap h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

.ikbase-topic-title-wrap p {
    color: #6b7280;
    margin: 0;
}

.ikbase-topic-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 700;
    min-width: 3rem;
    text-align: center;
}

/* FAQ Cards */
.ikbase-faq-modern-grid {
    display: grid;
    gap: 1.5rem;
}

.ikbase-faq-modern-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ikbase-faq-modern-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ikbase-faq-modern-card.active {
    border-color: #3b82f6;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
}

.ikbase-card-icon {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #3b82f6;
    border-radius: 0.75rem;
}

.ikbase-card-body {
    padding: 2rem 2rem 2rem 6rem;
    cursor: pointer;
    position: relative;
}

.ikbase-card-body h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
}

.ikbase-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    padding: 0;
}

.ikbase-expand-btn svg {
    transition: transform 0.3s;
}

.ikbase-faq-modern-card.active .ikbase-expand-btn svg {
    transform: rotate(180deg);
}

.ikbase-faq-modern-card.active .expand-text::after {
    content: ' answer';
}

.ikbase-faq-modern-card.active .expand-text::before {
    content: 'Hide';
}

.ikbase-faq-modern-card:not(.active) .expand-text::after {
    content: ' answer';
}

.ikbase-faq-modern-card:not(.active) .expand-text::before {
    content: 'Show';
}

.ikbase-card-answer {
    display: none;
    padding: 0 2rem 2rem 6rem;
    color: #4b5563;
    line-height: 1.75;
    font-size: 1.0625rem;
    animation: fadeInSlide 0.3s ease-out;
}

.ikbase-faq-modern-card.active .ikbase-card-answer {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty States */
.ikbase-no-results-modern,
.ikbase-no-faqs-modern {
    text-align: center;
    padding: 5rem 1rem;
}

.ikbase-no-results-modern svg,
.ikbase-no-faqs-modern svg {
    color: #d1d5db;
    margin: 0 auto 2rem;
}

.ikbase-no-results-modern h2,
.ikbase-no-faqs-modern h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.ikbase-no-results-modern p,
.ikbase-no-faqs-modern p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
.ikbase-modern-cta {
    margin-top: 5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
}

.ikbase-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: white;
    color: #3b82f6;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ikbase-cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.ikbase-cta-content p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ikbase-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ikbase-btn-primary,
.ikbase-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.2s;
}

.ikbase-btn-primary {
    background: #3b82f6;
    color: white;
}

.ikbase-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
    color: white;
}

.ikbase-btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.ikbase-btn-secondary:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    color: #2563eb;
}

/* Responsive */
@media (max-width: 768px) {
    .ikbase-hero-title {
        font-size: 2rem;
    }
    
    .ikbase-hero-subtitle {
        font-size: 1rem;
    }
    
    .ikbase-search-btn {
        padding: 1.25rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .ikbase-topic-header-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ikbase-card-body {
        padding: 1.5rem;
    }
    
    .ikbase-card-answer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .ikbase-card-icon {
        position: static;
        margin-bottom: 1rem;
    }
    
    .ikbase-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

