:root {
    /* Color Palette - Blue Scale */
    --blue-dark: #001a35;
    --blue-primary: #0056b3;
    --blue-accent: #38bdf8;
    /* Softer, harmonious accent */
    --blue-soft: #e0f2ff;
    --blue-sky: #f0f7ff;
    --white: #ffffff;
    --grey-light: #f8fafc;
    --grey-mid: #cbd5e1;
    --text-dark: #0f172a;
    --text-muted: #475569;

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --container-max: 1280px;
    --section-padding: 100px 0;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* System Tokens */
    --kor-border: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-box {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--grey-light);
}

.bg-grid {
    background-image: radial-gradient(var(--grey-mid) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
}

.bg-blue-dark {
    background-color: var(--blue-dark);
}

.bg-blue-primary {
    background-color: var(--blue-primary);
}

.text-white {
    color: var(--white) !important;
}

.text-muted-white {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-blue {
    color: var(--blue-primary);
    font-weight: 800;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.align-start {
    align-items: start !important;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.img-fluid {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.creative-rounded {
    border-radius: 40px 10px 60px 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--blue-primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
}

.btn-outline:hover {
    background: var(--blue-primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Language switch (minimal) */
.lang-btn {
    background: transparent;
    border: 0;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.18s ease, color 0.18s ease;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.lang-btn.lang-active {
    background: var(--blue-accent);
    color: var(--blue-dark);
    border-radius: 6px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo-box,
.logo-img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Nav Dropdown local CSS */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    text-decoration: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    border: 1px solid var(--grey-light);
    z-index: 1000;
    top: 100%;
    left: 0;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--blue-sky);
    color: var(--blue-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* =============================================
   HERO — Galicia-style Carousel
   ============================================= */
.hero-galicia {
    padding: 100px 0 0;
    background: #fff;
    position: relative;
    overflow: visible;
}

#hero-carousel-container {
    position: relative;
    width: 100%;
    min-height: 460px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
    z-index: 1;
    padding: 30px 0 50px;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    position: relative;
}

/* Typography — Galicia pattern: em.kw is italic + bold + brand color */
.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
}

.hero-text h1 em.kw {
    font-style: italic;
    color: var(--blue-primary);
    font-weight: 800;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Hero Image Container — Galicia-style clean rounded shapes */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base UI Container Logic */
.hero-ui-container {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4/3;
    border-radius: 40px 90px 40px 90px;
    background: var(--blue-dark); 
    box-shadow: 0 16px 40px rgba(0, 26, 53, 0.2), inset 0 0 40px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .hero-ui-container {
        border-radius: 40px 120px 40px 120px;
        aspect-ratio: auto;
        min-height: 320px;
    }
    .hero-ui-container.shape-alt {
        border-radius: 120px 40px 120px 40px;
    }
}

.hero-ui-container.shape-alt {
    border-radius: 90px 40px 90px 40px;
}

/* UI Header Shared */
.ui-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.ui-dots { display: flex; gap: 6px; margin-right: 16px; flex-shrink: 0; }
.ui-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.ui-dots span:nth-child(1) { background: #ff5f56; }
.ui-dots span:nth-child(2) { background: #ffbd2e; }
.ui-dots span:nth-child(3) { background: #27c93f; }

.ui-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', monospace;
    letter-spacing: 0.5px;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* THEME 1: FLOW (Procesamiento/Doc) */
.ui-flow-theme {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}
.ui-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.75rem; color: #10b981; font-weight: 600;
    background: rgba(16, 185, 129, 0.1); padding: 4px 10px; border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.pulse-dot-green {
    width: 6px; height: 6px; background: #10b981; border-radius: 50%;
    animation: pulseG 1.5s infinite;
}
@keyframes pulseG { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.ui-body-flow {
    flex: 1; display: flex; flex-direction: column; padding: 24px 32px; gap: 0;
    justify-content: center; position: relative;
}
.flow-step {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 20px; border-radius: 12px; position: relative; z-index: 2;
    transition: all 0.3s ease;
}
.flow-step.active-step {
    background: rgba(14, 165, 233, 0.1); border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.1); transform: scale(1.02);
}
.flow-step.pending { opacity: 0.6; }
.step-icon {
    width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center; color: #94a3b8;
}
.step-icon.glow-blue { color: #38bdf8; background: rgba(56, 189, 248, 0.1); }
.step-details { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; }
.step-name { font-size: 0.95rem; font-weight: 600; color: #f8fafc; }
.step-meta { font-size: 0.75rem; color: #94a3b8; }
.step-meta.text-blue { color: #38bdf8; font-weight: 500;}
.step-check { color: #10b981; width: 18px; height: 18px; }
.step-wait { color: #64748b; width: 18px; height: 18px; }

.flow-connection {
    height: 18px; width: 2px; background: rgba(255,255,255,0.1);
    margin: 0 0 0 37px; position: relative;
}
.flow-connection.wait { border-left: 2px dashed rgba(255,255,255,0.1); background: transparent; }
.data-packet {
    position: absolute; top: 0; left: -3px; width: 8px; height: 8px;
    background: #38bdf8; border-radius: 50%; box-shadow: 0 0 10px #38bdf8;
    animation: flowPacket 1.5s infinite linear;
}
@keyframes flowPacket { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.ui-spinner {
    width: 16px; height: 16px; border: 2px solid rgba(56, 189, 248, 0.2);
    border-top-color: #38bdf8; border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* THEME 2: DASHBOARD */
.ui-dash-theme {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}
.ui-filter {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.75rem; color: #cbd5e1; font-weight: 500;
    background: rgba(255, 255, 255, 0.1); padding: 4px 10px; border-radius: 6px;
}
.ui-filter i { width: 12px; height: 12px; }

.ui-dashboard-rich {
    flex: 1; display: flex; flex-direction: column; padding: 24px 32px; gap: 16px;
}
.dash-kpi-grid { display: flex; gap: 12px; }
.dash-kpi {
    flex: 1; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
}
.dash-kpi.highlight {
    background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.2);
}
.kpi-icon {
    width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.kpi-icon i { width: 16px; height: 16px; }
.kpi-icon.i-up { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.kpi-icon.i-check { background: rgba(99, 102, 241, 0.1); color: #818cf8; }
.kpi-data { display: flex; flex-direction: column; }
.kpi-data .val { font-size: 1.2rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 2px;}
.kpi-data .lbl { font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; font-weight: 600;}

.dash-chart-wrapper {
    flex: 1; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; position: relative; padding: 16px 20px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.chart-grid-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: space-between; padding: 16px 0; z-index: 0;
}
.chart-grid-bg span { border-top: 1px dashed rgba(255,255,255,0.05); width: 100%; }
.chart-bars {
    display: flex; align-items: flex-end; justify-content: space-between; height: 100%; z-index: 1; padding: 0 10px;
}
.ui-bar-rich {
    width: 12%; background: linear-gradient(0deg, rgba(99,102,241,0.2) 0%, rgba(99,102,241,0.6) 100%);
    border-radius: 4px 4px 0 0; animation: barGrow 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; transform-origin: bottom;
    position: relative;
    border-top: 1px solid rgba(165, 180, 252, 0.5);
}
.ui-bar-rich.active-bar {
    background: linear-gradient(0deg, rgba(99,102,241,0.4) 0%, rgba(99,102,241,1) 100%);
    box-shadow: 0 0 15px rgba(99,102,241,0.4);
}
.bar-tooltip {
    position: absolute; top: -35px; left: 50%; transform: translateX(-50%);
    background: white; color: #0f172a; font-size: 0.65rem; font-weight: 700;
    padding: 3px 6px; border-radius: 4px; text-align: center; line-height: 1.1;
    opacity: 0; animation: tooltipFade 0.5s ease 1.5s forwards;
}
@keyframes tooltipFade { to { opacity: 1; top: -30px; } }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ui-bar-rich:nth-child(2) { animation-delay: 0.1s; }
.ui-bar-rich:nth-child(3) { animation-delay: 0.2s; }
.ui-bar-rich:nth-child(4) { animation-delay: 0.3s; }
.ui-bar-rich:nth-child(5) { animation-delay: 0.4s; }
.ui-bar-rich:nth-child(6) { animation-delay: 0.5s; }


/* THEME 3: AGENTS */
.ui-agent-theme {
    background: linear-gradient(135deg, #001a35 0%, #003366 100%);
}
.ui-status-badge {
    display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: #fff;
    background: var(--blue-primary); padding: 4px 10px; border-radius: 20px; font-weight: 600;
}
.ui-status-badge i { width: 12px; height: 12px; }

.ui-agent-interface {
    flex: 1; padding: 24px 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.user-prompt {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(255,255,255,0.05); padding: 12px 16px; border-radius: 12px;
    color: #fff; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.08);
}
.prompt-icon {
    width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.prompt-icon i { width: 14px; height: 14px; }

.agent-processing {
    display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 2px solid rgba(255,255,255,0.1); margin-left: 10px;
}
.process-node {
    display: flex; align-items: center; gap: 8px; color: #38bdf8; font-size: 0.75rem; font-family: monospace;
    opacity: 0.8; animation: processBlink 2s infinite;
}
.process-node i { width: 14px; height: 14px; }
.process-node:nth-child(2) { animation-delay: 1s; }
@keyframes processBlink { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

.agent-response {
    background: #ffffff; color: var(--text-main); padding: 16px; border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); position: relative; margin-top: 4px;
    animation: responsePop 0.4s cubic-bezier(0.16, 1, 0.3, 1) 1.5s both;
}
.response-header {
    display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--blue-primary); margin-bottom: 6px;
}
.response-header i { width: 16px; height: 16px; }
.response-body {
    font-size: 0.9rem; line-height: 1.4; color: var(--text-main);
}
@keyframes responsePop { from { opacity: 0; transform: translateY(10px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }


/* Carousel Controls — arrows + dots, centered */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 0 0;
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--grey-mid);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.carousel-arrow:hover {
    border-color: var(--blue-primary);
    color: var(--blue-primary);
    background: var(--blue-soft);
}

.carousel-indicators {
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--grey-mid);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    transform: scale(1.3);
}

/* Quick Access Bar — Galicia-style row of cards */
.quick-access {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 24px;
    padding-bottom: 40px;
}

.qa-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    border-radius: 16px;
    background: var(--grey-light);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.qa-card:hover {
    background: var(--blue-soft);
    border-color: var(--blue-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.1);
}

.qa-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
}


/* Badges */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--blue-soft);
    color: var(--blue-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.badge-white {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--blue-dark);
}

.section-title-sm {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--blue-dark);
    font-family: inherit;
    font-weight: 700;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 800px;
}

/* Features List (Value Prop) */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card.icon-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--grey-light);
    box-shadow: var(--shadow-sm);
}

.hover-shadow {
    transition: var(--transition);
}

.hover-shadow:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.f-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-soft);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-card h3 {
    margin-bottom: 4px;
    font-size: 1.25rem;
    color: var(--blue-dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- System Hub UI Redesign (Premium Product Feel) --- */
.system-hub-theme {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

.hub-interface {
    flex: 1; display: flex; overflow: hidden; position: relative;
    font-family: 'Inter', sans-serif;
}

.hub-sidebar {
    width: 50px; background: rgba(0,0,0,0.3); border-right: 1px solid rgba(255,255,255,0.05);
    display: flex; flex-direction: column; align-items: center; padding: 16px 0; gap: 16px;
}
.sidebar-item {
    width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: #64748b; cursor: pointer; transition: all 0.3s ease;
}
.sidebar-item i { width: 16px; height: 16px; }
.sidebar-item:hover { color: #f8fafc; background: rgba(255,255,255,0.05); }
.sidebar-item.active { color: #38bdf8; background: rgba(56, 189, 248, 0.1); }

.hub-main {
    flex: 1; padding: 20px 24px; display: flex; flex-direction: column; gap: 20px;
}

.hub-top-bar { display: flex; justify-content: space-between; align-items: flex-end; }
.hub-greeting { font-size: 0.95rem; font-weight: 600; color: #f8fafc; }
.hub-metrics { display: flex; gap: 12px; }
.metric-pill {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 12px; border-radius: 20px; display: flex; align-items: center; gap: 8px; font-size: 0.75rem;
}
.metric-pill .lbl { color: #94a3b8; }
.metric-pill .val { color: #fff; font-weight: 600; font-family: monospace; }
.text-green { color: #10b981 !important; }

.hub-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }

.hub-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px;
    position: relative; overflow: hidden; backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.hub-card:hover {
    border-color: rgba(255,255,255,0.15); transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.hub-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%); pointer-events: none;
}
.hub-card.bg-highlight { background: rgba(14, 165, 233, 0.05); border-color: rgba(14, 165, 233, 0.15); }

.card-header { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; color: #e2e8f0; }
.ch-icon { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; }
.ch-icon i { width: 14px; height: 14px; }
.bg-purple { background: rgba(139, 92, 246, 0.8); box-shadow: 0 0 10px rgba(139, 92, 246, 0.4); }
.bg-blue { background: rgba(14, 165, 233, 0.8); box-shadow: 0 0 10px rgba(14, 165, 233, 0.4); }

.card-body { display: flex; flex-direction: column; gap: 14px; flex: 1; justify-content: center; }
.card-body.center { align-items: center; text-align: center; justify-content: center; }

.process-line { display: flex; flex-direction: column; gap: 6px; }
.pl-text { display: flex; justify-content: space-between; font-size: 0.75rem; color: #94a3b8; }
.pl-status { font-weight: 600; color: #10b981; }
.p-bar { width: 100%; height: 4px; background: rgba(0,0,0,0.4); border-radius: 2px; overflow: hidden; }
.p-bar .fill { height: 100%; background: #38bdf8; border-radius: 2px; }
.p-bar .fill.loading { background: #8b5cf6; position: relative; animation: loadBar 2s ease-in-out infinite alternate; }
@keyframes loadBar { 0% { width: 30%; } 100% { width: 90%; } }

.sync-ripple {
    width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(14, 165, 233, 0.1); position: relative; margin-bottom: 8px;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}
.sync-ripple::before, .sync-ripple::after {
    content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(14, 165, 233, 0.4);
    animation: ripplePulse 2s linear infinite; top: 0; left: 0; right: 0; bottom: 0;
}
.sync-ripple::after { animation-delay: 1s; }
@keyframes ripplePulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.sync-icon { color: #38bdf8; width: 22px; height: 22px; animation: bounceSync 2s ease-in-out infinite; }
@keyframes bounceSync { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.status-txt { font-size: 0.8rem; color: #cbd5e1; font-weight: 500; }

.module-flow { padding: 24px; justify-content: center; align-items: center; background: rgba(255,255,255,0.01); border-top: 1px dashed rgba(255,255,255,0.05); }
.flow-track-title { position: absolute; top: 14px; left: 18px; font-size: 0.7rem; color: #64748b; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.flow-track { display: flex; align-items: center; width: 100%; justify-content: space-between; max-width: 360px; margin-top: 10px; }
.f-node { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 2; }
.fn-icon {
    width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; color: #94a3b8; transition: all 0.3s;
}
.fn-icon i { width: 18px; height: 18px; }
.fn-lbl { font-size: 0.7rem; color: #94a3b8; white-space: nowrap; font-weight: 500; }
.font-bold { font-weight: 700 !important; }

.f-node.done .fn-icon { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); color: #10b981; }
.f-node.active .fn-icon { background: rgba(56, 189, 248, 0.15); border-color: rgba(56, 189, 248, 0.4); color: #38bdf8; box-shadow: 0 0 20px rgba(56, 189, 248, 0.3); }
.f-node.pending .fn-icon { opacity: 0.4; }

.fn-pulse {
    position: absolute; top: 19px; left: 50%; transform: translate(-50%, -50%);
    width: 38px; height: 38px; border-radius: 10px; border: 2px solid #38bdf8;
    animation: flowPulse 2s infinite; pointer-events: none;
}
@keyframes flowPulse { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; } }

.f-line { flex: 1; height: 2px; background: rgba(255,255,255,0.05); margin: 0 10px; position: relative; margin-top: -20px; }
.f-progress { height: 100%; background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
.f-progress.waiting { width: 0%; background: #38bdf8; box-shadow: 0 0 8px rgba(56, 189, 248, 0.5); animation: moveFlowLine 2s linear infinite; }
@keyframes moveFlowLine { 0% { width: 0%; opacity: 1; } 80% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }

/* Glass Ecosystem Redesign */
.glass-section {
    background: linear-gradient(180deg, var(--blue-dark) 0%, #001026 100%);
    position: relative;
    overflow: hidden;
}

.glass-section::before {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.text-cyan {
    color: var(--blue-accent);
}

.max-z {
    position: relative;
    z-index: 5;
}

.ecosystem-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.eco-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 24px;
    border-radius: 24px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.eco-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.eco-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.eco-glow-accent {
    background: radial-gradient(circle, var(--blue-accent) 0%, transparent 70%);
    opacity: 0.3;
}

.eco-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--blue-accent);
}

.eco-accent .eco-icon {
    background: var(--blue-accent);
    color: var(--blue-dark);
}

.eco-card h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.eco-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Methodology Timeline Journey */
.timeline-journey {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 4rem auto 0;
}

.t-card {
    background: var(--white);
    border: 1px solid var(--grey-mid);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    flex: 1;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.t-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-accent);
    transform: translateY(-5px);
}

.t-num {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 6rem;
    font-weight: 800;
    color: var(--grey-light);
    line-height: 1;
    z-index: 0;
    transition: var(--transition);
}

.t-card:hover .t-num {
    color: var(--blue-soft);
    transform: scale(1.05);
}

.t-content {
    position: relative;
    z-index: 1;
}

.t-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-soft);
    color: var(--blue-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.t-card h3 {
    color: var(--blue-dark);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.t-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.t-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-mid);
    flex-shrink: 0;
}

.t-arrow i {
    width: 24px;
    height: 24px;
}

/* Bento Box Cases */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.bento-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid var(--grey-mid);
}

.bento-card:hover {
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.b-icon {
    width: 40px;
    height: 40px;
    color: var(--blue-primary);
    margin-bottom: 16px;
}

.bento-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--blue-dark);
}

.bento-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}


/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

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

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

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

.delay-3 {
    transition-delay: 0.6s;
}

/* Dynamic Icon Animations */
@keyframes animSpinPulse {
    0% {
        transform: rotate(0) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes animFloat {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }

    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 8px 10px rgba(0, 86, 179, 0.2));
    }
}

@keyframes animFlip {
    0% {
        transform: perspective(400px) rotateY(0);
    }

    100% {
        transform: perspective(400px) rotateY(360deg);
    }
}

@keyframes animBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.anim-spin-pulse {
    animation: animSpinPulse 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.anim-float {
    animation: animFloat 3s ease-in-out infinite;
}

.anim-flip {
    animation: animFlip 4s ease-in-out infinite;
}

.anim-bounce {
    animation: animBounce 2.5s infinite;
}

/* Contact Section & Footer */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.guarantee-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--grey-mid);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 4px var(--blue-soft);
}

.footer {
    padding: 80px 0 40px;
    background: var(--grey-light);
    border-top: 1px solid var(--grey-mid);
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 40px;
}

.footer-logo p {
    margin-top: 16px;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-col h4,
.footer-links h4,
.footer-social h4 {
    margin-bottom: 24px;
}

.footer-col a,
.footer-links a,
.footer-social a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover,
.footer-links a:hover,
.footer-social a:hover {
    color: var(--blue-primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--grey-mid);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* LinkedIn Dynamic Feed Section */
.linkedin-dynamic-feed {
    width: 100%;
    margin: 0 auto;
    max-width: 1100px;
    position: relative;
    border-radius: var(--radius-md);
    background: var(--white);
    padding: 30px 30px 0 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--grey-mid);
    overflow: hidden;
}

.widget-setup-box {
    padding: 40px 20px;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--grey-light);
    border: 2px dashed var(--blue-primary);
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.widget-setup-box i {
    width: 50px;
    height: 50px;
    color: var(--blue-primary);
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-slide {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-visual {
        order: -1;
        /* image on top in mobile  */
    }

    .hero-img-container {
        max-width: 360px;
        margin: 0 auto;
    }

    .quick-access {
        grid-template-columns: repeat(3, 1fr);
    }

    .ecosystem-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline-journey {
        flex-direction: column;
    }

    .t-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 24px;
        transition: var(--transition);
        overflow-y: auto;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        margin: 12px 0;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 24px;
        background: var(--grey-light);
        position: fixed;
        bottom: 0;
        left: -100%;
        transition: var(--transition);
        z-index: 1000;
        border-top: 1px solid var(--grey-mid);
    }
    
    .nav-actions.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
        padding: 8px;
        color: var(--blue-dark);
        z-index: 1001;
    }

    /* Mobile Dropdown overriding inline styles and desktop hover */
    .dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        margin: 0 !important;
        justify-content: space-between;
        width: 100%;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--grey-light);
    }
    
    .dropdown-content {
        position: static;
        display: none !important;
        box-shadow: none !important;
        border: none !important;
        min-width: 100% !important;
        padding: 10px 0 10px 16px !important;
        opacity: 1;
        transform: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block !important;
    }
    
    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .feature-card.icon-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .workflow-canvas {
        height: 350px;
        margin-top: 2rem;
    }
    
    .eco-card, .t-card, .bento-card {
        padding: 24px 20px;
    }
    
    .form-group input, .form-group textarea {
        font-size: 16px; /* Prevents iOS auto-zoom */
    }
    
    /* Structure & Grid Overrides for Inline Flex/Grid styles */
    .mobile-stack {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important; /* Safety catch */
    }
    .mobile-grid-stack {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    [data-mobile-flex="col"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    
    /* Additional Mockup specific for the Hub */
    /* Hide some complexity in mobile hub mockups or make them smaller */
    .mockup-window {
        padding-top: 25px !important;
        overflow-x: hidden;
    }
    .mockup-window > div:nth-child(2) {
        flex-direction: column !important;
        padding: 16px !important;
    }
    .mockup-window > div:nth-child(2) > div:first-child {
        width: 100% !important;
        flex-direction: row !important;
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0 !important;
        padding-bottom: 15px !important;
        justify-content: space-around;
        margin-bottom: 5px;
    }
    .mockup-window > div:nth-child(2) > div:nth-child(2) > div {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .quick-access {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .area-btn {
        padding: 16px 12px;
        font-size: 0.85rem;
        gap: 8px;
    }
    .area-btn i {
        width: 28px;
        height: 28px;
    }
    .area-title h3 {
        font-size: 1.8rem;
    }
    .area-title p {
        font-size: 1rem;
    }
    .hero-sol-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-sol-text h1 {
        font-size: 2.2rem;
    }
    .hero-sol-text p {
        font-size: 1rem;
    }
    .hero-sol-visual {
        order: -1;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .usage-card {
        padding: 24px 20px;
    }
}

/* Hide Elfsight Logo */
.elfsight-app-01fbd17a-c08d-44b2-87d7-bb23963a46c1 {
    margin-bottom: -60px;
    /* Push the branding badge out of the container bounds */
    padding-bottom: 20px;
}

div[class*="BadgeContainer"] {
    display: none !important;
}

a[href*="elfsight.com"],
.eapps-link,
[class*="elfsight-app"]+div {
    display: none !important;
}

/* =============================================
   SOLUCIONES PAGE STYLES
   ============================================= */

/* Hero Soluciones Section */
.hero-soluciones {
    padding: 100px 0 60px;
    background: #fff;
    position: relative;
    overflow: visible;
}

.hero-sol-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: auto;
}

.hero-sol-text h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
}

.hero-sol-text h1 em.kw {
    font-style: italic;
    color: var(--blue-primary);
    font-weight: 800;
}

.hero-sol-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-sol-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Grid 3 Columns for usage section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.usage-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-align: left;
}

.usage-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.usage-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 16px;
}

.usage-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 700;
}

.usage-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.area-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--white);
    border: 2px solid var(--grey-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    transition: var(--transition);
}

.area-btn i {
    width: 32px;
    height: 32px;
    color: var(--blue-primary);
}

.area-btn:hover {
    border-color: var(--blue-primary);
    background: var(--blue-soft);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.1);
}

.area-btn.active {
    background: var(--blue-primary);
    color: var(--white);
    border-color: var(--blue-primary);
}

.area-btn.active i {
    color: var(--white);
}

/* Area Solutions Container */
.area-solutions {
    display: none;
    animation: fadeIn 0.4s ease;
}

.area-solutions.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.area-title h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--blue-dark);
}

.area-title p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--grey-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--blue-accent);
}

.sol-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-soft);
    color: var(--blue-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.solution-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--blue-dark);
    font-weight: 700;
    line-height: 1.4;
}

.sol-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
    flex-grow: 1;
}

.sol-tag {
    display: inline-block;
    background: var(--blue-soft);
    color: var(--blue-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Solution Showcase Cards */
.solution-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showcase-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--grey-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.showcase-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--blue-primary);
}

.showcase-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-soft);
    color: var(--blue-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.showcase-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blue-dark);
    font-weight: 700;
}

.showcase-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Common Traits Section */
.common-traits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trait-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-align: center;
}

.trait-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.trait-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

.trait-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 700;
}

.trait-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Custom List */
.custom-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.custom-list li {
    padding-left: 32px;
    position: relative;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.custom-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Custom Idea Visual */
.custom-idea-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.idea-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--grey-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.idea-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--blue-primary);
}

.idea-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-soft);
    color: var(--blue-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.idea-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blue-dark);
    font-weight: 700;
}

.idea-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Methodology Steps */
.methodology-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.meth-step {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--grey-light);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: start;
    transition: var(--transition);
}

.meth-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue-accent);
    font-family: 'Outfit', sans-serif;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-soft);
    color: var(--blue-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--blue-dark);
    font-weight: 700;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.meth-arrow {
    text-align: center;
    color: var(--blue-primary);
    font-size: 1.5rem;
    margin: 0 0 -1.5rem 0;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--grey-light);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-color: var(--blue-primary);
}

.tech-icon {
    width: 56px;
    height: 56px;
    background: var(--blue-soft);
    color: var(--blue-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

.tech-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--blue-dark);
    font-weight: 700;
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive Adjustments for Soluciones Page */
@media (max-width: 1024px) {
    .hero-sol-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sol-text h1 {
        font-size: 2.2rem;
    }

    .hero-sol-visual {
        order: -1;
    }

    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .common-traits {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .meth-step {
        grid-template-columns: 1fr;
    }

    .step-num {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-sol-text h1 {
        font-size: 1.8rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .common-traits {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .tech-grid {
        grid-template-columns: 1fr;
    }
}
.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-col a {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* System Hub Responsive CSS */
@media (max-width: 768px) {
    .system-hub-theme {
        min-height: auto !important;
        height: auto !important;
    }
    .hub-interface {
        flex-direction: column;
    }
    .hub-sidebar {
        width: 100%; height: auto; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05);
        flex-direction: row; justify-content: space-around; padding: 10px;
    }
    .hub-sidebar .sidebar-item { margin-top: 0 !important; }
    .hub-grid { grid-template-columns: 1fr; }
    .col-span-2, .col-span-3 { grid-column: span 1; }
    .hub-top-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}


/* =============================================
   NEW PREMIUM LANDING SYSTEM
   ============================================= */

.hero-premium {
    position: relative;
    overflow: hidden;
}

.hero-premium .badge {
    background: var(--blue-soft);
    color: var(--blue-primary);
    padding: 8px 16px;
    border-radius: 64px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.mockup-window {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--kor-border);
    box-shadow: 0 40px 100px -20px rgba(0,26,53,0.15);
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulse-dot-green::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #10b981;
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

@media (max-width: 1024px) {
    .hero-premium h1 {
        font-size: 3rem !important;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        padding: 120px 0 60px 0 !important;
    }
    .hero-premium .hero-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 40px !important;
    }
    .hero-premium .hero-text {
        text-align: center !important;
        margin: 0 auto !important;
    }
    .hero-premium h1 {
        font-size: 2.5rem !important;
    }
    .hero-premium .hero-actions {
        justify-content: center !important;
    }
    .hero-premium .hero-visual {
        width: 100% !important;
    }
}

/* Base Responsive Helpers */
.mobile-stack {
    display: flex !important;
}
@media (max-width: 768px) {
    .mobile-stack {
        flex-direction: column !important;
    }
}

.shadow-hover {
    transition: var(--transition);
}
.shadow-hover:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    transform: translateY(-4px);
}
