/* ==========================================================================
   DESIGN SYSTEM - VARIABLES & BASE STYLES
   ========================================================================== */
:root {
    --primary: #0f2963;         /* Deep Royal Academic Navy Blue */
    --primary-hover: #0c204e;
    --primary-rgb: 15, 41, 99;
    --secondary: #d97706;       /* Premium Amber Gold / Warm Gold for CTA */
    --secondary-hover: #b45309;
    --accent: #f59e0b;          /* Soft Golden Accent */
    
    --bg-dark: #f8fafc;         /* Pure Clean Slate Light Gray Background */
    --bg-darker: #ffffff;       /* Solid White for Airy clean containers */
    --card-bg: #ffffff;         /* Pure White Cards */
    --card-bg-rgb: 255, 255, 255;
    
    --text-main: #0f172a;       /* Dark charcoal for high contrast readability */
    --text-muted: #64748b;      /* Soft Slate gray */
    --text-light: #334155;      /* Dark gray for easy parent reading */
    
    --border: #e2e8f0;          /* Crisp soft light borders */
    --border-glow: rgba(15, 41, 99, 0.1);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(15, 41, 99, 0.08);
    
    --font-family: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(15, 41, 99, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 41, 99, 0.06);
    --shadow-lg: 0 16px 40px rgba(15, 41, 99, 0.08);
    --shadow-glow: 0 0 25px rgba(15, 41, 99, 0.08);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Helpers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-family);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    gap: 8px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
    border-radius: 14px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.5);
}

.btn-secondary {
    background: rgba(15, 41, 99, 0.05);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(15, 41, 99, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Micro-animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35); }
    50% { transform: scale(1.02); box-shadow: 0 4px 25px rgba(217, 119, 6, 0.5); }
    100% { transform: scale(1); box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35); }
}

.pulse-shadow {
    animation: pulse 3s infinite ease-in-out;
}

/* ==========================================================================
   HEADER NAVIGATION (GLASSMORPHIC)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition);
}

.main-header.scrolled .header-container {
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #fff;
}

.logo-text span {
    color: var(--primary);
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--text-main);
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--bg-darker);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 41, 99, 0.05) 0%, rgba(217, 119, 6, 0.03) 50%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 41, 99, 0.05);
    border: 1px solid var(--border-glow);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    white-space: pre-line;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-features {
    list-style: none;
    margin-bottom: 40px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.icon-check {
    color: var(--secondary);
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.hero-social-proof {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero visual & floating cards */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 450px;
}

.main-illustration {
    width: 100%;
    height: 100%;
    background: radial-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.circle-decorator-1, .circle-decorator-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.circle-decorator-1 {
    width: 250px;
    height: 250px;
    background: rgba(15, 41, 99, 0.05);
    top: -50px;
    left: -50px;
}

.circle-decorator-2 {
    width: 200px;
    height: 200px;
    background: rgba(217, 119, 6, 0.04);
    bottom: -40px;
    right: -40px;
}

.illustration-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.book-stack { font-size: 5rem; }
.graduation-cap { font-size: 4rem; position: absolute; top: 40px; right: 80px; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5)); animation: float 6s infinite ease-in-out; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.progress-ring {
    width: 100px;
    height: 100px;
}

.circular-chart {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 2.8;
}

.circle {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 2.5s ease-out forwards;
}

.percentage {
    fill: var(--text-main);
    font-weight: 800;
    font-size: 0.55rem;
    text-anchor: middle;
}

.chart-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Floating dynamic badges */
.floating-card {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.card-students {
    top: 40px;
    left: -40px;
    animation: float 5s infinite ease-in-out 1s;
}

.avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--card-bg);
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -10px;
}

