/* ==========================================================================
   PRICING SECTION (VERTICAL STACK)
   ========================================================================== */

/* Layout Tổng */
.pricing__stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}

/* Thẻ Gói (Row Card) */
.pricing-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pricing-row:hover {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Chia 2 cột khi lên màn hình PC */
@media (min-width: 900px) {
  .pricing-row {
    grid-template-columns: 35% 1fr; /* Cột trái 35%, Cột phải 65% */
    gap: 80px;
    padding: 60px 50px;
  }
}

/* ================== CỘT TRÁI (Header & Giá) ================== */
.pricing-row__header {
  display: flex;
  flex-direction: column;
}

.pricing-row__header h3 {
  font-family: var(--font-logo);
  font-size: clamp(32px, 4vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff; /* Trắng tinh nổi bật */
}

.pricing-row__desc {
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85); /* Xám sáng, dễ đọc */
  margin-bottom: 40px;
}

/* Khối Giá tiền */
.pricing-row__price-box {
  padding: 24px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  border: 1px solid white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.pricing-row__price {
  font-family: var(--font-logo);
  font-size: clamp(34px, 4vw, 40px);
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(255, 255, 255, 0.15); /* Phát sáng nhẹ */
}

/* Nhãn chi phí phụ (Hosting) */
.pricing-row__note {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.5px;
}


/* ================== GÓI NÂNG CAO (NỔI BẬT) ================== */
.pricing-row--featured {
  background: rgba(20, 20, 20, 0.8);
  border-color: rgba(255, 142, 161, 0.4);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

/* Viền tàng hình phát sáng cho khối Nâng cao */
.pricing-row--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.pricing-row__badge {
  position: absolute;
  top: 0;
  right: 60px;
  background: var(--gradient);
  color: #111;
  font-family: var(--font-logo);
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 0 0 16px 16px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 20px rgba(255, 95, 199, 0.3);
}

@media (max-width: 900px) {
  .pricing-row__badge {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Đổi màu chữ và nền note cho Gói Nâng cao */
.pricing-row--featured .pricing-row__price {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.pricing-row--featured .pricing-row__note {
  background: rgba(255, 95, 199, 0.15);
  color: #ffd95d;
}

.pricing-row--featured .feature-icon {
  background: var(--gradient);
  border: none;
  box-shadow: 0 10px 20px rgba(255, 95, 199, 0.2);
}

.pricing-row--featured .feature-icon svg {
  color: #111111;
}


/* ================== CỘT PHẢI (Tính năng) ================== */
.pricing-row__content {
  display: flex;
  flex-direction: column;
}

.pricing-row__content h4 {
  font-size: 14px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pricing-row__features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
}

/* Đường line phân cách mờ giữa các tính năng */
.pricing-row__features li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-row__features li:first-child {
  padding-top: 0;
}
.pricing-row__features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Hình vuông chứa Icon */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: #ff5fc7; /* Màu chủ đạo */
}

/* Typography chi tiết tính năng */
.feature-text strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 600;
}

.feature-text p {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Căn nút bấm Liên hệ xuống dưới cùng */
.pricing-row__action {
  margin-top: auto;
  padding-top: 20px;
}

/* ==========================================================================
   TỐI ƯU MÀN HÌNH LAPTOP - GÓI DỊCH VỤ (Chèn vào cuối file service.css)
   ========================================================================== */
@media (max-width: 1366px) and (min-width: 900px) {
  .section-head {
    margin-left: 0px; /* Giảm khoảng cách giữa tiêu đề và các gói dịch vụ */
  }

  .pricing-row {
    grid-template-columns: 38% 1fr;
    gap: 40px; 
    padding: 20px; 
    width: 90%; /* Giới hạn chiều rộng 80% */
    margin: 0 auto; /* Tự động căn giữa 2 bên trái/phải */
  }
  
  .pricing-row__price {
    font-size: clamp(28px, 3.5vw, 30px); /* Thu nhỏ font chữ giá tiền[cite: 6] */
  }
  
  .pricing-row__header h3 {
    font-size: clamp(24px, 3vw, 24px); /* Bóp nhẹ tên gói[cite: 6] */
    margin-bottom: 16px;
  }
  
  .pricing-row__desc {
    font-size: 12px; 
    margin-bottom: 24px;
  }
  
  .pricing-row__features li {
    padding: 18px 0; /* Giảm khoảng cách dọc giữa các tính năng[cite: 6] */
  }

  /* Thu nhỏ ô icon */
  .feature-icon {
    width: 42px;
    height: 42px;
  }
  
  .feature-icon svg {
    width: 18px;
    height: 18px;
  }

  /* Tinh chỉnh nội dung chữ của tính năng */
  .feature-text strong {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .feature-text p {
    font-size: 12px; 
  }
  
  .pricing-row__badge {
    right: 40px; /* Dịch tem "Phổ biến nhất" vào trong để cân đối với viền mới[cite: 6] */
    padding: 8px 16px;
    font-size: 13px;
  }
}