/* ====
   Variables & Reset
   ==== */
   :root {
    /* Colors */
    --bg-color: #0f1115;
    --bg-color-alt: #16181d;
    --text-primary: #ffff;
    --text-secondary: #a0aab2;
    --accent-color: #ff9800; /* Orange/Yellow from branding */
    --accent-hover: #e68a00;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(255, 152, 0, 0.2);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Spacing & Sizes */
    --container-max: 1200px;
    --section-pad: 85px 10px;
    
    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ====
   Typography
   ==== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

strong, b {
    font-weight: 700;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

/* ====
   Layout & Reusables
   ==== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-pad);
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* ====
   Buttons
   ==== */
.btn-primary, .btn-primary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    font-size: 1rem;
    gap: 10px;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}

.btn-primary-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(4px);
}

.btn-primary-outline:hover {
    background: var(--glass-bg);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.glow-btn {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 152, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); }
}

/* ====
   Navbar
   ==== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 0;
    z-index: 100;
    background: #ffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

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

.logo img {
    display: block;
    height: auto;
    max-height: 54px;
}

/* Hero Trust Indicator */
.hero-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-stars {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.hero-stars .star-icon {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
    filter: drop-shadow(0 2px 6px rgba(255, 152, 0, 0.4));
    animation: starPulse 2s infinite alternate ease-in-out;
}

.hero-stars .star-icon:nth-child(1) { animation-delay: 0s; }
.hero-stars .star-icon:nth-child(2) { animation-delay: 0.1s; }
.hero-stars .star-icon:nth-child(3) { animation-delay: 0.2s; }
.hero-stars .star-icon:nth-child(4) { animation-delay: 0.3s; }
.hero-stars .star-icon:nth-child(5) { animation-delay: 0.4s; }

.hero-trust-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes starPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(255, 152, 0, 0.3));
    }
    100% {
        transform: scale(1.08);
        filter: drop-shadow(0 2px 8px rgba(255, 152, 0, 0.6));
    }
}



/* White Header Button Overrides for readability & contrast */
.navbar .btn-primary-outline {
    color: #0f1115;
    border-color: var(--accent-color);
    background: transparent;
    backdrop-filter: none;
    /* Shrunk by 20% */
    padding: 10px 24px;
    font-size: 0.85rem;
    gap: 8px;
}

.navbar .btn-primary-outline svg {
    width: 14px;
    height: 14px;
}

.navbar .btn-primary-outline:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.25);
}

/* ====
   Hero Section
   ==== */
.hero {
    padding: 90px 10px 40px 10px;
    min-height: 45vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(to right, rgba(15, 17, 21, 1) 0%, rgba(15, 17, 21, 1) 50%, rgba(15, 17, 21, 0.7) 75%, rgba(200, 200, 200, 0.1) 100%),
        url('images/ea-voltea-low.png');
    background-position: center, right bottom;
    background-size: 100% 100%, auto 64%;
    background-repeat: no-repeat, no-repeat;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    max-width: 1250px;
    margin: 0 auto 1.5rem;
    line-height: 1.15;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-hero {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 50px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-cta {
    margin-bottom: 3rem;
}

.social-proof-hero {
    padding: 16px 30px;
    display: inline-block;
    width: auto;
    max-width: 1000px;
}

.stats-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.stats-list li {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap; /* se sobreescribe en tablet/mobile */
}

@media (max-width: 992px) {
    .stats-list li {
        white-space: normal;
    }
}

.stats-list li strong {
    font-weight: 700;
}

.stats-list li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ====
   Marquee
   ==== */
.logo-marquee {
    overflow: hidden;
    padding: 14px 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    position: relative;
    display: flex;
    width: 100%;
    max-width: 850px;
    margin: 25px auto;
    box-sizing: border-box;
}

.logo-marquee::before, .logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color-alt), transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color-alt), transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-track img {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin: 0 40px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition-fast);
}

