:root {
    --primary: #0056b3;
    --primary-dark: #003d82;
    --accent: #e63946;
    --accent-hover: #c82333;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    overflow-x: hidden; 
    background-color: #ffffff; 
    color: var(--text-dark); 
}

/* NAVBAR PREMIUM */
.navbar { 
    padding: 15px 0; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 30px rgba(0,0,0,0.05); 
    transition: all 0.3s ease; 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
}
.navbar-brand { 
    font-weight: 900; 
    color: var(--primary) !important; 
    font-size: 28px; 
    letter-spacing: -1px; 
}
.nav-link { 
    color: var(--text-dark); 
    font-weight: 600; 
    font-size: 14px; 
    padding: 10px 18px !important; 
    transition: 0.2s; 
    border-radius: 8px; 
}
.nav-link:hover { 
    color: var(--primary); 
    background: rgba(0, 86, 179, 0.05); 
}

.btn-panel { 
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
    color: white; 
    font-weight: 700; 
    font-size: 14px; 
    border: none; 
    padding: 10px 25px; 
    border-radius: 50px; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    transition: 0.3s; 
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3); 
}
.btn-panel:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4); 
    color: white; 
}

.btn-logout { 
    background: #f1f5f9; 
    color: #ef4444; 
    border: 1px solid #e2e8f0; 
    width: 42px; 
    height: 42px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px; 
    transition: 0.3s; 
    text-decoration: none; 
}
.btn-logout:hover { 
    background: #fee2e2; 
    border-color: #fca5a5; 
    transform: rotate(10deg); 
    color: #dc2626; 
}


/* HERO SECTION CARRUSEL */
.hero-carousel { position: relative; }
.carousel-item { height: 90vh; min-height: 600px; background-color: #000; position: relative; overflow: hidden;}
.carousel-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%); z-index: 1; }

.carousel-item img { height: 100%; width: 100%; object-fit: cover; transform: scale(1.1); transition: transform 6s ease; }
.carousel-item.active img { transform: scale(1); }

.carousel-caption { bottom: 0; top: 0; left: 10%; right: 10%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; z-index: 2; text-align: left; padding-bottom: 50px; }
.hero-badge-top { background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase; }
.hero-title { font-size: 4.5rem; font-weight: 900; margin-bottom: 20px; line-height: 1.1; letter-spacing: -1.5px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.2rem; font-weight: 400; margin-bottom: 40px; max-width: 600px; opacity: 0.9; line-height: 1.6; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

.carousel-item.active .hero-badge-top { animation: fadeDown 0.8s ease forwards; }
.carousel-item.active .hero-title { animation: fadeRight 0.8s ease 0.2s forwards; opacity: 0; }
.carousel-item.active .hero-subtitle { animation: fadeRight 0.8s ease 0.4s forwards; opacity: 0; }
.carousel-item.active .hero-btn-wrapper { animation: fadeUp 0.8s ease 0.6s forwards; opacity: 0; }

@keyframes fadeDown { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeRight { from { transform: translateX(-50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(230, 57, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); } }
.btn-hero { background: var(--accent); color: white; padding: 18px 40px; border-radius: 50px; font-weight: 800; font-size: 16px; text-decoration: none; transition: 0.3s; animation: pulse 2s infinite; display: inline-flex; align-items: center; gap: 10px; }
.btn-hero:hover { background: var(--accent-hover); color: white; transform: translateY(-3px); animation: none; box-shadow: 0 10px 25px rgba(230, 57, 70, 0.5); }

.carousel-control-prev, .carousel-control-next { width: 8%; z-index: 5; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 3rem; height: 3rem; background-color: rgba(0,0,0,0.3); border-radius: 50%; padding: 20px; }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3; color: white; text-align: center; animation: bounce 2s infinite; opacity: 0.7; }
.scroll-indicator i { font-size: 30px; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); } 40% { transform: translateY(-20px) translateX(-50%); } 60% { transform: translateY(-10px) translateX(-50%); } }

/* STATS SECTION */
.stats-section { padding: 60px 0; background: var(--primary-dark); color: white; position: relative; z-index: 10; margin-top: -30px; border-radius: 30px 30px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,0.1); }
.stat-box { text-align: center; padding: 20px; }
.stat-number { font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 5px; background: linear-gradient(135deg, #fff, #93c5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-text { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

/* WHY SECTION */
.why-section { padding: 100px 0; background: var(--bg-light); text-align: center; position: relative; }
.section-title { color: var(--text-dark); font-weight: 900; font-size: 36px; margin-bottom: 15px; letter-spacing: -1px; }
.section-subtitle { color: var(--text-muted); font-size: 16px; margin-bottom: 60px; }

.why-card { background: white; padding: 40px 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: 0.3s; border: 1px solid rgba(0,0,0,0.02); height: 100%; }
.why-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,86,179,0.1); border-color: rgba(0,86,179,0.1); }
.icon-box { width: 80px; height: 80px; margin: 0 auto 25px auto; display: flex; align-items: center; justify-content: center; border-radius: 20px; background: rgba(0,86,179,0.05); color: var(--primary); font-size: 40px; transition: 0.3s; }
.why-card:hover .icon-box { background: var(--primary); color: white; transform: rotate(10deg); }
.why-card h4 { font-weight: 800; font-size: 18px; margin-bottom: 15px; }
.feature-text { font-size: 14px; font-weight: 400; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* BANNER WAVE */
.banner-wave { position: relative; background: var(--accent); padding: 100px 0; overflow: hidden; color: white; }
.banner-wave::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100%; background: url('https://www.transparenttextures.com/patterns/cubes.png'); opacity: 0.1; }
.banner-content { position: relative; z-index: 2; text-align: center; }

