/* ==========================================================================
   GIATREMCUA.COM - Premium Curtain Cleaning Service Design System & CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-light: #d1fae5;
  --gold: #f59e0b;
  --gold-light: #fef3c7;

  --dark-bg: #0f172a;
  --dark-card: #1e293b;
  --dark-border: #334155;
  --dark-text: #f8fafc;
  --dark-muted: #94a3b8;

  --light-bg: #f8fafc;
  --light-card: #ffffff;
  --light-border: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;

  --danger: #ef4444;
  --danger-light: #fee2e2;
  --warning: #f59e0b;
  --success: #10b981;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(2, 132, 199, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.3);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables Toggle */
body.dark-mode {
  --light-bg: #0b1120;
  --light-card: #1e293b;
  --light-border: #334155;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Section Spacing */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

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

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

body.dark-mode .header {
  background: rgba(15, 23, 42, 0.85);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0284c7);
  color: white;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(2, 132, 199, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #059669);
  color: white;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--light-border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 140px 0 90px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.04) 0%, rgba(16, 185, 129, 0.04) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: white;
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

body.dark-mode .hero-badge {
  background: var(--dark-card);
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--light-border);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-feature-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.hero-media {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-img-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

body.dark-mode .hero-floating-card {
  background: rgba(30, 41, 59, 0.92);
  border-color: var(--dark-border);
}

.floating-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-text h5 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.floating-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LIVE PRICE CALCULATOR SECTION
   ========================================================================== */
.calc-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

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

.calc-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--light-border);
  background: var(--light-bg);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.calc-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.type-card {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 2px solid var(--light-border);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  background: var(--light-card);
}

.type-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.type-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

body.dark-mode .type-card.active {
  background: rgba(2, 132, 199, 0.2);
}

.type-card i {
  font-size: 1.5rem;
  margin-bottom: 6px;
  display: block;
}

.type-card h5 {
  font-size: 0.85rem;
  font-weight: 700;
}

.type-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Calculator Summary Side */
.calc-summary {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header {
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.summary-header h3 {
  color: white;
  font-size: 1.4rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--dark-muted);
}

.summary-row.total {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  border-top: 1px solid var(--dark-border);
  padding-top: 16px;
  margin-top: 16px;
}

.promo-box {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.promo-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-border);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.85rem;
}

.promo-btn {
  padding: 10px 16px;
  background: var(--primary);
  border: none;
  color: white;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.service-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--light-border);
}

.service-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}

.service-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ==========================================================================
   BEFORE AFTER & PROCESS SECTION
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.process-step {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

/* Show-case comparison */
.showcase-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--light-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-md);
}

.showcase-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   BOOKING MODAL & FORMS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--light-card);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--light-bg);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--light-border);
  background: var(--light-bg);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background: white;
}

/* ==========================================================================
   ADMIN PORTAL & DASHBOARD (Đăng nhập & Cập nhật)
   ========================================================================== */
.admin-badge {
  background: #ef4444;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 6px;
}

.admin-header-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--light-card);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.stat-icon.blue { background: var(--primary-light); color: var(--primary); }
.stat-icon.green { background: var(--accent-light); color: var(--accent); }
.stat-icon.gold { background: var(--gold-light); color: var(--gold); }
.stat-icon.red { background: var(--danger-light); color: var(--danger); }

.stat-info h4 {
  font-size: 1.4rem;
  font-weight: 800;
}

.stat-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--light-border);
  padding-bottom: 12px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
}

/* Admin Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: var(--light-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th, .admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--light-border);
}

.admin-table th {
  background: var(--light-bg);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-pending { background: #fef3c7; color: #d97706; }
.badge-washing { background: #e0f2fe; color: #0284c7; }
.badge-delivering { background: #e0e7ff; color: #4338ca; }
.badge-completed { background: #d1fae5; color: #059669; }
.badge-cancelled { background: #fee2e2; color: #dc2626; }

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--dark-card);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--accent);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--dark-bg);
  color: var(--dark-muted);
  padding: 70px 0 30px;
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

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

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid, .calc-card, .showcase-wrapper, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2.4rem;
  }
}

/* ==========================================================================
   MOBILE ZALO STICKY BOTTOM BAR (Khung Zalo Mobile)
   ========================================================================== */
