/* ============================================================
   1. VARIABLES Y RESET
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --corvo-dark: #0B0F19;
    --corvo-card: #151C2C;
    --corvo-blue: #3b82f6;
    --corvo-light: #94a3b8;
    --vetta-brand: #10b981;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--corvo-dark);
    color: #f8fafc;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.5;
}

::selection {
    background-color: var(--corvo-blue);
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================================
   2. UTILIDADES
   ============================================================ */
.container {
    max-width: 80rem; /* 1280px */
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.text-gradient {
    background: linear-gradient(
        to right,
        color-mix(in oklab, var(--scene, #3b82f6) 82%, #ffffff),
        color-mix(in oklab, var(--scene, #3b82f6) 45%, #ffffff)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-blue-400 { color: #60a5fa; }

/* Colores de íconos */
.icon-blue   { color: #60a5fa; }
.icon-indigo { color: #818cf8; }
.icon-orange { color: #fb923c; }
.icon-teal   { color: #2dd4bf; }
.icon-purple { color: #c084fc; }

/* Orden responsive */
.order-1 { order: 1; }
.order-2 { order: 2; }

@media (min-width: 1024px) {
    .lg-order-1 { order: 1; }
    .lg-order-2 { order: 2; }
}

/* ============================================================
   3. NAVBAR
   ============================================================ */
.navbar {
    /* FIX: se agrega top/left/right explícitos para eliminar margen superior */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

/* Logo */
.logo-container {
    height: 48px;
    width: 180px;
    overflow: hidden;
    display: inline-block;
    position: relative;
}

.logo-nav {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: left center;
}

/* Nav links desktop */
.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: #d1d5db;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    background-color: var(--corvo-blue);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    transition: background-color 0.2s ease;
}

.nav-cta:hover {
    background-color: #2563eb;
}

/* Toggle móvil */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    font-size: 1.5rem;
    padding: 0.25rem;
}

.nav-toggle:hover {
    color: #ffffff;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

/* Menú móvil */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: #d1d5db;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: #ffffff;
}

.mobile-menu .nav-cta {
    text-align: center;
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ============================================================
   4. HERO
   ============================================================ */
.hero {
    --scene: #4d8dff;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 12rem;
        padding-bottom: 8rem;
    }
}

.hero-bg-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-color: color-mix(in oklab, var(--scene) 22%, transparent);
    border-radius: 9999px;
    filter: blur(120px);
    pointer-events: none;
}

.hero-bg-2 {
    position: absolute;
    right: 0;
    top: 5rem;
    width: 400px;
    height: 400px;
    background-color: color-mix(in oklab, var(--scene) 14%, transparent);
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: color-mix(in oklab, var(--scene, #3b82f6) 12%, transparent);
    border: 1px solid color-mix(in oklab, var(--scene, #3b82f6) 35%, transparent);
    color: color-mix(in oklab, var(--scene, #3b82f6) 55%, #ffffff);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: var(--scene, #3b82f6);
    animation: pulse-simple 2s ease-in-out infinite;
}

@keyframes pulse-simple {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.hero-badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Título */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 36rem;
}

/* Botones hero */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
}

/* Gráfico hero */
.hero-graphic {
    position: relative;
    width: 100%;
    height: 24rem;
}

@media (min-width: 1024px) {
    .hero-graphic {
        height: 500px;
    }
}

.hero-morph {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 1rem;
    background-color: rgba(21, 28, 44, 0.5);
    border: 1px solid color-mix(in oklab, var(--scene) 38%, rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 40px color-mix(in oklab, var(--scene) 10%, transparent);
    isolation: isolate;
}

.hero-morph-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-morph-tag {
    position: absolute;
    top: 1.1rem;
    left: 1.25rem;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--corvo-light);
    pointer-events: none;
}

.hero-morph-ui {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 1.25rem;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(11, 15, 25, 0.92) 15%,
        transparent
    );
}

.hero-morph-read {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: #f8fafc;
}

.hero-morph-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
    pointer-events: auto;
}

.hero-morph-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 2.5rem;
    padding-inline: 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(11, 15, 25, 0.75);
    color: var(--corvo-light);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition:
        color 0.2s,
        border-color 0.2s,
        background-color 0.2s;
}

.hero-morph-tabs button svg {
    flex: none;
}

.hero-morph-tabs button:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.hero-morph-tabs button[aria-selected="true"] {
    color: var(--corvo-dark);
    border-color: transparent;
}

.hero-morph-tabs button[data-i="0"][aria-selected="true"] {
    background-color: #f5b042;
}

.hero-morph-tabs button[data-i="1"][aria-selected="true"] {
    background-color: #2ad6c4;
}

.hero-morph-tabs button[data-i="2"][aria-selected="true"] {
    background-color: #4d8dff;
}

@media (max-width: 639px) {
    .hero-morph-ui {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-morph-tabs {
        justify-content: flex-start;
    }
    .hero-morph-tabs button {
        flex: 1;
    }
}

/* ============================================================
   5. BOTONES
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: color-mix(in oklab, var(--scene, #2563eb) 68%, #0b0f19);
    color: #ffffff;
    border-radius: 0.5rem;
}

.btn-primary:hover {
    background-color: color-mix(in oklab, var(--scene, #3b82f6) 84%, #0b0f19);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #4b5563;
    color: #ffffff;
    border-radius: 0.5rem;
}

.btn-outline:hover {
    border-color: #9ca3af;
}

.btn-hero {
    padding: 1rem 2rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 9999px;
}

.btn-glow {
    background-color: #3b82f6;
    color: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.btn-glow:hover {
    background-color: #60a5fa;
    transform: translateY(-2px);
}

.btn-outline-lg {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 9999px;
}

.btn-outline-lg:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   6. SEPARADOR Y SECCIONES
   ============================================================ */
.section-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #374151, transparent);
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background-color: var(--corvo-dark);
}

.section-card {
    background-color: var(--corvo-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-decorated {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    color: #9ca3af;
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1rem;
}

/* Grid de features */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Cajas de íconos */
.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid;
}

.icon-box i {
    font-size: 1.5rem;
}

.icon-box-blue   { background-color: rgba(30, 58, 138, 0.5);  border-color: rgba(59, 130, 246, 0.3); }
.icon-box-indigo { background-color: rgba(49, 46, 129, 0.5);  border-color: rgba(99, 102, 241, 0.3); }
.icon-box-orange { background-color: rgba(124, 45, 18, 0.5);  border-color: rgba(249, 115, 22, 0.3); }
.icon-box-teal   { background-color: rgba(19, 78, 74, 0.5);   border-color: rgba(20, 184, 166, 0.3); }
.icon-box-purple { background-color: rgba(88, 28, 135, 0.5);  border-color: rgba(168, 85, 247, 0.3); }

.icon-box-lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid;
}

.icon-box-lg i {
    font-size: 1.875rem;
}

/* Texto feature */
.feature-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-description {
    color: #9ca3af;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Lista de features */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-item > i {
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.feature-item strong {
    color: #ffffff;
}

.feature-item-sub {
    display: block;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.15rem;
}

/* Caja de caso de éxito */
.case-box {
    background-color: rgba(31, 41, 55, 0.5);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #374151;
    margin-bottom: 1.5rem;
}

.case-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.case-title i {
    margin-right: 0.5rem;
}

.case-description {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Semáforo */
.semaphore-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.semaphore-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-family: var(--font-mono);
}

.semaphore-lights {
    display: flex;
    gap: 0.5rem;
    background-color: #111827;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #374151;
}

.light {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 1px solid;
}

.light-green {
    background-color: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
}

.light-yellow {
    background-color: rgba(234, 179, 8, 0.2);
    border-color: #eab308;
}

.light-red.active {
    background-color: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
    animation: pulse-simple 1.5s ease-in-out infinite;
}

.semaphore-status {
    font-size: 0.75rem;
    color: #f87171;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse-simple 1.5s ease-in-out infinite;
}

/* Caja LoRa */
.lora-box {
    background-color: rgba(17, 24, 39, 0.5);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #374151;
    margin-bottom: 1.5rem;
}

.lora-svg-wrapper {
    height: 14rem;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lora-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px rgba(20, 184, 166, 0.25));
}

/* ============================================================
   7. GALERÍA DE IMÁGENES
   ============================================================ */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 150px);
    gap: 1rem;
}

.image-gallery .large-img {
    grid-row: span 2;
    height: 100%;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border: 1px solid #1f2937;
}

/* ============================================================
   8. APLICACIONES A MEDIDA
   ============================================================ */
.decoration-purple {
    position: absolute;
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background-color: rgba(147, 51, 234, 0.1);
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .apps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.app-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    height: 12rem;
    border: 1px solid #374151;
}

.app-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover img {
    transform: scale(1.1);
}

.app-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover .app-card-overlay {
    opacity: 1;
}

.app-card-overlay span {
    color: #ffffff;
    font-weight: 600;
}

/* ============================================================
   9. CTA SECTION
   ============================================================ */
.cta-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(to bottom right, #1e3a8a, #0B0F19, #0f172a);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(#3b82f6 1px, transparent 1px);
    background-size: 30px 30px;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3.75rem;
    }
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #dbeafe;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

.cta-buttons .btn {
    width: 100%;
}

@media (min-width: 640px) {
    .cta-buttons .btn {
        width: auto;
    }
}

/* ============================================================
   10. VETTAIO
   ============================================================ */
.vettaio-section {
    padding: 4rem 0;
    background-color: #05080f;
    border-top: 1px solid #1f2937;
}

.vettaio-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 768px) {
    .vettaio-inner {
        flex-direction: row;
        gap: 3rem;
    }
}

.vettaio-text {
    text-align: center;
}

@media (min-width: 768px) {
    .vettaio-text {
        text-align: left;
        padding-right: 3rem;
        flex: 1;
    }
}

.vettaio-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vettaio-title {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.vettaio-title strong {
    font-weight: 700;
}

.vettaio-desc {
    color: #9ca3af;
    max-width: 32rem;
    margin: 0.5rem auto 0;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .vettaio-desc {
        margin-left: 0;
        margin-right: 0;
    }
}

.vettaio-logo {
    flex-shrink: 0;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
}

.vettaio-logo-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vettaio-svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--vetta-brand);
}

.vettaio-brand {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.vettaio-brand span {
    color: var(--vetta-brand);
}

/* ============================================================
   11. FOOTER
   ============================================================ */
.footer {
    background-color: #000000;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-left {
        align-items: flex-start;
    }
}

.logo-footer {
    transform: scale(0.75);
    transform-origin: left center;
    margin-bottom: 1rem;
}

.footer-copy {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    color: #6b7280;
    font-size: 1.25rem;
}

.footer-social a {
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #ffffff;
}

/* ============================================================
   12. ANIMACIONES (SCROLL REVEAL, IOT, GLOW)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* IoT */
.node-pulse {
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0%   { transform: scale(0.8); opacity: 0.8; }
    50%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0; }
}

.data-flow {
    stroke-dasharray: 10;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to { stroke-dashoffset: -1000; }
}

/* Borde brillante */
.glowing-border {
    position: relative;
}

.glowing-border::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, #3b82f6, transparent, #0ea5e9);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glowing-border:hover::before {
    opacity: 1;
}