﻿/* style.css */
:root {
    --neon-green: #00ff73;
    --dark-glass: rgba(10, 10, 10, 0.65);
    --light-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #f5f5f7;
    --text-muted: #86868b;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: #000; color: var(--text-main); overflow-x: hidden; }

#bg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -10; pointer-events: none; }
.glow-orb { position: fixed; border-radius: 50%; filter: blur(120px); z-index: -9; opacity: 0.4; }
.orb-1 { width: 500px; height: 500px; background: #00ff73; top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: #0088ff; bottom: -50px; right: -50px; }

header { 
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1200px; 
    background: var(--dark-glass); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass); border-radius: 30px; 
    display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; z-index: 1000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.logo { font-size: 22px; font-weight: 900; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--neon-green); }

@keyframes flyDragon {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(-15deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(4px) rotate(15deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.logo-dragon {
    font-size: 28px; 
    color: var(--neon-green); 
    margin-right: 5px;
    display: inline-block;
    animation: flyDragon 2.5s ease-in-out infinite;
}

.btn-ios { 
    background: rgba(255,255,255,0.9); color: #000; padding: 12px 25px; border-radius: 20px; 
    font-weight: 700; text-decoration: none; transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-ios:hover { background: var(--neon-green); transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,255,115,0.4); }

section { padding: 120px 20px; position: relative; max-width: 1200px; margin: 0 auto; perspective: 1000px; }
.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }

.badge { 
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; 
    background: rgba(0,255,115,0.1); border: 1px solid rgba(0,255,115,0.3); 
    border-radius: 50px; color: var(--neon-green); font-weight: 600; font-size: 14px; margin-bottom: 30px; 
}
.title-huge { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -2px; margin-bottom: 20px; }
.title-huge span { background: linear-gradient(135deg, #fff, #888); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.title-huge .highlight { background: linear-gradient(135deg, #00ff73, #0088ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.desc-large { font-size: 1.3rem; color: var(--text-muted); max-width: 700px; margin-bottom: 40px; line-height: 1.5; }

.reveal-3d { opacity: 0; transform: rotateX(20deg) translateY(50px) scale(0.95); transition: all 1s cubic-bezier(0.25, 1, 0.2, 1); transform-origin: center top; }
.reveal-3d.active { opacity: 1; transform: rotateX(0) translateY(0) scale(1); }

.glass-card {
    background: var(--light-glass); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border-glass); border-radius: 35px; padding: 40px;
    transition: 0.5s cubic-bezier(0.25, 1, 0.2, 1); transform-style: preserve-3d;
}
.glass-card:hover { 
    background: rgba(255,255,255,0.06); border-color: rgba(0,255,115,0.3); 
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg); 
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,255,115,0.1); 
}
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 60px; }
.feat-icon { width: 70px; height: 70px; background: rgba(0,255,115,0.1); border-radius: 22px; display: flex; justify-content: center; align-items: center; margin-bottom: 25px; border: 1px solid rgba(0,255,115,0.3); font-size: 30px; color: var(--neon-green); }
.glass-card h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 15px; }
.glass-card p { color: var(--text-muted); line-height: 1.6; font-size: 1.1rem; }

