/* ==========================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ========================================== */
:root {
    --bg-dark: #0a0a12;
    --card-bg: #121222;
    --card-bg-hover: #17172c;
    
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff0055;
    --neon-yellow: #ffb700;
    
    --neon-cyan-glow: rgba(0, 243, 255, 0.4);
    --neon-magenta-glow: rgba(255, 0, 85, 0.4);
    
    --text-primary: #e2e2ec;
    --text-secondary: #8f8fa3;
    --text-dim: #5c5c70;
    
    --font-title: 'Orbitron', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --font-body: 'Fira Code', monospace;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    background-color: transparent;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================
   EFECTOS DINÁMICOS DE FONDO
   ========================================== */
#particle-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 243, 255, 0.05),
        rgba(255, 0, 85, 0.02) 40%,
        transparent 80%
    );
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Desactivar spotlight en celulares y tablets sin hover */
@media (hover: none) {
    .spotlight {
        display: none !important;
    }
}

/* ==========================================
   NAVEGACIÓN GLASSMORPHISM
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 18, 0.95);
    border-bottom: 1px solid rgba(255, 0, 85, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
}

.neon-text-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan-glow);
}

.neon-text-magenta {
    color: var(--neon-magenta);
    text-shadow: 0 0 8px var(--neon-magenta-glow);
    animation: blink 2.5s infinite alternate;
}

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

.nav-item {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    padding: 0.25rem 0.5rem;
    position: relative;
}

.nav-item:hover, .nav-item.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan-glow);
}

.nav-num {
    color: var(--neon-magenta);
    font-size: 0.8rem;
}

.btn-neon-cyan {
    border: 1px solid var(--neon-cyan);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.1);
}

.btn-neon-cyan:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark) !important;
    text-shadow: none !important;
    box-shadow: 0 0 15px var(--neon-cyan);
}

/* Hamburguesa en móviles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--neon-cyan);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--neon-cyan-glow);
}

/* ==========================================
   HERO / BIENVENIDA
   ========================================== */
.hero-section {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

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

.tech-tag {
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
}

/* Efecto Glitch */
.glitch {
    font-family: var(--font-title);
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-magenta), 0 2px var(--neon-cyan);
    clip: rect(85px, 450px, 140px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 4vw, 1.8rem);
    color: var(--neon-magenta);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255, 0, 85, 0.3);
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-family: var(--font-body);
}

/* Botones Premium */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    color: var(--bg-dark);
    background: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 25px var(--neon-cyan);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--neon-magenta);
    background: transparent;
    border: 1px solid var(--neon-magenta);
}

.btn-secondary:hover {
    background: rgba(255, 0, 85, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.3);
    transform: translateY(-2px);
}

/* Visual - Consola de Código */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyber-box {
    width: 100%;
    background: rgba(18, 18, 34, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Esquinas Cyber */
.corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid var(--neon-cyan);
    z-index: 5;
}

.top-left { top: 0; left: 0; border-right: none; border-bottom: none; }
.top-right { top: 0; right: 0; border-left: none; border-bottom: none; border-color: var(--neon-magenta); }
.bottom-left { bottom: 0; left: 0; border-right: none; border-top: none; border-color: var(--neon-magenta); }
.bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; }

.cyber-box-header {
    background: rgba(10, 10, 18, 0.8);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.cyber-box-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

.dot.red { background-color: var(--neon-magenta); }
.dot.yellow { background-color: var(--neon-yellow); }
.dot.green { background-color: var(--neon-cyan); }

.cyber-box-header .title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 10px;
}

.code-editor {
    padding: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #a5b4fc;
    overflow: hidden;
}

