/* ============================================
   support.css - Deecipher Technologies
   Support & Help Center Page Styles
   Follows the same design system as about.css, careers.css, and research-and-innovation.css
   Version: 2.0 | Production Ready
   ============================================ */

/* ============================================
   1. Hero Section (Original About Page Style)
   ============================================ */
.support-hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.support-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
}

.section-tag.center {
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--neutral-500);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Stats Row */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    line-height: 1.2;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--neutral-500);
    font-weight: 500;
}

/* Testimonial Feature Card */
.testimonial-feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.testimonial-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    opacity: 0.4;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.author-info span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

/* ============================================
   2. Quick Support Options Section
   ============================================ */
.quick-support-section {
    padding: 80px 0;
    background: var(--white);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--neutral-500);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.support-option-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.support-option-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.support-option-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.support-option-icon i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.support-option-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.support-option-card p {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-support-option {
    background: transparent;
    border: 1px solid var(--primary-blue);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-support-option:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   3. Knowledge Base Section
   ============================================ */
.knowledge-base-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.kb-category-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.kb-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.kb-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.kb-icon i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}

.kb-category-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.kb-category-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.kb-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kb-article-list li {
    margin-bottom: 0.5rem;
}

.kb-article-list li a {
    font-size: 0.85rem;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.kb-article-list li a:hover {
    color: var(--primary-purple);
    padding-left: 4px;
}

/* ============================================
   4. FAQ Support Section
   ============================================ */
.faq-support-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-support-item {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--neutral-200);
    overflow: hidden;
}

.faq-support-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-support-question:hover {
    background: rgba(26, 35, 126, 0.05);
}

.faq-support-question i {
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.faq-support-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-support-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.7;
    border-top: 1px solid var(--neutral-200);
}

.faq-support-answer ul,
.faq-support-answer ol {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
}

.faq-support-answer li {
    margin-bottom: 0.35rem;
}

/* ============================================
   5. Support Channels Section
   ============================================ */
.channels-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.channel-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.channel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.channel-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.channel-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.channel-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.channel-email,
.channel-phone,
.channel-whatsapp {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.channel-card p {
    font-size: 0.85rem;
    color: var(--neutral-500);
    margin-bottom: 1.25rem;
}

.btn-channel {
    background: transparent;
    border: 1px solid var(--primary-blue);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-channel:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   6. System Status Section
   ============================================ */
.status-section {
    padding: 80px 0;
    background: var(--white);
}

.status-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    border-radius: 24px;
    padding: 2rem;
    color: white;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.operational {
    background-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.status-dot.degraded {
    background-color: #f59e0b;
}

.status-dot.outage {
    background-color: #ef4444;
}

.status-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.status-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.status-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.btn-status {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-status:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.service-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-name {
    font-size: 0.85rem;
}

.service-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.service-dot.operational {
    background-color: #22c55e;
}

/* ============================================
   7. Resources Section
   ============================================ */
.resources-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.resource-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.resource-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.resource-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.resource-card p {
    font-size: 0.85rem;
    color: var(--neutral-500);
    margin-bottom: 1.25rem;
}

.resource-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.resource-link:hover {
    gap: 0.75rem;
    color: var(--primary-purple);
}

/* ============================================
   8. CTA Section
   ============================================ */
.cta-support-section {
    padding: 80px 0;
    background: var(--white);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: white;
    color: var(--primary-blue);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--neon-blue);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: white;
}

/* ============================================
   9. Modal Styles
   ============================================ */
.modal-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    padding: 1.25rem 1.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-weight: 700;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--neutral-200);
    padding: 1rem 1.5rem;
}

.emergency-header {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.emergency-text {
    font-size: 1rem;
    color: var(--neutral-600);
    margin-bottom: 1rem;
}

.emergency-phone,
.emergency-email {
    background: var(--neutral-100);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.emergency-note {
    font-size: 0.8rem;
    color: var(--neutral-500);
}

.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--neutral-700);
    margin-bottom: 0.35rem;
}

.form-control,
.form-select {
    padding: 0.7rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--neutral-300);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
    outline: none;
}

.btn-secondary {
    background: var(--neutral-200);
    color: var(--neutral-700);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
}

.btn-secondary:hover {
    background: var(--neutral-300);
}

/* ============================================
   10. Toast / Live Chat Styles
   ============================================ */
.toast {
    min-width: 300px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.toast-header {
    border-radius: 16px 16px 0 0;
    background: var(--white);
    border-bottom: 1px solid var(--neutral-200);
}

/* ============================================
   11. Responsive Styles
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .stats-row {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .support-hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stats-row {
        gap: 1rem;
        justify-content: space-between;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .section-subheading {
        font-size: 1rem;
    }
    
    .support-option-card,
    .kb-category-card,
    .channel-card,
    .resource-card {
        padding: 1.25rem;
    }
    
    .support-option-icon {
        width: 65px;
        height: 65px;
    }
    
    .support-option-icon i {
        font-size: 2rem;
    }
    
    .status-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .status-card .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .service-status {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .stats-row {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 0.5rem);
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .faq-support-question {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-support-answer {
        padding: 0 1rem 1rem;
        font-size: 0.85rem;
    }
    
    .channel-icon {
        width: 55px;
        height: 55px;
    }
    
    .channel-icon i {
        font-size: 1.5rem;
    }
    
    .emergency-phone,
    .emergency-email {
        font-size: 1rem;
    }
}

/* ============================================
   12. Utility Classes
   ============================================ */
.bg-light {
    background-color: var(--neutral-100) !important;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

/* Animation Overrides */
[data-aos] {
    pointer-events: auto !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .info-strip,
    .navbar,
    .cta-support-section,
    .modal,
    footer,
    .status-section,
    .channels-section {
        display: none;
    }
    
    .support-hero-section,
    .quick-support-section,
    .knowledge-base-section,
    .faq-support-section,
    .resources-section {
        padding: 20px 0;
        break-inside: avoid;
    }
    
    .support-option-card,
    .kb-category-card,
    .resource-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}