.marquee-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ====
   Hero Inline Marquee Integration
   ==== */
.hero-marquee-box {
    width: 100%;
    max-width: 850px;
    margin: 30px auto 40px auto;
    padding: 20px 0 15px 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.hero-marquee-box .marquee-title {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 700;
}

.logo-marquee.hero-style {
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.logo-marquee.hero-style::before {
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.logo-marquee.hero-style::after {
    background: linear-gradient(to left, var(--bg-color), transparent);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ====
   Services
   ==== */
.services {
    background: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 152, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 152, 0, 0.06);
    border: 1px solid rgba(255, 152, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-color);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    background: var(--accent-color);
    color: #0000;
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.4);
}

.service-svg-icon {
    width: 28px;
    height: 28px;
    transition: var(--transition-normal);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
    margin: 0;
}

.service-card p strong {
    color: #ffff;
}

/* Custom methodology callout under grid */
.methodology-callout {
    margin-top: 50px;
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 152, 0, 0.15);
    border-radius: 24px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.2);
}

.methodology-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.methodology-icon {
    font-size: 2.8rem;
    animation: rotateGear 15s linear infinite;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(255, 152, 0, 0.3));
}

@keyframes rotateGear {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.methodology-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    max-width: 850px;
    text-align: left;
}

.methodology-text strong {
    color: #ffff;
}

.highlight-inline {
    color: var(--accent-color);
    font-weight: 700;
}

/* Media query adjustment for methodology callout */
@media (max-width: 768px) {
    .methodology-callout {
        padding: 24px 20px;
        margin-top: 35px;
    }
    .methodology-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .methodology-text {
        text-align: center;
        font-size: 1.05rem;
    }
}



/* ====
   Video Testimonials
   ==== */
.video-testimonials {
    background: var(--bg-color-alt);
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 20px);
    margin-right: 30px;
}

.carousel-slide:last-child {
    margin-right: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 10;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #0000;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-normal);
}

.carousel-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.5);
}

