/* ════════════════════════════════════════════════════════════════════ */
/* STYLE.CSS - CONSOLIDADO Y LIMPIO */
/* Eliminados: duplicados, selectores rotos, conflictos CSS */
/* Consolidado: Video-showcase como carrusel responsive */
/* ════════════════════════════════════════════════════════════════════ */

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

:root {
    --primary: #0a0e27;
    --secondary: #1a1f3a;
    --tertiary: #2a3050;
    --accent: #00d4ff;
    --accent-2: #00ff88;
    --text: #e0e0e0;
    --text-dim: #a0a0a0;
    --border: rgba(0, 212, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ════════════════════════════════════════════════════════════════════ */
/* GRADIENTES Y TIPOGRAFÍA */
/* ════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4 {
    background: linear-gradient(
        90deg,
        var(--accent) 0%,
                                var(--accent-2) 25%,
                                var(--accent) 50%,
                                var(--accent-2) 75%,
                                var(--accent) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* ════════════════════════════════════════════════════════════════════ */
/* MERCURY ORB - FLOTANTE Y ROTATIVO */
/* ════════════════════════════════════════════════════════════════════ */

.mercury-orb {
    position: fixed;
    width: 150px;
    height: 150px;
    top: 15%;
    right: 5%;
    z-index: 50;
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite, rotateOrb 20s linear infinite;
    filter: drop-shadow(0 20px 50px rgba(0, 212, 255, 0.4));
}

.mercury-orb svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-40px); }
}

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

@keyframes mercuryShift {
    0%, 100% { stop-offset: 0%; }
    50% { stop-offset: 100%; }
}

/* ════════════════════════════════════════════════════════════════════ */
/* NAVBAR */
/* ════════════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(
        90deg,
        var(--accent) 0%,
                                var(--accent-2) 25%,
                                var(--accent) 50%,
                                var(--accent-2) 75%,
                                var(--accent) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ════════════════════════════════════════════════════════════════════ */
/* HERO SECTION */
/* ════════════════════════════════════════════════════════════════════ */

.hero {
    margin-top: 0;
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 900;
    margin-top: 2rem;
}

.hero-title .word {
    display: block;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
    background-size: 150% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-button {
    padding: 1.2rem 3rem;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--accent), #00a8cc);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

.hero-visual {
    position: relative;
    min-height: 600px;
    aspect-ratio: 16 / 9;
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.4s forwards;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.05));
    border: 3px solid #00ff88;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 0.95rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3), inset 0 0 20px rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: #00ffaa;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5), inset 0 0 30px rgba(0, 255, 136, 0.2);
    transform: translateY(-5px);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-dot {
    width: 12px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 6px;
    position: relative;
    animation: scroll-bounce 2s infinite;
}

.scroll-dot::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: var(--accent);
    border-radius: 1px;
    animation: scroll-dot-move 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes scroll-dot-move {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ════════════════════════════════════════════════════════════════════ */
/* NARRATIVE SECTION */
/* ════════════════════════════════════════════════════════════════════ */

.narrative {
    padding: 100px 40px;
    background: rgba(26, 31, 58, 0.5);
    position: relative;
    overflow: hidden;
}

.narrative::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.narrative-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.narrative-container h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.narrative-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text);
}

.narrative-text p {
    margin-bottom: 25px;
}

.narrative-text strong {
    color: var(--accent-2);
    font-weight: 700;
}

/* ════════════════════════════════════════════════════════════════════ */
/* PROBLEM SECTION */
/* ════════════════════════════════════════════════════════════════════ */

