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

:root {
  --blue: #1a56db;
  --blue-dark: #1340a8;
  --blue-light: #e8effc;
  --blue-50: #f0f5ff;
  --green: #059669;
  --green-light: #ecfdf5;
  --orange: #d97706;
  --orange-light: #fffbeb;
  --red: #dc2626;
  --bg: #ffffff;
  --bg-off: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #111827;
  --text: #374151;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-md: 0 10px 15px rgba(0,0,0,0.04), 0 4px 6px rgba(0,0,0,0.02);
  --shadow-lg: 0 20px 25px rgba(0,0,0,0.06), 0 8px 10px rgba(0,0,0,0.03);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.popup-box {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  max-width: 480px;
  width: 92%;
  transform: scale(0.95) translateY(20px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.popup-overlay.active .popup-box {
  transform: scale(1) translateY(0);
}

.popup-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.popup-box h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.popup-box .popup-subtitle {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.popup-box p {
  color: var(--text);
  font-size: 0.87rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.popup-box .popup-warning {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0;
  font-size: 0.82rem;
  color: #991b1b;
  line-height: 1.65;
  text-align: left;
}

.popup-box .popup-thanks {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
}

.popup-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 48px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.popup-btn:hover {
  background: var(--blue-dark);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  min-height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.nav-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.2px;
}


.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: white;
}

.nav-logo .logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

/* Logo ảnh trong navbar */
.nav-logo-img {
  height: 110px;
  width: auto;
  max-width: 360px;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.nav-logo-img:hover {
  opacity: 0.85;
}

/* Logo ảnh trong footer */
.footer-logo-img {
  height: 56px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
  padding: 8px 14px;
  border-radius: 6px;
}

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

.nav-links a.active {
  color: var(--blue);
  font-weight: 600;
}

.nav-cta {
  padding: 8px 20px !important;
  background: var(--blue) !important;
  color: white !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--bg-off);
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.hero-particles { display: none; }

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 155px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--green-light);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero h1 .highlight,
.hero h1 .text-gradient {
  color: var(--blue);
  background: none;
  -webkit-text-fill-color: var(--blue);
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-white {
  padding: 12px 28px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-white:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  padding: 12px 28px;
  background: white;
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  border-color: var(--text-lighter);
  background: var(--bg-off);
  transform: translateY(-1px);
}

.hero-stats-row {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stat .stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.hero-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-lighter);
  font-weight: 500;
  margin-top: 2px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-card {
  width: 100%;
  max-width: 420px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.hero-card-header {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.hero-card-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.hero-card-header span:nth-child(1) { background: #ef4444; }
.hero-card-header span:nth-child(2) { background: #f59e0b; }
.hero-card-header span:nth-child(3) { background: #22c55e; }

.hero-code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--text-light);
  background: var(--bg-off);
  padding: 16px;
  border-radius: 8px;
}

.hero-code .tag { color: #dc2626; }
.hero-code .attr { color: var(--blue); }
.hero-code .val { color: var(--green); }
.hero-code .comment { color: var(--text-lighter); font-style: italic; }

.hero-float {
  position: absolute;
  padding: 10px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  animation: floater 5s ease-in-out infinite;
}

.hero-float-1 { top: 10px; right: -20px; }
.hero-float-2 { bottom: 30px; left: -24px; animation-delay: 2.5s; }

@keyframes floater {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-float .fl-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--blue-light);
}

.hero-float .fl-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-float .fl-sub {
  font-size: 0.68rem;
  color: var(--text-lighter);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--bg-off);
  padding: 130px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.page-hero h1 {
  font-size: 2.4rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.page-hero h1 .highlight,
.page-hero h1 .text-gradient {
  color: var(--blue);
  background: none;
  -webkit-text-fill-color: var(--blue);
}

.page-hero p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-lighter);
}

.page-hero .breadcrumb a {
  color: var(--text-light);
  transition: color 0.2s;
}

.page-hero .breadcrumb a:hover { color: var(--blue); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section.bg-light { background: var(--bg-off); }

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--blue-light);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.section-header h2 .text-gradient {
  color: var(--blue);
  background: none;
  -webkit-text-fill-color: var(--blue);
}

.section-header p {
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  font-size: 0.92rem;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.srv-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s ease;
}

.srv-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.srv-card::before,
.srv-card::after { display: none; }

.srv-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--blue-light);
}

.srv-card:nth-child(2) .srv-icon { background: var(--green-light); }
.srv-card:nth-child(3) .srv-icon { background: var(--orange-light); }
.srv-card:nth-child(4) .srv-icon { background: #eff6ff; }
.srv-card:nth-child(5) .srv-icon { background: #fdf2f8; }
.srv-card:nth-child(6) .srv-icon { background: #f0fdf4; }

.srv-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.srv-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.srv-card .srv-features li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  color: var(--text);
  font-size: 0.82rem;
}

.srv-card .srv-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 0.78rem;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.price-badge {
  position: absolute;
  top: 14px;
  right: -28px;
  background: var(--blue);
  color: white;
  padding: 4px 36px;
  font-size: 0.65rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 0.8px;
}

.price-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--blue-light);
}

.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.price-card .price-desc {
  color: var(--text-lighter);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.price-amount { margin-bottom: 24px; }

.price-amount .price-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
}

.price-amount .price-unit {
  font-size: 0.82rem;
  color: var(--text-lighter);
}

.price-features {
  text-align: left;
  margin-bottom: 28px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: var(--text);
  font-size: 0.84rem;
  border-bottom: 1px solid var(--border-light);
}

.price-features li:last-child { border-bottom: none; }

.price-features li .check {
  color: var(--green);
  font-weight: 700;
}

.price-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.price-btn.fill {
  background: var(--blue);
  color: white;
}

.price-btn.fill:hover {
  background: var(--blue-dark);
}

.price-btn.outline {
  background: white;
  color: var(--blue);
  border: 1.5px solid var(--border);
}

.price-btn.outline:hover {
  border-color: var(--blue);
  background: var(--blue-50);
}

.price-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== AUTOMATION CARDS ===== */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.auto-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s ease;
}

.auto-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.auto-card .auto-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  background: var(--blue-light);
}

.auto-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.auto-card p {
  color: var(--text-light);
  font-size: 0.87rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.auto-card .platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-tag {
  padding: 5px 12px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 600;
  transition: all 0.2s ease;
}

.platform-tag:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-50);
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.about-content h2 {
  font-size: 1.9rem;
  margin-bottom: 16px;
}

.about-content h2 .text-gradient {
  color: var(--blue);
  background: none;
  -webkit-text-fill-color: var(--blue);
}

.about-content p {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-visual {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
}

.about-visual::before { display: none; }

.about-visual .big-emoji {
  font-size: 100px;
  animation: floater 5s ease-in-out infinite;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s ease;
}

.value-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-card .v-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.83rem;
  line-height: 1.65;
}

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

.step-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.25s ease;
}

.step-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-card .step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}

.step-card .step-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

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

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-info>p {
  color: var(--text);
  margin-bottom: 28px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.contact-item:last-child { border-bottom: none; }
.contact-item:hover { padding-left: 6px; }

.contact-item .c-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-item .c-label {
  font-size: 0.72rem;
  color: var(--text-lighter);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.contact-item .c-value {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.contact-item .c-value a {
  color: var(--blue);
  transition: color 0.2s;
}

.contact-item .c-value a:hover { color: var(--blue-dark); }

.contact-form-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.contact-form-box h3 {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-off);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-lighter);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.08);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.form-group select option { background: white; }

.form-submit {
  width: 100%;
  padding: 12px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--blue);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-box .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
}

.stat-box .stat-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--bg-off);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 64px 0;
  text-align: center;
}

