/* GeoMiner.app - Estilos de la Landing Page */

/* -------------------------------------------------------------
   1. Variables y Configuraciones del Sistema de Diseño
   ------------------------------------------------------------- */
:root {
    /* Colores Principales de Confianza y Seguridad */
    --bg-dark: #F8FAFC;            /* Gris Pizarra Claro Premium */
    --bg-card: #FFFFFF;            /* Blanco Puro */
    --bg-input: #FFFFFF;           /* Blanco */
    --border-color: rgba(15, 23, 42, 0.08); /* Bordes sutiles oscuros */
    --border-glow: rgba(217, 119, 6, 0.2);  /* Brillo Amarillo Minero */
    
    /* Acentos - Amarillo Minero Oficial */
    --accent-gold: #D97706;        /* Amarillo Minero */
    --accent-gold-rgb: 217, 119, 6;
    --accent-orange: #EA580C;      /* Naranja Alerta */
    --accent-orange-rgb: 234, 88, 12;
    --accent-orange-hover: #C2410C;
    --accent-blue: #0284C7;        /* Cian operaciones */
    
    /* Texto */
    --text-primary: #0F172A;       /* Azul Pizarra Muy Oscuro (casi negro) */
    --text-secondary: #475569;     /* Gris Medio */
    --text-muted: #64748B;         /* Gris Claro */
    
    /* Indicadores de Estado */
    --color-success: #16A34A;
    --color-warning: #D97706;
    --color-danger: #DC2626;
    
    /* Fuentes */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Sombras y Glows */
    --shadow-premium: 0 15px 35px rgba(15, 23, 42, 0.04), 0 5px 15px rgba(15, 23, 42, 0.02);
    --shadow-glow-orange: 0 0 20px rgba(234, 88, 12, 0.1);
    --shadow-glow-gold: 0 0 20px rgba(217, 119, 6, 0.08);
}

/* Luces LED de Telemetría animadas */
.pulse-dot-green {
    width: 6px;
    height: 6px;
    background-color: #16A34A;
    border-radius: 50%;
    box-shadow: 0 0 8px #16A34A;
    animation: pulseGlowGreen 1.8s infinite;
}
@keyframes pulseGlowGreen {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #16A34A; }
    100% { transform: scale(0.95); opacity: 0.6; }
}

.pulse-dot-cyan {
    width: 6px;
    height: 6px;
    background-color: #0284C7;
    border-radius: 50%;
    box-shadow: 0 0 8px #0284C7;
    animation: pulseGlowCyan 1.8s infinite;
}
@keyframes pulseGlowCyan {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #0284C7; }
    100% { transform: scale(0.95); opacity: 0.6; }
}

.pulse-dot-red {
    width: 6px;
    height: 6px;
    background-color: #DC2626;
    border-radius: 50%;
    box-shadow: 0 0 8px #DC2626;
    animation: pulseGlowRed 1.8s infinite;
}
@keyframes pulseGlowRed {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #DC2626; }
    100% { transform: scale(0.95); opacity: 0.6; }
}

/* Reset y Estilos Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    /* Imagen de fondo de alta calidad integrada con degradados inmersivos en claro */
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.98) 100%), 
                url('mining_bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* -------------------------------------------------------------
   2. Fondo Dinámico / Orbes de Luz (Ambient Glow)
------------------------------------------------------------- */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    mix-blend-mode: multiply;
    animation: floatGlow 22s infinite alternate ease-in-out;
}

.glow-1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(var(--accent-orange-rgb), 0.8) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.glow-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.8) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -6s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, 40px) scale(1.15);
    }
    100% {
        transform: translate(-40px, -60px) scale(0.9);
    }
}

