/* =========================================================================
   AD IMPULSION - STYLESHEET
   Core styling, Dark mode by default, Neon accents, Glassmorphism
========================================================================= */

/* --- CSS Variables --- */
:root {
    /* Color Palette */
    --bg-main: #F4F7F9; /* Light off-white base */
    --bg-darker: #E9EEF4;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    
    /* Neons & Accents */
    --accent-cyan: #0ea5e9;
    --accent-purple: #8B5CF6;
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    
/* === Tech-focused Modern Variables === */
    --glass-bg: linear-gradient(135deg, rgba(200, 235, 253, 0.85), rgba(233, 218, 251, 0.85));
    --glass-border: rgba(14, 165, 233, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
    --glass-blur: blur(16px);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --nav-height: 95px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html, body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%23000000' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --- Background Effects (Blobs) --- */
.blob-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138,43,226,0.15) 0%, rgba(11,14,20,0) 70%);
    top: -200px;
    left: -200px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
    pointer-events: none;
}

.blob-bg.blob-2 {
    background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, rgba(11,14,20,0) 70%);
    top: 40%;
    right: -300px;
    left: auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* --- Layout Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

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

.text-center { text-align: center; }
.mt-xl { margin-top: 4rem; }
.mb-lg { margin-bottom: 3rem; }
.relative { position: relative; }

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

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

/* --- Components --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}
.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
}
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}
.btn-text {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.875rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(244, 247, 249, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--glass-border);
}

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

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.brand-logo .logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
}

.brand-logo i {
    color: var(--accent-cyan);
    font-size: 1.8rem;
}

.brand-logo span {
    font-weight: 400;
    opacity: 0.8;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.nav-btn {
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: var(--text-primary);
}

.nav-btn:hover {
    border-color: var(--accent-purple);
    background: rgba(138, 43, 226, 0.1);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- Hero Section --- */
/* --- Hero Section (Dark Mode) --- */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-color: #050b14;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}
.hero h1 { color: #f8fafc; }
.hero .hero-desc { color: #94a3b8; }

/* Navbar readability before scroll on Dark Hero */
.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) .nav-btn { color: #f8fafc; }
.navbar:not(.scrolled) .nav-btn { border-color: rgba(255,255,255,0.2); }
.navbar:not(.scrolled) .nav-btn:hover { background: rgba(255,255,255,0.1); }
.navbar:not(.scrolled) .mobile-toggle { color: #f8fafc; }

/* Handle Brand Logo Swapping */
.navbar:not(.scrolled) .logo-dark { display: none; }
.navbar:not(.scrolled) .logo-white { display: block; }

.navbar.scrolled .logo-white { display: none; }
.navbar.scrolled .logo-dark { display: block; }

/* Override glass panels inside dark hero */
.hero .glass-panel {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}
.hero .glass-panel p { color: #94a3b8; }
.hero .glass-panel i { background: rgba(14, 165, 233, 0.15); color: var(--accent-cyan); }
.hero .glass-panel h3 { color: #f8fafc; }

/* --- Fluid Animated Background --- */
.fluid-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 0;
}
.color-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.9;
    animation: drift 15s infinite alternate ease-in-out;
}
.blob-cyan {
    width: 650px; height: 650px;
    background: #0ea5e9;
    top: -150px; left: -100px;
    animation-delay: 0s;
}
.blob-purple {
    width: 750px; height: 750px;
    background: #8b5cf6;
    bottom: -200px; right: -150px;
    animation-delay: -5s;
    animation-duration: 20s;
}
.blob-indigo {
    width: 550px; height: 550px;
    background: #2563eb; /* High visibility tech blue */
    top: 40%; left: 30%;
    animation-delay: -10s;
    animation-duration: 18s;
}
.fluid-glass {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(120px);
    -webkit-backdrop-filter: blur(120px);
    background: rgba(5, 11, 20, 0.6); /* Dark frost */
    z-index: 1;
}
.fluid-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 2;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(150px, -80px) scale(1.1); }
    66% { transform: translate(-80px, 150px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1.2); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Stats Cards in Hero */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.stat-card {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius-md);
}

.stat-info h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.stat-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* --- Features (Cómo Funciona) --- */
.feature-card {
    padding: 2.5rem;
    transition: var(--transition);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
}

/* --- Dashboard Mockup (Conócenos) --- */
.dashboard-mockup {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
}
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.live-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-cyan);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.dash-body {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.dash-stat {
    flex: 1;
    min-width: 120px;
}
.dash-stat .stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.dash-stat .stat-value {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}
.dash-bar-chart {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.dash-bar-chart .bar {
    flex: 1;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 6px 6px 0 0;
    transition: var(--transition);
}
.dash-bar-chart .bar:hover {
    background: rgba(14, 165, 233, 0.4);
}
.dash-bar-chart .bar-highlight {
    background: var(--accent-gradient);
}

/* --- Timeline (Proceso) --- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-darker);
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-cyan);
    z-index: 2;
    transition: var(--transition);
    cursor: default;
}
.timeline-item:hover .timeline-dot, .timeline-dot:hover {
    background: var(--accent-gradient);
    color: #fff;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    border-color: transparent;
}

.timeline-content {
    padding: 2rem;
}

/* --- Quote Section Redesign --- */
.bg-gradient-glow {
    position: relative;
}
.bg-gradient-glow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(14,165,233,0.05) 0%, rgba(139,92,246,0.05) 100%);
    z-index: -1;
}
.quote-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 3.5rem 4.5rem;
    position: relative;
    overflow: hidden;
}
.quote-mark-bg {
    position: absolute;
    top: -30px;
    right: -20px;
    font-size: 18rem;
    color: var(--accent-purple);
    opacity: 0.04;
    z-index: 0;
    transform: rotate(15deg);
}
.quote-body {
    position: relative;
    z-index: 1;
}
.quote-icon-small {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    display: inline-block;
}
.manifesto-text {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2rem;
}
.font-bold {
    font-weight: 700;
}
.manifesto-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.5rem;
}
.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(139,92,246,0.1));
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-purple);
    font-size: 1.5rem;
}
.author-info strong {
    display: block;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
}
.author-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Press / Prensa --- */
.press-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}
.press-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 4px; height: 100%;
    background: var(--accent-gradient);
}
.press-image {
    flex: 1;
    min-width: 280px;
}
.team-img {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.press-content {
    flex: 1.5;
    min-width: 300px;
}
.press-content p.date {
    color: var(--accent-cyan);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.press-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* --- Contact CTA --- */
.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.contact-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}
.contact-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}
.contact-card i {
    font-size: 2.5rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}