.avatar:nth-child(2) { background: var(--secondary); }
.avatar:nth-child(3) { background: var(--accent); }
.avatar-plus {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #475569;
    border: 2px solid var(--card-bg);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info strong { font-size: 0.95rem; color: var(--text-main); }
.card-info span { font-size: 0.75rem; color: var(--text-muted); }

.card-rating {
    bottom: 30px;
    right: -30px;
    flex-direction: column;
    align-items: flex-start;
    animation: float 7s infinite ease-in-out 0.5s;
}

.card-rating strong { font-size: 1.15rem; color: var(--text-main); }
.card-rating span { font-size: 0.75rem; color: var(--text-muted); }

.card-target {
    top: 55%;
    left: -60px;
    animation: float 6s infinite ease-in-out 2s;
}

.card-target .icon-box {
    font-size: 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-target strong { font-size: 0.95rem; }
.card-target span { font-size: 0.75rem; color: var(--text-muted); }

/* ==========================================================================
   PROBLEM SECTION (NỖI ĐAU)
   ========================================================================== */
.problems-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    display: inline-block;
    margin-bottom: 12px;
}

.section-tag.text-light {
    color: var(--primary);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.problem-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.problem-card:hover::before {
    height: 100%;
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.problem-card:hover .problem-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(5deg);
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   CURRICULUM & SOLUTIONS (LỘ TRÌNH HỌC)
   ========================================================================== */
.curriculum-section {
    padding: 100px 0;
    background-color: var(--bg-darker);
    position: relative;
}

.tabs-container {
    max-width: 1100px;
    margin: 40px auto 0;
}

.tabs-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition);
}

.tab-btn:hover {
    background: rgba(15, 41, 99, 0.03);
    border-color: rgba(15, 41, 99, 0.15);
}

.tab-btn.active {
    background: rgba(15, 41, 99, 0.06);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(15, 41, 99, 0.08);
}

.tab-num {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: var(--transition);
}

.tab-btn.active .tab-num {
    color: var(--secondary);
}

.tab-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.curriculum-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: flex-start;
}

.curriculum-info {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.curriculum-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.curriculum-desc {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 32px;
}

.curriculum-info .curriculum-features {
    list-style: none;
}

.curriculum-info .curriculum-features li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.curriculum-info .curriculum-features strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 4px;
    font-size: 1rem;
}

.curriculum-info .curriculum-features div {
    font-size: 0.95rem;
    color: var(--text-light);
}

.curriculum-subjects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.subject-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    transition: var(--transition);
}

.subject-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.sub-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.sub-badge.toán { background: rgba(15, 41, 99, 0.08); color: var(--primary); }
.sub-badge.lí { background: rgba(56, 189, 248, 0.15); color: #0284c7; }
.sub-badge.hóa { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.sub-badge.văn { background: rgba(20, 184, 166, 0.15); color: #0f766e; }

.subject-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.subject-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================================================
   USPS SECTION (LỢI THẾ VƯỢT TRỘI)
   ========================================================================== */
.usps-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.usps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.usp-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
}

.usp-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--border-glow);
}

.usp-decor-number {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: var(--transition);
}

.usp-item:hover .usp-decor-number {
    color: rgba(99, 102, 241, 0.1);
}

.usp-icon {
    width: 56px;
    height: 56px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition);
}

.usp-item:hover .usp-icon {
    background: var(--secondary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.usp-item h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.usp-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS SECTION (SOCIAL PROOF)
   ========================================================================== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.testimonials-carousel-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300%; /* 3 slides */
}

.testimonial-card {
    width: 33.333%; /* Each card takes up 1/3 of the container width */
    flex-shrink: 0;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: var(--transition);
    opacity: 0.3;
    transform: scale(0.95);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-lg);
}

.testi-rating {
    font-size: 1.1rem;
    color: var(--accent);
}

.testi-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.7;
    position: relative;
}

.testi-quote::before {
    content: '"';
    font-family: serif;
    font-size: 4rem;
    position: absolute;
    top: -24px;
    left: -20px;
    opacity: 0.15;
    color: var(--primary);
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}

