/* Modern Support Page Styles */

/* Page Layout */
.support-page {
    min-height: 100vh;
    background: transparent; /* Let body background show through */
    position: relative;
    overflow-x: hidden;
    padding-top: 80px; /* Add space for navbar */
}

.support-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* Remove the grain effect to let the animated background show */
    opacity: 0;
}

.support-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* Remove any conflicting background */
    pointer-events: none;
    z-index: 0;
    opacity: 0;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

/* Header Section */
.page-header {
    text-align: center;
    margin-bottom: 5rem;
    padding-top: 3rem;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #d946ef);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.page-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 2rem auto 3rem;
    line-height: 1.6;
}

/* Support Cards */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.support-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.support-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #8b9cf7;
    margin-bottom: 1.5rem;
}

.support-card-icon svg {
    width: 24px;
    height: 24px;
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.support-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.support-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.support-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* FAQ Section */
.faq-section {
    margin-top: 4rem;
}

.faq-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #8b9cf7 0%, #a688d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question .faq-icon {
    transition: transform 0.3s ease;
    color: #8b9cf7;
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.quick-link svg {
    width: 20px;
    height: 20px;
    color: #8b9cf7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        padding: 2rem 1rem;
    }
    
    .page-header {
        padding-top: 2rem;
        margin-bottom: 3rem;
    }
    
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
}