/**
 * Landing Page - Academia Lees
 * Inspirado en lees.com.co y lees.com.ec
 * Programa virtual de lectura rápida, comprensión y redacción
 */

:root {
    --lees-primary: #114189;
    --lees-primary-dark: #0d326d;
    --lees-secondary: #00bced;
    --lees-secondary-dark: #0094c0;
    --lees-orange: #f7830f;
    --lees-orange-dark: #c9640b;
    --lees-green: #61ce70;
    --lees-green-dark: #4aa550;
    --lees-cyan: #00bced;
    --lees-success: #9ed53d;
    --lees-warning: #f7830f;
    --lees-bg: #f8f9fa;
    --lees-white: #fff;
    --lees-text: #2c3e50;
    --lees-muted: #6c757d;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--lees-bg);
    color: var(--lees-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lees-primary) 0%, var(--lees-primary-dark) 100%);
    padding: 4.5rem 1rem 4rem;
}

.top-nav {
    position: absolute;
    top: 0.75rem;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    gap: 1rem;
}

.top-logo {
    height: 4rem;
    width: auto;
}

.top-actions {
    display: flex;
    gap: 0.5rem;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    opacity: 0.22;
    mix-blend-mode: screen;
    transform: scale(1.05);
    filter: saturate(0.95) brightness(1.02);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--lees-white);
    max-width: 880px;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}

.hero-logo {
    max-width: 220px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
}

.hero-title-main {
    font-size: 2.6rem;
    margin: 0 0 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 0 auto 1.25rem;
    max-width: 760px;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.btn-hero {
    border-radius: 50px;
    padding: 0.95rem 1.6rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn-hero.sm {
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
}

.btn-hero.primary {
    background: linear-gradient(135deg, var(--lees-primary), var(--lees-primary-dark));
    color: var(--lees-white);
}

.btn-hero.secondary {
    background: var(--lees-white);
    color: var(--lees-primary);
    border-color: var(--lees-white);
}

.btn-hero.orange {
    background: linear-gradient(135deg, var(--lees-orange), var(--lees-orange-dark));
    color: var(--lees-white);
    box-shadow: 0 10px 30px rgba(247, 131, 15, 0.28);
}

.btn-hero.green {
    background: linear-gradient(135deg, var(--lees-green), var(--lees-green-dark));
    color: var(--lees-white);
    box-shadow: 0 10px 30px rgba(97, 206, 112, 0.28);
}
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.hero-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.hero-links a {
    color: var(--lees-white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.hero-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

/* Stats */
.stats-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    padding: 2.25rem 1rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: #f7f9fb;
    border-radius: 14px;
    padding: 1.4rem 1.2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.035);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--lees-primary);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--lees-muted);
    margin-top: 0.35rem;
}

/* Sections shared */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--lees-primary);
    margin: 0 0 0.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--lees-muted);
    margin: 0;
}

/* Benefits */
.benefits-section {
    padding: 4rem 1rem 3.5rem;
    background: var(--lees-white);
}

.program-section {
    padding: 4rem 1rem 3.5rem;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}

.program-image {
    position: relative;
}

.image-frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(17, 65, 137, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.image-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: linear-gradient(135deg, var(--lees-orange), var(--lees-orange-dark));
    color: var(--lees-white);
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(247, 131, 15, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.program-content h2 {
    font-size: 2rem;
    color: var(--lees-primary);
    margin: 0 0 0.75rem;
    font-weight: 800;
}

.program-content p {
    color: var(--lees-muted);
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.program-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--lees-text);
    margin-bottom: 0.65rem;
    font-weight: 600;
}

.program-list li i {
    color: var(--lees-green);
}

.program-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.benefit-card {
    background: var(--lees-white);
    border-radius: 16px;
    padding: 2.2rem 1.8rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.benefit-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(17, 65, 137, 0.18);
}

.benefit-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 1.25rem;
    font-size: 2.2rem;
    color: var(--lees-white);
    background: linear-gradient(135deg, var(--lees-primary), var(--lees-primary-dark));
    box-shadow: 0 10px 25px rgba(17, 65, 137, 0.28);
}

.benefit-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--lees-primary);
}

.benefit-card p {
    font-size: 1rem;
    color: var(--lees-muted);
    margin: 0 0 1rem;
}