/* -------------------------------------------------------------
   3. Cabecera y Navegación (Header & Navbar)
------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #090D16;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #040406;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom-color: rgba(217, 119, 6, 0.20);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    background: rgba(var(--accent-gold-rgb), 0.1);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(var(--accent-gold-rgb), 0.4);
    box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-icon {
    width: 22px;
    height: 22px;
    color: var(--accent-gold);
}

.brand:hover .brand-logo {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(255, 213, 79, 0.4);
    transform: scale(1.05) rotate(5deg);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #ffffff; /* GEO en blanco */
}

.brand-highlight {
    background: linear-gradient(135deg, #FFB300 0%, #FF6B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Menú */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #ffffff; /* Letras blancas para contraste óptimo */
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 6px 0;
}

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

.nav-link:hover {
    color: var(--accent-gold); /* Dorado al pasar el cursor */
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background: #FFB300; /* Amarillo minero brillante */
    color: #090D16;      /* Texto oscuro para contraste óptimo */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.25);
}

.btn-primary:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.45);
}

.btn-secondary {
    background: #FFFFFF;
    border: 1.5px solid rgba(15, 23, 42, 0.15);
    color: #0F172A;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
    background: #F8FAFC;
    border-color: #FFB300;
    box-shadow: 0 4px 12px rgba(255, 179, 0, 0.15);
    transform: translateY(-2px);
}

.btn-nav-login {
    padding: 10px 18px;
    font-size: 12px;
}

/* Menú Toggle (Móvil) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

/* -------------------------------------------------------------
   4. Sección Hero
------------------------------------------------------------- */
.hero-section {
    padding: 180px 24px 100px;
    position: relative;
    z-index: 10;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: var(--accent-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-orange);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--accent-orange); }
    100% { transform: scale(0.95); opacity: 0.6; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 16.5px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 620px;
}

.hero-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
}

.hero-pill i {
    width: 16px;
    height: 16px;
    color: #090D16;
    transition: color 0.3s ease;
}

.hero-pill:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-pill:hover i {
    color: var(--accent-orange);
}


.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* SaaS Showcase Banner in Hero (Dashboard Web + Celular) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-showcase-container {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mockup del Navegador Web (Dashboard de ImiPlus) */
.web-mockup {
    position: absolute;
    top: 20px;
    left: 0;
    width: 82%;
    background: #FFFFFF;
    border-radius: 16px;
    border: 2px solid rgba(217, 119, 6, 0.15);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08), 0 0 30px rgba(217, 119, 6, 0.02);
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.web-mockup:hover {
    transform: translateY(-5px);
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow: 0 35px 70px rgba(15, 23, 42, 0.12), 0 0 40px rgba(217, 119, 6, 0.06);
}

.web-header {
    height: 32px;
    background: #F1F5F9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 5px;
    position: relative;
}

.web-header .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.web-header .dot.red { background: #ff5f56; }
.web-header .dot.yellow { background: #ffbd2e; }
.web-header .dot.green { background: #27c93f; }

.web-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.web-screen {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

/* Carrusel del Navegador Web (Dashboard Showcase) */
.web-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.web-slides-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.web-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
    padding: 0 64px; /* Previene colisiones con botones flotantes */
}

/* Botones de Navegación del Carrusel */
.web-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFFFF;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    color: #090D16;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.web-nav-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #090D16;
    box-shadow: 0 0 20px rgba(var(--accent-gold-rgb), 0.35);
    transform: translateY(-50%) scale(1.08);
}

.web-nav-btn.prev {
    left: 15px;
}

.web-nav-btn.next {
    right: 15px;
}

/* Indicadores / Puntos del Carrusel */
.web-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.web-dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.web-dot-indicator.active {
    background: var(--accent-gold);
    width: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.7);
}

/* Mockup del Teléfono Móvil Superpuesto */
.phone-mockup-hero {
    position: absolute;
    bottom: 20px;
    right: 5px;
    width: 175px;
    height: 350px;
    background: #000000;
    border: 8px solid #18181b;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 20px rgba(255, 107, 0, 0.15);
    overflow: hidden;
    z-index: 5;
    transition: all 0.4s ease;
}

.phone-mockup-hero:hover {
    transform: translateY(-8px) scale(1.03) rotate(-1deg);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 107, 0, 0.3);
    border-color: #27272a;
}

.phone-screen-hero {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 22px;
    overflow: hidden;
}

.phone-notch-hero {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 16px;
    background: #18181b;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-camera-hero {
    width: 4px;
    height: 4px;
    background: #09090b;
    border-radius: 50%;
}

.phone-app-img-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 22px;
}

