/* =========================================
   TEMA: FOREST CORPORATE (VERDE)
   ========================================= */

:root {
    /* --- PALETA GENERADA AUTOMÁTICAMENTE --- */
    
    /* 1. TU COLOR PRINCIPAL (Verde Bosque Profundo) */
    --brand: #064E3B;
    
    /* 2. VERDE MÁS OSCURO (Para efectos Hover) */
    --brand-dark: #022c22;
    
    /* 3. VERDE MUY CLARO (Para fondos suaves y badges) */
    /* Importante: Debe ser muy claro para que el texto se lea encima */
    --brand-light: #ecfdf5; 

    /* 4. COLOR DE ACENTO (Naranja - Complementario perfecto del verde para vender) */
    --accent: #f97316; 
    --accent-hover: #c2410c;

    /* --- BASE NEUTRA --- */
    --bg-body: #ffffff;
    --bg-alt: #f8fafc;      /* Gris hielo muy suave */
    --text-main: #0f172a;   /* Slate 900 */
    --text-muted: #64748b;  /* Slate 500 */
    
    --border: #e2e8f0;
    --danger: #ef4444;
    --success: #059669;     /* Un verde medio para iconos de éxito */
    
    /* SOMBRAS */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* RESET Y BASE */
* { margin: 0; padding: 0; box-sizing: border-box; outline: none; scroll-behavior: smooth; }
body { background: var(--bg-body); color: var(--text-main); font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.text-center { text-align: center; }
.subtitle { color: var(--text-muted); margin-bottom: 40px; font-size: 1.125rem; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.8; }

/* HEADER */
header { 
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid var(--border); 
    padding: 16px 0; 
    position: sticky; top: 0; z-index: 100; 
}
.header-content { display: flex; justify-content: space-between; align-items: center; }

/* LOGO */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 45px; width: auto; object-fit: contain; }
.logo-text { font-size: 1.4rem; font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; line-height: 1; }
.logo-text span { color: var(--brand); }

.nav-link { color: var(--text-muted); font-weight: 600; font-size: 0.9rem; padding: 8px 16px; border-radius: 6px; display: inline-flex; align-items: center; gap: 8px; }
.nav-link:hover { color: var(--brand-dark); background: var(--brand-light); }

/* BOTONES */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all 0.2s ease; font-size: 0.95rem; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25); }

.btn-success { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-success:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25); }

.btn-outline { background: transparent; border-color: var(--border); color: var(--text-main); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: #fff; }

.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.full-width { width: 100%; }
.mt-10 { margin-top: 15px; }

/* HERO */
.hero { padding: 100px 0 80px; background: linear-gradient(180deg, var(--brand-light) 0%, #ffffff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge-hero { background: #fff; color: var(--brand); padding: 6px 12px; border-radius: 20px; font-weight: 700; font-size: 0.8rem; display: inline-block; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); border: 1px solid var(--brand-light); }
.hero h1 { font-size: 3.2rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; color: var(--text-main); letter-spacing: -1px; }
.hero h1 span { color: var(--brand); }
.hero p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.mockup-img { 
    width: 100%; border-radius: 12px; 
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1); 
    border: 1px solid var(--border); 
    background: #fff; 
    aspect-ratio: 16/9;
    overflow: hidden;
}

/* SECCIONES */
.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 20px; font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; }

/* PROBLEMAS */
.problem { padding: 80px 0; background: #fff; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card-problem { background: var(--bg-alt); padding: 30px; border-radius: 16px; text-align: center; border: 1px solid transparent; transition: 0.3s; }
.card-problem:hover { background: #fff; border-color: var(--brand-light); box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.card-problem i { font-size: 2.5rem; color: var(--danger); margin-bottom: 20px; }
.card-problem h3 { margin-bottom: 10px; font-size: 1.25rem; font-weight: 700; }

/* VIDEO */
.video-section { padding: 80px 0; background: #022c22; color: #fff; } /* Fondo verde muy oscuro */
.video-section .section-title { color: #fff; }
.video-section .subtitle { color: #d1fae5; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 900px; margin: 0 auto; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* FEATURES */
.features-main { padding: 100px 0; background: #fff; }
.feature-row { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--text-main); font-weight: 800; }
.feature-visual { flex: 1; display: flex; justify-content: center; }
.feature-icon-big { font-size: 6rem; color: var(--brand); opacity: 0.9; }

/* TÉCNICA */
.tech-grid { padding: 80px 0; background: var(--bg-alt); }
.tech-card { display: flex; gap: 15px; margin-bottom: 15px; padding: 15px; background: #fff; border-radius: 10px; border: 1px solid var(--border); transition: 0.2s; }
.tech-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.tech-card i { font-size: 1.4rem; color: var(--brand); margin-top: 3px; }
.tech-card h4 { font-size: 1.1rem; margin-bottom: 5px; font-weight: 700; }

/* PRECIOS */
.pricing { padding: 100px 0; background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; justify-content: center; max-width: 900px; margin: 0 auto; align-items: start; }

.plan-card { background: #fff; padding: 40px 30px; border-radius: 20px; position: relative; text-align: center; border: 1px solid var(--border); transition: 0.3s; }
.plan-card.standard { background: var(--bg-alt); }
.plan-card.featured { 
    border: 2px solid var(--brand); 
    box-shadow: 0 15px 30px -5px rgba(6, 78, 59, 0.15); 
    transform: scale(1.05); z-index: 2; 
    background: #fff;
}

.promo-badge { background: var(--brand); color: #fff; display: inline-block; padding: 6px 15px; border-radius: 50px; font-weight: 700; font-size: 0.8rem; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); letter-spacing: 1px; }
.price { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 20px 0; line-height: 1; }
.period { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.benefits-list-card { text-align: left; list-style: none; margin-bottom: 30px; padding: 0; }
.benefits-list-card li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; font-size: 0.95rem; }
.benefits-list-card li i { margin-right: 10px; color: var(--success); }
.benefits-list-card li i.highlight { color: var(--brand); }

/* FOOTER */
footer { padding: 50px 0; border-top: 1px solid var(--border); color: var(--text-muted); text-align: center; font-size: 0.9rem; background: #fff; }

/* TOAST */
.toast { position: fixed; bottom: 30px; right: 30px; background: #fff; color: var(--text-main); padding: 15px 25px; border-radius: 10px; border-left: 5px solid var(--brand); transform: translateY(200%); transition: 0.4s; z-index: 999; box-shadow: 0 10px 25px rgba(0,0,0,0.15); font-weight: 600; }
.toast.show { transform: translateY(0); }

/* Animaciones */
.pulse { animation: pulse-orange 2s infinite; }
@keyframes pulse-orange { 0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); } }

/* RESPONSIVE */
@media(max-width:900px) {
    .hero { text-align: center; }
    .hero-grid, .feature-row, .feature-row.reverse { grid-template-columns: 1fr; flex-direction: column; }
    .hero-actions { justify-content: center; }
    .plan-card.featured { transform: scale(1); }
    .pricing-grid { gap: 50px; }
}