/*
Theme Name: Media Code House
Theme URI: https://mediacodehouse.com
Author: Media Code House
Description: Tema SaaS de alto rendimiento orientado a la venta de software.
Version: 1.0
Text Domain: mediacodehouse
*/

/* ============================================
   ESTILOS CORPORATIVOS — MEDIA CODE HOUSE
   Font: Inter (Google Fonts)
============================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- HERO: fondo con grid sutil ---- */
.mch-grid-bg {
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.mch-hero {
    background-color: #030712;
    min-height: 100vh;
}

/* ---- Texto con gradiente azul ---- */
.mch-gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 40%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Círculos de luz (glows) ---- */
.mch-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.mch-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}
.mch-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.10) 0%, transparent 70%);
    bottom: 50px;
    left: 100px;
}

/* ---- Animación de barras del dashboard ---- */
.mch-bar {
    animation: mch-bar-grow 1.2s ease-out forwards;
    transform-origin: left;
}
@keyframes mch-bar-grow {
    from { width: 0%; }
    to   { width: var(--bar-w, 100%); }
}

/* ---- Card del hero flotante ---- */
.mch-hero-card {
    animation: mch-float 6s ease-in-out infinite;
}
@keyframes mch-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

/* ---- Scroll suave en toda la página ---- */
html {
    scroll-behavior: smooth;
}

/* ---- Header: efecto blur al hacer scroll ---- */
#site-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(3, 7, 18, 0.92);
}

/* ---- Botón primario con brillo ---- */
.mch-btn-primary {
    position: relative;
    overflow: hidden;
}
.mch-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.mch-btn-primary:hover::after {
    transform: translateX(100%);
}

/* ---- Tipografía del título hero ---- */
.mch-hero-title {
    line-height: 1.05;
    letter-spacing: -0.03em;
}

/* ---- Prose estilos en single-sistemas ---- */
.prose h2 { font-size: 1.6rem; font-weight: 800; color: #111827; margin-bottom: 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 700; color: #1e40af; margin-bottom: 0.75rem; }
.prose p  { margin-bottom: 1rem; line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }

/* ---- Animación de entrada (fade-up) ---- */
@keyframes mch-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mch-fade-up {
    animation: mch-fade-up 0.6s ease-out forwards;
}
.mch-fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.mch-fade-up-delay-2 { animation-delay: 0.25s; opacity: 0; }
.mch-fade-up-delay-3 { animation-delay: 0.4s; opacity: 0; }