/* =========================================
   Support & Help Center
   ========================================= */

.support-hero {
    padding: 160px 0 100px;
    background: white;
    text-align: center;
    position: relative;
}

.support-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect x='10' y='10' width='80' height='80' rx='20' fill='none' stroke='%23f1f3f9' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
}

.support-hero .container {
    position: relative;
    z-index: 1;
}

.support-search {
    max-width: 600px;
    margin: 40px auto 0;
    position: relative;
}

.support-search input {
    width: 100%;
    padding: 20px 30px;
    padding-left: 60px;
    border-radius: 50px;
    border: 2px solid #eef2f6;
    font-size: 1.1rem;
    font-family: 'Sora', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.support-search input:focus {
    border-color: var(--brand-orange);
    outline: none;
    box-shadow: 0 15px 40px rgba(253, 82, 2, 0.1);
}

.search-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

/* ---- Categories ---- */
.support-categories {
    padding: 80px 0;
    background: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.cat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--brand-orange);
}

.cat-icon {
    width: 64px;
    height: 64px;
    background: rgba(253, 82, 2, 0.1);
    color: var(--brand-orange);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
}

.cat-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 12px;
}

.cat-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ---- FAQs ---- */
.faq-section {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: #f8fafc;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-navy);
    text-align: left;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
}

.faq-trigger i {
    color: var(--brand-orange);
}

.minus-icon {
    display: none;
}

.faq-item.active .plus-icon {
    display: none;
}

.faq-item.active .minus-icon {
    display: block;
}

.faq-content {
    max-height: 0;
    padding: 0 30px;
    overflow: hidden;
    color: var(--text-gray);
    line-height: 1.6;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-content {
    max-height: 1000px;
    padding: 0 30px 24px;
    opacity: 1;
}

/* ---- Contact Support ---- */
.contact-support-banner {
    padding: 100px 0;
    background: #f8fafc;
    color: var(--text-navy);
}

.contact-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.support-method {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.support-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.support-method i {
    font-size: 2rem;
    color: var(--brand-orange);
    margin-bottom: 20px;
}

.support-method h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.support-method p {
    color: #889bb0;
    margin-bottom: 24px;
}

.support-method a {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.support-method a:hover {
    border-bottom-color: var(--brand-orange);
}

/* ---- Responsive ---- */

/* laptop (≤ 1024px) */
@media (max-width: 1024px) {
    .support-hero h1 { font-size: 3.2rem !important; }
    .section-header h2 { font-size: 2.4rem !important; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-support-grid { grid-template-columns: repeat(2, 1fr); }
}

/* tablet (≤ 768px) */
@media (max-width: 768px) {
    .support-hero { padding: 120px 0 60px; }
    .support-hero h1 { font-size: 2rem !important; }
    .support-hero p { font-size: 1rem !important; }
    
    .support-search { margin-top: 30px; }
    .support-search input { padding: 16px 20px 16px 50px; font-size: 1rem; }
    .search-icon { left: 20px; }

    .contact-support-banner { padding: 60px 0; }
    .contact-support-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
    .support-method { padding: 30px 20px; }

    .support-categories { padding: 60px 0; }
    .category-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
    .cat-card { padding: 30px 20px; }

    .faq-section { padding: 60px 0; }
    .faq-list { margin-top: 40px; }
    .faq-trigger { padding: 20px; font-size: 1rem; }
    .faq-content { padding: 0 20px 20px; }
    
    .section-header h2 { font-size: 2rem !important; }
}

/* mobile (≤ 480px) */
@media (max-width: 480px) {
    .support-hero h1 { font-size: 2rem !important; }
    .support-hero { padding: 100px 0 50px; }
    .support-search input { padding-left: 45px; }
    .search-icon { left: 18px; width: 18px; }
    
    .section-header h2 { font-size: 1.8rem !important; }
}

/* mobile-small (≤ 375px) */
@media (max-width: 375px) {
    .support-hero h1 { font-size: 1.8rem !important; }
    .faq-trigger { font-size: 0.95rem; }
}