.video-card {
    padding: 15px;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 152, 0, 0.3);
    box-shadow: 0 15px 30px rgba(255, 152, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 133.33%; /* 3:4 Portrait Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

@media (max-width: 992px) {
    .carousel-container {
        padding: 0 50px;
    }
    
    .carousel-slide {
        flex: 0 0 calc(50% - 10px);
        margin-right: 20px;
    }
}

@media (max-width: 600px) {
    .carousel-container {
        padding: 0;
    }
    
    .carousel-slide {
        flex: 0 0 100%;
        margin-right: 15px;
    }
    
    .carousel-btn {
        display: none;
    }
}

/* ====
   FAQs
   ==== */
.faqs {
    background: var(--bg-color-alt);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-question.active .icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 30px 24px;
    margin: 0;
}

/* ====
   About
   ==== */
.about {
    padding-bottom: 120px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.profile-img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

.about-stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    padding: 20px 30px;
    text-align: center;
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 5px;
}

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

/* ====
   Footer
   ==== */
.footer {
    background: #ffff;
    padding: 42px 0 28px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 14px;
    opacity: 1;
}

.footer-text {
    max-width: 500px;
    margin: 0 auto 21px;
    font-size: 0.9rem;
    color: #4a5568;
}

.copyright {
    font-size: 0.8rem;
    color: #718096;
    margin: 0;
}

/* ====
   Animations
   ==== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* ====
   Media Queries
   ==== */
@media (max-width: 992px) {
    .logo img {
        max-height: 43px;
    }

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        grid-row: 1; /* Move image above text on mobile */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero {
        padding-top: 105px;
        min-height: auto;
    }

    .about-image {
        margin: 0 auto;
    }
    
    .badge, .badge-hero {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 45px 10px;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .quote {
        font-size: 1.4rem;
    }

    .transformation-box {
        padding: 40px 20px;
    }

    .about-stats {
        display: flex;
        flex-direction: row;
        gap: 12px;
        margin-top: 30px;
        width: 100%;
    }

    .stat-item {
        padding: 15px 10px;
        flex: 1;
    }

    .stat-value {
        font-size: 2rem;
        font-weight: 800;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero {
        background-image: 
            linear-gradient(to bottom, rgba(15, 17, 21, 1) 0%, rgba(15, 17, 21, 0.92) 70%, rgba(15, 17, 21, 0.85) 100%),
            url('images/ea-voltea-low.png');
        background-position: center, center bottom;
        background-size: cover, cover;
    }

    .social-proof-hero {
        padding: 12px 15px;
        width: 100%;
        max-width: 100%;
    }

    .stats-list {
        gap: 0.8rem;
        flex-direction: column;
        align-items: center;
    }

    .stats-list li {
        font-size: 0.9rem;
        white-space: normal;
        text-align: center;
    }

    .logo-marquee {
        padding: 8px 0;
        width: 100%;
        max-width: 100%;
        left: auto;
        transform: none;
        margin: 15px 0;
        box-sizing: border-box;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        overflow: hidden;
    }

    .logo-marquee::before, .logo-marquee::after {
        width: 30px;
    }

    .marquee-track img {
        width: 80px;
        margin: 0 15px;
    }

    .hero-title br {
        display: none;
    }
}

@media (max-width: 576px) {
    .dashboard {
        padding: 16px 10px;
        margin: 25px auto;
        border-radius: 12px;
    }
    .flow-row {
        gap: 4px;
        margin-bottom: 15px;
    }
    .node-box {
        min-width: unset;
        width: 82px;
        padding: 10px 6px;
        border-radius: 8px;
        gap: 4px;
    }
    .node-icon {
        font-size: 20px;
    }
    .node-label {
        font-size: 9px;
        text-align: center;
    }
    .node-count {
        font-size: 13px;
        min-height: unset;
    }
    .connector {
        gap: 2px;
    }
    .conn-line {
        width: 16px;
    }
    .conn-dot {
        width: 6px;
        height: 6px;
    }
    .metric-card {
        padding: 8px;
    }
    .metric-label {
        font-size: 10px;
    }
    .metric-val {
        font-size: 14px;
    }
    .bubble {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .modules-cta .btn-primary {
        font-size: 0.9rem;
        padding: 14px 16px;
        width: 100%;
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 2rem;
    }

    .badge-hero {
        margin-bottom: 1rem;
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .logo img {
        max-height: 32px;
    }
    
    .navbar .btn-primary-outline {
        padding: 8px 16px;
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .navbar .btn-primary-outline svg {
        width: 12px;
        height: 12px;
    }
    
    h1 {
        font-size: 2.2rem;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .hero-cta {
        margin-bottom: 1.5rem;
        width: 100%;
        padding: 0 10px;
    }
    
    .btn-primary, .btn-primary-outline, .btn-whatsapp-result {
        width: 100%;
        display: inline-flex;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .metrics-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .problem-item {
        padding: 20px 16px;
        gap: 16px;
    }
    
    .solution-item {
        padding: 30px 20px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
}

/* ====
   Problem Section
   ==== */
.problem-section {
    background: var(--bg-color-alt);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.problem-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
}

.problem-intro {
    position: sticky;
    top: 120px;
}

.badge-danger {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ff4d4d;
    margin-bottom: 1rem;
}

.problem-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.25;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.sales-chart-wrapper {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-antes {
    color: #ef4444;
}

.label-despues {
    color: #10b981;
}

.sales-chart-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.sales-chart-svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

/* Red line (A) rollercoaster */
.sales-chart-wrapper.active .sales-chart-svg path[stroke="url(#gradA)"] {
    animation: drawLine 2.0s linear forwards;
}

/* Green line (B) smooth growth */
.sales-chart-wrapper.active .sales-chart-svg path[stroke="url(#gradB)"] {
    animation: drawLine 1.0s linear forwards;
    animation-delay: 2.0s;
}

.sales-chart-svg path[stroke="rgba(255,255,255,0.05)"] {
    stroke-dasharray: 4,4;
    stroke-dashoffset: 0;
    animation: none;
}

/* Inflection point circles animation */
.sales-chart-svg .inflection-point,
.sales-chart-svg .inflection-pulse {
    opacity: 0;
    transform: scale(0);
    transform-origin: 200px 80px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
}

.sales-chart-wrapper.active .sales-chart-svg .inflection-point {
    opacity: 1;
    transform: scale(1);
    transition-delay: 2.0s; /* Triggers exactly when line A reaches the point */
}

.sales-chart-wrapper.active .sales-chart-svg .inflection-pulse {
    opacity: 0.2;
    transform: scale(1);
    transition-delay: 2.1s;
    animation: pulseCircle 2.5s infinite 2.2s;
}

.sales-chart-svg .inflection-text {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sales-chart-wrapper.active .sales-chart-svg .inflection-text {
    opacity: 1;
    transition-delay: 2.1s;
}

@keyframes pulseCircle {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.2; }
}

.highlight-danger {
    color: #ff4d4d;
    position: relative;
    display: inline-block;
}

.highlight-success {
    color: #00e676;
    position: relative;
    display: inline-block;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-danger {
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(239, 68, 68, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: var(--transition-normal);
}

.glass-danger:hover {
    transform: translateX(8px);
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.06);
    background: rgba(239, 68, 68, 0.02);
}

.problem-item {
    display: flex;
    gap: 24px;
    padding: 28px;
    align-items: flex-start;
}

.problem-icon {
    background: rgba(239, 68, 68, 0.08);
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.glass-danger:hover .problem-icon {
    background: rgba(239, 68, 68, 0.15);
    transform: scale(1.08);
}

.warning-icon {
    width: 24px;
    height: 24px;
    fill: #ff4d4d;
}

.problem-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.problem-text p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 992px) {
    .problem-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .problem-intro {
        position: static;
        text-align: center;
    }
    
    .badge-danger {
        margin-left: auto;
        margin-right: auto;
    }
    
    .glass-danger:hover {
        transform: translateY(-5px);
    }
}

/* ====
   Solution Section
   ==== */
.solution-section {
    background: var(--bg-color);
    padding: var(--section-pad);
    border-bottom: 1px solid var(--glass-border);
}

.solution-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.solution-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.badge-success {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 200, 83, 0.08);
    border: 1px solid rgba(0, 200, 83, 0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00e676;
    margin-bottom: 1rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.glass-success {
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 200, 83, 0.08);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: var(--transition-normal);
}

.glass-success:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 200, 83, 0.3);
    box-shadow: 0 15px 40px rgba(0, 200, 83, 0.08);
    background: rgba(0, 200, 83, 0.02);
}

.solution-item {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-icon {
    background: rgba(0, 200, 83, 0.08);
    border-radius: 50%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.glass-success:hover .solution-icon {
    background: rgba(0, 200, 83, 0.15);
    transform: scale(1.1);
}

.success-icon {
    width: 28px;
    height: 28px;
    fill: #00e676;
}

.solution-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.solution-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.solution-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.solution-bullets li {
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.solution-bullets li::before {
    content: "✓";
    color: #00e676;
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.4;
}

.antes-despues-box {
    margin-top: 24px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.antes-despues-box p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.antes-despues-box p:last-child {
    margin-bottom: 0;
}

.antes-despues-box .ad-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-right: 6px;
}

.antes-despues-box .antes {
    color: rgba(255, 255, 255, 0.6);
}

.antes-despues-box .antes .ad-label {
    color: #ef4444;
}

.antes-despues-box .despues {
    color: var(--text-primary);
}

.antes-despues-box .despues .ad-label {
    color: #00e676;
}

/* Dashboard Visualizer */
.dashboard {
    background: #0f1117;
    border-radius: 16px;
    padding: 24px;
    font-family: var(--font-sans, sans-serif);
    max-width: 650px;
    margin: 40px auto;
    border: 1px solid #2a2d3a;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.node-box {
    background: #1a1d2e;
    border: 1px solid #2a2d3a;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 110px;
    transition: border-color 0.4s, box-shadow 0.4s;
}
.node-box.active-green  { border-color: #22c55e; box-shadow: 0 0 14px rgba(34,197,94,0.25); }
.node-box.active-orange { border-color: #f59e0b; box-shadow: 0 0 14px rgba(245,158,11,0.25); }
.node-box.active-blue   { border-color: #3b82f6; box-shadow: 0 0 14px rgba(59,130,246,0.25); }
.node-icon  { font-size: 28px; }
.node-label { font-size: 12px; color: #9ca3af; font-weight: 500; }
.node-count { font-size: 20px; font-weight: 700; color: #fff; min-height: 26px; }
.connector  { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.conn-line  { width: 40px; height: 2px; background: #2a2d3a; border-radius: 2px; overflow: hidden; }
.conn-fill  { height: 100%; width: 0%; border-radius: 2px; transition: width 0.2s ease; }
.conn-fill.blue   { background: #3b82f6; }
.conn-fill.orange { background: #f59e0b; }
.conn-dot { width: 8px; height: 8px; border-radius: 50%; background: #2a2d3a; transition: background 0.4s; }
.conn-dot.lit-blue   { background: #3b82f6; }
.conn-dot.lit-orange { background: #f59e0b; }

.bubbles-area {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    min-height: 36px;
    align-items: flex-start;
    justify-content: center;
}
.bubble {
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(6px) scale(0.92);
    transition: opacity 0.35s ease, transform 0.35s ease;
    background: #1e2535;
    color: #d1d5db;
}
.bubble.show { opacity: 1; transform: translateY(0) scale(1); }

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.metric-card {
    background: #1a1d2e;
    border: 1px solid #2a2d3a;
    border-radius: 10px;
    padding: 12px;
    transition: border-color 0.4s;
    text-align: center;
}
.metric-card.lit-green  { border-color: #22c55e; }
.metric-card.lit-orange { border-color: #f59e0b; }
.metric-card.lit-blue   { border-color: #3b82f6; }
.metric-label { font-size: 11px; color: #6b7280; margin: 0 0 4px; text-transform: uppercase; font-weight: 600;}
.metric-val   { font-size: 18px; font-weight: 700; color: #fff; margin: 0; }
.metric-val.green  { color: #22c55e; }
.metric-val.orange { color: #f59e0b; }
.metric-val.blue   { color: #3b82f6; }

.status-bar  { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 20px;}
.status-dot  { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.status-text { font-size: 12px; color: #6b7280; font-weight: 500;}

/* Callout Resultado Final */
.result-callout {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 50px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(0, 200, 83, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.result-callout::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.result-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.result-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 200, 83, 0.15);
    color: #00e676;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.result-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffff;
}

.result-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin: 0;
}

.btn-whatsapp-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    font-size: 1.05rem;
    gap: 10px;
    background: #25D366;
    color: #ffff;
    border: 2px solid #25D366;
    margin-top: 25px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    animation: pulseWhatsapp 2s infinite;
}

.btn-whatsapp-result:hover {
    background: #20ba5a;
    border-color: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    color: #ffff;
}

.btn-whatsapp-result svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .result-callout {
        padding: 30px 20px;
    }
    .result-title {
        font-size: 1.5rem;
    }
}

/* ====
   Modules Section (Lo hacemos con 6 Módulos)
   ==== */
.modules-section {
    background: radial-gradient(circle at 50% 0%, rgba(255, 152, 0, 0.04) 0%, var(--bg-color-alt) 70%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 15px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.down-arrow-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    opacity: 0.6;
    margin-top: 15px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
    align-items: flex-start;
}

.module-card {
    padding: 30px 25px;
    background: #1c1e22 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.module-card::before {
    display: none;
}

.module-card:hover,
.module-card.open {
    transition-delay: 0s !important;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 152, 0, 0.25) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 152, 0, 0.05) !important;
}

.module-card.open {
    background: #22252a !important;
    border-color: rgba(255, 152, 0, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 152, 0, 0.06) !important;
}

.module-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 0 !important;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.module-card-header h3 {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 700;
    color: #ffff;
    flex: 1;
}

.module-chevron {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.module-card:hover .module-chevron {
    background: rgba(255, 152, 0, 0.1);
    color: var(--accent-color);
    border-color: rgba(255, 152, 0, 0.15);
}

.module-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease, 
                padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-card.open .module-card-body {
    max-height: 600px;
    opacity: 1;
    padding-top: 18px;
}

.module-card.open .module-chevron {
    transform: rotate(180deg);
    background: rgba(255, 152, 0, 0.1);
    color: var(--accent-color);
    border-color: rgba(255, 152, 0, 0.15);
}

.module-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #a0aab2;
    margin: 0;
}

.module-highlight-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffff;
    margin: 0;
    font-weight: 600;
}

.modules-cta {
    text-align: center;
    margin-top: 50px;
}

.modules-cta .btn-primary {
    padding: 16px 36px;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .module-card {
        padding: 28px 24px;
    }
}

/* ====
   Fixes for very small screens (360px)
   ==== */
@media (max-width: 380px) {
    h1, .hero-title {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .badge-hero {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .hero-trust {
        gap: 4px;
    }
    
    .hero-trust-text {
        font-size: 0.75rem;
        text-align: center;
        line-height: 1.3;
    }

    .btn-primary, .btn-primary-outline, .btn-whatsapp-result {
        font-size: 0.85rem;
        padding: 12px 14px;
    }

    .social-proof-hero {
        padding: 12px 10px;
    }

    .stats-list {
        gap: 0.8rem;
    }

    .stats-list li {
        font-size: 0.8rem;
    }
    
    .marquee-track img {
        width: 70px;
        margin: 0 10px;
    }

    /* Dashboard 360px optimization */
    .dashboard {
        padding: 12px 6px;
        margin: 15px auto;
        border-radius: 10px;
    }
    
    .flow-row {
        gap: 2px;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 12px;
    }
    
    .node-box {
        width: 25%;
        min-width: 66px;
        max-width: 80px;
        padding: 6px 2px;
        border-radius: 6px;
        gap: 2px;
    }
    
    .node-icon {
        font-size: 16px;
    }
    
    .node-label {
        font-size: 8px;
        letter-spacing: -0.2px;
    }
    
    .node-count {
        font-size: 10px;
        letter-spacing: -0.3px;
    }
    
    .connector {
        flex-grow: 1;
        min-width: 6px;
        gap: 2px;
    }
    
    .conn-line {
        width: 100%;
        height: 1px;
    }
    
    .conn-dot {
        width: 4px;
        height: 4px;
    }
    
    .bubbles-area {
        gap: 4px;
        margin-bottom: 10px;
        min-height: auto;
    }
    
    .bubble {
        padding: 4px 8px;
        font-size: 9px;
        border-radius: 10px;
    }
    
    .metrics-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px !important;
        margin-bottom: 10px;
    }
    
    .metric-card {
        padding: 6px 2px;
        border-radius: 6px;
    }
    
    .metric-label {
        font-size: 7.5px;
        letter-spacing: -0.1px;
        margin-bottom: 2px;
    }
    
    .metric-val {
        font-size: 10px;
        letter-spacing: -0.2px;
    }
    
    .status-bar {
        margin-top: 10px;
        gap: 4px;
    }
    
    .status-dot {
        width: 5px;
        height: 5px;
    }
    
    .status-text {
        font-size: 9px;
    }
}