.problem-section {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.problem-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.problem-container h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.problem-card {
    background: rgba(26, 31, 58, 0.8);
    border: 2px solid rgba(0, 212, 255, 0.2);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: var(--accent);
    background: rgba(26, 31, 58, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.1);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.problem-card p {
    color: var(--text-dim);
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════════ */
/* SOLUTION SECTION */
/* ════════════════════════════════════════════════════════════════════ */

.solution-section {
    padding: 100px 40px;
    background: rgba(26, 31, 58, 0.3);
    position: relative;
}

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

.solution-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.solution-container h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.solution-card {
    background: rgba(42, 48, 80, 0.8);
    border: 2px solid rgba(0, 255, 136, 0.2);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: var(--accent-2);
    background: rgba(42, 48, 80, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.1);
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-2);
}

.solution-card p {
    color: var(--text-dim);
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════════ */
/* PILLAR ICONS - Solution Section */
/* ════════════════════════════════════════════════════════════════════ */

.pillar-icon {
    width: 50px;
    height: 50px;
    color: var(--accent-2);
    margin: 0 auto 20px;
}

/* ════════════════════════════════════════════════════════════════════ */
/* CAROUSEL MULTIMEDIA STYLES (CONSOLIDADO) */
/* ════════════════════════════════════════════════════════════════════ */

.carousel-wrapper {
    background: rgba(26, 31, 58, 0.8);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
}

.carousel-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--accent);
    text-align: center;
}

/* Contenedor principal del carrusel */
.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(10, 14, 39, 0.9);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

/* Media wrapper - contenedor de items */
.carousel-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel controls - botones */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
}

.carousel-button {
    pointer-events: all;
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.4);
    color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-button:hover {
    background: rgba(0, 212, 255, 0.4);
    border-color: var(--accent);
    transform: scale(1.1);
}

.carousel-button svg {
    width: 24px;
    height: 24px;
}

/* Carousel indicators - puntos */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(0, 212, 255, 0.5);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
}

/* Carousel info - información */
.carousel-info {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(10, 14, 39, 0.9);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-size: 0.9rem;
    color: var(--text-dim);
}

.carousel-counter {
    font-weight: 600;
    color: var(--accent);
}

.carousel-status {
    display: flex;
    gap: 5px;
    font-size: 0.85rem;
}

.status-auto {
    color: var(--accent-2);
}

.status-paused {
    color: #ff6b6b;
}

/* Carousel description */
.carousel-description {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════════ */
/* VIDEO SHOWCASE SECTION - CONSOLIDADO COMO CARRUSEL RESPONSIVE */
/* Video centrado + responsive + borde neon #00d4ff */
/* ════════════════════════════════════════════════════════════════════ */

.video-showcase-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.5) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-top: 2px solid rgba(0, 212, 255, 0.2);
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

.video-showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.video-showcase-content {
    text-align: center;
    margin-bottom: 50px;
}

.video-showcase-content h2 {
    font-size: 2.5rem;
    color: #00ff88;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.video-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    font-weight: 500;
}

/* Video wrapper - CENTRADO Y RESPONSIVE CON BORDE NEON */
.video-showcase-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #00d4ff;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3),
    inset 0 0 20px rgba(0, 212, 255, 0.1),
    0 0 20px rgba(0, 212, 255, 0.2);
    background: #000;
    transition: all 0.3s ease;
}

.video-showcase-wrapper:hover {
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.5),
    inset 0 0 30px rgba(0, 212, 255, 0.15),
    0 0 40px rgba(0, 212, 255, 0.3);
}