.benefit-card .tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(17, 65, 137, 0.08);
    color: var(--lees-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.features-section {
    padding: 4rem 1rem 3.5rem;
    background: var(--lees-bg);
}

.feature-card {
    background: var(--lees-white);
    border-radius: 16px;
    padding: 2rem 1.8rem;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(17, 65, 137, 0.16);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    font-size: 1.6rem;
    color: var(--lees-white);
    background: linear-gradient(135deg, var(--lees-orange), var(--lees-orange-dark));
    box-shadow: 0 10px 24px rgba(247, 131, 15, 0.28);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin: 0 0 0.6rem;
    color: var(--lees-primary);
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: var(--lees-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Access */
.access-section {
    padding: 4rem 1rem 3.5rem;
    background: linear-gradient(180deg, var(--lees-bg) 0%, var(--lees-white) 100%);
}

.cta-band {
    background: linear-gradient(135deg, rgba(17, 65, 137, 0.94), rgba(13, 50, 109, 0.98));
    color: var(--lees-white);
    padding: 2.5rem 1rem;
}

.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta-text h3 {
    margin: 0 0 0.4rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.cta-text p {
    margin: 0;
    opacity: 0.95;
    font-size: 1rem;
}

.cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.access-card {
    background: var(--lees-white);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
}

.access-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.access-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 46px rgba(17, 65, 137, 0.18);
    border-color: rgba(17, 65, 137, 0.18);
}

.access-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: var(--lees-white);
    background: linear-gradient(135deg, var(--lees-primary), var(--lees-primary-dark));
    box-shadow: 0 10px 28px rgba(17, 65, 137, 0.26);
    margin: 0 auto 1.5rem;
}

.access-card h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--lees-primary);
    text-align: center;
}

.access-card p {
    font-size: 1rem;
    color: var(--lees-muted);
    margin: 0 0 1.25rem;
    line-height: 1.7;
    text-align: center;
}

.access-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.access-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--lees-text);
    margin-bottom: 0.6rem;
    font-size: 0.97rem;
}

.access-list li i {
    color: var(--lees-success);
}

.btn-access {
    background: linear-gradient(135deg, var(--lees-primary), var(--lees-primary-dark));
    border: none;
    color: var(--lees-white);
    padding: 0.95rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.25s ease;
    box-shadow: 0 12px 30px rgba(17, 65, 137, 0.28);
}

.btn-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(17, 65, 137, 0.32);
    color: var(--lees-white);
}

/* Countries */
.countries-section {
    padding: 3.5rem 1rem 3rem;
    background: var(--lees-white);
}

.countries-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.country-link {
    color: var(--lees-primary);
    text-decoration: none;
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: 2px solid var(--lees-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    background: var(--lees-white);
    box-shadow: 0 8px 20px rgba(17, 65, 137, 0.12);
}

.country-link:hover {
    color: var(--lees-white);
    background: linear-gradient(135deg, var(--lees-primary), var(--lees-primary-dark));
    box-shadow: 0 12px 26px rgba(17, 65, 137, 0.22);
    transform: translateY(-2px);
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--lees-primary) 0%, #0a2d5a 100%);
    color: var(--lees-white);
    text-align: center;
    padding: 2.4rem 1rem;
}

.footer-section p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Responsive */
@media (max-width: 992px) {
    .hero-title-main { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-logo { max-width: 190px; }
    .benefits-section, .access-section, .program-section, .features-section { padding: 4rem 1rem; }
}

@media (max-width: 768px) {
    .hero-title-main { font-size: 1.9rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-logo { max-width: 160px; }
    .hero-buttons { flex-direction: column; }
    .btn-hero { width: 100%; justify-content: center; }
    .benefit-card, .access-card, .feature-card { padding: 2rem 1.5rem; }
    .section-title { font-size: 1.8rem; }
    .program-grid { grid-template-columns: 1fr; }
    .program-actions { flex-direction: column; }
    .program-actions .btn-hero { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
    .hero-title-main { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-logo { max-width: 140px; }
    .hero-links { flex-direction: column; }
    .country-link { width: 100%; justify-content: center; }
    .access-card, .benefit-card, .feature-card { padding: 1.8rem 1.25rem; }
    .access-list li { font-size: 0.93rem; }
    .btn-access { width: 100%; justify-content: center; }
    .program-actions { flex-direction: column; }
    .program-actions .btn-hero { width: 100%; justify-content: center; }
}