/* --- 1. CORE VARIABLES & BASE --- */
:root {
    --blaze-blue: #32a1eb;
    --blaze-orange: #ff9f1c;
    --bg-light: #ffffff;
    --bg-alt: #f1f8fe;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    background: var(--bg-light); 
    color: var(--text-dark); 
    font-family: var(--font-main); 
    line-height: 1.6;
    overflow-x: hidden; /* Prevents side-wobble on mobile */
}

/* --- 2. NAVIGATION --- */
.white-nav {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 8%; 
    height: 80px; /* Fixed height for consistency */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.nav-logo { height: 45px; width: auto; }

.nav-links { display: flex; list-style: none; }
.nav-links li a { 
    text-decoration: none; 
    color: var(--text-dark); 
    margin: 0 15px; 
    font-weight: 700; 
    font-size: 0.9rem;
    transition: var(--transition);
}
.nav-links li a:hover { color: var(--blaze-blue); }

.nav-cta { display: flex; align-items: center; gap: 15px; }

/* --- 3. HAMBURGER BUTTON --- */
.hamburger {
    display: none; /* Hidden on Desktop */
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 10px;
    z-index: 3000; /* Stays above overlay */
}

.hamburger-box {
    width: 28px;
    height: 20px;
    display: inline-block;
    position: relative;
}

.hamburger-inner, 
.hamburger-inner::before, 
.hamburger-inner::after {
    width: 28px;
    height: 3px;
    background-color: var(--blaze-blue);
    border-radius: 4px;
    position: absolute;
    transition: var(--transition);
}

.hamburger-inner { top: 50%; transform: translateY(-50%); }
.hamburger-inner::before { content: ""; top: -8px; }
.hamburger-inner::after { content: ""; top: 8px; }

/* Hamburger X Animation */
.hamburger.active .hamburger-inner { background-color: transparent; }
.hamburger.active .hamburger-inner::before { transform: translateY(8px) rotate(45deg); background-color: var(--blaze-orange); }
.hamburger.active .hamburger-inner::after { transform: translateY(-8px) rotate(-45deg); background-color: var(--blaze-orange); }

/* --- 4. MOBILE OVERLAY PANEL --- */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden */
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2500;
    transition: var(--transition);
    visibility: hidden;
}

.mobile-overlay.active {
    right: 0;
    visibility: visible;
}

.mobile-panel {
    position: absolute;
    right: 0;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-links { list-style: none; }
.mobile-links li { margin-bottom: 25px; }
.mobile-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 800;
}

