:root {
    --bg: #020617;
    --card-bg: rgba(15, 23, 42, 0.6);
    --primary: #f97316;
    /* Sunset Orange */
    --primary-glow: rgba(249, 115, 22, 0.2);
    --secondary: #94a3b8;
    /* Silver/Steel */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.05);
    --border-active: rgba(249, 115, 22, 0.3);
    /* Ecosystem Colors */
    --escudo-judicial: #0ea5e9;
    --escudo-vial: #ef4444;
    --escudo-minero: #eab308;
    --escudo-mype: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100vw;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.brand {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.glow-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.08), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(148, 163, 184, 0.08), transparent 40%);
    z-index: -1;
}

/* HEADER */
header {
    height: 120px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-logo {
    height: 85px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid var(--border-active);
    padding: 6px;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 0 25px var(--primary-glow);
    transition: all 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: white;
}

.btn-contact {
    padding: 10px 24px;
    background: var(--primary);
    color: white !important;
    border-radius: 12px;
    font-weight: 700;
}

/* Language Selector */
.lang-selector {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .lang-selector {
        padding: 4px 8px;
        order: 2;
    }
}

.lang-selector:hover {
    border-color: var(--primary);
}

.lang-selector option {
    background: var(--bg);
}

[data-lang] {
    display: none;
}

.lang-en [data-lang="en"] {
    display: inline;
}

.lang-es [data-lang="es"] {
    display: inline;
}

/* For block elements */
.lang-en blockquote[data-lang="en"],
.lang-en div[data-lang="en"],
.lang-en p[data-lang="en"],
.lang-en h1[data-lang="en"],
.lang-en h2[data-lang="en"],
.lang-en h3[data-lang="en"],
.lang-en h4[data-lang="en"],
.lang-en span[data-lang="en"] {
    display: block;
}

.lang-es blockquote[data-lang="es"],
.lang-es div[data-lang="es"],
.lang-es p[data-lang="es"],
.lang-es h1[data-lang="es"],
.lang-es h2[data-lang="es"],
.lang-es h3[data-lang="es"],
.lang-es h4[data-lang="es"],
.lang-es span[data-lang="es"] {
    display: block;
}

/* Specialty for inline flex or other displays if needed */
.lang-en .flex-lang[data-lang="en"] {
    display: flex;
}

.lang-es .flex-lang[data-lang="es"] {
    display: flex;
}

/* HERO */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit';
    color: white;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* PROJECTS */
.projects {
    padding: 3.5rem 0;
}

.section-title {
    font-size: 1.85rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.legal-ecosystem {
    margin-bottom: 2rem;
}

.featured-card {
    grid-column: 1 / -1;
    width: 100%;
}

.ecosystem-container {
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px dashed var(--border-active);
    border-radius: 24px;
    margin-top: 3rem;
    position: relative;
    overflow: visible;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.eco-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none !important;
    color: inherit;
}

.eco-item * {
    text-decoration: none !important;
}

.eco-link {
    margin-top: 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.minero-unit .eco-link {
    color: var(--escudo-minero);
}

.vial-unit .eco-link {
    color: var(--escudo-vial);
}

.mype-unit .eco-link {
    color: var(--escudo-mype);
}

.judicial-center .eco-link {
    color: var(--escudo-judicial);
}

.eco-item:hover .eco-link {
    color: white;
    text-shadow: 0 0 10px var(--primary-glow);
}

.eco-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.eco-item i,
.eco-logo {
    font-size: 2rem;
    height: 72px;
    width: auto;
    margin-bottom: 1.25rem;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.15));
    transition: transform 0.3s ease;
}

.eco-item:hover .eco-logo {
    transform: scale(1.1);
}

.eco-item h4 {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-family: 'Outfit';
}

.eco-item p {
    font-size: 0.75rem;
    margin-bottom: 0 !important;
}

.judicial-center {
    grid-column: span 3;
    padding: 3rem;
    border: 1px solid var(--escudo-judicial);
    background: rgba(14, 165, 233, 0.05);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.15);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.judicial-center .eco-logo {
    height: 80px;
}

.judicial-center::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--escudo-judicial), transparent, var(--escudo-judicial));
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
}

.judicial-center i {
    color: var(--escudo-judicial);
    filter: drop-shadow(0 0 8px var(--escudo-judicial));
}

.minero-unit {
    border-color: rgba(234, 179, 8, 0.2);
}

.mype-unit {
    border-color: rgba(16, 185, 129, 0.2);
}

.vial-unit {
    border-color: rgba(239, 68, 68, 0.2);
}

.minero-unit i {
    color: var(--escudo-minero);
}

.mype-unit i {
    color: var(--escudo-mype);
}

.vial-unit i {
    color: var(--escudo-vial);
}

/* Eco Status Badges */
.eco-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(5px);
}

.status-live {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.status-polish {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.1);
}

.status-dev {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.status-soon {
    background: rgba(239, 68, 68, 0.14);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}

/* Escudo Minero Logo Transparent Glow Trick */
.minero-unit .eco-logo {
    filter: invert(1) hue-rotate(180deg) brightness(1.15) contrast(1.2);
    mix-blend-mode: screen;
}

/* Premium 3D Network Connector */
.network-connector {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0.5rem auto 1.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.connector-stem {
    width: 4px;
    position: relative;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.25);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.1),
                inset 0 0 4px rgba(14, 165, 233, 0.2);
    overflow: hidden;
}

.stem-top {
    height: 35px;
}

/* 3D Pulse Core inside the top stem */
.stem-top::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #38bdf8, #fff, #38bdf8, transparent);
    animation: pulseDown 2s infinite linear;
}

