/* ===== SUPPORT PAGE STYLES ===== */

/* Hero Section */
.support-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.support-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid transparent;
    border-radius: 50px 0 0 50px;
}

.search-input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn-search {
    padding: 15px 30px;
    background: #0a58ca;
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: #084298;
    color: white;
}

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

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

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

.category-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-links li {
    margin-bottom: 0.75rem;
}

.category-links a {
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.category-links a:hover {
    color: #0d6efd;
    transform: translateX(5px);
}

.category-links i {
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.accordion-item {
    background: white;
    border: none;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: white;
    color: #1a1a2e;
    font-weight: 600;
    padding: 1.25rem;
    border-radius: 10px;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #0d6efd;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: #495057;
    line-height: 1.7;
}

.accordion-body ol,
.accordion-body ul {
    margin-top: 1rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

/* Video Tutorials */
.video-tutorials {
    padding: 80px 0;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    background: #f0f0f0;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    background: #0d6efd;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: white;
    font-size: 1.25rem;
    margin-left: 3px;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Support Section */
.contact-support {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.contact-support h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-support p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.contact-support .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 50px;
}

.contact-support .btn-light {
    color: #0d6efd;
}

.contact-support .btn-light:hover {
    background: #f8f9fa;
    color: #0a58ca;
}

.contact-support .btn-outline-light:hover {
    background: white;
    color: #0d6efd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .search-input,
    .btn-search {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .contact-support .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-support .btn-lg.me-3 {
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .support-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .support-categories,
    .video-tutorials {
        padding: 60px 0;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1.25rem;
    }
}
