/* =========================================================
   Bancoresy Support Page
   File: css/support.css
   Purpose:
   - Align support.html with index.html and privacy-policy.html
   - Compatible with current support.html structure:
     .header / .nav-container / .nav / .footer / .footer-grid
   - Also compatible with global structure:
     .navbar / .nav-content / .site-footer / .footer-container
   ========================================================= */


/* =========================================================
   0. Base Compatibility
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: #ffffff;
}


/* =========================================================
   1. Header Compatibility
   Current support.html uses:
   <header class="header">
     <div class="container nav-container">
   This block makes it look like the site's .navbar.
   ========================================================= */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--dark);
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 20px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover {
    color: var(--primary);
}

.nav a.active {
    background: var(--dark) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}


/* =========================================================
   2. Support Header Area
   Match privacy-wrapper / privacy-header style
   ========================================================= */

.support-hero {
    padding: 160px 0 50px;
    background: #f4f7fa;
    color: var(--dark);
    text-align: center;
}

.support-hero::before,
.support-hero::after {
    display: none !important;
}

.support-hero .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.support-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.support-hero .section-tag {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.support-hero .section-tag::before {
    display: none !important;
}

.support-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin: 15px 0;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.support-hero p {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}


/* =========================================================
   3. Main Content Card
   Match privacy-content style
   ========================================================= */

.support-main {
    padding: 0 0 100px;
    background: #f4f7fa;
    min-height: auto;
}

.support-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px 80px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border);
}


/* =========================================================
   4. Support Sections
   Match policy-section style
   ========================================================= */

.support-section {
    position: relative;
    margin-bottom: 60px;
    padding: 0;
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.support-section::before {
    display: none !important;
}

.support-section:last-child {
    margin-bottom: 0;
}

.support-section h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark);
    line-height: 1.35;
    letter-spacing: normal;
}

.support-section h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 12px;
    line-height: 1.4;
}

.support-section p,
.support-section li {
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 15px;
}

.support-section p:last-child {
    margin-bottom: 0;
}


/* Optional number badge support:
   If later h2 is changed to:
   <h2><i class="num">01</i> Support Overview</h2>
*/

.support-section h2 .num {
    font-style: normal;
    background: var(--dark);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}


/* =========================================================
   5. Support Topic Cards
   Aligned with privacy warning-grid style,
   but uses business-blue instead of warning-red.
   ========================================================= */

.support-topic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0 0;
}

.support-topic-card {
    position: relative;
    min-height: auto;
    padding: 20px;
    overflow: visible;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: transform 0.3s;
}

.support-topic-card::after {
    display: none !important;
}

.support-topic-card:hover {
    transform: translateY(-3px);
    border-color: #dbeafe;
    box-shadow: none;
}

.topic-number {
    display: none;
}

.support-topic-card h3 {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 800;
}

.support-topic-card p {
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
    color: var(--slate);
}


/* =========================================================
   6. Support List
   Match privacy ul / li style
   ========================================================= */

.support-list {
    padding-left: 20px;
    margin-bottom: 20px;
    list-style: disc;
}

.support-list li {
    position: static;
    padding-left: 0;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 15px;
}

.support-list li::before {
    display: none !important;
}


/* =========================================================
   7. FAQ
   Document-style FAQ aligned with privacy page
   ========================================================= */

.faq-list {
    margin-top: 0;
}

