/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #6366f1;
}

/* Main Content */
.support-main {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Hero Section */
.support-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.support-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-intro {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 40px 0;
}

.contact-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.section-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.organization-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-item {
    font-size: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-label {
    font-weight: 600;
}

.contact-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.contact-link:hover {
    opacity: 0.8;
}

/* Search Section */
.search-section {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.faq-category {
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #6366f1;
    display: inline-block;
}

.faq-item {
    margin: 1rem 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.faq-item[open] {
    border-color: #6366f1;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 600;
    color: #6366f1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-item:hover .faq-question {
    color: #6366f1;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #333;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: #6366f1;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.faq-answer a:hover {
    opacity: 0.8;
}

/* Resources Section */
.resources-section {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.resources-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.resource-link {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.resource-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

/* Help Section */
.help-section {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
    background: #f9fafb;
    border-radius: 20px;
    padding: 3rem;
}

.help-contact {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #6366f1;
}

.help-item {
    margin-bottom: 1rem;
}

.help-item:last-child {
    margin-bottom: 0;
}

.help-tip {
    margin-top: 2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.help-checklist {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #333;
}

.help-checklist li {
    margin-bottom: 0.5rem;
}

.help-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    font-style: italic;
    color: #666;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-description {
    color: #999;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    margin-bottom: 0.5rem;
}

.last-updated {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .support-title {
        font-size: 2.5rem;
    }

    .support-intro {
        font-size: 1rem;
    }

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

    .section-heading {
        font-size: 1.75rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 4px;
    }

    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .resources-links {
        flex-direction: column;
        gap: 1rem;
    }

    .help-section {
        padding: 2rem 1.5rem;
    }

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

    .faq-question {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .support-main {
        padding-top: 80px;
    }

    .support-hero {
        padding: 40px 0 30px;
    }

    .support-title {
        font-size: 2rem;
    }

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

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

    .contact-card {
        padding: 1.5rem;
    }

    .search-input {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .faq-answer {
        padding: 0 1rem 1.25rem 1rem;
        font-size: 0.95rem;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 15px;
    }

    .help-section {
        padding: 1.5rem 1rem;
    }
}

/* Search highlight */
.highlight {
    background-color: #fef3c7;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Hidden class for search filtering */
.hidden {
    display: none !important;
}