.cta-section::before,
.cta-section::after { display: none; }

.cta-section h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.cta-section p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: #111827;
  padding: 52px 0 28px;
}

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

.footer .f-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer .f-brand .footer-logo .f-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: white;
}

.footer .f-brand .footer-logo .f-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
}

.footer .f-brand>p {
  color: #6b7280;
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 260px;
}

.footer .f-col h4 {
  font-size: 0.82rem;
  color: white;
  margin-bottom: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer .f-col ul li { margin-bottom: 8px; }

.footer .f-col ul a {
  color: #6b7280;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer .f-col ul a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: #4b5563;
  font-size: 0.78rem;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  background: #1f2937;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6b7280;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background: var(--blue);
  color: white;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: all 0.5s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(24px);
  transition: all 0.5s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats-row { justify-content: center; }
  .hero-visual { display: none; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .auto-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 76%;
    max-width: 280px;
    height: 100vh;
    background: white;
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
  }

  .nav-links.open { right: 0; }
  .hamburger { display: flex; }

  .hero h1, .page-hero h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.6rem; }

  .hero-stats-row { flex-direction: column; gap: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid, .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .popup-box { padding: 28px 20px; }
  .popup-box h2 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero h1, .page-hero h1 { font-size: 1.65rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-white, .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .price-card { padding: 28px 20px; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-off); }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

::selection {
  background: var(--blue);
  color: white;
}

/* ===== SEO IMAGES ===== */

/* Hero Image */
.hero-img-wrap {
  width: 100%;
  max-width: 520px;
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* About Image */
.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* Section Figure & Image (dich-vu) */
.section-figure {
  margin: 32px auto 0;
  max-width: 860px;
}

.section-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  border: 1px solid var(--border);
}

.section-figure figcaption {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-lighter);
  font-style: italic;
}

/* Contact Image */
.contact-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  margin-bottom: 24px;
}

/* Responsive Images */
@media (max-width: 768px) {
  .hero-img-wrap { max-width: 100%; }
  .about-img { max-height: 280px; }
  .contact-img { max-height: 240px; }
  .section-figure { margin-top: 24px; }
}

/* ===== DETAIL BLOCKS (dich-vu.html) ===== */
.detail-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 28px;
  transition: box-shadow 0.25s ease;
}

.detail-block:hover {
  box-shadow: var(--shadow-md);
}

.detail-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.detail-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.detail-head h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.detail-sub {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.5;
}

.detail-desc {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--bg-off);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
}

.detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.detail-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-col h4 i {
  color: var(--blue);
}

.detail-list {
  list-style: none;
}

.detail-list li {
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.detail-list.accent li::before {
  content: '★';
  color: var(--blue);
}

.detail-list li:last-child {
  border-bottom: none;
}

/* Use Cases Tags */
.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.use-tag {
  padding: 5px 14px;
  background: var(--blue-50);
  border: 1px solid #c7d7fb;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--blue-dark);
  font-weight: 500;
}

/* Price Note */
.price-note {
  margin-top: 32px;
  padding: 18px 24px;
  background: var(--orange-light);
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.6;
}

.price-note i {
  color: var(--orange);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: white;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: var(--blue);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  gap: 16px;
  user-select: none;
}

.faq-question i {
  color: var(--blue);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 22px 20px;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.8;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: 0;
}

/* ===== RESPONSIVE SERVICE DETAILS ===== */
@media (max-width: 768px) {
  .detail-block { padding: 24px 18px; }
  .detail-cols { grid-template-columns: 1fr; gap: 20px; }
  .detail-head { flex-direction: column; gap: 12px; }
  .detail-icon { width: 50px; height: 50px; font-size: 22px; }
  .use-cases { gap: 6px; }
  .faq-question { padding: 15px 16px; font-size: 0.87rem; }
}