/* =========================================
   GYB360° — Header & Footer Component Styles
   Material Design 3: Teal + Orange
   ========================================= */

/* ================== HEADER ================== */
.gyb-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(247, 250, 250, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 83, 91, 0.12);
    transition: all 0.3s;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.2s;
}

.header-logo:active { transform: scale(0.95); }

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #00535b;
    letter-spacing: -0.5px;
    line-height: 1;
    margin: 0;
}

.logo-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #3e494a;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 4px;
}

/* Nav Links */
.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #3e494a;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00535b;
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #00535b;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Partner Link */
.partner-link {
    color: #fe9832 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-link:hover {
    color: #8f4e00 !important;
}

.partner-link::after {
    background: #fe9832 !important;
}

.pulse-dot {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #fe9832;
    animation: pulse-ring 1.5s infinite;
    opacity: 0.5;
}

.pulse-core {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fe9832;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* CTA Section */
.header-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cta-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #3e494a;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, #fe9832, #FF7F50);
    color: #fff;
    padding: 10px 24px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(254, 152, 50, 0.25);
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 152, 50, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    border: none;
    background: none;
    color: #00535b;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Menu */
.gyb-header .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(247, 250, 250, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 83, 91, 0.1);
}

.gyb-header .mobile-menu.open {
    display: flex;
}

.gyb-header .mobile-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #181c1d;
    padding: 12px 0;
    border-bottom: 1px solid #bec8ca40;
    text-decoration: none;
}

.gyb-header .mobile-menu a.active {
    color: #00535b;
    font-weight: 600;
}

.partner-mobile {
    color: #fe9832 !important;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    .header-nav, .header-cta { display: none; }
    .mobile-toggle { display: flex; }
}

/* ================== FOOTER ================== */
.gyb-footer {
    background: #00535b;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    border-top: 1px solid rgba(130, 211, 222, 0.15);
}

.footer-grid-bg {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjEiIGZpbGw9IiM5YmVjZjciIGZpbGwtb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==");
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 10;
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 24px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 32px;
}

.footer-col p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-brand {
    border: 1px solid rgba(130, 211, 222, 0.1);
    border-radius: 12px;
    padding: 24px;
    background: rgba(255,255,255,0.03);
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #9becf7;
    letter-spacing: -0.5px;
    margin: 0 0 8px;
}

.footer-bar {
    width: 48px;
    height: 4px;
    background: #fe9832;
    margin-bottom: 8px;
    border-radius: 2px;
}

.footer-verified {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
}

.footer-verified span:last-child {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #82d3de;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #82d3de;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-heading .material-symbols-outlined { font-size: 20px; }

.footer-heading-orange {
    color: #fe9832;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #fe9832;
}

.module-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    opacity: 0.5;
    margin-left: 4px;
}

.footer-partner-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    background: #fe9832;
    color: #683700;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(254, 152, 50, 0.3);
    transition: all 0.3s;
    border: 1px solid rgba(255, 183, 122, 0.5);
}

.footer-partner-btn:hover {
    box-shadow: 0 0 25px rgba(254, 152, 50, 0.5);
    transform: translateY(-1px);
}

.footer-partner-btn .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.3s;
}

.footer-partner-btn:hover .material-symbols-outlined {
    transform: translateX(4px);
}

.footer-connect {
    border: 1px solid rgba(130, 211, 222, 0.1);
    border-radius: 12px;
    padding: 24px;
    background: rgba(255,255,255,0.03);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 15px;
}

.footer-contact-list .material-symbols-outlined {
    font-size: 20px;
    color: #82d3de;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.footer-contact-list a:hover {
    color: #fe9832;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(130, 211, 222, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #82d3de;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: #006d77;
    color: #fff;
    border-color: #006d77;
}

.footer-socials .material-symbols-outlined { font-size: 20px; }

/* Bottom Bar */
.footer-bottom {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(130, 211, 222, 0.15);
    background: rgba(0, 83, 91, 0.8);
    backdrop-filter: blur(10px);
}

.footer-bottom-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(130, 211, 222, 0.15);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
}

.footer-badge .material-symbols-outlined {
    font-size: 14px;
    color: #fe9832;
}

.footer-copyright {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #82d3de;
    letter-spacing: 0.5px;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        padding: 40px 20px 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }
}
