/* ==========================================================================
   VilaTec 2.0 — Landing Page: Desarrollo Web & eCommerce (Meta Ads / High-Conversion)
   Fondo oscuro (#080a0f), acentos azul cibernético (#3b82f6), celestes (#38bdf8),
   dorados (#ff9d00), efectos glassmorphism, responsive 100% y funnel de ventas sin fricción.
   ========================================================================== */

#landing-ecommerce-page {
    background-color: #080a0f;
    color: #f8fafc;
    font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
    overflow-x: hidden;
}

/* ─── CONTAINER ───────────────────────────────────────────────────────── */
#landing-ecommerce-page .landing-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    #landing-ecommerce-page .landing-container {
        padding: 0 2rem;
    }
}

/* ─── HERO SECTION ────────────────────────────────────────────────────── */
.landing-hero {
    position: relative;
    padding: 3rem 0 4rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.1) 0%, rgba(8, 10, 15, 1) 70%);
}

@media (min-width: 992px) {
    .landing-hero {
        padding: 5rem 0 6rem;
    }
}

.landing-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: contrast(120%) brightness(80%);
    pointer-events: none;
}

.landing-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.4) 0%, #080a0f 100%);
    pointer-events: none;
}

.landing-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
    align-items: center;
}

@media (min-width: 992px) {
    .landing-hero__grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4rem;
    }
}

/* Insignia / Badge */
.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 9999px;
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.landing-hero__title {
    font-size: 2.25rem;
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .landing-hero__title {
        font-size: 3.25rem;
    }
}

.landing-hero__highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #38bdf8 50%, #ff9d00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-hero__desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Bullet points */
.landing-hero__bullets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.landing-bullet {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 600;
}

.landing-bullet__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Botones en Hero */
.landing-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .landing-hero__actions {
        flex-direction: row;
        align-items: center;
    }
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.75rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.landing-btn--blue {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.35);
}

.landing-btn--blue:hover {
    background: #4f91f7;
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.landing-btn--gold {
    background: #ff9d00;
    color: #05070a;
    border-color: #ff9d00;
    box-shadow: 0 0 25px rgba(255, 157, 0, 0.35);
}

.landing-btn--gold:hover {
    background: #ffa81a;
    box-shadow: 0 0 35px rgba(255, 157, 0, 0.5);
    transform: translateY(-2px);
}

/* ─── FORMULARIO EXPRÉS IN-HERO ───────────────────────────────────────── */
.landing-form-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.landing-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 50%, #ff9d00 100%);
}

.landing-form-card__header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.landing-form-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.landing-form-card__subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
}

.landing-form-group {
    margin-bottom: 1.15rem;
}

.landing-form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #cbd5e1;
    margin-bottom: 0.4rem;
}

.landing-form-input,
.landing-form-select,
.landing-form-textarea {
    width: 100%;
    background: rgba(8, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.6rem;
    padding: 0.8rem 1rem;
    color: #ffffff;
    font-size: 1rem; /* Previene auto-zoom en iOS Safari */
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.landing-form-input:focus,
.landing-form-select:focus,
.landing-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(8, 10, 15, 0.95);
}

.landing-form-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(137deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 0.6rem;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.landing-form-submit:hover {
    background: #4f91f7;
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

.landing-form-gdpr {
    font-size: 0.725rem;
    color: #64748b;
    margin-top: 0.85rem;
    text-align: center;
    line-height: 1.35;
}

.landing-form-gdpr a {
    color: #60a5fa;
    text-decoration: underline;
}

/* ─── BARRA DE CONFIANZA / STATS BAND ────────────────────────────────── */
.landing-stats-band {
    background: #0f172a;
    border-y: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 0;
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .landing-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.landing-stat-item {
    text-align: center;
    padding: 1rem;
}

.landing-stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.landing-stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
}

/* ─── MODALIDADES DE PROYECTO (WEB PRO VS ECOMMERCE) ─────────────────── */
.landing-plans {
    padding: 5rem 0;
    background: #080a0f;
}

.landing-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .landing-section-title {
        font-size: 2.75rem;
    }
}

.landing-section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #94a3b8;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.landing-plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .landing-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

.landing-plan-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

@media (min-width: 768px) {
    .landing-plan-card {
        padding: 2.5rem 2rem;
    }
}

.landing-plan-card--featured {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.landing-plan-ribbon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff9d00;
    color: #05070a;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 157, 0, 0.35);
}

.landing-plan-header {
    margin-bottom: 1.5rem;
}

.landing-plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.landing-plan-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: #60a5fa;
    margin-bottom: 0.5rem;
}

.landing-plan-price-sub {
    font-size: 0.85rem;
    color: #64748b;
}

.landing-plan-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.landing-plan-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.landing-plan-list span.material-symbols-outlined {
    color: #38bdf8;
    font-size: 1.1rem;
}

/* ─── BENTO GRID INTEGRACIÓN ERP & AUTOMATIZACIÓN ─────────────────────── */
.landing-bento {
    padding: 5rem 0;
    background: linear-gradient(180deg, #080a0f 0%, #0b1120 100%);
}

.landing-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .landing-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.landing-bento-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.landing-bento-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.landing-bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.landing-bento-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.landing-bento-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* ─── PROCESO DE TRABAJO EN 3 PASOS ──────────────────────────────────── */
.landing-process {
    padding: 5rem 0;
    background: #080a0f;
}

.landing-process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .landing-process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.landing-step-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    position: relative;
}

.landing-step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.3);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.landing-step-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.landing-step-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* ─── SECCIÓN FAQ ─────────────────────────────────────────────────────── */
.landing-faq {
    padding: 5rem 0;
    background: #080a0f;
}

.landing-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.landing-faq-item {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.landing-faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.landing-faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    display: none;
}

.landing-faq-item.active .landing-faq-answer {
    display: block;
}

.landing-faq-item.active .landing-faq-icon {
    transform: rotate(180deg);
}

/* ─── FOOTER SLIM FOR LANDING ────────────────────────────────────────── */
.landing-footer-slim {
    padding: 2rem 0;
    background: #040608;
    border-t: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
}

/* ─── MODAL DE CONFIRMACIÓN DE ENVÍO ──────────────────────────────────── */
.landing-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    animation: fadeInModal 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-modal-content {
    background: #0f172a;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(59, 130, 246, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
}

.landing-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.landing-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.landing-modal-message {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.landing-modal-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(137deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.landing-modal-btn:hover {
    background: #4f91f7;
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
