/* Support Page - Conformed to Overall Website Design */

/* Use website's design system variables and patterns */
.support-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

.support-header {
    text-align: center;
    margin-bottom: 60px;
}

.support-header h1 {
    color: var(--ucl-ink);
    font-size: clamp(1.8rem, 2.1vw, 2.4rem);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.support-header p {
    color: var(--ucl-slate);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Use website's card system */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.support-card {
    background: var(--ucl-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Use website's purple color scheme for icons */
.card-icon {
    width: 80px;
    height: 80px;
    background: var(--ucl-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.support-card:hover .card-icon {
    background: var(--ucl-purple-700);
    transform: scale(1.05);
}

/* Use website's typography system */
.card-title {
    color: var(--ucl-ink);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.card-description {
    color: var(--ucl-slate);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Use website's button system */
.card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 1.8rem;
    background: var(--ucl-purple);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.card-button:hover {
    background: var(--ucl-purple-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(91, 43, 130, 0.4);
    color: white;
}

/* Emergency section with website's styling */
.emergency-section {
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.emergency-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.emergency-section h3 {
    color: #dc2626;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.emergency-section p {
    color: #7f1d1d;
    margin: 0 0 20px 0;
    font-size: 1.1rem;
}

.emergency-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #dc2626;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.emergency-button:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
    color: white;
}

/* Contact section with website's gradient system */
.contact-section {
    background: linear-gradient(135deg, var(--ucl-purple) 0%, #7c3aed 100%);
    color: white;
    padding: 50px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.contact-section h2 {
    margin: 0 0 20px 0;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.contact-section p {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.5rem;
    opacity: 0.9;
    color: var(--ucl-gold);
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* FAQ section using website's card system */
.faq-section {
    background: var(--ucl-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 50px;
    margin-bottom: 50px;
}

.faq-section h2 {
    color: var(--ucl-ink);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 40px 0;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.faq-item {
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.faq-item:hover {
    border-color: var(--ucl-purple);
    box-shadow: 0 4px 12px rgba(91, 43, 130, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    color: var(--ucl-ink);
    font-weight: 600;
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.faq-answer {
    color: var(--ucl-slate);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive design following website patterns */
@media (max-width: 768px) {
    .support-container {
        padding: 0 15px;
    }
    
    .support-header h1 {
        font-size: 1.8rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 30px 20px;
    }
    
    .faq-section {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .support-header h1 {
        font-size: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .emergency-section {
        padding: 20px 15px;
    }
    
    .contact-section {
        padding: 25px 15px;
    }
    
    .faq-section {
        padding: 25px 15px;
    }
}

/* Add subtle animations following website patterns */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.support-card {
    animation: fadeInUp 0.6s ease-out;
}

.support-card:nth-child(1) { animation-delay: 0.1s; }
.support-card:nth-child(2) { animation-delay: 0.2s; }
.support-card:nth-child(3) { animation-delay: 0.3s; }
.support-card:nth-child(4) { animation-delay: 0.4s; }
.support-card:nth-child(5) { animation-delay: 0.5s; }
.support-card:nth-child(6) { animation-delay: 0.6s; }