.author-avatar.m { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.author-avatar.f { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    font-style: normal;
}

.author-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(15, 41, 99, 0.1);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator-dot:hover {
    background: rgba(15, 41, 99, 0.3);
}

.indicator-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* ==========================================================================
   PRICING & COUNTDOWN (GÓI ƯU ĐÃI)
   ========================================================================== */
.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.pricing-card-promo {
    background: radial-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.promo-badge {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.promo-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.promo-title .highlight {
    color: var(--secondary);
    background: linear-gradient(to right, var(--secondary), #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

.promo-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.promo-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.p-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    background: rgba(15, 41, 99, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo-detail-item strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 4px;
}

.promo-detail-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Countdown Card Styles */
.promo-countdown-card {
    background: #ffffff;
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.countdown-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.countdown-timer {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    width: 100%;
    justify-content: center;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 18px;
    min-width: 70px;
}

.time-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.time-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 6px;
}

.seats-left-container {
    width: 100%;
    margin-bottom: 32px;
}

.seats-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(15, 41, 99, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary) 0%, #2dd4bf 100%);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
    transition: width 1s ease;
}

.seats-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    display: block;
}

/* ==========================================================================
   REGISTER FORM & FINAL CTA
   ========================================================================== */
.register-section {
    padding: 100px 0;
    background-color: var(--bg-darker);
    position: relative;
}

.register-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.register-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 16px;
    margin-bottom: 24px;
}

.register-info p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.quick-contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.c-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.c-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-info-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.c-info-item strong {
    font-size: 1.15rem;
    color: #fff;
}

/* Beautiful Premium Form Elements */
.register-form-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    background-color: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fff;
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-control::placeholder {
    color: #475569;
}

/* Customized Radio Cards styling */
.radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.radio-card {
    cursor: pointer;
    display: block;
}

.radio-card input {
    display: none;
}

.radio-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    transition: var(--transition);
}

.radio-card input:checked + .radio-btn-content {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    color: #fff;
}

/* Customized Checkbox Cards styling */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-card {
    cursor: pointer;
    display: block;
}

.checkbox-card input {
    display: none;
}

.checkbox-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.checkbox-card input:checked + .checkbox-btn-content {
    background: rgba(20, 184, 166, 0.15);
    border-color: var(--secondary);
    color: #fff;
}

.error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 600;
}

.form-group.has-error .form-control {
    border-color: #ef4444;
}

