/* =============================================================================
   GESINEX LANDING PAGE STYLES
   ============================================================================= */

@import url('fonts.css');
@import url('colores.css');

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

:root {
    --bg: #05070a;
    --bg2: #0d1117;
    --bg3: #161b22;
    --text: #f0f2f5;
    --text2: #94a3b8;
    --accent: #e0c707;              /* Amarillo LiMonIt oficial — igual que LiDAS */
    --accent-glow: rgba(224, 199, 7, 0.3);
    --green: #20743c;               /* Verde LiMonIt oficial — igual que LiDAS */
    --blue: #3b82f6;
    --border: rgba(255, 255, 255, 0.06);
    --glass: rgba(15, 23, 42, 0.6);
}

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

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

.animate {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
}

.gesinex-brand-text span {
    background: var(--gradient); /* amarillo #e0c707 → verde #20743c, 70° — igual que LiDAS */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* 2. Hero Section - Landing */
.hero-landing {
    min-height: 90vh; /* Aumentado */
    display: flex;
    flex-direction: column; /* Cambiado para soportar elementos apilados */
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(32, 116, 60, 0.2) 0%, #05070a 60%);
    text-align: center;
    padding: 12rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.1;
    max-width: 1000px;
}

.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-main);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text2);
    margin-bottom: 3.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-primary-landing {
    background: var(--gradient);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(224, 199, 7, 0.2);
}

.btn-primary-landing:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(224, 199, 7, 0.4);
}

.btn-secondary-landing {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-landing:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Visual & Glassmorphism */
.hero-image-container {
    width: 100%;
    max-width: 1100px;
    margin-top: 2rem;
    position: relative;
    perspective: 2000px;
}

.hero-visual {
    width: 100%;
    aspect-ratio: 16/8;
    background: linear-gradient(180deg, #0d1117 0%, #05070a 100%);
    border-radius: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 40px 100px -20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(234, 179, 8, 0.05);
    transform: rotateX(15deg) translateY(0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(234, 179, 8, 0.15), transparent 70%);
}

.glass-card {
    width: 65%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    animation: float 6s ease-in-out infinite;
}
/* MODAL DE CONTACTO */
.landing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.landing-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.landing-modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.landing-modal.active .landing-modal-content {
    transform: translateY(0);
}

.landing-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
}

.landing-modal-close:hover { opacity: 1; }

.landing-modal-title {
    font-family: var(--font-main);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.landing-modal-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.contact-options-grid {
    display: grid;
    gap: 1rem;
}

.contact-option-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-option-card:hover {
    background: rgba(234, 179, 8, 0.1);
    border-color: var(--limonit-yellow);
    transform: translateX(5px);
}

.contact-option-icon {
    font-size: 2rem;
}

.contact-option-info h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-option-info p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.glass-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.skeleton-line {
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.skeleton-box {
    height: 4rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 3. Features Section */
.features-section {
    padding: 6rem 1rem;
    background: #0c1117;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
}

.feature-text {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 4. Estadísticas */
.stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    font-family: var(--font-accent);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* 5. Secciones Genéricas */
.section {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-sub {
    text-align: center;
    color: var(--text2);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 6. Grid de Funcionalidades */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: rgba(224, 199, 7, 0.3);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text2);
    line-height: 1.6;
}

/* 7. Flujo de Trabajo */
.flow-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5rem 2rem;
}

.flow-inner {
    max-width: 900px;
    margin: 0 auto;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.flow-step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg3);
    border-radius: 1rem;
    border: 1px solid var(--border);
    position: relative;
}

.flow-step-num {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    margin: 0 auto 0.75rem;
}

.flow-step-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.flow-step-desc {
    font-size: 0.75rem;
    color: var(--text2);
}

/* 8. Planes y Precios */
.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.plan-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
}

.plan-card.featured {
    border-color: var(--accent);
    background: rgba(224, 199, 7, 0.04);
}

.plan-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.85rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.plan-price span {
    font-size: 0.85rem;
    color: var(--text2);
    font-weight: 400;
}

.plan-desc {
    font-size: 0.82rem;
    color: var(--text2);
    margin-bottom: 1.25rem;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.plan-features li {
    font-size: 0.82rem;
    color: var(--text2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

.btn-plan {
    display: block;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-plan-primary {
    background: var(--gradient);
    color: #000;
}

.btn-plan-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
}

.btn-plan-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 9. Llamado a la Acción (CTA) */
.cta-section {
    padding: 5rem 2rem;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, rgba(224, 199, 7, 0.08), rgba(32, 116, 60, 0.08));
    border: 1px solid rgba(224, 199, 7, 0.2);
    border-radius: 2rem;
    padding: 4rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-sub {
    color: var(--text2);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* 11. Responsive */
@media(max-width:768px) {
    nav { padding: 0 1rem; }
    .nav-links .hide-mobile { display: none; }
    .hero { padding: 5rem 1rem 3rem; }
    .section { padding: 3rem 1rem; }
    .flow-section { padding: 3rem 1rem; }
    .cta-section { padding: 3rem 1rem; }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-title {
        font-size: 0.95rem;
    }
    
    .feature-desc {
        font-size: 0.8rem;
    }
    
    .flow-steps {
        grid-template-columns: 1fr;
    }
}

/* 12. Botones Globales Landing */
.btn-primary {
    background: var(--gradient);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 13. Contact Form Styles */
.landing-modal-back {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.landing-modal-back:hover { opacity: 0.8; }

.landing-form {
    display: grid;
    gap: 1.25rem;
    margin-top: 1rem;
}

.form-group-landing {
    display: grid;
    gap: 0.5rem;
}

.form-group-landing label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text2);
}

.form-group-landing input,
.form-group-landing textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
}

.form-group-landing input:focus,
.form-group-landing textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.w-full { width: 100%; }
