﻿/* ============================================================
   SUPPORT PAGE - ADDYBUDDY THEME
   Professional Services Platform
   ============================================================ */

.support-page {
    padding: 0 0 60px;
    background: linear-gradient(145deg, #f4f9ff 0%, #e8f2fc 100%);
    min-height: 80vh;
}

.support-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Hero Section ────────────────────────────────────────────── */
.support-hero {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-primary) 50%, var(--blue-accent) 100%);
    border-radius: 24px;
    padding: 50px 40px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 75, 122, 0.15);
}

.support-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.04);
    transform: rotate(25deg);
    pointer-events: none;
}

.support-hero-content {
    position: relative;
    z-index: 1;
}

.support-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fcd34d;
    margin: 0 auto 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.support-hero-title .text-gradient {
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Support Options ──────────────────────────────────────────── */
.support-options {
    margin-bottom: 40px;
}

.support-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.support-option-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid rgba(26, 75, 122, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.support-option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(26, 75, 122, 0.08);
}

.support-option-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.support-option-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 0.5rem;
}

.support-option-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.support-option-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--blue-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-option-link:hover {
    gap: 10px;
    color: var(--blue-accent);
}

.support-option-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.support-option-link:hover i {
    transform: translateX(3px);
}

/* ─── Ticket Form ──────────────────────────────────────────────── */
.support-ticket {
    margin-bottom: 40px;
}

.support-ticket-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(26, 75, 122, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.support-ticket-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.support-ticket-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.support-ticket-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-deep);
    margin: 0;
}

.support-ticket-header p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* ─── Success/Error Messages ──────────────────────────────────── */
.support-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 14px 18px;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.support-success i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.support-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 12px;
    padding: 14px 18px;
    color: #dc2626;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.support-error i {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.support-error ul {
    margin: 4px 0 0;
    padding-left: 20px;
}

/* ─── Form Elements ────────────────────────────────────────────── */
.support-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.support-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.support-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.support-form-group label {
    font-weight: 600;
    color: #334155;
    font-size: 0.85rem;
}

.support-form-group label .required {
    color: #ef4444;
    margin-left: 2px;
}

.support-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.support-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 1rem;
    z-index: 2;
}

.support-form-control {
    width: 100%;
    padding: 11px 16px 11px 44px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
    color: var(--gray-dark);
}

.support-form-control:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 4px rgba(26, 75, 122, 0.08);
    background: #ffffff;
}

.support-form-control::placeholder {
    color: #94a3b8;
}

.support-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.support-form-textarea {
    padding-left: 16px;
    min-height: 120px;
    resize: vertical;
}

.support-form .field-validation-error {
    display: block;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 2px;
}

.support-submit-btn {
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
    color: white;
    box-shadow: 0 4px 15px rgba(26, 75, 122, 0.25);
    margin-top: 4px;
}

.support-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 75, 122, 0.35);
    color: white;
}

.support-submit-btn:active {
    transform: scale(0.98);
}

.support-submit-btn i {
    font-size: 1.1rem;
}

/* ─── FAQ Section ──────────────────────────────────────────────── */
.support-faq {
    margin-bottom: 40px;
}

.support-faq-header {
    text-align: center;
    margin-bottom: 32px;
}

.support-faq-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--blue-light);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 0.5rem;
}

.support-faq-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 0.25rem;
}

.support-faq-header p {
    font-size: 1rem;
    color: #64748b;
}

.support-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-faq-item {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef3f7;
    overflow: hidden;
    transition: all 0.3s ease;
}

.support-faq-item:hover {
    border-color: rgba(26, 75, 122, 0.15);
}

.support-faq-item.active {
    border-color: var(--blue-primary);
}

.support-faq-question {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-deep);
    text-align: left;
    transition: all 0.3s ease;
}

.support-faq-question:hover {
    background: #f8fafc;
}

.support-faq-question span {
    flex: 1;
}

.support-faq-question i {
    font-size: 1.1rem;
    color: var(--blue-primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.support-faq-item.active .support-faq-question i {
    transform: rotate(180deg);
}

.support-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
    background: #fafcfe;
}

.support-faq-item.active .support-faq-answer {
    padding: 0 20px 20px;
}

.support-faq-answer p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.7;
    margin: 0;
}

.support-faq-answer .support-link {
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 500;
}

.support-faq-answer .support-link:hover {
    text-decoration: underline;
}

/* ─── Contact Section ──────────────────────────────────────────── */
.support-contact {
    margin-top: 0;
}

.support-contact-content {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(26, 75, 122, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.support-contact-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue-deep);
    margin: 0.5rem 0 0.5rem;
}

.support-contact-content p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.support-contact-methods {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.support-contact-method {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1rem;
    background: #f8fafc;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #334155;
    border: 1px solid #eef3f7;
}

.support-contact-method i {
    color: var(--blue-primary);
    font-size: 1rem;
}

.support-contact-method a {
    color: var(--blue-primary);
    text-decoration: none;
}

.support-contact-method a:hover {
    text-decoration: underline;
}

.support-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 75, 122, 0.25);
}

.support-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 75, 122, 0.35);
    color: #ffffff;
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 992px) {
    .support-hero-title {
        font-size: 2.2rem;
    }
    .support-hero {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .support-hero {
        padding: 30px 20px;
    }
    .support-hero-title {
        font-size: 1.8rem;
    }
    .support-hero-sub {
        font-size: 1rem;
    }
    .support-hero-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }
    .support-options-grid {
        grid-template-columns: 1fr 1fr;
    }
    .support-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .support-ticket-card {
        padding: 24px 20px;
    }
    .support-ticket-header {
        flex-direction: column;
        text-align: center;
    }
    .support-faq-header h2 {
        font-size: 1.4rem;
    }
    .support-contact-content {
        padding: 24px 20px;
    }
    .support-contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .support-hero-title {
        font-size: 1.4rem;
    }
    .support-options-grid {
        grid-template-columns: 1fr;
    }
    .support-ticket-card {
        padding: 18px 14px;
    }
    .support-form-control {
        font-size: 0.9rem;
        padding: 10px 14px 10px 38px;
    }
    .support-form-textarea {
        padding-left: 14px;
        min-height: 100px;
    }
    .support-submit-btn {
        font-size: 0.9rem;
        padding: 12px 24px;
    }
    .support-faq-question {
        font-size: 0.85rem;
        padding: 14px 16px;
    }
    .support-faq-answer p {
        font-size: 0.85rem;
    }
    .support-contact-btn {
        width: 100%;
        justify-content: center;
    }
}