.faq-item {
    padding: 0 0 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.faq-item h3 {
    position: relative;
    margin: 0 0 10px;
    padding-left: 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 800;
}

.faq-item h3::before {
    display: none !important;
}

.faq-item p {
    margin: 0;
    padding-left: 0;
    color: var(--slate);
    line-height: 1.8;
    font-size: 15px;
}


/* =========================================================
   8. Contact Card
   Match privacy-contact-card style
   ========================================================= */

.contact-section {
    border-top: 1px solid var(--border);
    padding-top: 50px;
}

.support-contact-card {
    background: var(--dark);
    color: #ffffff;
    padding: 40px;
    border-radius: 24px;
    margin-top: 30px;
    border: none;
    overflow: visible;
}

.contact-row {
    display: block;
    padding: 0;
    border-bottom: none;
    margin-bottom: 12px;
}

.contact-row:last-child {
    margin-bottom: 0;
}

.contact-label {
    display: inline;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: normal;
}

.contact-label::after {
    content: ": ";
}

.contact-value {
    display: inline;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.contact-value a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    text-decoration: none;
}

.contact-value a:hover {
    color: #ffffff;
    text-decoration: underline;
}


/* =========================================================
   9. Footer - Current support.html compatibility
   Current support.html:
   <footer class="footer">
     <div class="container footer-grid">...</div>
     <div class="copyright">...</div>
   This makes width and background match index/privacy footer.
   ========================================================= */

.footer {
    background: #f8fafc;
    padding: 100px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 0;
    width: 100%;
}

.footer .footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px 80px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Override global .container padding conflict when used together with .footer-grid */
.footer .container.footer-grid {
    width: 100%;
    max-width: 1240px;
    padding-left: 40px;
    padding-right: 40px;
}

.footer h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 25px;
    position: relative;
    display: block;
}

.footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 20px;
    height: 2px;
    background: var(--primary);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    font-size: 14px;
    color: var(--slate);
    margin-bottom: 15px;
    line-height: 1.6;
    word-break: break-word;
}

.footer a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Full-width copyright bar fix */
.footer > .copyright,
.footer .copyright {
    width: 100%;
    max-width: none;
    background: #ffffff;
    border-top: 1px solid var(--border);
    margin: 0;
    padding: 30px calc((100% - 1240px) / 2 + 40px);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}


/* =========================================================
   10. Footer - site-footer compatibility
   If you replace support.html footer with the same structure
   as privacy-policy.html, this block will also work.
   ========================================================= */

.site-footer {
    background: #f8fafc;
    padding: 100px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 0;
    width: 100%;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px 80px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 25px;
    position: relative;
    display: block;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 20px;
    height: 2px;
    background: var(--primary);
}

.contact-list,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li,
.footer-links li {
    font-size: 14px;
    color: var(--slate);
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-list .label {
    font-weight: 700;
    color: var(--dark);
}

.contact-list p {
    margin: 6px 0 0;
    color: var(--slate);
    line-height: 1.6;
}

.footer-links a {
    color: var(--slate);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    background: #ffffff;
    border-top: 1px solid var(--border);
    width: 100%;
}

.bottom-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 40px;
}

.bottom-container .copyright {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}


/* =========================================================
   11. Responsive
   ========================================================= */

@media (max-width: 1024px) {
    .footer .footer-grid,
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer .footer-grid > div:first-child,
    .footer-column.company-info {
        grid-column: span 2;
    }

    .footer > .copyright,
    .footer .copyright {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 900px) {
    .nav a {
        margin-left: 10px;
        font-size: 13px;
        padding: 9px 14px;
    }
}

@media (max-width: 850px) {
    .support-hero {
        padding: 140px 0 40px;
    }

    .support-hero h1 {
        font-size: 32px;
    }

    .support-container {
        padding: 40px;
    }

    .support-topic-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .nav-container {
        padding: 0 40px;
    }

    .support-container {
        padding: 40px;
    }

    .footer {
        padding-top: 70px;
    }

    .footer .footer-grid,
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 0 40px 60px;
        text-align: center;
    }

    .footer .footer-grid > div:first-child,
    .footer-column.company-info {
        grid-column: auto;
    }

    .footer h4::after,
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer a:hover,
    .footer-links a:hover {
        transform: none;
    }

    .footer > .copyright,
    .footer .copyright,
    .bottom-container {
        padding: 26px 40px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .support-hero {
        padding: 120px 0 35px;
    }

    .support-hero .container {
        padding: 0 24px;
    }

    .support-hero h1 {
        font-size: 30px;
    }

    .support-container {
        padding: 25px;
    }

    .support-section h2 {
        font-size: 22px;
    }

    .support-contact-card {
        padding: 28px;
    }

    .footer .footer-grid,
    .footer-container,
    .bottom-container,
    .footer > .copyright,
    .footer .copyright {
        padding-left: 24px;
        padding-right: 24px;
    }
}