/* ===== ZapTap God-Level Tabbed Mega Menu ===== */

/* Reset old nav styles */
.navbar, .nav-container, .nav-links, .mobile-toggle, .mega-menu, .dropdown-menu, .nav-cta {
    all: unset;
    display: revert;
}

/* ===== NAV BAR ===== */
.zt-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid #e8eaed;
    font-family: var(--font-body);
}

.zt-nav.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.zt-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 64px;
    gap: 8px;
}

/* ===== LOGO ===== */
.zt-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 16px;
}

.zt-logo-icon {
    font-size: 1.6rem;
    color: var(--primary);
}

.zt-logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary, #122969);
}

/* ===== TABS ===== */
.zt-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.zt-tabs::-webkit-scrollbar {
    display: none;
}

.zt-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 20px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    position: relative;
}

.zt-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.zt-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.zt-tab svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.zt-tab.active svg {
    transform: rotate(180deg);
}

.zt-tab-link {
    text-decoration: none;
}

/* ===== NAV RIGHT ===== */
.zt-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.zt-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: var(--cta, #f2b843);
    color: #1a1a2e;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: var(--font-body);
}

.zt-cta-btn:hover {
    background: var(--cta-hover, #e5a52e);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 184, 67, 0.3);
}

.zt-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.zt-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== PANELS ===== */
.zt-panels-wrap {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 9998;
    pointer-events: none;
}

.zt-panel {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid #e8eaed;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    animation: ztPanelIn 0.2s ease;
}

.zt-panel.active {
    display: block;
}

@keyframes ztPanelIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.zt-panel-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
    display: flex;
    gap: 0;
}

/* ===== PANEL COLUMNS ===== */
.zt-panel-col {
    flex: 1;
    padding: 0 28px;
    border-right: 1px solid #f0f1f4;
}

.zt-panel-col:first-child {
    padding-left: 0;
}

.zt-panel-col:last-of-type {
    border-right: none;
}

/* Column heading */
.zt-panel-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f1f4;
}

.zt-panel-heading h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: 0;
    text-transform: none;
}

/* Column icons */
.zt-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.zt-icon-blue { background: #dbeafe; color: #2563eb; }
.zt-icon-green { background: #d1fae5; color: #059669; }
.zt-icon-yellow { background: #fef3c7; color: #d97706; }
.zt-icon-purple { background: #ede9fe; color: #7c3aed; }
.zt-icon-pink { background: #fce7f3; color: #db2777; }
.zt-icon-red { background: #fee2e2; color: #dc2626; }

/* Column links */
.zt-panel-col a {
    display: block;
    padding: 7px 0;
    font-size: 0.88rem;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.zt-panel-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* ===== PROMO CARD ===== */
.zt-panel-promo {
    min-width: 220px;
    max-width: 240px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: 24px;
    flex-shrink: 0;
}

.zt-promo-stat {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.zt-promo-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.zt-promo-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--cta, #f2b843);
    color: #1a1a2e;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.zt-promo-btn:hover {
    background: var(--cta-hover, #e5a52e);
    transform: translateY(-1px);
}

/* ===== OVERLAY ===== */
.zt-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.zt-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ===== MOBILE DRAWER ===== */
.zt-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 340px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 10001;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
}

.zt-mobile-drawer.active {
    right: 0;
}

.zt-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e8eaed;
}

.zt-drawer-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.zt-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

/* Accordion */
.zt-accordion {
    display: flex;
    flex-direction: column;
}

.zt-acc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background: none;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    text-align: left;
}

.zt-acc-trigger svg {
    transition: transform 0.2s ease;
    color: #9ca3af;
    flex-shrink: 0;
}

.zt-acc-item.open .zt-acc-trigger {
    color: var(--primary);
}

.zt-acc-item.open .zt-acc-trigger svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.zt-acc-content {
    display: none;
    padding: 4px 20px 12px 32px;
    background: #fafbfc;
    border-bottom: 1px solid #f3f4f6;
}

.zt-acc-item.open .zt-acc-content {
    display: block;
}

.zt-acc-content a {
    display: block;
    padding: 8px 0;
    font-size: 0.88rem;
    color: #4b5563;
    text-decoration: none;
    border-bottom: 1px solid #f0f1f4;
}

.zt-acc-content a:last-child {
    border-bottom: none;
}

.zt-acc-content a:hover {
    color: var(--primary);
}

.zt-acc-direct {
    display: block;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.zt-acc-direct:hover {
    color: var(--primary);
}

.zt-drawer-cta {
    display: block;
    margin: 16px 20px;
    padding: 14px;
    background: var(--cta, #f2b843);
    color: #1a1a2e;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .zt-tab {
        padding: 20px 10px;
        font-size: 0.82rem;
    }
}

@media (max-width: 1024px) {
    .zt-tabs {
        display: none;
    }

    .zt-burger {
        display: flex;
    }

    .zt-panels-wrap {
        display: none;
    }
}

@media (max-width: 480px) {
    .zt-cta-btn {
        display: none;
    }
}

/* ===== SPACER for fixed nav ===== */
body {
    padding-top: 64px;
}

/* ============================================
   GOD-LEVEL FOOTER — Clean, White, Clutch-style
   ============================================ */

/* Reset old footer */
.footer, .footer-grid, .footer-brand, .footer-links, .footer-bottom,
.footer-grid-6, .footer-grid-5, .footer-row-2 {
    all: unset;
    display: revert;
}

.zt-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    font-family: var(--font-body);
    color: #374151;
}

.zt-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TOP SECTION ===== */
.zt-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 56px 0 48px;
}

/* Brand Column */
.zt-footer-brand {
    padding-right: 24px;
}

.zt-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 16px;
}

.zt-footer-logo .zt-logo-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.zt-footer-logo .zt-logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
}

.zt-footer-address {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.zt-footer-contact-link {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.zt-footer-contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Social Icons */
.zt-footer-social {
    display: flex;
    gap: 12px;
}

.zt-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #6b7280;
    transition: all 0.2s ease;
}

.zt-footer-social a:hover {
    color: #111827;
    background: #f3f4f6;
}

/* Link Columns */
.zt-footer-col {
    display: flex;
    flex-direction: column;
}

.zt-footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.zt-footer-col a {
    font-size: 0.88rem;
    color: #6b7280;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.15s ease;
    line-height: 1.5;
}

.zt-footer-col a:hover {
    color: var(--primary);
}

/* ===== BOTTOM BAR ===== */
.zt-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 12px;
}

.zt-footer-legal {
    display: flex;
    gap: 24px;
}

.zt-footer-legal a {
    font-size: 0.82rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease;
}

.zt-footer-legal a:hover {
    color: #374151;
}

.zt-footer-copy {
    font-size: 0.82rem;
    color: #9ca3af;
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 1024px) {
    .zt-footer-top {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }

    .zt-footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        padding-bottom: 24px;
        border-bottom: 1px solid #f0f1f4;
    }
}

@media (max-width: 768px) {
    .zt-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 40px 0 32px;
    }

    .zt-footer-brand {
        grid-column: 1 / -1;
    }

    .zt-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .zt-footer-legal {
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .zt-footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .zt-footer-col h4 {
        margin-bottom: 10px;
    }
}