/* COURSES SECTION */
.courses-section { padding: 100px 0; background: white; }
.course-card { background: white; border-radius: 20px; border: 1px solid #f1f5f9; transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.course-card:hover { box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); transform: translateY(-8px); border-color: #cbd5e1; }
.course-img-wrapper { overflow: hidden; position: relative; height: 220px; }
.course-img { height: 100%; width: 100%; object-fit: cover; transition: 0.5s; }
.course-card:hover .course-img { transform: scale(1.08); }
.course-badge { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); color: var(--primary); font-weight: 800; font-size: 11px; padding: 6px 12px; border-radius: 50px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.course-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; position: relative; background: white; z-index: 2; }
.course-price { font-size: 26px; font-weight: 900; color: var(--primary); margin-bottom: 20px; display: flex; align-items: baseline; gap: 5px;}
.course-price span { font-size: 13px; color: var(--text-muted); font-weight: 500;}
.btn-course { background: #f8fafc; color: var(--primary); font-weight: 700; padding: 12px; border-radius: 12px; text-align: center; transition: 0.3s; text-decoration: none; border: 1px solid #e2e8f0; display: block;}
.btn-course:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* TESTIMONIALS SECTION */
.testim-section { padding: 100px 0; background: var(--bg-light); }
.testim-card { background: white; padding: 40px; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); position: relative; }
.testim-card i.quote { font-size: 40px; color: rgba(0,86,179,0.1); position: absolute; top: 30px; right: 30px; }
.stars { color: #fbbf24; margin-bottom: 15px; font-size: 18px; }
.testim-text { font-size: 15px; font-style: italic; color: #475569; line-height: 1.7; margin-bottom: 20px; }
.testim-user { display: flex; align-items: center; gap: 15px; }
.testim-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testim-name { font-weight: 700; font-size: 15px; margin: 0; color: var(--text-dark); }
.testim-role { font-size: 12px; color: var(--text-muted); margin: 0; }

/* FOOTER */
.footer { background-color: #0f172a; color: #94a3b8; padding: 80px 0 30px 0; font-size: 14px; border-top: 5px solid var(--primary); }
.footer-title { color: white; font-weight: 800; font-size: 16px; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: 0.2s; display: inline-flex; align-items: center; gap: 5px;}
.footer-links a:hover { color: var(--accent); transform: translateX(5px); }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a { width: 45px; height: 45px; border-radius: 12px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: white; font-size: 22px; transition: 0.3s; text-decoration: none; }
.social-icons a:hover { background: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,86,179,0.3); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px;}

/* WHATSAPP BUTTON */
.btn-wa-float { position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; background: linear-gradient(135deg, #25d366, #128C7E); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 1000; transition: 0.3s; text-decoration: none; }
.btn-wa-float:hover { transform: scale(1.1) translateY(-5px); color: white; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6); }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: -100%; left: 20px; max-width: 400px; background: #ffffff; box-shadow: 0 15px 40px rgba(0,0,0,0.15); border-radius: 16px; padding: 25px; z-index: 9999; transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); border: 1px solid #e2e8f0; }
.cookie-banner.show { bottom: 20px; }
.cookie-title { font-weight: 800; color: #0f172a; font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px;}
.cookie-text { font-size: 13px; color: #475569; line-height: 1.5; margin-bottom: 20px;}
.cookie-buttons { display: flex; gap: 10px; }
.cookie-btn-accept { flex: 1; background: var(--primary); color: white; border: none; padding: 10px; border-radius: 10px; font-weight: 700; transition: 0.2s;}
.cookie-btn-accept:hover { background: var(--primary-dark); }
.cookie-btn-reject { background: #f1f5f9; color: #475569; border: none; padding: 10px 20px; border-radius: 10px; font-weight: 600; transition: 0.2s;}
.cookie-btn-reject:hover { background: #e2e8f0; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .carousel-caption { left: 5%; right: 5%; }
    .stat-box { margin-bottom: 30px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .carousel-control-prev, .carousel-control-next { display: none; }
    .cookie-banner { left: 15px; right: 15px; max-width: none; } 
}