/* ==========================================================================
   Header & Floating Pill Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--header-max-width, 1200px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-pill, 0 10px 25px rgba(0, 0, 0, 0.15));
    border-radius: 9999px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 28px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.logo-img:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary, #0d9488);
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.nav-btn-outline,
.nav-btn-solid,
.primary-btn,
.hero-primary-btn,
.secondary-btn {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-weight: 500;
    text-decoration: none;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-smooth);
}

.nav-btn-outline {
    color: #0f172a;
    border: 1px solid #cbd5e1;
    background: transparent;
}

.nav-btn-outline:hover {
    border-color: var(--color-primary, #0d9488);
    color: var(--color-primary, #0d9488);
}

.nav-btn-solid,
.primary-btn,
.hero-primary-btn {
    background-color: var(--color-primary, #0d9488);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.2);
}

.nav-btn-solid:hover,
.primary-btn:hover,
.hero-primary-btn:hover {
    background-color: var(--color-primary-dark, #0f766e);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
    color: #ffffff;
}

.secondary-btn {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.secondary-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Mobile Menu Button & Drawer */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: #0f172a;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 5.5rem;
    left: 5%;
    width: 90%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 1.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.mobile-nav-drawer.open {
    display: flex;
}

.mobile-nav-drawer a {
    text-decoration: none;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-drawer a:last-child {
    border-bottom: none;
}

.mobile-nav-drawer a.active {
    color: var(--color-primary, #0d9488);
}

/* ==========================================================================
   CTA Banner Card (Floating over footer)
   ========================================================================== */
.cta-footer-wrapper {
    position: relative;
    background-color: var(--color-bg-dark, #090d16);
    color: #ffffff;
    padding-top: 0;
    margin-top: 5rem;
}

.footer-ambient-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, rgba(9, 13, 22, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
}

.cta-floating-container {
    position: relative;
    top: -4rem;
    z-index: 10;
    margin-bottom: -1rem;
}

.cta-banner-card {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 1.5rem;
    padding: 3.5rem 4rem;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.cta-banner-content h2 {
    font-size: 2.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-banner-content p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 540px;
}

.cta-banner-image {
    width: 100%;
    height: 240px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   Global Footer
   ========================================================================== */
.site-footer {
    position: relative;
    padding: 4rem 0 3rem;
    background-color: var(--color-bg-dark, #090d16);
    color: var(--color-text-dark-body, #94a3b8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.footer-col p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.footer-socials a {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: var(--color-primary-light, #2dd4bf);
}

.footer-col h4 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

/* ==========================================================================
   Utility Classes (replacing inline styles)
   ========================================================================== */
.text-brand-accent {
    color: var(--color-primary, #0d9488) !important;
}

.text-brand-light {
    color: var(--color-primary-light, #2dd4bf) !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.w-fit {
    width: fit-content !important;
}

/* ==========================================================================
   Responsive Breakpoints for Common Components
   ========================================================================== */
@media(max-width: 900px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header {
        width: 92%;
        top: 0.75rem;
    }

    .cta-banner-card {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
        gap: 2rem;
    }

    .cta-banner-content h2 {
        font-size: 2rem;
    }

    .cta-banner-image {
        height: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media(max-width: 640px) {
    .section-container {
        padding: 0 1.25rem;
    }

    .cta-floating-container {
        top: -3rem;
    }

    .cta-banner-card {
        padding: 2rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}
