:root {
    /* Main background: Very light, modern gray-blue */
    --bg: #f8fafc; 
    
    /* Card backgrounds: Pure white for elevation */
    --card: #ffffff; 
    
    /* Primary Aero Blue (#3f6ac9) */
    --mint: #3f6ac9; 
    
    /* Deep Navy for secondary depth and contact boxes */
    --violet: #1e293b; 
    --blue: #3f6ac9;
    
    /* Text: High contrast charcoal */
    --text-high: #0f172a; 
    
    /* Muted text: Slate gray */
    --text-low: #64748b; 
    
    /* Borders: Soft blue-tinted gray */
    --border: #e2e8f0; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text-high);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
}

/* --- NAVIGATION --- */
.support-nav {
    padding: 20px 5%;
    background: white;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--text-high); letter-spacing: 2px; }
.logo span { color: var(--mint); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-low); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--mint); }

.btn-ticket { 
    background: #f1f5f9; 
    color: var(--mint);
    padding: 10px 24px; 
    border-radius: 50px; 
    border: 1px solid var(--border); 
    font-weight: 700;
    transition: 0.3s; 
}
.btn-ticket:hover { background: var(--mint); color: white; border-color: var(--mint); }

/* --- HERO SECTION --- */
.support-hero {
    padding: 100px 5% 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: white;
}

.glow-blur {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background: radial-gradient(circle, rgba(63, 106, 201, 0.08), transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.hero-content { position: relative; z-index: 1; }
.support-hero h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    margin-bottom: 40px; 
    letter-spacing: -2px; 
    color: var(--text-high);
}
.gradient-text { 
    background: linear-gradient(90deg, var(--mint), var(--violet)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.search-container i { position: absolute; left: 25px; color: var(--text-low); font-size: 1.2rem; }
.search-container input {
    width: 100%;
    background: white;
    border: 1px solid var(--border);
    padding: 22px 30px 22px 65px;
    border-radius: 20px;
    color: var(--text-high);
    font-size: 1.1rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    outline: none;
    transition: 0.3s ease;
}

.search-container input:focus { 
    border-color: var(--mint); 
    box-shadow: 0 0 0 5px rgba(63, 106, 201, 0.05); 
}

.quick-tags { margin-top: 25px; display: flex; justify-content: center; gap: 15px; font-size: 0.85rem; }
.quick-tags span { color: var(--text-low); font-weight: 600; }
.quick-tags a { color: var(--mint); text-decoration: none; font-weight: 700; transition: 0.2s; }
.quick-tags a:hover { color: var(--violet); text-decoration: underline; }

/* --- MAIN CATEGORIES GRID --- */
.support-main {
    max-width: 1200px;
    margin: -60px auto 100px;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.help-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 30px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.03);
}

.help-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--mint); 
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08); 
}

.icon-box {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.icon-box.mint { background: rgba(63, 106, 201, 0.1); color: var(--mint); }
.icon-box.violet { background: rgba(30, 41, 59, 0.05); color: var(--violet); }
.icon-box.blue { background: rgba(63, 106, 201, 0.1); color: var(--blue); }
.icon-box.gray { background: #f1f5f9; color: var(--text-low); }

.help-card h3 { margin-bottom: 15px; font-size: 1.25rem; color: var(--text-high); font-weight: 800; }
.help-card p { color: var(--text-low); font-size: 0.95rem; margin-bottom: 25px; font-weight: 500; }
.learn-more { text-decoration: none; color: var(--mint); font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; gap: 10px; transition: 0.2s; }
.learn-more:hover { gap: 15px; }

/* --- CONTACT SECTION (Navy Contrast) --- */
.support-contact { margin-top: 80px; }
.contact-box {
    background: var(--violet);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    color: white;
}

.contact-box h2 { font-size: 2rem; margin-bottom: 10px; font-weight: 800; }
.contact-box p { color: #94a3b8; max-width: 400px; font-weight: 500; }

.actions { display: flex; gap: 15px; }
.btn-chat { 
    background: var(--mint); 
    color: white; 
    border: none; 
    padding: 18px 35px; 
    border-radius: 16px; 
    font-weight: 800; 
    cursor: pointer; 
    transition: 0.3s;
}
.btn-chat:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(63, 106, 201, 0.3); }

.btn-email { 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    color: white; 
    padding: 18px 35px; 
    border-radius: 16px; 
    font-weight: 800; 
    cursor: pointer; 
    transition: 0.3s;
}
.btn-email:hover { background: rgba(255, 255, 255, 0.1); }

/* --- FOOTER --- */
.support-footer { text-align: center; padding: 60px; border-top: 1px solid var(--border); color: var(--text-low); font-size: 0.8rem; font-weight: 600; }

@media (max-width: 800px) {
    .contact-box { flex-direction: column; text-align: center; padding: 40px 25px; }
    .actions { width: 100%; flex-direction: column; }
    .btn-chat, .btn-email { width: 100%; text-align: center; }
    .support-hero { padding-top: 60px; }
}


/* --- RESPONSIVE MEDIA QUERIES --- */

@media (max-width: 800px) {
    .support-nav { padding: 12px 4%; }
    
    .nav-links a:not(.btn-ticket) {
        display: none; /* Hide non-essential links on mobile to save space */
    }

    .support-main { margin-top: -30px; }

    .contact-box { 
        flex-direction: column; 
        text-align: center; 
    }

    .actions { width: 100%; flex-direction: row; }
    
    .btn-chat, .btn-email { 
        padding: 14px 20px; 
    }
}

@media (max-width: 480px) {
    .logo { font-size: 1.1rem; }
    
    .support-hero h1 { margin-bottom: 20px; }
    
    .search-container input {
        padding: 15px 20px 15px 50px;
        font-size: 0.95rem;
    }

    .actions { flex-direction: column; }
    
    .help-card { padding: 25px; }
    
    .support-footer { padding: 40px 20px; }
}