@media (max-width: 580px) {
    .hero-showcase-container {
        height: 320px;
    }
    .web-mockup {
        width: 85%;
    }
    .phone-mockup-hero {
        width: 120px;
        height: 240px;
        border-width: 5px;
        border-radius: 20px;
        bottom: 10px;
        right: 0;
    }
    .phone-screen-hero {
        border-radius: 15px;
    }
    .phone-notch-hero {
        width: 50px;
        height: 10px;
    }
    .phone-app-img-hero {
        border-radius: 15px;
    }
}

/* -------------------------------------------------------------
   4b. Estructura y Contenedores de Sección
------------------------------------------------------------- */
.section-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.section-box {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    border-radius: 32px;
    padding: 80px 72px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.04), 0 0 30px rgba(217, 119, 6, 0.02);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    max-width: 1220px;
    margin: 0 auto;
}

.section-box:hover {
    border-color: rgba(217, 119, 6, 0.2);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.06), 0 0 45px rgba(217, 119, 6, 0.05);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-subtitle {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-orange);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* -------------------------------------------------------------
   5. Características Clave (Features)
------------------------------------------------------------- */
.features-section {
    padding: 100px 0 80px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.feature-card:hover {
    border-color: rgba(217, 119, 6, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06), 0 0 20px rgba(217, 119, 6, 0.03);
}

.feature-icon-wrapper {
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.25);
    color: var(--accent-orange);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--accent-orange);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.35);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 750;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* -------------------------------------------------------------
   6. Showcase de Dashboard (Panel Web)
------------------------------------------------------------- */
.dashboard-showcase-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 968px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.showcase-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.showcase-points {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-points li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.point-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.point-icon.green { color: var(--color-success); }
.point-icon.orange { color: var(--accent-orange); }
.point-icon.gold { color: var(--accent-gold); }

.showcase-points h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 4px;
}

.showcase-points p {
    font-size: 13px;
    color: var(--text-secondary);
}

.showcase-visual {
    display: flex;
    justify-content: center;
}

/* Marco del Dashboard estilo Navegador Web */
.dashboard-frame {
    width: 100%;
    background: #FFFFFF;
    border-radius: 16px;
    border: 2px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04), 0 0 40px rgba(15, 23, 42, 0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-frame:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), var(--shadow-glow-gold);
}

.frame-header {
    height: 38px;
    background: #F1F5F9;
    border-bottom: 1.5px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 6px;
    position: relative;
}

.frame-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.frame-header .dot.red { background: #ff5f56; }
.frame-header .dot.yellow { background: #ffbd2e; }
.frame-header .dot.green { background: #27c93f; }

.frame-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dashboard-img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* -------------------------------------------------------------
   7. Comparativa Impacto (Table)
------------------------------------------------------------- */
.comparison-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.comparison-table-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.comparison-table th {
    background: #F8FAFC;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 20px 24px;
    border-bottom: 2px solid rgba(15, 23, 42, 0.08);
}

.comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.015);
}

.proc-name {
    font-weight: 700;
    color: var(--text-primary);
}

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

.proc-new {
    color: var(--color-success);
    font-weight: 600;
    background: rgba(0, 255, 102, 0.01);
}

/* -------------------------------------------------------------
   8. Aplicación Móvil
------------------------------------------------------------- */
.app-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.app-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

/* Maqueta del Teléfono */
.app-visual {
    display: flex;
    justify-content: center;
}

/* Maqueta del Teléfono */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 570px;
    background: #000000;
    border: 12px solid #18181b;
    border-radius: 44px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 107, 0, 0.15);
    overflow: hidden;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    pointer-events: none;
    z-index: 10;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 32px;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #18181b;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-camera {
    width: 7px;
    height: 7px;
    background: #09090b;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.phone-app-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 32px;
}