.video-showcase {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ════════════════════════════════════════════════════════════════════ */
/* ARCHITECTURE DIAGRAM */
/* ════════════════════════════════════════════════════════════════════ */

.architecture-diagram {
    background: rgba(42, 48, 80, 0.8);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
}

.architecture-diagram h3 {
    font-size: 1.3rem;
    color: var(--accent-2);
    margin-bottom: 30px;
    text-align: center;
}

.diagram-flow {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.flow-box {
    background: rgba(10, 14, 39, 0.9);
    border: 2px solid rgba(0, 255, 136, 0.3);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 150px;
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

.flow-box strong {
    color: var(--accent-2);
    display: block;
    margin-bottom: 8px;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: bold;
}

/* ════════════════════════════════════════════════════════════════════ */
/* ARCHITECTURE SECTION */
/* ════════════════════════════════════════════════════════════════════ */

.architecture-section {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.architecture-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.architecture-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.architecture-container h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.architecture-visual {
    margin-bottom: 60px;
}

/* ════════════════════════════════════════════════════════════════════ */
/* USE CASES SECTION */
/* ════════════════════════════════════════════════════════════════════ */

.use-cases-section {
    padding: 100px 40px;
    background: rgba(26, 31, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.use-cases-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -300px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.use-cases-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.use-cases-container h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.use-case-card {
    background: rgba(26, 31, 58, 0.8);
    border: 2px solid rgba(0, 255, 136, 0.2);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.use-case-card:hover {
    border-color: var(--accent-2);
    background: rgba(26, 31, 58, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.1);
}

.use-case-icon {
    width: 50px;
    height: 50px;
    color: var(--accent);
    margin-bottom: 15px;
}

.use-case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-2);
}

.use-case-card p {
    color: var(--text-dim);
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════════ */
/* TECH STACK */
/* ════════════════════════════════════════════════════════════════════ */

.tech-stack {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.tech-stack::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tech-container h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

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

.tech-card {
    background: rgba(26, 31, 58, 0.8);
    border: 2px solid rgba(0, 212, 255, 0.2);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--accent);
    background: rgba(26, 31, 58, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.1);
}

.tech-icon {
    width: 50px;
    height: 50px;
    color: var(--accent);
    margin-bottom: 20px;
}

.tech-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.tech-card p {
    color: var(--text-dim);
    line-height: 1.7;
}

/* Aplicar a iconos */
.pillar-icon,
.use-case-icon,
.tech-icon {
    max-width: 100%;
    height: auto;
}

/* ════════════════════════════════════════════════════════════════════ */
/* VISION SECTION */
/* ════════════════════════════════════════════════════════════════════ */

.vision-section {
    padding: 100px 40px;
    background: rgba(26, 31, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.vision-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vision-container h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.vision-text {
    font-size: 1.2rem;
    color: var(--text-dim);
    line-height: 1.9;
    padding: 40px;
    background: rgba(42, 48, 80, 0.5);
    border-left: 4px solid var(--accent-2);
    border-radius: 8px;
}

.vision-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.vision-item {
    background: rgba(42, 48, 80, 0.8);
    border: 2px solid rgba(0, 255, 136, 0.2);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.vision-item:hover {
    border-color: var(--accent-2);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.1);
}

.vision-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-2);
}

.vision-item p {
    color: var(--text-dim);
    line-height: 1.6;
}

.vision-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-container {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.05));
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
}

.media-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.media-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 25px;
    color: white;
    min-height: 120px;
}

.media-preview-icon {
    flex-shrink: 0;
    opacity: 0.8;
    font-size: 2.5rem;
}

.media-preview-content {
    flex: 1;
}

.media-preview-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--accent);
}

.media-preview-description {
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--text-dim);
}

/* ════════════════════════════════════════════════════════════════════ */
/* CONTACT SECTION */
/* ════════════════════════════════════════════════════════════════════ */