.form-group.has-error .error-msg {
    display: block;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links ul a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-contact p strong {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer-bottom p {
    color: #475569;
    font-size: 0.85rem;
}

/* ==========================================================================
   SUCCESS MODAL OVERLAY
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-success-icon {
    width: 80px;
    height: 80px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.2);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.modal-body {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.modal-body strong {
    color: var(--secondary);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 480px;
    }
    
    .hero-actions {
        align-items: center;
    }
    
    .curriculum-layout {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-promo {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }
    
    .register-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-darker);
        flex-direction: column;
        align-items: center;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition);
        border-top: 1px solid var(--border);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tabs-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .tab-btn {
        padding: 16px;
        text-align: center;
        align-items: center;
    }
    
    .curriculum-subjects {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .register-form-box {
        padding: 24px;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-features li {
        font-size: 0.95rem;
    }
    
    .floating-card {
        display: none !important; /* Hide floating badges on very small phones to avoid clutter */
    }
    
    .image-wrapper {
        height: 300px;
    }
    
    .pricing-card-promo {
        padding: 24px 16px;
    }
    
    .time-block {
        padding: 8px 12px;
        min-width: 55px;
    }
    
    .time-num {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   SPECIAL GRADE 9 TO 10 ENTRANCE SECTION
   ========================================================================== */
.entrance-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.entrance-container-card {
    background: radial-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 60px;
    position: relative;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.entrance-bg-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, rgba(0,0,0,0) 70%);
    filter: blur(50px);
    pointer-events: none;
}

.entrance-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.entrance-headline {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 16px;
    margin-bottom: 24px;
}

.entrance-sub {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.pain-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pain-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pain-item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pain-item strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.pain-item div {
    color: var(--text-light);
    font-size: 0.95rem;
}

.entrance-subjects {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.subject-strategy-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    transition: var(--transition);
}

.subject-strategy-card:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.strat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.strat-icon {
    font-size: 1.75rem;
    width: 44px;
    height: 44px;
    background: rgba(15, 41, 99, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strat-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.strat-title-box h4 {
    font-size: 1.15rem;
    font-weight: 700;
}

.strat-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.strat-badge.toán { background: rgba(15, 41, 99, 0.08); color: var(--primary); }
.strat-badge.văn { background: rgba(20, 184, 166, 0.15); color: #0f766e; }
.strat-badge.lí { background: rgba(56, 189, 248, 0.15); color: #0284c7; }

.subject-strategy-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Roadmap & CTA styling */
.entrance-roadmap-container {
    border-top: 1px solid var(--border);
    padding-top: 50px;
}

.roadmap-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.entrance-roadmap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.roadmap-step {
    text-align: center;
    position: relative;
}

.roadmap-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 24px;
    right: -20px;
    font-size: 1.5rem;
    color: var(--border-glow);
}

@media (max-width: 768px) {
    .roadmap-step:not(:last-child)::after {
        content: '↓';
        top: auto;
        bottom: -20px;
        right: 50%;
        transform: translateX(50%);
    }
}

.step-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.3);
}

.roadmap-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.roadmap-step p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.entrance-cta {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cta-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .entrance-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .entrance-pain-points {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .pain-list {
        align-items: flex-start;
        max-width: 600px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .entrance-container-card {
        padding: 30px 20px;
    }
    
    .entrance-roadmap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & HEADER TRANSITIONS
   ========================================================================== */
.top-announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    z-index: 1002;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.top-bar-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.top-announcement-bar .divider {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

/* Header position adjustment for top bar */
.main-header {
    top: 38px !important; /* Start after top bar */
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s, padding 0.3s, box-shadow 0.3s !important;
}

.main-header.scrolled {
    top: 0 !important; /* Slide up when top bar hides */
}

/* Push down main body content to prevent hero cut-off */
body {
    padding-top: 38px;
}

/* Top bar text highlight */
.announce-text strong {
    color: var(--accent);
}

@media (max-width: 768px) {
    .top-announcement-bar {
        font-size: 0.75rem;
        height: auto;
        padding: 8px 0;
        position: relative; /* Flow naturally on mobile so it never overlaps the header */
        transform: none !important; /* Disable Javascript slide transitions on mobile */
    }
    
    .top-bar-container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    
    .top-bar-links {
        justify-content: center;
    }
    
    body {
        padding-top: 0; /* Remove hardcoded top padding on mobile */
    }
    
    .main-header {
        position: sticky; /* Use modern sticky positioning on mobile */
        top: 0 !important; /* Always stick neatly at the very top of the screen on scroll */
    }
    
    .main-header.scrolled {
        top: 0 !important;
    }
}

/* ==========================================================================
   FLOATING SOCIAL CHAT BUBBLES (ZALO & MESSENGER)
   ========================================================================== */
.floating-chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1001;
    pointer-events: auto;
}

.chat-bubble {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Zalo Bubble styling */
.bubble-zalo {
    background: linear-gradient(135deg, #0068ff 0%, #004ecc 100%);
    box-shadow: 0 8px 24px rgba(0, 104, 255, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    animation: bubblePulseZalo 3s infinite ease-in-out;
}

.bubble-zalo:hover {
    background: linear-gradient(135deg, #1a77ff 0%, #005ce6 100%);
    box-shadow: 0 12px 32px rgba(0, 104, 255, 0.6), 0 0 15px rgba(0, 104, 255, 0.4);
    transform: scale(1.12) translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Messenger Bubble styling */
.bubble-messenger {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    box-shadow: 0 8px 24px rgba(0, 114, 255, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    animation: bubblePulseMessenger 3s infinite ease-in-out 1.5s;
}

.bubble-messenger:hover {
    background: linear-gradient(135deg, #1ad1ff 0%, #1a80ff 100%);
    box-shadow: 0 12px 32px rgba(0, 114, 255, 0.6), 0 0 15px rgba(0, 114, 255, 0.4);
    transform: scale(1.12) translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Premium dynamic tooltips */
.bubble-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chat-bubble:hover .bubble-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse keyframes for extra premium micro-interaction */
@keyframes bubblePulseZalo {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 104, 255, 0.35);
    }
    50% {
        box-shadow: 0 8px 30px rgba(0, 104, 255, 0.6), 0 0 10px rgba(0, 104, 255, 0.3);
    }
}

@keyframes bubblePulseMessenger {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 114, 255, 0.35);
    }
    50% {
        box-shadow: 0 8px 30px rgba(0, 114, 255, 0.6), 0 0 10px rgba(0, 114, 255, 0.3);
    }
}

/* Adjust floating container position for small devices to avoid overlapping footer text too much */
@media (max-width: 480px) {
    .floating-chat-container {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    .chat-bubble {
        width: 48px;
        height: 48px;
    }
    .bubble-tooltip {
        display: none !important; /* Hide tooltips on mobile to save screen real estate */
    }
}



