:root {
    --bg: #0A0A0A;
    --surface: #111111;
    --surface-elevated: #161616;
    --border: rgba(255, 255, 255, 0.08);
    --primary: #FFFFFF;
    --accent: #D1FF52;
    --text: #FFFFFF;
    --text-dim: #888888;
    --font-display: 'Instrument Serif', serif;
    --font-ui: 'DM Sans', sans-serif;
    --transition: all 0.5s cubic-bezier(0.2, 0, 0, 1);
}

@keyframes revealText {
    0% { clip-path: inset(0 0 100% 0); transform: translateY(40px); opacity: 0; }
    100% { clip-path: inset(0 0 0 0); transform: translateY(0); opacity: 1; }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes glowBreath {
    0%, 100% { opacity: 0.6; filter: drop-shadow(0 0 10px var(--accent)); }
    50% { opacity: 1; filter: drop-shadow(0 0 25px var(--accent)); }
}

@keyframes float3D {
    0%, 100% { transform: perspective(1000px) translateZ(0) translateY(0); }
    50% { transform: perspective(1000px) translateZ(30px) translateY(-15px); }
}

@keyframes liveBeamGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseHalo {
    0%, 100% { box-shadow: 0 0 15px rgba(209, 255, 82, 0.2), inset 0 0 15px rgba(209, 255, 82, 0.05); }
    50% { box-shadow: 0 0 32px rgba(209, 255, 82, 0.45), inset 0 0 25px rgba(209, 255, 82, 0.12); }
}

@keyframes liveSignalPing {
    0% { transform: scale(0.9); opacity: 1; }
    70% { transform: scale(2.4); opacity: 0; }
    100% { transform: scale(2.4); opacity: 0; }
}

.nav-status-pulse {
    position: relative;
}

.nav-status-pulse::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid #25D366;
    animation: liveSignalPing 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    pointer-events: none;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body { background: var(--bg); color: var(--text); font-family: var(--font-ui); line-height: 1.5; overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--accent); }

.scanline-layer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(209, 255, 82, 0.02), transparent);
    height: 30px; z-index: 9999; pointer-events: none;
    animation: scanline 6s linear infinite;
}

/* Navigation */
nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 0 4%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}

nav.nav-scrolled {
    background: rgba(8, 8, 8, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(209, 255, 82, 0.15);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    height: 74px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 1;
}

/* Header & Footer Brand Logo Image - Fully Static, No Zoom or Scale */
.brand-logo-img {
    height: 38px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(209, 255, 82, 0.35));
}

.logo:hover .brand-logo-img {
    filter: drop-shadow(0 0 10px rgba(209, 255, 82, 0.35));
    transform: none;
}

.footer-logo {
    cursor: default;
    pointer-events: none;
    user-select: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(209, 255, 82, 0.3));
    pointer-events: none;
}

.footer-logo:hover .footer-logo-img {
    filter: drop-shadow(0 0 10px rgba(209, 255, 82, 0.3));
    transform: none;
}

/* Centered Navigation Links & Pill */
.nav-center {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 6px;
    border-radius: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    text-decoration: none;
    color: #999999;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 7px 14px;
    border-radius: 20px;
    position: relative;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: #000000;
    background: var(--accent);
    font-weight: 700;
    box-shadow: 0 0 14px rgba(209, 255, 82, 0.3);
}

/* Right Nav Actions - Pushed to far right end */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    flex-shrink: 0;
}

/* WhatsApp Live API Real-Time Status Pill - Pushed far right */
.nav-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 24px;
    border: 1px solid rgba(209, 255, 82, 0.25);
    background: rgba(209, 255, 82, 0.05);
    box-shadow: 0 0 10px rgba(209, 255, 82, 0.08);
    cursor: default;
    transition: all 0.25s ease;
}

.nav-status.status-online {
    border-color: rgba(37, 211, 102, 0.35);
    background: rgba(37, 211, 102, 0.06);
}

.nav-status.status-offline {
    border-color: rgba(255, 67, 67, 0.35);
    background: rgba(255, 67, 67, 0.06);
    color: #ff8888;
}

.nav-status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 8px #25D366;
    animation: glowBreath 2s infinite ease-in-out;
}

/* Mobile Hamburger Button */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    transition: 0.25s;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Header CTA Button - Fill the Form (Curved Round Pill Style) */
.btn-nav-form {
    background: var(--accent);
    color: #000;
    padding: 8px 20px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 16px rgba(209, 255, 82, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nav-form:hover {
    background: #ffffff;
    color: #000;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.45);
}

/* Floating Agency Branding Card (Bottom Right Corner) */
.northstar-floating-card {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    background: rgba(14, 18, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(209, 255, 82, 0.35);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(209, 255, 82, 0.1);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    max-width: 320px;
}

.northstar-floating-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(209, 255, 82, 0.25);
}

.northstar-logo-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(209, 255, 82, 0.4));
}

.northstar-card-info {
    line-height: 1.3;
}