.contact-card h4 {
    margin-bottom: 0.5rem;
}
.contact-card p {
    color: var(--text-secondary);
}

/* --- Footer --- */
.footer {
    background: var(--bg-darker);
    padding-top: 2rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--accent-gradient);
}
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
.footer-desc {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 300px;
}
.footer-links h4, .footer-legal h4 {
    display: none;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.footer-links a, .footer-legal a {
    display: inline-block;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover, .footer-legal a:hover {
    color: var(--accent-cyan);
}
.copyright {
    padding: 1.5rem 0;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.875rem;
}
.btn-text {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.btn-text:hover { color: var(--accent-cyan); }
.border-top {
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    max-width: 400px;
    padding: 1.5rem;
    z-index: 2000;
    display: flex; /* change to none to hide by default if desired via JS */
}
.cookie-content p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.cookie-actions {
    display: flex;
    gap: 1rem;
}

/* --- Animations / Reveal Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .hide-on-mobile { display: none; }
    .hero-stats { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .two-col { grid-template-columns: 1fr; gap: 3rem; }
    .dashboard-mockup { padding: 1.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 2.5rem; }
    .section { padding: 60px 0; }
    .hero { min-height: auto; padding-bottom: 3rem; padding-top: calc(var(--nav-height) + 3rem); overflow-x: hidden; width: 100%; box-sizing: border-box; }
    .hero-content { width: 100%; max-width: 100vw; box-sizing: border-box; padding: 0 2.5rem; }
    .hero h1 { font-size: clamp(2rem, 7vw, 2.5rem); word-wrap: break-word; overflow-wrap: break-word; line-height: 1.25; }
    .hero-desc { font-size: 1.05rem; margin-bottom: 1.5rem; word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; padding: 0; }
    .hero-stats { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; width: 100%; box-sizing: border-box; padding: 0 2.5rem; }
    .stat-card { padding: 1rem; }
    .section-title { font-size: 2rem; }
    .grid-3 { grid-template-columns: 1fr; gap: 1.5rem; }
    .timeline-item { padding-left: 65px; margin-bottom: 2rem; }
    .timeline-content { padding: 1.5rem; }
    .press-card { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; text-align: center; }
    .press-image { width: 100%; min-width: 100%; }
    .dash-body { flex-direction: column; gap: 1rem; }
    .dash-stat { width: 100%; text-align: center; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 1rem; }
    .dash-bar-chart { margin-top: 0.5rem; height: 100px; }
    .dash-grid-complex { grid-template-columns: 1fr; }
    .dash-large-card { grid-column: span 1 !important; }
    .modern-dashboard { max-width: 100%; }
    .quote-card { padding: 2.5rem 1.5rem; }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(5, 11, 20, 0.98); /* Oscuro / Dark UI */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(12px);
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links .nav-link, .nav-links .nav-btn {
        color: #f8fafc !important;
        font-size: 1.25rem;
    }
    .nav-links .nav-btn {
        border-color: rgba(255, 255, 255, 0.2) !important;
        padding: 0.75rem 2rem;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn { width: 100%; }
    .cookie-banner {
        left: 1rem; right: 1rem; max-width: none; bottom: 1rem;
    }
    .footer-grid { flex-direction: column; text-align: center; align-items: center; }
}

.floating-mockup {
    width: 100%;
    max-width: 650px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
}

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

/* --- Modern Dashboard UI --- */
.modern-dashboard {
    width: 100%;
    max-width: 550px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    display: flex;
    overflow: hidden;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin: 0 auto;
}
.dash-sidebar {
    width: 45px;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    gap: 8px;
    border-right: 1px solid rgba(255,255,255,0.05);
}
.dash-dot { width: 12px; height: 12px; border-radius: 50%; }
.circle-red { background: #ff5f56; }
.circle-yellow { background: #ffbd2e; }
.circle-green { background: #27c93f; }

.dash-main {
    flex: 1;
    padding: 25px;
}
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.dash-title {
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f1f5f9;
}
.dash-title i { color: var(--accent-cyan); font-size: 1.3rem; }
.live-indicator {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.dash-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 18px;
}
.dash-large-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 18px;
}
.d-label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 8px;
}
.d-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    display: block;
    margin-bottom: 12px;
}
.glow-text {
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.dash-grid-complex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.d-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.d-label i { margin-right: 5px; color: var(--accent-cyan); font-size: 1.1em; vertical-align: middle; }
.d-percent { font-weight: 700; font-family: 'Outfit', sans-serif; font-size: 1.2rem; margin-top: -5px; }
.glow-cyan { color: var(--accent-cyan); text-shadow: 0 0 10px rgba(0,240,255,0.4); }
.glow-purple { color: var(--accent-purple); text-shadow: 0 0 10px rgba(139,92,246,0.4); }

/* Circle Chart */
.d-circle-chart {
    height: 70px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}
.circular-chart {
    display: block;
    max-height: 100%;
}
.circle-bg {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 3.8;
}
.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 2s ease-out forwards;
}
.circular-chart.cyan .circle { stroke: var(--accent-cyan); filter: drop-shadow(0 0 4px var(--accent-cyan)); }
@keyframes progress {
    0% { stroke-dasharray: 0 100; }
}

/* Flex Bars */
.d-flex-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 70px;
    gap: 6px;
    padding-top: 10px;
}
.v-bar {
    width: 100%;
    background: rgba(139,92,246,0.2);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s;
}
.v-bar.active {
    background: var(--accent-purple);
    box-shadow: 0 0 10px rgba(139,92,246,0.5);
}

/* Complex Wave */
.dash-wave-complex {
    margin-top: 20px;
    height: 60px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.dash-wave-complex::before {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; width: 200%; height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 100' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C150,100 250,0 400,50 C550,100 650,0 800,50 L800,100 L0,100 Z' fill='rgba(14,165,233,0.3)'/%3E%3C/svg%3E");
    background-size: 50% 100%;
    animation: waveScroll 6s linear infinite;
    border-bottom: 2px solid var(--accent-cyan);
}
@keyframes waveScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* live badge mini */
.live-badge {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--accent-cyan);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Global Mobile Layout Fixes --- */
@media (max-width: 768px) {
    .dash-grid-complex { grid-template-columns: 1fr !important; gap: 8px !important; }
    .dash-large-card { grid-column: span 1 !important; }
    .modern-dashboard { 
        max-width: 85% !important; 
        margin: 0 auto !important;
        box-sizing: border-box !important; 
        font-size: 0.7rem;
        border-radius: 12px;
    }
    .modern-dashboard .d-value { font-size: 1.15rem; margin-bottom: 6px; }
    .modern-dashboard .d-percent { font-size: 0.85rem; }
    .modern-dashboard .d-label { font-size: 0.65rem; margin-bottom: 4px; }
    .modern-dashboard .d-circle-chart { height: 45px; }
    .modern-dashboard .d-flex-bars { height: 40px; gap: 4px; padding-top: 5px; }
    .modern-dashboard .dash-wave-complex { height: 35px; margin-top: 8px; }
    .modern-dashboard .live-badge { font-size: 0.55rem; padding: 2px 6px; }
    
    .dash-main { padding: 12px !important; }
    .dash-card, .dash-large-card { padding: 10px; border-radius: 8px; }
    .dash-header { flex-wrap: wrap; gap: 6px; font-size: 0.8rem; margin-bottom: 12px; padding-bottom: 8px; }
    .dash-sidebar { width: 28px; padding-top: 12px; gap: 6px; }
    .dash-dot { width: 7px; height: 7px; }
    
    p, h1, h2, h3, h4, h5, h6, li, span, a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .container, .grid-3, .two-col, .feature-card, .press-card, .timeline-content, .contact-card {
        max-width: 100%;
        box-sizing: border-box;
    }
}
