/* --- BIẾN CSS & CÀI ĐẶT CHUNG --- */
:root {
  --primary-blue: #0052FF;
  --primary-blue-hover: #0040cc;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --footer-bg: #0B1120;
}

body { 
  margin: 0; 
  padding: 0; 
  background: var(--bg-light); 
  color: var(--text-dark); 
  overflow-x: hidden; 
}
a { text-decoration: none; }

.vlemp-container { 
  max-width: 1200px !important; 
  margin: 0 auto !important; 
  padding: 0 20px !important; 
  width: 100% !important;
}

/* --- HIỆU ỨNG DRAWER MENU MOBILE --- */
.mobile-menu-btn { display: none; background: transparent; border: none; font-size: 2rem; cursor: pointer; color: var(--text-dark); padding: 5px; }
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s ease; }
.mobile-drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: white; z-index: 999; box-shadow: 2px 0 15px rgba(0,0,0,0.1); transition: 0.3s ease; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-drawer.active { left: 0; }
.mobile-overlay.active { opacity: 1; visibility: visible; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #f3f4f6; }
.btn-close-drawer { background: #f3f4f6; border: none; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; color: var(--text-dark); }
.drawer-nav { display: flex; flex-direction: column; padding: 10px 20px; }
.drawer-nav a { color: var(--text-dark); font-weight: 600; font-size: 1rem; padding: 15px 0; border-bottom: 1px solid #f3f4f6; display: flex; justify-content: space-between; align-items: center; }
.drawer-controls { padding: 20px; display: flex; flex-direction: column; gap: 15px; margin-top: auto; border-top: 1px solid #f3f4f6; }

/* --- HERO SECTION --- */
.hero { display: flex; align-items: center; justify-content: space-between; padding: 50px 0; gap: 40px; text-align: left; }
.hero-content { flex: 1; max-width: 550px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: #E5EEFF; color: var(--primary-blue); padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 20px; }
.hero h1 { font-size: 3rem; line-height: 1.2; margin: 0 0 20px; color: var(--text-dark); }
.hero h1 span { color: var(--primary-blue); }
.hero p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 30px; }

.hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 40px; }
.hf-item { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500; }
.hf-item i { color: var(--primary-blue); background: #E5EEFF; padding: 5px; border-radius: 50%; }

.hero-buttons { display: flex; gap: 15px; }
.btn-outline { background: transparent; border: 1px solid #d1d5db; color: var(--text-dark); padding: 12px 24px; border-radius: 8px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: 0.2s; }
.btn-outline:hover { border-color: var(--primary-blue); color: var(--primary-blue); }

.hero-image { flex: 1; position: relative; }
.mockup-ui { background: white; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); padding: 20px; border: 1px solid #f3f4f6; position: relative; }
.mockup-shield { position: absolute; bottom: -20px; left: -20px; background: var(--primary-blue); color: white; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 20px; font-size: 2.5rem; box-shadow: 0 10px 20px rgba(0,82,255,0.3); }

/* --- TỰA ĐỀ SECTION CHUNG --- */
.section-title { text-align: center; margin: 0px 0 40px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 2rem; color: var(--text-dark); }
.section-title i { color: var(--primary-blue); }

/* --- AFFILIATE BANNER --- */
.affiliate-banner { background: white; border-radius: 16px; padding: 40px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #e5e7eb; margin-top: 60px; }
.aff-left h2 { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.aff-left h2 i { color: var(--primary-blue); }
.aff-right { display: flex; align-items: center; gap: 20px; }
.tier-box { text-align: center; }
.tier-box .percent { font-size: 2rem; font-weight: 800; }

/* --- BOTTOM FEATURES --- */
.btm-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 60px 0; }
.bf-card { display: flex; gap: 15px; align-items: flex-start; }
.bf-icon { font-size: 1.8rem; padding: 12px; border-radius: 12px; }

/* 🌟 CSS RESPONSIVE CHO MOBILE & TABLET */
@media (max-width: 992px) {
  .hero { flex-direction: column; text-align: center; padding: 40px 0; }
  .hero-features { text-align: left; }
  .hero-buttons { justify-content: center; }
  .affiliate-banner { flex-direction: column; text-align: center; gap: 30px; }
  .aff-right { flex-wrap: wrap; justify-content: center; }
  .btm-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .mockup-shield { display: none; } 
  .btm-features { grid-template-columns: 1fr; }
}

/* ==========================================
   🌟 PRICING SECTION STYLES
   ========================================== */
.pricing-section { padding: 0; }
.pricing-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px; 
  align-items: center; 
  margin-top: 50px; 
}

.pricing-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  height: 100%;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

/* Thẻ Premium nổi bật với màu Xanh Đen Navy của VLEMP */
.pricing-card.highlight {
  background: var(--footer-bg); /* #0B1120 */
  color: white;
  border: none;
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 82, 255, 0.2);
  z-index: 2;
}
.pricing-card.highlight:hover { transform: scale(1.05) translateY(-5px); }

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue); /* Lấy màu xanh logo VLEMP thay vì cam */
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 82, 255, 0.3);
}

.pricing-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; color: var(--text-dark); }
.pricing-card.highlight .pricing-title { color: white; }