.code-line {
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.indent { padding-left: 1.5rem; }

.c-keyword { color: #f43f5e; }
.c-var { color: #e11d48; }
.c-prop { color: #38bdf8; }
.c-string { color: #34d399; }
.c-bool { color: #fbbf24; }
.c-func { color: #818cf8; }
.comment { color: var(--text-dim); }

.cyber-box-footer {
    padding: 0.5rem 1.25rem;
    background: rgba(10, 10, 18, 0.6);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-cyan);
    animation: indicator-pulse 1.5s infinite ease-in-out;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    cursor: pointer;
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.mouse-icon .wheel {
    width: 2px;
    height: 6px;
    background-color: var(--neon-cyan);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 8px;
    letter-spacing: 2px;
}

/* ==========================================
   ESTILOS DE SECCIÓN COMUNES
   ========================================== */
section {
    padding: 6rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--neon-magenta);
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    margin: 1rem auto 0;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* ==========================================
   CÓMO TRABAJAMOS (Workflow)
   ========================================== */
.workflow-section {
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.workflow-line {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.workflow-progress {
    height: 100%;
    width: 0%; /* Controlado por JS */
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.7);
    transition: width var(--transition-slow);
}

.workflow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
    cursor: pointer;
}

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
    box-shadow: 0 0 0 rgba(0, 243, 255, 0);
}

.step-content {
    transition: all var(--transition-normal);
}

.step-title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Efectos Interactivos Workflow */
.workflow-step.active .step-num {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan-glow);
    transform: scale(1.15);
}

.workflow-step.completed .step-num {
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
    box-shadow: 0 0 15px var(--neon-magenta-glow);
}

.workflow-step:hover .step-num {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

/* Panel de Detalles Workflow */
.workflow-details-panel {
    background: rgba(18, 18, 34, 0.5);
    border: 1px dashed rgba(255, 0, 85, 0.3);
    border-radius: 4px;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all var(--transition-normal);
}

.workflow-details-panel .panel-border {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--neon-magenta);
    box-shadow: 0 0 10px var(--neon-magenta);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.panel-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-title i {
    color: var(--neon-cyan);
}

.panel-status {
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--neon-magenta);
    letter-spacing: 1px;
}

.panel-body {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    min-height: 50px;
}

/* ==========================================
   BANNER DESTACADO
   ========================================== */
.highlight-banner-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

.warning-banner {
    background: linear-gradient(135deg, rgba(26, 12, 24, 0.8) 0%, rgba(10, 10, 18, 0.9) 100%);
    border: 1px solid var(--neon-magenta);
    box-shadow: 0 0 25px rgba(255, 0, 85, 0.2);
    border-radius: 4px;
    padding: 2.5rem 3rem;
    position: relative;
    overflow: hidden;
}

/* Línea de escaneo animada */
.warning-scanner {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 85, 0.05), transparent);
    transform: skewX(-25deg);
    animation: laser-scan 4s infinite linear;
    pointer-events: none;
}

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

.warning-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid rgba(255, 0, 85, 0.3);
}

.warning-icon {
    font-size: 1.8rem;
    color: var(--neon-magenta);
    text-shadow: 0 0 10px var(--neon-magenta);
}

.warning-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.warning-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 750px;
}

.btn-warning-neon {
    font-family: var(--font-mono);
    color: var(--neon-magenta);
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    border: 1px solid var(--neon-magenta);
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 2px;
    background: rgba(255, 0, 85, 0.05);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.1);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-warning-neon:hover {
    background: var(--neon-magenta);
    color: #fff;
    box-shadow: 0 0 20px var(--neon-magenta);
    transform: scale(1.03);
}

/* ==========================================
   NUESTROS SERVICIOS
   ========================================== */
.services-section {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(18, 18, 34, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Efecto recorte en las esquinas */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Recorte diagonal en la esquina inferior derecha */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 2;
}

/* Glow interno */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        250px circle at var(--card-x, 50%) var(--card-y, 50%),
        rgba(0, 243, 255, 0.08),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--card-bg-hover);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 243, 255, 0.1);
}

/* Alternancia neón en tarjetas */
.service-card:nth-child(even):hover {
    border-color: rgba(255, 0, 85, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 0, 85, 0.1);
}

.service-card:nth-child(even) .card-glow {
    background: radial-gradient(
        250px circle at var(--card-x, 50%) var(--card-y, 50%),
        rgba(255, 0, 85, 0.08),
        transparent 70%
    );
}

.service-icon {
    font-size: 2.2rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    display: inline-block;
    text-shadow: 0 0 10px var(--neon-cyan-glow);
    transition: transform var(--transition-normal);
}

.service-card:nth-child(even) .service-icon {
    color: var(--neon-magenta);
    text-shadow: 0 0 10px var(--neon-magenta-glow);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(3deg);
}

.service-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.service-tech-list span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.service-card:hover .service-tech-list span {
    border-color: rgba(0, 243, 255, 0.2);
    color: var(--neon-cyan);
}

.service-card:nth-child(even):hover .service-tech-list span {
    border-color: rgba(255, 0, 85, 0.2);
    color: var(--neon-magenta);
}

/* ==========================================
   SECCIÓN DE CONTACTO Y TERMINAL
   ========================================== */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

/* Terminal Cyberpunk */
.cyber-terminal {
    background: rgba(10, 10, 18, 0.9);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.terminal-header {
    background: rgba(18, 18, 34, 0.8);
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-cyan);
    letter-spacing: 1px;
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.term-line {
    margin-bottom: 0.75rem;
}

.term-prompt {
    color: var(--neon-magenta);
    font-weight: bold;
}

.term-cmd {
    color: #fff;
}

.text-muted {
    color: var(--text-dim);
}

.contact-channels {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0.5rem;
}

.contact-channels li {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.channel-label {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.channel-value {
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-fast);
    word-break: break-all;
}

.channel-value:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--neon-cyan-glow);
}

