/* Normalize/reset (light) */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-1);
  background: 
    /* Main gradient xanh dương chính - chiếm phần lớn */
    radial-gradient(1400px 800px at 70% 0%, #2a3a5b 0%, #1a2a4b 40%, #0f1a3b 80%, transparent 100%),
    /* Accent gradient hồng tím - góc trái trên */
    radial-gradient(1000px 600px at 30% 40%, rgba(245, 64, 250, 0.15), transparent 60%),
    /* Accent gradient xanh dương - góc phải dưới */
    radial-gradient(800px 500px at 80% 60%, rgba(76, 101, 254, 0.18), transparent 60%),
    /* Accent gradient tím - giữa trên - SÁNG HƠN VÀ LOANG RỘNG HƠN */
    radial-gradient(1600px 900px at 50% 30%, rgba(147, 51, 234, 0.35), transparent 80%),
    /* Base color xanh đen tối */
    #0f141f;
  background-attachment: fixed;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

/* Hiệu ứng chuột - Chấm tím đi theo chuột */
.mouse-follower {
  position: fixed;
  width: 12px;
  height: 12px;
  background: rgba(147, 51, 234, 0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  will-change: transform;
  transition: all 0.05s ease;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.6);
}

.mouse-follower::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
}

/* Hiệu ứng viền sáng cho các ô khi hover */
.pricing-card,
.ai-agent-section {
  position: relative;
  overflow: hidden;
}

.pricing-card::before,
.ai-agent-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.8), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.pricing-card:hover::before,
.ai-agent-section:hover::before {
  left: 100%;
}

/* ===== Section Cam Kết Dịch Vụ ===== */
.service-commitment {
  padding: 80px 0;
  text-align: center;
}

/* Badge CERTIFIED */
.certified-badge {
  margin-bottom: 30px;
}

.badge-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-content .star {
  font-size: 12px;
}

/* Tiêu đề chính */
.commitment-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

/* Mô tả */
.commitment-desc {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 60px;
  opacity: 0.8;
}

/* Grid 4 ô cam kết - Layout 2 dòng, mỗi dòng 2 ô */
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cột cố định */
  grid-template-rows: repeat(2, auto);   /* 2 dòng tự động */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Ô cam kết - Dạng dài theo chiều rộng */
.commitment-card {
  padding: 24px 32px; /* Giảm padding dọc, tăng padding ngang */
  border-radius: 16px;
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: 120px; /* Chiều cao tối thiểu để đảm bảo dạng dài */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Icon checkmark - Đặt bên trái */
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0; /* Không bị co lại */
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

/* Tiêu đề ô */
.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Mô tả ô */
.card-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .commitment-card {
    padding: 24px 20px;
  }
  
  .service-commitment {
    padding: 60px 0;
  }
}

img, svg, video { max-width: 100%; display: block; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
