/* ==========================================================================
   CSS Variables & Base Reset (PREMIUM LIGHT THEME)
   ========================================================================== */
:root {
    /* Premium Light Theme Colors */
    --bg-base: #F8FAFC; /* Slate 50 */
    --bg-surface: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --border-glass: rgba(255, 255, 255, 0.9);
    --border-soft: rgba(0, 0, 0, 0.05);
    
    /* Vibrant Cheerful Accents */
    --accent-1: #3B82F6; /* Bright Blue (Trust) */
    --accent-2: #F59E0B; /* Amber (Energy) */
    --accent-3: #8B5CF6; /* Purple (Premium/Magic) */
    --accent-4: #10B981; /* Emerald (Success/Growth) */
    
    /* Gradients */
    --text-gradient: linear-gradient(135deg, #1E293B, #475569);
    --primary-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    --primary-gradient-hover: linear-gradient(135deg, #2563EB, #7C3AED);
    --accent-gradient: linear-gradient(135deg, var(--accent-2), #F43F5E);
    
    /* Text */
    --text-main: #1E293B; /* Slate 800 */
    --text-muted: #64748B; /* Slate 500 */
    
    /* Layout */
    --container-width: 1200px;
    --section-padding: 100px 20px;
    
    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(59, 130, 246, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Outfit', sans-serif; color: var(--text-main); }
body { background-color: var(--bg-base); line-height: 1.6; overflow-x: hidden; position: relative; }

/* Language Toggle Support */
t { display: contents; }
t.en { display: none; }
body.lang-en t.vi { display: none; }
body.lang-en t.en { display: contents; }

.lang-selector {
    background: rgba(255,255,255,0.9); color: var(--text-main);
    border: 1px solid var(--border-soft); border-radius: 12px;
    padding: 8px 14px; font-family: inherit; font-size: 0.95rem; font-weight: 500;
    cursor: pointer; outline: none; backdrop-filter: blur(10px);
    margin-left: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.lang-selector option { background: white; color: var(--text-main); }

/* Background Animated Elements (Light mode pastel orbs) */
.bg-elements { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(circle at top left, #EFF6FF, transparent 50%), radial-gradient(circle at bottom right, #F5F3FF, transparent 50%); }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.6; animation: float 20s infinite ease-in-out alternate; }
.orb-1 { width: 600px; height: 600px; background: #DBEAFE; top: -10%; left: -10%; } /* Light Blue */
.orb-2 { width: 500px; height: 500px; background: #EDE9FE; bottom: -10%; right: -5%; animation-delay: -5s; } /* Light Purple */
.orb-3 { width: 400px; height: 400px; background: #FEF3C7; top: 30%; left: 40%; opacity: 0.5; animation-delay: -10s; } /* Light Amber */
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 40px) scale(1.05); } }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* Typography & Reusables */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; }
.text-gradient { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-accent { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 3rem; margin-bottom: 15px; color: var(--text-main); }
.section-title p { font-size: 1.2rem; color: var(--text-muted); max-width: 650px; margin: 0 auto; }

/* Buttons */
.btn { display: inline-block; padding: 14px 32px; border-radius: 16px; font-weight: 600; text-align: center; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: none; font-size: 1.05rem; font-family: inherit; }
.btn-glow { background: var(--primary-gradient); color: white; box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3); position: relative; z-index: 1; overflow: hidden; }
.btn-glow::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--primary-gradient-hover); z-index: -1; opacity: 0; transition: opacity 0.3s ease; }
.btn-glow:hover::before { opacity: 1; }
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4); }
.btn-outline { background: white; border: 2px solid #E2E8F0; color: var(--text-main); box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.btn-outline:hover { background: #F8FAFC; border-color: #CBD5E1; transform: translateY(-2px); }
.btn-large { padding: 18px 40px; font-size: 1.15rem; }
.btn-full { width: 100%; }
.glass-panel { background: var(--bg-surface); border: 1px solid var(--border-glass); border-radius: 30px; padding: 40px; backdrop-filter: blur(20px); box-shadow: var(--shadow-soft); transition: all 0.3s ease; }

/* Header */
.glass-header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.03); z-index: 1000; transition: all 0.3s; }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 85px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.8rem; font-weight: 800; }
.logo-icon { color: var(--accent-1); font-size: 2.2rem; }
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { font-weight: 600; color: var(--text-muted); transition: all 0.3s ease; }
.nav-links a:hover { color: var(--accent-1); }
.nav-actions { display: flex; align-items: center; }

/* Footer */
.glass-footer { border-top: 1px solid var(--border-soft); padding: 80px 20px 40px; background: white; margin-top: auto; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.footer-brand p { color: var(--text-muted); margin-top: 15px; font-size: 1.1rem; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { font-weight: 600; color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-1); }

/* Layouts for Details Pages */
.page-header { padding: 180px 20px 80px; text-align: center; }
.page-header h1 { font-size: 4rem; margin-bottom: 25px; color: var(--text-main); }
.page-header p { font-size: 1.25rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; }
.content-section { padding: 20px 20px 100px; }
.content-block { margin-bottom: 50px; background: white; padding: 50px; border-radius: 30px; box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.02); }
.content-block h2 { font-size: 2.2rem; margin-bottom: 25px; color: var(--text-main); display: flex; align-items: center; gap: 15px;}
.content-block h2 i { color: var(--accent-1); background: #EFF6FF; padding: 12px; border-radius: 16px; font-size: 2rem; }
.content-block p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }
.content-block ul { margin-left: 20px; margin-bottom: 20px; }
.content-block li { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 12px; list-style-type: none; display: flex; align-items: flex-start; gap: 10px; }
.content-block li::before { content: '•'; color: var(--accent-1); font-weight: bold; font-size: 1.5rem; line-height: 1; }

/* Hero Home */
.hero { padding: 200px 20px 100px; min-height: 100vh; display: flex; align-items: center; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.badge-premium { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; background: #FFF7ED; color: #EA580C; border-radius: 30px; font-size: 1rem; font-weight: 700; margin-bottom: 30px; box-shadow: 0 4px 15px rgba(234, 88, 12, 0.1); }
.badge-premium i { font-size: 1.2rem; }
.hero-content h1 { font-size: 4.5rem; margin-bottom: 25px; line-height: 1.1; }
.hero-content p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; max-width: 95%; line-height: 1.7; }
.hero-visual { position: relative; }
/* The cute image styling */
.hero-image-wrapper { position: relative; z-index: 2; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-hover); border: 8px solid white; transform: rotate(2deg); transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-image-wrapper:hover { transform: rotate(0deg) scale(1.02); }
.hero-image-wrapper img { width: 100%; display: block; }
/* Floating cute elements */
.float-card { position: absolute; background: white; padding: 15px 20px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); display: flex; align-items: center; gap: 15px; font-weight: 700; color: var(--text-main); z-index: 3; animation: float 6s infinite ease-in-out alternate; }
.float-1 { top: -20px; left: -30px; }
.float-2 { bottom: 40px; right: -40px; animation-delay: -3s; }
.float-icon { width: 45px; height: 45px; border-radius: 14px; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; color: white; }

/* Quick Links Grid */
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.quick-link-card { text-align: center; padding: 50px 30px; text-decoration: none; display: block; border-radius: 30px; background: white; box-shadow: var(--shadow-soft); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(0,0,0,0.02); }
.quick-link-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.quick-link-card i { font-size: 3.5rem; color: var(--accent-1); margin-bottom: 25px; display: inline-block; padding: 20px; background: #EFF6FF; border-radius: 24px; }
.quick-link-card h3 { font-size: 1.6rem; margin-bottom: 15px; color: var(--text-main); }
.quick-link-card p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }

/* Pricing Grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; margin-top: 30px; }
.pricing-card { background: white; border-radius: 40px; padding: 50px 40px; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: 0.3s; position: relative; }
.premium-glass { background: var(--text-main); color: white; transform: scale(1.05); z-index: 2; box-shadow: 0 30px 60px rgba(30, 41, 59, 0.2); }
.premium-glass h3 { color: white; }
.premium-glass .desc, .premium-glass .period { color: #94A3B8; }
.premium-glass .price-display .amount { color: white; }
.premium-glass .premium-features li { color: #F1F5F9; }
.premium-glass .btn-glow { background: var(--accent-gradient); box-shadow: 0 10px 25px rgba(244, 63, 94, 0.3); }

.popular-tag { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--accent-gradient); color: white; padding: 8px 24px; border-radius: 20px; font-weight: 800; font-size: 0.95rem; box-shadow: 0 10px 20px rgba(244, 63, 94, 0.3); white-space: nowrap; letter-spacing: 0.5px; }
.pricing-header { text-align: center; margin-bottom: 35px; padding-bottom: 25px; border-bottom: 1px solid var(--border-soft); }
.premium-glass .pricing-header { border-color: rgba(255,255,255,0.1); }
.price-display { display: flex; justify-content: center; align-items: baseline; margin-bottom: 15px; }
.price-display .currency { font-size: 1.8rem; font-weight: 700; color: var(--text-muted); margin-right: 5px; }
.price-display .amount { font-size: 4rem; font-weight: 800; line-height: 1; color: var(--text-main); }
.price-display .period { font-size: 1.2rem; color: var(--text-muted); margin-left: 5px; font-weight: 500; }
.pricing-header .desc { font-size: 1.05rem; color: var(--text-muted); }
.pricing-body { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.premium-features li { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; font-size: 1.1rem; font-weight: 500; color: var(--text-main); }
.premium-features i { color: #10B981; background: #D1FAE5; padding: 5px; border-radius: 50%; font-size: 1.2rem; }
.premium-glass .premium-features i { background: rgba(16, 185, 129, 0.2); }
.premium-features li.disabled { color: var(--text-muted); opacity: 0.5; }
.premium-features li.disabled i { background: #F1F5F9; color: #94A3B8; }

/* Switch Toggle */
.pricing-toggle-wrap { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 60px; }
.toggle-label { font-weight: 700; color: var(--text-muted); font-size: 1.2rem; transition: color 0.3s; }
.toggle-label.active { color: var(--text-main); }
.highlight-label { position: relative; }
.save-badge { position: absolute; top: -35px; right: -50px; background: #FEF08A; color: #854D0E; font-size: 0.85rem; padding: 4px 12px; border-radius: 20px; font-weight: 800; transform: rotate(10deg); box-shadow: 0 4px 10px rgba(254, 240, 138, 0.4); }
.switch { position: relative; display: inline-block; width: 70px; height: 38px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #E2E8F0; transition: .4s; border-radius: 38px;}
.slider:before { position: absolute; content: ""; height: 30px; width: 30px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
input:checked + .slider { background: var(--accent-1); }
input:checked + .slider:before { transform: translateX(32px); }

/* Contact Specific Layout */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; padding: 50px; background: white; border-radius: 40px; box-shadow: var(--shadow-soft); }
.info-list li { display: flex; gap: 20px; margin-bottom: 35px; align-items: center; }
.info-list i { font-size: 2rem; color: var(--accent-1); background: #EFF6FF; padding: 18px; border-radius: 20px; }
.info-list span { display: block; font-size: 1rem; color: var(--text-muted); margin-bottom: 5px; font-weight: 500; }
.info-list strong { font-size: 1.25rem; color: var(--text-main); }
.contact-form .form-group { margin-bottom: 25px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 18px 24px; background: #F8FAFC; border: 2px solid #E2E8F0; border-radius: 20px; color: var(--text-main); font-family: inherit; font-size: 1.1rem; transition: 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-1); background: white; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #94A3B8; }

@media (max-width: 992px) {
    .hero-container, .quick-links, .pricing-grid, .contact-wrapper { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .premium-glass { transform: scale(1); }
    .float-card { display: none; } /* Hide floating cards on mobile for cleaner look */
}