.ios-tabs { display: flex; background: rgba(255,255,255,0.03); border: 1px solid var(--border-glass); border-radius: 20px; padding: 8px; backdrop-filter: blur(20px); margin: 0 auto 50px; flex-wrap: wrap; max-width: 1000px;}
.ios-tab { flex: 1; min-width: 150px; text-align: center; padding: 15px; border-radius: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: 0.4s; }
.ios-tab.active { background: rgba(255,255,255,0.1); color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.tab-content { display: none; animation: popIn 0.6s cubic-bezier(0.25, 1, 0.2, 1); }
.tab-content.active { display: block; }
@keyframes popIn { 0% { opacity: 0; transform: scale(0.95) translateY(20px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.price-list { list-style: none; margin-top: 20px; }
.price-list li { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.1rem; }
.price-list li:last-child { border-bottom: none; }
.price-name { font-weight: 500; color: #ddd; }
.price-val { font-weight: 700; color: var(--neon-green); }

.course-card { padding: 0; overflow: hidden; }
.course-img-wrapper { height: 250px; width: 100%; position: relative; overflow: hidden; }
.course-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.7s; }
.course-card:hover .course-img-wrapper img { transform: scale(1.1); }
.course-info { padding: 40px; }
.course-tags { display: flex; gap: 10px; margin-bottom: 15px; }
.tag { background: rgba(255,255,255,0.1); padding: 5px 12px; border-radius: 10px; font-size: 0.85rem; font-weight: 600; color: var(--neon-green); }

/* Footer Redesign */
.footer { background: #050505; border-top: 1px solid var(--border-glass); padding: 80px 20px 40px; position: relative; z-index: 100; margin-top: 100px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; text-align: left; }
.footer-col h3 { color: #fff; font-size: 1.2rem; margin-bottom: 25px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.footer-col p { color: var(--text-muted); line-height: 1.8; margin-top: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; display: flex; align-items: center; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; }
.footer-col ul li a:hover { color: var(--neon-green); transform: translateX(5px); }
.footer-col ul li i { color: var(--neon-green); margin-right: 12px; width: 20px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 60px; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin-left: auto; margin-right: auto; flex-wrap: wrap; gap: 20px; }
.footer-bottom p { color: var(--text-muted); }
.social-links { display: flex; gap: 15px; }
.social-links a { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); color: #fff; text-decoration: none; transition: 0.3s; font-size: 1.2rem; }
.social-links a:hover { background: var(--neon-green); color: #000; transform: translateY(-3px); }

/* Updated Contact Buttons */
.contact-container { max-width: 600px; margin: 150px auto; padding: 50px; text-align: center; }
.contact-btn { display: flex; align-items: center; justify-content: flex-start; gap: 20px; width: 100%; padding: 20px 30px; border-radius: 20px; font-size: 1.2rem; font-weight: bold; text-decoration: none; margin-bottom: 20px; transition: 0.4s; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; }
.contact-btn img.app-logo { width: 35px; height: 35px; object-fit: contain; }
.contact-btn i { font-size: 2rem; width: 35px; text-align: center; }
.contact-btn span { flex: 1; text-align: left; }

.contact-btn.zalo { background: rgba(0, 104, 255, 0.1); border-color: rgba(0,104,255,0.4); color: #fff; }
.contact-btn.zalo:hover { background: #0068FF; box-shadow: 0 10px 20px rgba(0,104,255,0.3); border-color: #0068FF; }
.contact-btn.tele { background: rgba(0, 136, 204, 0.1); border-color: rgba(0,136,204,0.4); color: #fff; }
.contact-btn.tele:hover { background: #0088cc; box-shadow: 0 10px 20px rgba(0,136,204,0.3); border-color: #0088cc; }
.contact-btn.gmail { background: rgba(234, 67, 53, 0.1); border-color: rgba(234,67,53,0.4); color: #fff; }
.contact-btn.gmail:hover { background: #EA4335; box-shadow: 0 10px 20px rgba(234,67,53,0.3); border-color: #EA4335; }
.contact-btn.phone { background: rgba(0, 255, 115, 0.1); border-color: rgba(0,255,115,0.4); color: #fff; }
.contact-btn.phone:hover { background: var(--neon-green); color: #000; box-shadow: 0 10px 20px rgba(0,255,115,0.3); border-color: var(--neon-green); }

/* VIP Section Styles */
.vip-card { grid-column: 1 / -1; display: flex; flex-wrap: wrap; border: 2px solid var(--neon-green); }
.vip-img { flex: 1; min-width: 300px; height: auto; }
.vip-img img { height: 100%; object-fit: cover; }
.vip-info { flex: 1.5; min-width: 300px; padding: 50px; }
.badge-vip { background: var(--neon-green) !important; color: #000 !important; border: none; }
.vip-title { font-size: 2.5rem; margin: 15px 0; }
.vip-desc { font-size: 1.2rem; margin-bottom: 20px; }
.vip-price { color: var(--neon-green); font-size: 3rem; margin-bottom: 30px; font-weight: 900; }
.btn-vip { padding: 20px 50px; font-size: 1.2rem; background: var(--neon-green); display: inline-block; text-align: center; border-radius: 50px; color: #000; font-weight: bold; text-decoration: none; transition: 0.3s; }
.btn-vip:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,255,115,0.4); }

.btn-hero { padding: 18px 40px; font-size: 1.2rem; background: var(--neon-green); display: inline-block; border-radius: 50px; color: #000; font-weight: bold; text-decoration: none; transition: 0.3s; }
.btn-hero:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,255,115,0.4); }

@media (max-width: 768px) {
    header { padding: 12px 15px; width: 95%; border-radius: 20px; }
    .logo { font-size: 14px; gap: 5px; }
    .logo-dragon { font-size: 18px; }
    .btn-ios { padding: 10px 14px; font-size: 0.85rem; }
    
    .title-huge { font-size: 2.2rem !important; }
    .glass-card { padding: 20px; border-radius: 20px; }
    .ios-tabs { border-radius: 15px; }
    
    .contact-btn { padding: 15px 20px; font-size: 1rem; }
    .contact-container { padding: 30px 20px; margin-top: 120px; }
    .footer-content { grid-template-columns: 1fr; }
    
    .vip-card { flex-direction: column; }
    .vip-img { min-width: 100%; height: 250px; }
    .vip-info { min-width: 100%; padding: 25px; text-align: left; }
    .vip-title { font-size: 1.8rem; }
    .vip-desc { font-size: 1rem; }
    .vip-price { font-size: 2.2rem; margin-bottom: 20px; }
    .btn-vip { padding: 15px 30px; width: 100%; font-size: 1rem; display: block; box-sizing: border-box; }
    
    .btn-hero { padding: 15px 30px; font-size: 1.1rem; }
    section { padding: 80px 15px; }
    .hero { padding: 120px 15px 80px; }
}

 / *   G L O B A L   L O A D E R   * / 
 . l o a d e r - o v e r l a y   { 
         p o s i t i o n :   f i x e d ; 
         t o p :   0 ;   l e f t :   0 ;   w i d t h :   1 0 0 % ;   h e i g h t :   1 0 0 % ; 
         b a c k g r o u n d :   r g b a ( 0 ,   0 ,   0 ,   0 . 4 ) ; 
         b a c k d r o p - f i l t e r :   b l u r ( 2 5 p x ) ; 
         - w e b k i t - b a c k d r o p - f i l t e r :   b l u r ( 2 5 p x ) ; 
         z - i n d e x :   9 9 9 9 9 ; 
         d i s p l a y :   f l e x ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         a l i g n - i t e m s :   c e n t e r ; 
         o p a c i t y :   1 ; 
         v i s i b i l i t y :   v i s i b l e ; 
         t r a n s i t i o n :   o p a c i t y   0 . 4 s   e a s e ,   v i s i b i l i t y   0 . 4 s   e a s e ; 
 } 

/* GLOBAL LOADER */
.loader-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    width: 90px; height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.loader-content::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    background: conic-gradient(transparent 20%, rgba(0,255,115,0.5) 60%, var(--neon-green) 90%, #fff 100%);
    animation: spinRing 1s linear infinite;
    filter: drop-shadow(0 0 10px var(--neon-green));
}
.loader-content::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    background: #050505;
    border-radius: 50%;
}

.loader-logo {
    font-size: 2.2rem;
    color: var(--neon-green);
    z-index: 2;
    animation: pulseLogo 1s infinite alternate ease-in-out;
}

@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes pulseLogo {
    0% { transform: scale(0.9); text-shadow: 0 0 10px rgba(0,255,115,0.2); }
    100% { transform: scale(1.1); text-shadow: 0 0 25px rgba(0,255,115,0.8); }
}