.divider { height: 1px; background: #e2e8f0; margin: 10px 0; }
.mobile-login { color: var(--blaze-blue) !important; }

/* --- 5. BUTTONS --- */
.btn-login-pill {
    text-decoration: none; color: var(--blaze-blue); border: 2px solid var(--blaze-blue);
    padding: 8px 20px; border-radius: 50px; font-weight: 700; display: flex; align-items: center; gap: 8px;
    transition: var(--transition);
}
.btn-login-pill:hover { background: var(--blaze-blue); color: white; }

.btn-whatsapp-pill {
    background: #25D366; color: white; padding: 6px 18px 6px 6px;
    border-radius: 50px; text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: 10px;
}
.ws-icon { background: white; width: 30px; height: 30px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #25D366; }
.full-width { width: 100%; justify-content: center; padding: 15px !important; margin-top: auto; }

.btn-primary { background: var(--blaze-blue); color: white; padding: 12px 25px; border-radius: 10px; text-decoration: none; font-weight: 700; display: inline-block; transition: var(--transition); }
.btn-outline { border: 2px solid var(--blaze-blue); color: var(--blaze-blue); padding: 10px 23px; border-radius: 10px; text-decoration: none; font-weight: 700; display: inline-block; transition: var(--transition); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(50, 161, 235, 0.3); }

/* --- 6. HERO & CONTENT --- */
.light-hero { min-height: 100vh; padding: 120px 8% 60px; display: flex; align-items: center; }
.bg-alt { background-color: var(--bg-alt); }

.hero-container {
    display: grid !important; 
    grid-template-columns: 1fr 1fr !important;
    gap: 40px; width: 100%; max-width: 1200px; margin: 0 auto; align-items: center;
}

h1 { font-size: 3.2rem; line-height: 1.1; margin-bottom: 20px; font-weight: 900; }
.accent-text, .gradient-text { color: var(--blaze-blue); background: linear-gradient(90deg, var(--blaze-blue), var(--blaze-orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.badge { background: #e1effe; color: var(--blaze-blue); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 15px; }

.hero-visual, .hero-image { display: flex; flex-direction: column; gap: 15px; align-items: flex-end; }
.speed-box {
    background: white; padding: 20px 30px; border-radius: 15px; width: 100%; max-width: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex; justify-content: space-between;
    font-weight: 800; border-left: 5px solid var(--blaze-blue);
}
.speed-box.featured { border-color: var(--blaze-orange); transform: translateX(-20px); }
.visual-element { width: 100%; border-radius: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.about-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 35px; }
.feat-item { display: flex; align-items: flex-start; gap: 15px; }
.feat-item i { font-size: 1.5rem; color: var(--blaze-blue); background: white; padding: 10px; border-radius: 12px; box-shadow: 0 5px 15px rgba(50, 161, 235, 0.1); }
.feat-title { display: block; font-weight: 800; font-size: 1rem; color: var(--text-dark); }

.image-stack { position: relative; width: 100%; }
.stat-badge {
    position: absolute; bottom: 20px; left: -20px;
    background: white; padding: 15px 25px; border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 10px;
    font-weight: 900; color: var(--blaze-orange);
    animation: eliteFloat 4s ease-in-out infinite;
}

@keyframes eliteFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- 7. RESPONSIVE --- */
@media (max-width: 992px) {
    .desktop-only { display: none; }
    .hamburger { display: flex; }
    .white-nav { padding: 0 5%; height: 70px; }
    .nav-logo { height: 35px; }
    
    .hero-container { grid-template-columns: 1fr !important; text-align: center; }
    .hero-content, .hero-text { text-align: center; }
    .hero-visual, .hero-image { align-items: center; }
    .hero-actions { justify-content: center; }
    .speed-box.featured { transform: translateX(0); }
    h1 { font-size: 2.2rem; }
    .stat-badge { left: 50%; transform: translateX(-50%); }
}

.floating-whatsapp { position: fixed; bottom: 20px; right: 20px; background: #25D366; width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 1.8rem; z-index: 1000; }
/* --- PLANS SECTION --- */
.plans-section {
    padding: 100px 8%;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--blaze-blue);
}

.plan-card.featured {
    border: 2px solid var(--blaze-blue);
    transform: scale(1.05);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blaze-orange);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
}

.plan-info i {
    font-size: 2.5rem;
    color: var(--blaze-blue);
    margin-bottom: 15px;
}

.plan-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-light);
}

.plan-features li i {
    color: #25D366;
    font-size: 1.2rem;
}

.full-btn {
    width: 100%;
    text-align: center;
    padding: 15px;
}

/* Responsive Fix for Featured Card */
@media (max-width: 992px) {
    .plan-card.featured {
        transform: scale(1);
        margin: 20px 0;
    }
}/* --- PRECISION PRO HUB --- */
.precision-section {
    position: relative;
    padding: 80px 5%;
    background: #0b0f19; /* Very deep professional slate */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mesh-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(50, 161, 235, 0.1), transparent);
}

.hub-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
}

.glass-console-pro {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 220px 1fr 200px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

/* Node Selector (Left) */
.node-selector {
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
}

.node-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.node-item.active { background: rgba(50, 161, 235, 0.1); border: 1px solid rgba(50, 161, 235, 0.2); }
.node-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 10px #22c55e; }
.node-dot.inactive { background: #64748b; box-shadow: none; }

.node-info .label { display: block; font-size: 0.6rem; color: #64748b; font-weight: 800; }
.node-info strong { font-size: 0.75rem; color: white; letter-spacing: 0.5px; }

/* Telemetry (Center) */
.telemetry-center { padding: 30px; }
.graph-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.sparkline { width: 100%; height: 80px; }
#graphLine {
    fill: none;
    stroke: var(--blaze-blue);
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px var(--blaze-blue));
}

/* Metrics (Right) */
.metrics-sidebar {
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.metric .m-label { display: block; font-size: 0.6rem; color: #64748b; font-weight: 800; margin-bottom: 5px; }
.metric .m-value { font-family: 'Fira Code', monospace; color: white; font-weight: 700; font-size: 1rem; }
.t-green { color: #22c55e !important; }

/* Footer Details */
.console-footer-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
    font-size: 0.65rem;
    color: #4b5563;
    font-weight: 700;
    letter-spacing: 1px;
}

.console-footer-details strong { color: #94a3b8; }

/* Responsive */
@media (max-width: 992px) {
    .glass-console-pro { grid-template-columns: 1fr; }
    .node-selector, .metrics-sidebar { display: none; }
}
/* Active User Status & Blink */
.active-user-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.blink-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: blink-animation 1.5s infinite;
}

.u-text {
    font-size: 0.55rem;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@keyframes blink-animation {
    0% { opacity: 1; transform: scale(1); box-shadow: 0 0 0px #22c55e; }
    50% { opacity: 0.4; transform: scale(0.9); box-shadow: 0 0 8px #22c55e; }
    100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0px #22c55e; }
}

/* Fix for inactive node blink color if you want it different */
.node-item:not(.active) .blink-dot {
    background-color: #64748b;
    animation: none;
    opacity: 0.5;
}
/* --- PRECISION PRO HUB (FLOATING ISLAND) --- */
.precision-section {
    position: relative;
    padding: 100px 5%; /* Vertical padding for spacing */
    background: #06080f; /* Even deeper obsidian for highest level */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hub-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px; /* Limits width to stop touching edges */
    margin: 0 auto;
}

.glass-console-pro {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px; /* Smoother rounded corners */
    display: grid;
    grid-template-columns: 240px 1fr 220px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

/* Node Selector Styling */
.node-selector {
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
}

/* Telemetry & Graph */
.telemetry-center { padding: 40px; }
.sparkline { width: 100%; height: 100px; }

/* Metrics Sidebar */
.metrics-sidebar {
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

/* Active User & Blink Logic */
.active-user-status { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.blink-dot {
    width: 7px; height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: blink-animation 1.5s infinite;
}

@keyframes blink-animation {
    0% { opacity: 1; box-shadow: 0 0 0px #22c55e; }
    50% { opacity: 0.4; box-shadow: 0 0 10px #22c55e; }
    100% { opacity: 1; box-shadow: 0 0 0px #22c55e; }
}

.u-text { font-size: 0.6rem; color: #94a3b8; font-weight: 800; letter-spacing: 0.5px; }

/* --- MOBILE VERSION (SHOW ALL CONTENT) --- */
@media (max-width: 992px) {
    .precision-section { padding: 40px 15px; }
    
    .glass-console-pro {
        grid-template-columns: 1fr; /* Stack elements vertically */
        border-radius: 20px;
    }
    
    .node-selector {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        flex-direction: row; /* Horizontal nodes on mobile */
        overflow-x: auto; /* Scrollable nodes if many */
        gap: 15px;
        padding: 20px;
    }
    
    .node-item { flex: 0 0 200px; margin-bottom: 0; }
    
    .telemetry-center { padding: 30px 20px; }
    
    .metrics-sidebar {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: row; /* Horizontal metrics on mobile */
        justify-content: space-around;
        padding: 20px;
    }
    
    .metric { text-align: center; }
    
    .console-footer-details {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
}
/* --- HIGHEST LEVEL HOVER EFFECTS --- */
.node-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Subtle Shimmer on Hover */
.node-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.03), transparent);
    transform: rotate(45deg);
    transition: 0.6s;
    opacity: 0;
}

.node-item:hover::after {
    left: 100%;
    opacity: 1;
}

/* The Glow State */
.node-item:hover {
    background: rgba(50, 161, 235, 0.08);
    border-color: rgba(50, 161, 235, 0.3);
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(50, 161, 235, 0.1);
}

/* Active Node Always Glows Slightly */
.node-item.active {
    background: rgba(50, 161, 235, 0.12);
    border-color: rgba(50, 161, 235, 0.4);
    box-shadow: 0 0 20px rgba(50, 161, 235, 0.15);
}

/* Mobile Tweak: Remove TranslateX on Mobile to keep alignment */
@media (max-width: 992px) {
    .node-item:hover {
        transform: scale(1.02);
    }
}
/* --- MODERN FOOTER --- */
.modern-footer {
    position: relative;
    background: #04060a;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(50, 161, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-container {
    width: 85%; /* Matches the 10/12 Hub width */
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo { height: 40px; margin-bottom: 20px; filter: brightness(1.2); }
.footer-bio { font-size: 0.9rem; line-height: 1.6; margin-bottom: 25px; }

.footer-col h4 {
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 800;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    text-decoration: none;
    color: inherit;
    font-size: 0.9rem;
    transition: 0.3s;
}
.footer-col ul li a:hover { color: #32a1eb; padding-left: 5px; }

/* Social Icons */
.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 35px; height: 35px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    transition: 0.3s;
}
.social-links a:hover { background: #32a1eb; transform: translateY(-3px); }

/* Newsletter Input */
.newsletter-mini {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 5px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.newsletter-mini input {
    background: transparent;
    border: none;
    padding: 10px;
    color: #fff;
    flex: 1;
    font-size: 0.8rem;
}
.newsletter-mini button {
    background: #32a1eb;
    border: none;
    width: 40px;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.75rem;
    font-weight: 700;
}
.bottom-content {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        width: 90%;
    }
}
@media (max-width: 500px) {
    .footer-container { grid-template-columns: 1fr; }
    .bottom-content { flex-direction: column; gap: 15px; text-align: center; }
}