.contact-section {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.contact-container > p {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(26, 31, 58, 0.8);
    border: 2px solid rgba(0, 212, 255, 0.2);
    padding: 40px;
    border-radius: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(10, 14, 39, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: linear-gradient(135deg, var(--accent), #00a8cc);
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3);
}

#responseMessage {
text-align: center;
margin-top: 20px;
font-weight: 600;
min-height: 20px;
}

/* ════════════════════════════════════════════════════════════════════ */
/* FOOTER */
/* ════════════════════════════════════════════════════════════════════ */

.footer {
    background: rgba(10, 14, 39, 0.95);
    border-top: 1px solid var(--border);
    padding: 60px 40px 40px;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 40px;
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-section p {
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-legal {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ════════════════════════════════════════════════════════════════════ */
/* ANIMATIONS */
/* ════════════════════════════════════════════════════════════════════ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN - DESKTOP (1024px+) */
/* ════════════════════════════════════════════════════════════════════ */

@media (min-width: 1025px) {
    .hero {
        margin-top: 0;
        padding-top: 0;
    }
}

/* ════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN - TABLET (768px - 1024px) */
/* ════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .mercury-orb {
        width: 100px;
        height: 100px;
        top: 10%;
        right: 2%;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 400px;
    }

    .problem-grid,
    .solution-grid,
    .use-cases-grid,
    .tech-grid,
    .vision-pillars {
        grid-template-columns: 1fr;
    }

    .vision-content {
        grid-template-columns: 1fr;
    }

    .diagram-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .video-showcase-section {
        padding: 60px 30px;
    }

    .video-showcase-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mercury-orb {
        width: 80px;
        height: 80px;
        top: 8%;
        right: 1%;
        opacity: 0.8;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .problem-section,
    .solution-section,
    .architecture-section,
    .use-cases-section,
    .vision-section,
    .contact-section,
    .tech-stack {
        padding: 60px 20px;
    }

    .problem-container h2,
    .solution-container h2,
    .architecture-container h2,
    .use-cases-container h2,
    .tech-container h2,
    .vision-container h2,
    .contact-container h2,
    .narrative-container h2 {
        font-size: 1.8rem;
    }

    .architecture-diagram {
        padding: 20px;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .video-showcase-section {
        padding: 40px 20px;
    }

    .video-showcase-content h2 {
        font-size: 1.6rem;
    }

    .video-showcase-wrapper {
        border-radius: 12px;
    }
}

/* ════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN - MOBILE (480px - 768px) */
/* ════════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-container {
        padding: 0 20px;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-visual {
        height: 300px;
    }

    .problem-section,
    .solution-section,
    .architecture-section,
    .use-cases-section,
    .vision-section,
    .contact-section,
    .tech-stack {
        padding: 40px 16px;
    }

    .problem-grid,
    .solution-grid,
    .use-cases-grid,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .problem-card,
    .solution-card,
    .use-case-card,
    .tech-card {
        padding: 20px;
    }

    .architecture-diagram {
        padding: 15px;
        margin-bottom: 30px;
    }

    .diagram-flow {
        gap: 15px;
    }

    .flow-box {
        min-width: 120px;
        padding: 15px;
        font-size: 0.8rem;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px;
        padding: 10px 12px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.85rem;
    }

    .video-showcase-section {
        padding: 30px 15px;
    }

    .video-showcase-content h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
}

/* ════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN - EXTRA SMALL MOBILE (375px - 414px) */
/* ════════════════════════════════════════════════════════════════════ */

@media (max-width: 414px) {
    .mercury-orb {
        width: 50px;
        height: 50px;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10;
    }

    .hero {
        padding: 40px 20px 60px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .problem-section,
    .solution-section,
    .architecture-section,
    .use-cases-section,
    .vision-section,
    .contact-section {
        padding: 40px 16px;
    }

    .trust-section {
        padding: 40px 16px !important;
    }

    .trust-container {
        padding: 30px 20px !important;
        border: 2px solid var(--accent) !important;
    }

    .trust-section h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .trust-intro {
        padding: 15px;
        margin-bottom: 30px;
        font-size: 0.95rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trust-item {
        padding: 20px 15px;
    }

    .trust-item h3 {
        font-size: 1rem;
    }

    .trust-item p {
        font-size: 0.85rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo {
        font-size: 0.9rem;
    }

    .nav-links {
        gap: 5px;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 6px 8px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px;
        padding: 10px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .problem-card {
        padding: 20px;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

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

    .tech-card {
        padding: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }
}

/* ════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE ORIENTATION - PORTRAIT */
/* ════════════════════════════════════════════════════════════════════ */

@media (max-width: 599px) and (orientation: portrait) {
    .hero {
        margin-top: 180px;
        padding-top: 180px;
    }
}

/* ════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE ORIENTATION - LANDSCAPE */
/* ════════════════════════════════════════════════════════════════════ */

@media (max-width: 599px) and (orientation: landscape) {
    .hero {
        margin-top: 60px;
        padding-top: 60px;
    }

    .video-showcase-wrapper {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 1024px) and (min-width: 600px) and (orientation: portrait) {
    .hero {
        margin-top: 110px;
        padding-top: 110px;
    }
}

@media (max-width: 1024px) and (min-width: 600px) and (orientation: landscape) {
    .hero {
        margin-top: 50px;
        padding-top: 50px;
    }
}

/* ════════════════════════════════════════════════════════════════════ */
/* FIN DEL ARCHIVO CSS CONSOLIDADO */
/* ════════════════════════════════════════════════════════════════════ */