/* Horizontal Branch - 3D Cyber Tube */
.connector-branch {
    width: 66.67%;
    height: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.08),
                0 0 20px rgba(14, 165, 233, 0.12);
    overflow: hidden;
}

/* Branch Data Flow */
.connector-branch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, 
        transparent, 
        rgba(16, 185, 129, 0.6) 20%, 
        rgba(56, 189, 248, 0.8) 50%, 
        rgba(239, 68, 68, 0.6) 80%, 
        transparent
    );
    animation: flowAcross 4s infinite linear;
}

.connector-stem-group {
    display: flex;
    justify-content: space-between;
    width: 66.67%;
    height: 35px;
    position: relative;
}

.stem-bottom {
    height: 35px;
    width: 4px;
    position: absolute;
    top: 0;
}

.stem-left {
    left: 0;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.stem-left::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #10b981, #fff, #10b981, transparent);
    animation: pulseDown 2s infinite linear;
    animation-delay: 0.5s;
}

.stem-center {
    left: 50%;
    transform: translateX(-50%);
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

.stem-center::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary), #fff, var(--primary), transparent);
    animation: pulseDown 2s infinite linear;
    animation-delay: 0.8s;
}

.stem-right {
    right: 0;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.stem-right::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #ef4444, #fff, #ef4444, transparent);
    animation: pulseDown 2s infinite linear;
    animation-delay: 1.1s;
}

/* Animations for Stems and Branches */
@keyframes pulseDown {
    0% {
        top: -100%;
    }
    100% {
        top: 100%;
    }
}

@keyframes flowAcross {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


.eco-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eco-branding i {
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
}

.project-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 24px;
    height: auto;
    min-height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

/* Development Banner Style */
.dev-banner {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: white;
    padding: 5px 40px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-active);
    background: rgba(249, 115, 22, 0.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.badge-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.project-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    border-radius: 12px;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-live {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.badge-jurisdiction {
    background: rgba(14, 165, 233, 0.1);
    color: var(--escudo-judicial);
    border: 1px solid var(--escudo-judicial);
    margin-left: 0.5rem;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Pricing Styles */
.price-tag {
    margin-top: 1rem;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    font-family: 'Outfit';
    line-height: 1;
}

.period {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.icon-sc {
    color: var(--primary);
    width: 16px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: gap 0.3s;
}

.project-link:hover {
    gap: 12px;
    color: var(--primary);
}

/* FOOTER */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 50px;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s;
}

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

.footer-slogan {
    font-family: 'Outfit';
    font-weight: 300;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes neuralPulse {
    0% {
        box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
        transform: scale(1);
    }
}

.judicial-center {
    animation: neuralPulse 4s infinite ease-in-out;
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@media (max-width: 968px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

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

    .judicial-center {
        grid-column: span 1;
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .connector-branch, .connector-stem-group {
        display: none;
    }
    
    .stem-top {
        height: 50px;
        background: linear-gradient(to bottom, var(--escudo-judicial), var(--escudo-minero));
        border: 1px solid rgba(14, 165, 233, 0.3);
    }
}

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 1.5rem 0;
    }

    .container-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .logo-area {
        justify-content: center;
    }

    nav {
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }

    .btn-contact {
        width: 100%;
        text-align: center;
        order: 3;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 30px;
        height: 1px;
        margin: 0 auto;
    }

    .projects {
        padding: 2.5rem 0;
    }

    .legal-ecosystem {
        margin-bottom: 1rem;
    }

    .ecosystem-container {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .badge-group {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .project-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }

    .eco-branding {
        justify-content: center;
    }

    .card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .ecosystem-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    nav {
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .project-card {
        padding: 1.25rem;
    }
}

/* ========================================== */
/* 🧠 NEURAL NETWORK VISUALIZER MODAL STYLES  */
/* ========================================== */
.neural-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 23, 0.95);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
}

.neural-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.neural-modal-content {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 3rem;
    max-width: 950px;
    width: 92%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6),
                0 0 50px rgba(14, 165, 233, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.neural-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.neural-modal-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.neural-modal-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

.neural-modal-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.svg-net-container {
    width: 100%;
    max-width: 800px;
    height: 420px;
    background: rgba(2, 6, 23, 0.4);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* Pulsing Node Animation */
.node-pulse {
    animation: nodePulseGlow 3s infinite ease-in-out;
}

@keyframes nodePulseGlow {
    0%, 100% {
        r: 12px;
        filter: drop-shadow(0 0 6px var(--glow-color, rgba(56, 189, 248, 0.6)));
    }
    50% {
        r: 16px;
        filter: drop-shadow(0 0 16px var(--glow-color, rgba(56, 189, 248, 0.9)));
    }
}

.node-central-pulse {
    animation: centralPulseGlow 4s infinite ease-in-out;
}

@keyframes centralPulseGlow {
    0%, 100% {
        r: 22px;
        filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.7));
    }
    50% {
        r: 28px;
        filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.95));
    }
}

/* Real-time flowing data lines */
.data-flow-line {
    stroke-dasharray: 10 20;
    animation: flowDataParticles 8s infinite linear;
}

@keyframes flowDataParticles {
    0% {
        stroke-dashoffset: 200;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Node Info Glass-Cards */
.node-info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    margin-top: 2.5rem;
}

.node-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    text-align: left;
    transition: all 0.3s ease;
}

.node-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--card-hover-border, var(--primary));
    transform: translateY(-3px);
}

.node-card-title {
    font-size: 0.8rem;
    font-weight: 800;
    font-family: 'Outfit';
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.node-card-desc {
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .svg-net-container {
        height: 320px;
    }
    .node-info-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}