.phone-mockup:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 107, 0, 0.3);
    border-color: #27272a;
}


/* Información de la App */
.app-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Pasos detallados del Pase Diario de la App */
.app-steps-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 28px 0 36px;
    width: 100%;
}

.app-step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 20px;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.01);
}

.app-step-item:hover {
    background: rgba(217, 119, 6, 0.02);
    border-color: rgba(217, 119, 6, 0.20);
    transform: translateX(6px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.step-num-badge {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    font-family: var(--font-heading);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}

.app-step-item:hover .step-num-badge {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    box-shadow: 0 0 15px rgba(255, 213, 79, 0.4);
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.app-download-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.download-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* -------------------------------------------------------------
   9. Solicitar Demostración (Contact Form)
------------------------------------------------------------- */
.demo-section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.demo-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}


.demo-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-detail-item i {
    width: 18px;
    height: 18px;
    color: var(--accent-orange);
}

/* Formulario */
.demo-form-wrapper {
    position: relative;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--text-primary);
    outline: none;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 110px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    background: #FFFFFF;
    box-shadow: var(--shadow-glow-gold);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
}

/* Caja de Mensaje de Estado */
.status-message-box {
    display: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.status-message-box.success {
    background: rgba(0, 255, 102, 0.12);
    border: 1px solid rgba(0, 255, 102, 0.3);
    color: #a3ffc2;
}

.status-message-box.error {
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ffa8a3;
}

/* -------------------------------------------------------------
   10. Pie de Página (Footer)
------------------------------------------------------------- */
.footer {
    border-top: 1px solid var(--border-color);
    background: rgba(4, 4, 6, 0.9);
    padding: 32px 24px;
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.footer-brand-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-orange);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.25);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 10.5px;
    color: #22c55e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 10px #22c55e; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* -------------------------------------------------------------
   11. Animaciones y Responsividad (Adaptations)
------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Media Queries */

/* Tablet & Mobile Menu Toggle */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 56px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .app-info {
        align-items: center;
    }
    
    .app-steps-container {
        align-items: stretch;
        text-align: left;
        width: 100%;
    }
    
    .demo-card-wrapper {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(4, 4, 6, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px 0;
        gap: 20px;
        display: none; /* Controlado por JS */
        animation: fadeIn 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .btn-nav-login {
        display: flex;
    }
    
    .comparison-table-wrapper {
        overflow-x: auto;
    }
    
    .comparison-table {
        min-width: 600px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* -------------------------------------------------------------
   12. Estilos del Widget del Chatbot (GeoBot)
   ------------------------------------------------------------- */
.geobot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-body);
}

/* Burbuja Flotante */
.geobot-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(255, 179, 0, 0.4), 0 0 0 1px rgba(255, 179, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    outline: none;
}

.geobot-bubble:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 179, 0, 0.55), 0 0 0 2px rgba(255, 179, 0, 0.3);
}

.geobot-bubble .bubble-icon {
    width: 28px;
    height: 28px;
    color: #0A0E1A;
    transition: transform 0.3s ease;
}

.geobot-bubble:hover .bubble-icon {
    transform: rotate(5deg);
}

.bubble-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    animation: bubblePulse 2s infinite;
    pointer-events: none;
    box-sizing: border-box;
}

@keyframes bubblePulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Panel del Chat */
.geobot-panel {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 340px;
    height: 480px;
    background: #0B0E17;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 15px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: panelFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    transform-origin: bottom right;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: scale(0.8) translate(20px, 20px); }
    to { opacity: 1; transform: scale(1) translate(0, 0); }
}

/* Encabezado */
.geobot-header {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.geobot-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: #00E5FF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geobot-avatar i, .geobot-avatar svg {
    width: 16px;
    height: 16px;
}