.pricing-subtitle { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; min-height: 42px; margin-bottom: 25px; }
.pricing-card.highlight .pricing-subtitle { color: #9ca3af; }

.pricing-price { font-size: 3rem; font-weight: 900; color: var(--text-dark); margin-bottom: 30px; display: flex; align-items: baseline; gap: 5px; }
.pricing-card.highlight .pricing-price { color: white; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }

.pricing-features { list-style: none; padding: 0; margin: 0 0 40px 0; flex-grow: 1; }
.pricing-features li { display: flex; gap: 12px; margin-bottom: 18px; font-size: 0.95rem; align-items: flex-start; line-height: 1.5; color: var(--text-dark); }
.pricing-card.highlight .pricing-features li { color: #e5e7eb; }

/* Icon check mặc định dùng xanh VLEMP */
.pricing-features li i { color: var(--primary-blue); font-size: 1.2rem; margin-top: 2px; font-weight: bold; flex-shrink: 0; }
.pricing-card.highlight .pricing-features li i { color: #3b82f6; /* Xanh sáng hơn chút cho nền đen */ }

/* Các tính năng in đậm/nhấn mạnh */
.feat-bold { font-weight: 700; color: var(--primary-blue); }
.pricing-card.highlight .feat-bold { color: #60a5fa; }

.btn-pricing {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  margin-top: auto;
}
.btn-light { background: #f3f4f6; color: var(--text-dark); }
.btn-light:hover { background: #e5e7eb; }

.btn-primary-vlemp { background: var(--primary-blue); color: white; box-shadow: 0 4px 15px rgba(0,82,255,0.25); }
.btn-primary-vlemp:hover { background: var(--primary-blue-hover); box-shadow: 0 6px 20px rgba(0,82,255,0.4); }

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid { gap: 20px; }
  .pricing-card { padding: 30px 20px; }
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; margin-top: 40px; gap: 40px; }
  .pricing-card.highlight { transform: scale(1); }
  .pricing-card.highlight:hover { transform: translateY(-5px); }
}

/* ==========================================
   🌟 HERO VIDEO STYLES
   ========================================== */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  padding-bottom: 56.25%; /* Tỷ lệ 16:9 chuẩn Youtube */
  background: #000;
  box-shadow: 0 25px 50px -12px rgba(0, 82, 255, 0.4);
  border: 4px solid white;
  z-index: 2;
}

.hero-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  z-index: 2;
}

/* Hiệu ứng ánh sáng tỏa ra phía sau video */
.video-glow {
  position: absolute;
  top: -15%;
  left: -15%;
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(0,82,255,0.25) 0%, rgba(255,255,255,0) 65%);
  z-index: 1;
  filter: blur(40px);
  pointer-events: none;
}

/* Tinh chỉnh lại Shield icon cho hợp với video */
.mockup-shield.video-play-icon {
  bottom: -25px;
  left: -25px;
  z-index: 3;
  box-shadow: 0 10px 25px rgba(0,82,255,0.4);
}
/* ==========================================
   🌟 PRICING TABLE STYLES (COLOR TỐI ƯU SaaS)
   ========================================== */


/* Bọc ngoài bảng để bo góc và tạo bóng */
.pricing-table-wrapper {
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  margin-bottom: 50px;
}

.table-responsive { width: 100%; overflow-x: auto; }

.vlemp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

/* ĐỔI MÀU HEADER SANG XANH NAVY TẠO ĐIỂM NHẤN MẠNH */
.vlemp-table th {
  padding: 24px;
  font-weight: 800;
  color: white;
  background: var(--footer-bg); /* #0B1120 */
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vlemp-table td {
  padding: 24px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  transition: background 0.3s;
}

/* Dòng được Highlight (Bán chạy) */
.vlemp-table tr.row-highlight td {
  background: #f4f8ff; /* Nền xanh nhạt */
  border-bottom: 2px solid #bfdbfe;
}
.vlemp-table tr.row-highlight:hover td { background: #e8f0fe; }

/* Hiệu ứng hover cho các dòng thường */
.vlemp-table tr:not(.row-highlight):hover td { background: #f9fafb; }
.vlemp-table tr:last-child td { border-bottom: none; }

/* CỘT 1: GÓI */
.col-pkg { font-weight: 800; font-size: 1.15rem; color: var(--footer-bg); width: 25%; }
.badge-hot {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: white;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 10px;
  vertical-align: middle;
  text-transform: uppercase;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* CỘT 2: GIÁ (MÀU PRIMARY VLEMP) */
.col-price { font-weight: 800; font-size: 1.3rem; color: var(--primary-blue); width: 25%; }

/* CỘT 3: GIÁ TRUNG BÌNH (BADGE XANH LÁ) */
.col-avg { width: 30%; }
.col-avg span.avg-badge { 
  background: #E6F8F0; 
  color: #059669; 
  padding: 6px 12px; 
  border-radius: 8px; 
  font-weight: 700; 
  font-size: 1.05rem;
  border: 1px solid #a7f3d0;
  display: inline-block;
}

/* CỘT 4: ACTION (NÚT MUA MÀU PRIMARY) */
.col-action { text-align: right; width: 20%; }
.btn-buy-table {
  background: var(--primary-blue);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 82, 255, 0.2);
}
.btn-buy-table:hover { 
  background: var(--primary-blue-hover); 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.4); 
}

/* ==========================================
   🌟 GLOBAL FEATURES STYLES (ĐỔI MÀU NỀN & ICON)
   ========================================== */
.global-features-box {
  background: linear-gradient(145deg, #ffffff, #f8faff); /* Nền Gradient xanh cực nhẹ */
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #dbeafe;
  border-top: 4px solid var(--primary-blue); /* Đường viền nhấn mạnh trên cùng */
  box-shadow: 0 15px 40px rgba(0, 82, 255, 0.05);
}
.gf-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #d1d5db;
}
.gf-title i { color: var(--primary-blue); font-size: 1.8rem; }

.global-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.gf-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
}
/* Icon chuyển thành hình tròn nền xanh chữ trắng nổi bật */
.gf-item i {
  background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
  color: white;
  border-radius: 50%;
  padding: 4px;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 82, 255, 0.25);
}