/* Support Page Styles */
:root {
    --gradient-1: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-2: linear-gradient(135deg, #3b82f6, #2dd4bf);
    --gradient-3: linear-gradient(135deg, #f43f5e, #f97316);
    --gradient-4: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.support-main {
    padding-top: 80px;
}

/* Hero Section */
.support-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 6rem 0 8rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.support-hero h1 {
    font-size: 3rem;
    margin: 0 0 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.support-search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
}

.search-box {
    flex: 1;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-box i {
    color: #6b7280;
    font-size: 1.2rem;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 1rem 1rem;
    font-size: 1rem;
    background: transparent;
    outline: none;
}

.search-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Quick Links Section */
.quick-links {
    margin-top: -4rem;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-link-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quick-link-card:nth-child(1) .card-icon {
    background: var(--gradient-1);
}

.quick-link-card:nth-child(2) .card-icon {
    background: var(--gradient-2);
}

.quick-link-card:nth-child(3) .card-icon {
    background: var(--gradient-3);
}

.quick-link-card:nth-child(4) .card-icon {
    background: var(--gradient-4);
}

.quick-link-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.quick-link-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.quick-link-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-light);
    margin: 0;
}

.faq-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: white;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-btn i {
    font-size: 1.2rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-btn:hover i,
.tab-btn.active i {
    color: white;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-btn {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.faq-answer ul,
.faq-answer ol {
    margin: 0.5rem 0;
    padding-left: 2.5rem;
    color: var(--text-light);
}

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

/* Contact Support Section */
.contact-support {
    padding: 6rem 0;
    background: white;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.support-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 16px;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.support-card .card-icon {
    margin-bottom: 2rem;
}

.support-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.support-card p {
    margin: 0 0 1.5rem;
    color: var(--text-light);
}

.support-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.support-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.chat-btn {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .support-hero {
        padding: 4rem 0 6rem;
    }

    .support-hero h1 {
        font-size: 2rem;
    }

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

    .search-box {
        padding: 0 1rem;
    }

    .search-btn {
        padding: 0 1.5rem;
    }

    .quick-links {
        margin-top: -3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .faq-tabs {
        flex-direction: column;
    }

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

    .support-card {
        padding: 2rem 1.5rem;
    }
}
