:root {
    --primary-color: var(--tenant-primary, #0066cc);
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #ffffff;
    --bg-subtle: #f8f9fa;
}

body {
    background-color: var(--bg-light) !important;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.brand-text { font-family: 'Orbitron', sans-serif; letter-spacing: 0.5px; color: var(--text-dark) !important; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--text-dark); letter-spacing: -0.5px; }

.header-logo { height: 35px; width: auto; object-fit: contain; margin-right: 10px; }
.navbar { background-color: var(--bg-light) !important; border-bottom: 1px solid rgba(0,0,0,0.05) !important; padding: 1.5rem 0 !important; }
.nav-link { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500; color: var(--text-muted) !important; transition: color 0.2s ease; padding: 0.5rem 1rem !important; }
.nav-link:hover { color: var(--primary-color) !important; }

/* Social Icons */
.social-yt:hover { color: #FF0000 !important; transform: scale(1.1); }
.social-ig:hover { 
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.1);
}

.btn-theme { background-color: var(--primary-color) !important; border: 1px solid var(--primary-color) !important; color: #ffffff !important; font-weight: 600; border-radius: 4px !important; padding: 0.75rem 1.5rem; transition: all 0.2s ease; box-shadow: none !important; }
.btn-theme:hover { background-color: transparent !important; color: var(--primary-color) !important; }
.btn-outline-theme { background-color: transparent !important; border: 1px solid var(--text-muted) !important; color: var(--text-dark) !important; font-weight: 600; border-radius: 4px !important; padding: 0.75rem 1.5rem; transition: all 0.2s ease; }
.btn-outline-theme:hover { border-color: var(--primary-color) !important; color: var(--primary-color) !important; }

.btn-scroll-top { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; background-color: var(--primary-color); color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.15); opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); z-index: 1040; }
.btn-scroll-top:hover { background-color: var(--text-dark); color: #ffffff; transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.2); }
.btn-scroll-top.show { opacity: 1; visibility: visible; }

.section-padding { padding: 8rem 0; }
.feature-block { padding: 2rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.feature-block:last-child { border-bottom: none; }

.image-hover-card .transition-transform { transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.image-hover-card:hover .transition-transform { transform: scale(1.03); }
.image-hover-card h5 { transition: color 0.2s ease; }
.image-hover-card:hover h5 { color: var(--primary-color) !important; }

.display-hero { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; line-height: 1.1; letter-spacing: -2px; margin-bottom: 1.5rem; }
.hero-kicker { display: block; font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 400; letter-spacing: 0px; opacity: 0.9; margin-bottom: 0.5rem; }

.lead-text { font-size: 1.25rem; line-height: 1.6; color: var(--text-muted); font-weight: 300; }
.footer-clean { background-color: var(--bg-subtle); padding: 4rem 0 2rem 0; border-top: 1px solid rgba(0,0,0,0.05); }
.stats-box { background: #ffffff; border: 1px solid rgba(0,0,0,0.05); padding: 1.5rem; border-radius: 8px; text-align: center; height: 100%; }

.sponsor-heading { color: var(--text-dark) !important; }
.sponsor-text { color: var(--text-dark) !important; opacity: 0.8; font-size: 1.1rem; }

.philosophy-icon { width: 60px; height: 60px; background: rgba(0, 102, 204, 0.08); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; }

/* =========================================================
   🚨 LIVE TOPOLOGY HERO BACKGROUND 
   ========================================================= */
.circuit-hero {
    background: linear-gradient(135deg, #0b111e 0%, #06152a 100%);
    position: relative;
    overflow: hidden; 
}

.topology-bg-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none; 
}

.hero-content-wrapper { position: relative; z-index: 5; pointer-events: auto; }

.pulse-inner { animation: heroPulse 2.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1); fill: none; }
.pulse-outer { animation: heroPulse 2.5s infinite 1.25s cubic-bezier(0.215, 0.61, 0.355, 1); fill: none; }

@keyframes heroPulse {
    0% { transform: scale(1); stroke-opacity: 0.8; stroke-width: 2px; }
    100% { transform: scale(2.5); stroke-opacity: 0; stroke-width: 0.5px; }
}

.data-packet {
    fill: #0dcaf0;
    filter: drop-shadow(0 0 4px #0dcaf0);
}

/* =========================================================
   🚨 MOBILE OPTIMIZATIONS 
   ========================================================= */
@media (max-width: 991.98px) {
    .section-padding { padding: 2.5rem 0; }
    .navbar { padding: 1rem 0 !important; }
    .btn-scroll-top { bottom: 20px; right: 20px; }
    
    .circuit-hero {
        min-height: 85vh; 
        padding: 3rem 1.5rem !important; 
        border-radius: 1.5rem !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .display-hero { font-size: 2.25rem; letter-spacing: -1px; }
    .hero-kicker { font-size: 1.15rem; margin-bottom: 0.75rem; }
    .lead-text { font-size: 1.1rem; }
    
    .circuit-hero .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }
}