.northstar-card-title {
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.northstar-card-title span {
    color: var(--accent);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(209, 255, 82, 0.12);
    border: 1px solid rgba(209, 255, 82, 0.3);
}

.northstar-card-desc {
    font-size: 11px;
    color: #a5aba0;
    margin-top: 3px;
    line-height: 1.4;
}

.northstar-card-desc a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.northstar-card-desc a:hover {
    text-decoration: underline;
}

.northstar-website-btn {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    background: var(--accent);
    padding: 6px 14px;
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(209, 255, 82, 0.3);
}

.northstar-website-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

/* Coming Soon Badge */
.badge-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #e5ff85;
    background: rgba(209, 255, 82, 0.1);
    border: 1px solid rgba(209, 255, 82, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .northstar-floating-card {
        bottom: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        padding: 12px 14px;
    }
}
.lead { font-size: 1.4rem; color: var(--text-dim); max-width: 700px; margin-bottom: 50px; }

/* Buttons */
.btn-sleek {
    background: var(--accent); color: #000; padding: 14px 32px; border-radius: 4px; 
    font-weight: 700; font-size: 14px; text-decoration: none; border: none; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
    display: inline-block;
}
.btn-sleek:hover { transform: scale(1.05); filter: brightness(1.1); box-shadow: 0 0 30px rgba(209, 255, 82, 0.2); }

/* Footer */
footer {
    background: radial-gradient(ellipse 90% 100% at 50% 0%, rgba(209, 255, 82, 0.12) 0%, rgba(14, 18, 9, 0.6) 45%, rgba(6, 7, 5, 0.98) 100%);
    border-top: 1px solid rgba(209, 255, 82, 0.25);
    padding: 100px 8% 40px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -25px 50px rgba(0, 0, 0, 0.8);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.9;
    box-shadow: 0 0 20px var(--accent);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Vibrant Makeover CTA Card */
.footer-top-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(209, 255, 82, 0.08) 0%, rgba(20, 26, 12, 0.7) 100%);
    border: 1px solid rgba(209, 255, 82, 0.35);
    border-radius: 24px;
    padding: 45px 55px;
    margin-bottom: 70px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(209, 255, 82, 0.04);
}

.footer-top-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(209, 255, 82, 0.15) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.footer-top-cta-content h3 {
    font-family: var(--font-display);
    font-size: 40px;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.footer-top-cta-content p {
    color: #cfd4b8;
    font-size: 15px;
    max-width: 580px;
    line-height: 1.6;
}

.btn-gform {
    background: #FFFFFF;
    color: #000000;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.15);
}

.btn-gform:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(209, 255, 82, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 60px;
    text-align: left;
    margin-bottom: 60px;
}

.footer-brand {
    padding-right: 30px;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-display);
    font-size: 32px;
    font-style: italic;
    color: #fff;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-brand p {
    color: #9ea38e;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-badge-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #d1ff52;
    border: 1px solid rgba(209, 255, 82, 0.3);
    background: rgba(209, 255, 82, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.footer-pill-tag span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.footer-col h4 {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #a5aba0;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 14px;
    transition: 0.25s ease;
    padding: 2px 0;
}

.footer-col a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.footer-col a .link-tag {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(209, 255, 82, 0.15);
    color: var(--accent);
    border: 1px solid rgba(209, 255, 82, 0.35);
    font-weight: 700;
}

.footer-col a .link-tag-bright {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(37, 211, 102, 0.2);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.4);
    font-weight: 700;
}

/* Contact Card Makeover */
.footer-contact-card {
    background: linear-gradient(135deg, rgba(209, 255, 82, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(209, 255, 82, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.footer-contact-card .contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 700;
}

.footer-contact-card .contact-val {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.footer-contact-card .contact-val:hover {
    color: var(--accent);
}

.footer-form-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: 99px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 18px rgba(209, 255, 82, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-form-btn-link:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8b9280;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #8b9280;
    text-decoration: none;
    transition: 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.footer-credit {
    font-weight: 500;
}

.footer-credit span {
    color: #fff;
    font-weight: 700;
}

.footer-dev-credit {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Containers */
.page-container { padding: 130px 8% 80px; min-height: 100vh; animation: revealText 0.8s ease forwards; }

/* Mobile Responsiveness & Stabilization */
@media (max-width: 992px) {
    .nav-status {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 5%;
    }
    
    .nav-container {
        height: 66px;
    }
    
    .brand-logo-img {
        height: 32px;
        max-width: 145px;
    }

    .footer-logo-img {
        height: 34px;
        max-width: 150px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-center {
        position: fixed;
        top: 66px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px 20px 24px;
        gap: 8px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
        z-index: 999;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    }

    .nav-center.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 8px;
    }

    .nav-actions {
        display: none;
    }

    .nav-actions-mobile {
        display: flex;
        width: 100%;
        margin-top: 10px;
    }

    .nav-actions-mobile .btn-sleek {
        width: 100%;
        text-align: center;
    }

    .btn-sleek {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    h1 {
        font-size: clamp(2.8rem, 12vw, 4rem);
        margin-bottom: 20px;
    }
    
    .lead {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .page-container {
        padding: 100px 5% 50px;
        text-align: center;
    }
    
    .page-container > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .page-container div[style*="display: flex"] {
        flex-direction: column;
        width: 100%;
        gap: 15px !important;
    }
    
    /* Footer Mobile */
    footer {
        padding: 60px 5% 30px;
    }

    .footer-top-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 30px 24px;
    }

    .footer-top-cta .btn-sleek {
        width: 100%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: left;
    }
    
    .footer-brand {
        padding-right: 0;
    }

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

    .footer-bottom-links {
        justify-content: center;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }
    
    .counter-value {
        font-size: 48px;
    }
    
    .auto-sim-track {
        position: relative;
        width: 100%;
        right: 0;
        top: 20px;
        height: 380px;
        margin-bottom: 40px;
    }
}

/* iOS Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .page-container {
        min-height: -webkit-fill-available;
    }
}