.mobile-zalo-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-zalo-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 56px !important;
    background: #ffffff !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08) !important;
    border-top: 1px solid #e5e7eb !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .zalo-bar-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border-right: 1px solid #f0f0f0 !important;
    padding: 6px 2px !important;
    transition: background 0.2s ease !important;
  }

  .zalo-bar-item:last-child {
    border-right: none !important;
  }

  .zalo-bar-item:active, .zalo-bar-item:hover {
    background: #f8fafc !important;
  }

  .zalo-title {
    color: #0068ff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .zalo-name {
    color: #333333 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
  }

  body {
    padding-bottom: 56px !important;
  }
}

/* ==========================================================================
   BLOG & SEO ARTICLES STYLES
   ========================================================================== */
.blog-categories-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 32px;
}

.blog-cat-btn {
  background: var(--light-card);
  border: 1.5px solid var(--light-border);
  color: var(--light-text);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

body.dark-mode .blog-cat-btn {
  background: var(--dark-card);
  border-color: var(--dark-border);
  color: var(--dark-text);
}

.blog-cat-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.blog-cat-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.blog-cat-count {
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.blog-cat-btn.active .blog-cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.blog-card {
  background: var(--light-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

body.dark-mode .blog-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.blog-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.06);
}

.blog-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.blog-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-title a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-title a:hover {
  color: var(--primary);
}

body.dark-mode .blog-title a {
  color: var(--dark-text);
}

body.dark-mode .blog-title a:hover {
  color: #38bdf8;
}

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.blog-footer {
  margin-top: auto;
}

/* Article Reader Modal Styling */
.article-modal-content {
  max-width: 860px !important;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px !important;
  border-radius: var(--radius-lg);
}

.article-reader-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--light-text);
  margin-top: 10px;
}

body.dark-mode .article-reader-title {
  color: var(--dark-text);
}

.article-reader-banner {
  width: 100%;
  max-height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.article-reader-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-toc {
  background: var(--primary-light);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}

body.dark-mode .article-toc {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.3);
}

.toc-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.article-toc ul {
  list-style-type: none;
  padding-left: 0;
}

.article-toc li {
  margin-bottom: 8px;
}

.article-toc a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

body.dark-mode .article-toc a {
  color: var(--dark-text);
}

.article-toc a:hover {
  color: var(--primary);
}

.article-reader-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--light-text);
}

body.dark-mode .article-reader-content {
  color: var(--dark-text);
}

.article-reader-content h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--primary);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
}

.article-reader-content p {
  margin-bottom: 18px;
}

.lead-paragraph {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--light-text);
  line-height: 1.8;
}

/* Styled Table inside Article */
.styled-article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.styled-article-table th {
  background: var(--primary);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.95rem;
}

.styled-article-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--light-border);
  font-size: 0.92rem;
}

body.dark-mode .styled-article-table td {
  border-color: var(--dark-border);
}

.price-tag {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.05rem;
}

/* Article Boxes & CTAs */
.article-cta-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(16, 185, 129, 0.08));
  border: 2px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-icon {
  font-size: 2.2rem;
  color: var(--primary);
}

.cta-content h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.article-highlight-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 28px 0;
}

.article-highlight-box h4 {
  color: var(--accent);
  margin-bottom: 10px;
}

.article-footer-cta {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 40px;
}

.article-footer-cta h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.article-footer-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article-share-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
}

.share-btn {
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: white;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.share-btn.fb { background: #1877f2; }
.share-btn.zalo { background: #0068ff; }


