/* =============================================
   SPARSH — Support Page Styles
   ============================================= */

/* ---------- PAGE SETTINGS ---------- */
.support-page {
    background: var(--sky-deep);
    color: var(--text-primary);
    overflow-x: hidden;
}


.support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.support-container.small {
    max-width: 800px;
}

.support-section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 40px;
    font-weight: 400;
}

.section-title.centered {
    text-align: center;
}

/* ---------- HERO SECTION ---------- */
.support-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px; 
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
}

.support-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0; /* Animated in JS */
}

.support-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0; /* Animated in JS */
}

.support-chips {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.support-chip {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0; /* Animated in JS */
    transform: translateY(20px);
}

.support-chip:hover {
    background: var(--accent-soft);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-5px);
}

/* ---------- SUPPORT RIGHT CTAS ---------- */
.support-right-ctas {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    z-index: 100;
}

.support-right-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.support-right-btn.explore-products {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border-color: #fff;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.1);
}

.support-right-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-8px);
    border-color: rgba(255, 255, 255, 0.4);
}

.support-right-btn.explore-products:hover {
    background: #ffffff;
    transform: translateX(-10px) scale(1.03);
    box-shadow: 
        0 0 25px rgba(255, 255, 255, 0.5),
        0 0 50px rgba(255, 255, 255, 0.2);
}

@media (max-width: 1000px) {
    .support-right-ctas {
        display: none !important;
    }
}

/* ---------- QUICK SUPPORT CARDS ---------- */
.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.support-card-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.support-card-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.card-desc {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.card-cta {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    position: relative;
}

.card-cta::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.card-cta:hover::after {
    width: 100%;
}

/* ---------- CONTACT COMBINED SECTION ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.form-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select option {
    font-family: 'Inter', sans-serif;
    background-color: #0a1128; /* --sky-deep fallback */
    color: #fff;
}

/* Custom Select Styling */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select__trigger i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.custom-select.open .custom-select__trigger {
    border-color: var(--accent-gold);
    background: rgba(97, 181, 100, 0.05);
}

.custom-select.open .custom-select__trigger i {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 17, 40, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: block;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-option:first-child {
    border-radius: 12px 12px 0 0;
}

.custom-option:last-child {
    border-radius: 0 0 12px 12px;
}

.custom-option:hover {
    background: rgba(97, 181, 100, 0.1);
    color: var(--accent-gold);
}

.custom-option.selected {
    color: var(--accent-gold);
    background: rgba(97, 181, 100, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(97, 181, 100, 0.05);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: rgba(97, 181, 100, 0.1);
    color: #fff;
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(97, 181, 100, 0.3);
}

.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Info Card */
.contact-info-card {
    padding: 20px;
}

.info-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 4px;
}

.info-item strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-item p {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    line-height: 1.6; /* Increased for better legibility with multiple lines */
    margin-bottom: 5px;
}

.info-item p:last-child {
    margin-bottom: 0;
}

/* ---------- WARRANTY TIMELINE ---------- */
.timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.timeline-step {
    position: relative;
    padding: 30px;
}

.step-number {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
}

.step-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
}

.step-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step-content p {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.centered-cta {
    text-align: center;
}

.cta-gold {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent-gold);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(97, 181, 100, 0.3);
}

/* ---------- FAQ ACCORDION ---------- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0 !important; /* Fix for inset hover issue */
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(97, 181, 100, 0.2);
    transform: translateY(-2px);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: transparent; /* Remove the old sharp-edged hover background */
    color: var(--accent-gold);
}

.faq-question i {
    font-size: 0.8rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(97, 181, 100, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important; /* Remove padding that was keeping it visible */
}

.faq-answer p {
    padding: 0 30px 24px;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ---------- SUPPORT PROMISE ---------- */
.promise-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
    min-height: 450px;
}

.promise-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promise-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 40px;
}

.promise-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promise-point {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.promise-point i {
    color: var(--accent-gold);
}

.promise-image-container {
    position: relative;
    overflow: hidden;
}

.promise-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
    padding: 120px 0;
}

.cta-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 20px;
}

.cta-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-outline {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-5px);
}

/* ---------- ANIMATION INITIAL STATES ---------- */
.reveal-up, .reveal-card, .reveal-left, .reveal-right, .reveal-faq, .reveal-step, .page-hero .page-eyebrow {
    opacity: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .promise-card {
        grid-template-columns: 1fr;
    }
    
    .promise-image-container {
        height: 300px;
    }
    
    .support-heading {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }
}

@media (max-width: 768px) {
    .support-section {
        padding: 60px 0;
    }
    
    .support-hero {
        text-align: center;
        min-height: 70vh;
    }
    
    .support-body {
        margin: 0 auto 40px;
    }
    
    .support-chips {
        justify-content: center;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .support-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .timeline-container {
        grid-template-columns: 1fr;
    }
}

