/* =========================================================================
   SUPPORT PAGE - Advanced Designer Layout
   ========================================================================= */

/* -------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------- */
.sp-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
    padding: 120px 0 80px;
}

.sp-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(255, 127, 80, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 150, 255, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.sp-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 127, 80, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 127, 80, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.sp-hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #f5f7fa;
    clip-path: ellipse(60% 100% at 50% 100%);
    z-index: 1;
}

.sp-hero-badge {
    display: inline-block;
    background: rgba(255, 127, 80, 0.12);
    border: 1px solid rgba(255, 127, 80, 0.25);
    color: var(--brand-orange);
    padding: 6px 16px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.sp-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1.08;
    margin-bottom: 18px;
}

.sp-hero-desc {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 30px;
}

/* --- Search Box --- */
.sp-search-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-dark);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 6px 6px 6px 20px;
    max-width: 500px;
    margin-bottom: 30px;
    transition: 0.3s;
}

.sp-search-box:focus-within {
    border-color: rgba(255, 127, 80, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.05);
}

.sp-search-box i {
    color: var(--text-gray);
    opacity: 0.4;
}

.sp-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 12px 0;
    font-size: 0.9rem;
}

.sp-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

/* --- Stats --- */
.sp-hero-stats {
    display: flex;
    gap: 30px;
}

.sp-hero-stats strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1;
}

.sp-hero-stats span {
    font-size: 0.75rem;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   QUICK CONTACT
   ------------------------------------------------------------------------- */
.sp-quick {
    background: #f5f7fa;
    padding: 0 0 60px;
    position: relative;
    z-index: 2;
}

.sp-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sp-quick-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    position: relative;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.sp-quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.35s;
}

.sp-quick-card:hover::before {
    transform: scaleX(1);
}

.sp-quick-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 127, 80, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.sp-quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 127, 80, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: 0.3s;
}

.sp-quick-card:hover .sp-quick-icon {
    background: rgba(255, 127, 80, 0.15);
}

.sp-quick-icon i {
    font-size: 1.2rem;
    color: var(--brand-orange);
}

.sp-quick-card h6 {
    color: #222;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.sp-quick-card p {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin: 0;
}

.sp-quick-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--text-gray);
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.35s;
}

.sp-quick-card:hover .sp-quick-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--brand-orange);
}

/* -------------------------------------------------------------------------
   MAIN CONTENT
   ------------------------------------------------------------------------- */
.sp-main {
    background: #f5f7fa;
    padding: 60px 0 80px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.sp-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 10px;
}

.sp-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #222;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.sp-section-desc {
    color: var(--text-gray);
    margin-bottom: 36px;
    max-width: 600px;
}

/* --- FAQ --- */
.sp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-faq-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.sp-faq-item:hover {
    border-color: rgba(255, 127, 80, 0.1);
}

.sp-faq-item.active {
    border-color: rgba(255, 127, 80, 0.2);
}

.sp-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: transparent;
    border: none;
    color: #333;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
}

.sp-faq-question i {
    font-size: 0.75rem;
    color: var(--text-gray);
    transition: 0.35s;
    flex-shrink: 0;
}

.sp-faq-item.active .sp-faq-question i {
    transform: rotate(180deg);
    color: var(--brand-orange);
}

.sp-faq-item.active .sp-faq-question {
    color: var(--brand-orange);
}

.sp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.sp-faq-item.active .sp-faq-answer {
    max-height: 500px;
    padding: 0 22px 18px;
}

.sp-faq-answer p {
    color: var(--text-gray);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}

/* --- Ticket Card --- */
.sp-ticket-card {
    background: #fff;
    border: 1px solid rgba(255, 127, 80, 0.1);
    border-radius: 20px;
    padding: 32px;
    position: sticky;
    top: 100px;
}

.sp-ticket-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.sp-ticket-header i {
    font-size: 1.8rem;
    color: var(--brand-orange);
}

.sp-ticket-header h5 {
    color: #222;
    font-weight: 700;
    margin: 0;
}

.sp-ticket-header p {
    color: var(--text-gray);
    font-size: 0.82rem;
    margin: 2px 0 0;
}

.sp-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.sp-input {
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    color: #333;
    font-size: 0.88rem;
    outline: none;
    transition: 0.3s;
}

.sp-input:focus {
    border-color: rgba(255, 127, 80, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.04);
}

.sp-input::placeholder {
    color: rgba(0,0,0,0.25);
}

.sp-input option {
    background: #fff;
    color: #333;
}

.sp-textarea {
    resize: vertical;
    min-height: 120px;
}

.sp-submit-btn {
    padding: 14px;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* -------------------------------------------------------------------------
   CATEGORIES
   ------------------------------------------------------------------------- */
.sp-categories {
    background: #fff;
    padding: 80px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.sp-cat-card {
    display: block;
    background: #f5f7fa;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    text-decoration: none;
    transition: 0.35s;
    height: 100%;
}

.sp-cat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 127, 80, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.sp-cat-card i {
    font-size: 2.2rem;
    color: var(--brand-orange);
    margin-bottom: 16px;
    transition: 0.3s;
}

.sp-cat-card:hover i {
    transform: scale(1.15);
}

.sp-cat-card h6 {
    color: #222;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    transition: 0.3s;
}

.sp-cat-card:hover h6 {
    color: var(--brand-orange);
}

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

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .sp-quick-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sp-hero {
        min-height: 45vh;
        padding: 100px 0 60px;
    }
    .sp-ticket-card {
        position: static;
    }
}

@media (max-width: 576px) {
    .sp-quick-grid {
        grid-template-columns: 1fr;
    }
    .sp-hero-stats {
        gap: 20px;
    }
    .sp-hero-stats strong {
        font-size: 1.3rem;
    }
    .sp-search-box {
        max-width: 100%;
    }
    .sp-section-title {
        font-size: 1.5rem;
    }
    .sp-ticket-card {
        padding: 24px 18px;
    }
}