.geobot-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.geobot-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
}

.geobot-close i, .geobot-close svg {
    width: 16px;
    height: 16px;
}

/* Cuerpo del Chat (Mensajes) */
.geobot-body {
    flex: 1;
    padding: 16px;
    background: #0B0E17;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Personalizar barra de desplazamiento del chat */
.geobot-body::-webkit-scrollbar {
    width: 4px;
}
.geobot-body::-webkit-scrollbar-track {
    background: transparent;
}
.geobot-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.geobot-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 229, 255, 0.3);
}

.geobot-message {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    animation: msgFadeIn 0.3s ease both;
}

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

.geobot-message.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: #F1F5F9;
    border-left: 3px solid var(--accent-gold);
    border-bottom-left-radius: 2px;
}

.geobot-message.user {
    align-self: flex-end;
    background: #10B981;
    color: #FFFFFF;
    border-bottom-right-radius: 2px;
}

/* Footer / Entrada de Mensaje */
.geobot-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    gap: 8px;
}

.geobot-footer input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    outline: none;
}

.geobot-footer input:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

.geobot-send {
    background: #FFD700;
    color: #000000;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geobot-send:hover {
    background: #FFFFFF;
}

.geobot-send i, .geobot-send svg {
    width: 16px;
    height: 16px;
}

/* Responsividad del chatbot */
@media (max-width: 480px) {
    .geobot-widget {
        bottom: 20px;
        right: 20px;
    }
    .geobot-panel {
        width: calc(100vw - 40px);
        height: 400px;
        right: 0;
        bottom: 70px;
    }
}

/* Pantalla de App Móvil Real en HTML/CSS */
.phone-app-screen {
    width: 100%;
    height: 100%;
    background: #0B0E17;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
}

.phone-app-header {
    height: 65px;
    background: #040406;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px; /* Espacio para notch */
}

.phone-app-brand {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.phone-app-brand-highlight {
    background: linear-gradient(135deg, #FFB300 0%, #FF6B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.phone-app-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    box-sizing: border-box;
}

.phone-status-pill {
    background: #16A34A; /* Verde esmeralda */
    border-radius: 10px;
    padding: 10px 14px;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(22, 163, 74, 0.2);
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 8px #FFFFFF;
    animation: phonePulse 1.8s infinite;
}

@keyframes phonePulse {
    0% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.5; transform: scale(0.9); }
}

.phone-qr-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-qr-box {
    background: #E8F5E9; /* Fondo verde muy claro */
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.phone-qr-svg {
    width: 100%;
    height: 100%;
}

.phone-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.phone-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.phone-stat-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.phone-stat-icon {
    font-size: 18px;
}

.phone-stat-label {
    font-size: 9.5px;
    color: #94A3B8;
    font-weight: 600;
}

.phone-stat-value {
    font-size: 11px;
    color: #FFFFFF;
    font-weight: 800;
}

/* Modificaciones de tamaño específico para mockup pequeño (Hero) */
.phone-mockup-hero .phone-app-header {
    height: 44px;
    padding-top: 8px;
}

.phone-mockup-hero .phone-app-brand {
    font-size: 13px;
}

.phone-mockup-hero .phone-app-body {
    padding: 12px;
    gap: 12px;
}

.phone-mockup-hero .phone-status-pill {
    padding: 6px 8px;
    font-size: 7.5px;
    border-radius: 6px;
}

.phone-mockup-hero .phone-qr-box {
    width: 110px;
    height: 110px;
    padding: 12px;
    border-radius: 12px;
}

.phone-mockup-hero .phone-stat-card {
    padding: 6px 2px;
    border-radius: 8px;
    gap: 3px;
}

.phone-mockup-hero .phone-stat-icon {
    font-size: 11px;
}

.phone-mockup-hero .phone-stat-label {
    font-size: 6.5px;
}

.phone-mockup-hero .phone-stat-value {
    font-size: 7.5px;
}