/* Formulario Cyberpunk */
.cyber-form {
    background: rgba(18, 18, 34, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 2.5rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.cyber-form label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.cyber-form input,
.cyber-form select,
.cyber-form textarea {
    width: 100%;
    background: rgba(10, 10, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.cyber-form input:focus,
.cyber-form select:focus,
.cyber-form textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.cyber-form input:focus + .input-glow,
.cyber-form select:focus + .input-glow,
.cyber-form textarea:focus + .input-glow {
    width: 100%;
}

.btn-submit {
    width: 100%;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 2px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* ==========================================
   FOOTER
   ========================================== */
.cyber-footer {
    background: rgba(10, 10, 18, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem 2rem;
    font-family: var(--font-body);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.brand-slogan {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4,
.footer-status h4 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--neon-magenta);
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--neon-cyan);
    padding-left: 5px;
}

.footer-status p {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.online {
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: indicator-pulse 2s infinite ease-in-out;
}

.term-small {
    font-size: 0.75rem;
    color: var(--text-dim) !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.75rem;
}

/* Badge Empresa Formoseña */
.footer-formosa-badge {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.formosa-badge-img {
    width: 36px;
    height: auto;
    opacity: 0.7;
    filter: drop-shadow(0 0 3px rgba(0, 243, 255, 0.3));
    transition: filter 0.3s ease, opacity 0.3s ease;
    mix-blend-mode: screen;
}

.formosa-badge-img:hover {
    opacity: 0.95;
    filter: drop-shadow(0 0 6px rgba(0, 243, 255, 0.5));
}

.formosa-badge-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(0, 243, 255, 0.4);
    opacity: 0.75;
}

/* ==========================================
   ANIMACIONES
   ========================================== */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
    51% { opacity: 0.3; }
    52% { opacity: 0.85; }
    80% { opacity: 0.9; }
    81% { opacity: 0.2; }
    82% { opacity: 0.9; }
}

@keyframes glitch-anim {
    0% { clip: rect(44px, 9999px, 56px, 0); }
    10% { clip: rect(12px, 9999px, 85px, 0); }
    20% { clip: rect(78px, 9999px, 114px, 0); }
    30% { clip: rect(98px, 9999px, 13px, 0); }
    40% { clip: rect(4px, 9999px, 60px, 0); }
    50% { clip: rect(66px, 9999px, 112px, 0); }
    60% { clip: rect(110px, 9999px, 20px, 0); }
    70% { clip: rect(34px, 9999px, 85px, 0); }
    80% { clip: rect(89px, 9999px, 140px, 0); }
    90% { clip: rect(5px, 9999px, 70px, 0); }
    100% { clip: rect(122px, 9999px, 15px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(15px, 9999px, 122px, 0); }
    10% { clip: rect(85px, 9999px, 34px, 0); }
    20% { clip: rect(20px, 9999px, 110px, 0); }
    30% { clip: rect(112px, 9999px, 66px, 0); }
    40% { clip: rect(60px, 9999px, 4px, 0); }
    50% { clip: rect(13px, 9999px, 98px, 0); }
    60% { clip: rect(114px, 9999px, 78px, 0); }
    70% { clip: rect(85px, 9999px, 12px, 0); }
    80% { clip: rect(56px, 9999px, 44px, 0); }
    90% { clip: rect(130px, 9999px, 5px, 0); }
    100% { clip: rect(70px, 9999px, 105px, 0); }
}

@keyframes indicator-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 16px; opacity: 0; }
    100% { top: 6px; opacity: 0; }
}

@keyframes laser-scan {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ==========================================
   MEDIA QUERIES (Responsive Adaptado)
   ========================================== */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Menu Hamburguesa */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 68px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 68px);
        background: rgba(10, 10, 18, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(0, 243, 255, 0.1);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
    }

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

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--neon-magenta);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--neon-magenta);
    }

    .hero-section {
        padding-top: 6rem;
        overflow-x: hidden;
    }

    .glitch {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        letter-spacing: 0.5px;
    }

    /* Workflow vertical en celulares */
    .workflow-container {
        flex-direction: column;
        gap: 2.5rem;
        padding-left: 20px;
    }

    .workflow-line {
        top: 0;
        left: 45px;
        width: 2px;
        height: 100%;
    }
    
    .workflow-progress {
        width: 100%;
        height: 0%; /* Controlado por JS verticalmente */
        background: linear-gradient(180deg, var(--neon-cyan), var(--neon-magenta));
    }

    .workflow-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 0;
        width: 100%;
    }

    .step-num {
        margin-bottom: 0;
        margin-right: 1.5rem;
        flex-shrink: 0;
    }

    .warning-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .warning-icon-wrapper {
        margin: 0 auto;
    }

    .btn-warning-neon {
        width: 100%;
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 500px) {
    .glitch {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cyber-form {
        padding: 1.5rem;
    }
}
