:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #f8fafc;
    --accent: #3b82f6;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --surface: #ffffff;
    --surface-elevated: #f9fafb;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--surface);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.faq-header {
    padding: 120px 0 80px;
    text-align: center;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.faq-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%232563eb" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.faq-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.faq-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    background: var(--surface);
    margin-top: -60px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 10;
}

/* Search */
.search-container {
    padding: 60px 0 40px;
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    z-index: 1;
}

#faq-search {
    width: 100%;
    padding: 18px 24px 18px 64px;
    font-size: 1.1rem;
    font-weight: 500;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--surface-elevated);
    transition: var(--transition);
    outline: none;
}

#faq-search:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.15);
    background: var(--surface);
}

/* FAQ Items */
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.faq-question {
    padding: 24px 28px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question::after {
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
    width: 36px;
    height: 36px;
    background: var(--surface-elevated);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question:hover, .faq-question:focus {
    background: var(--surface-elevated);
}

.faq-question.active {
    color: var(--primary);
    background: var(--surface-elevated);
}

.faq-question.active::after {
    content: '\f068';
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.active {
    max-height: 800px;
}

.faq-answer-content {
    padding: 0 28px 32px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.faq-answer-content ul {
    padding-left: 20px;
    margin: 16px 0;
}

.faq-answer-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
}

.faq-answer-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    background: rgba(37, 99, 235, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* No Results */
.no-results {
    display: none;
    text-align: center;
    padding: 100px 20px;
    color: var(--text-muted);
}

.no-results.active {
    display: block;
}

.no-results i {
    font-size: 5rem;
    margin-bottom: 24px;
    opacity: 0.4;
}

.no-results p {
    font-size: 1.3rem;
    font-weight: 500;
}

/* Stats */
.stats-section {
    padding: 80px 0;
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    margin: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Contact */
.contact-section {
    text-align: center;
    padding: 100px 0;
}

.contact-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 44px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-title { font-size: 2.8rem; }
    .faq-header { padding: 80px 0 60px; }
    .search-container { padding: 40px 0 30px; }
    .faq-question { padding: 20px; font-size: 1.1rem; }
    .faq-answer-content { padding: 0 20px 24px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .stat-number { font-size: 3rem; }
    .contact-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .faq-title { font-size: 2.3rem; }
    .stats-grid { grid-template-columns: 1fr; }
}