/* BIOLAQA site styles — mobile-first responsive layout */

/* =========================================
   1. VARIABLES & RESET
========================================= */
:root {
  --yellow: #fff5ce;
  --pink: #ff6b89;
  --pink-dark: #ff4770;
  --accent-green: #00e676;
  --muted: #666;
  --container-width: 1100px;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #222;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 92%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* =========================================
   2. TOPBAR & LOGO
========================================= */

header {
  position: sticky;
  top: 0;
  z-index: 9999; /* Đảm bảo thanh menu luôn nổi lên trên cùng, không bị các hình ảnh khác đè lên */
}

.topbar {
  background: var(--yellow);
  border-bottom: 2px solid #000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

.topbar {
  background: var(--yellow);
  border-bottom: 2px solid #000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-weight: 900;
  font-size: 22px;
  color: transparent;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #00e676, #ffffff, #00e676);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  transition: transform 0.25s ease, text-shadow 0.25s ease;
}

.tagline {
  font-size: 14px;
  color: #1b9;
  opacity: 0.85;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo:hover .brand {
  transform: translateY(-3px);
  text-shadow: 0 4px 12px rgba(0, 230, 118, 0.6);
  animation-duration: 6s;
}

.logo:hover .tagline {
  transform: translateY(-3px);
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.icon-buttons {
  display: flex;
  gap: 10px;
}

.icon-btn {
  background: #fff;
  border: 0;
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.06);
  cursor: pointer;
}

.badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  margin-left: 6px;
}

/* =========================================
   3. NAVIGATION
========================================= */
.nav {
  background: var(--pink);
  border-bottom: 2px solid #000000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.nav .container::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  font-size: clamp(12px, 2.5vw, 16px);
}

.nav a:hover {
  background: rgba(255,255,255,0.06);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 8px 12px;
}

/* =========================================
   4. HERO SECTION
========================================= */
.hero {
  display: flex;
  align-items: center;
  gap: 20px;
  /* GIẢM PADDING: Thu hẹp khoảng cách phía trên và dưới của banner */
  padding: 10px 0;
  min-height: 60vh;
}

.hero-left {
  flex: 1;
  transform: translateX(100px);
}

.hero-title {
  font-size: clamp(40px, 6vw, 50px);
  font-weight: 900;
  line-height: 1.05;
  margin: 8px;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #ff5f8f, #ff7a6c, #ffd36e);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  color: var(--muted);
  margin: 0 0 12px;
}

.pill {
  display: inline-block;
  background: linear-gradient(90deg, var(--pink), var(--pink-dark));
  color: #fff;
  padding: 10px 16px;
  border-radius: 22px;
  font-weight: 700;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.product-box {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.product-img {
  width: 120%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: translateX(-60px);
}

/* =========================================
   5. DẢI PHÂN CÁCH (ELEGANT DIVIDER)
========================================= */
.elegant-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 100%;
}

.elegant-divider::before,
.elegant-divider::after {
  content: "";
  height: 2px;
  flex: 1;
  max-width: 250px;
}

.elegant-divider::before {
  background: linear-gradient(to right, transparent, var(--pink));
}

.elegant-divider::after {
  background: linear-gradient(to left, transparent, var(--pink));
}

.elegant-divider span {
  margin: 0 18px;
  color: var(--pink);
  font-size: 28px;
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

/* =========================================
   6. ABOUT US SECTION (BẢN LUXURY)
========================================= */
.about {
  /* GIẢM PADDING: Thu hẹp khoảng cách từ dải phân cách đến chữ ABOUT US */
  padding: 30px 0 60px 0;
  text-align: center;
}

.about h2 {
  /* Giảm khoảng cách từ chữ ABOUT US tới các thẻ bên dưới một chút */
  margin: 0 0 45px 0;
  display: inline-block;
  position: relative;
  padding-left: 60px;
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--pink-dark), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 4px;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border-radius: 5px;
  opacity: 0;
  transform-origin: left center;
  animation: gentleUnfurl 1.8s ease-out forwards;
  animation-delay: 0.5s;
}

.team {
  display: flex;
  justify-content: center !important;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 10px;
  width: 100%;
}

.about-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  width: 220px;
  height: 280px;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s ease-out,
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  pointer-events: none;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid rgba(255, 107, 137, 0.15);
  border-radius: 8px;
  pointer-events: none;
}

.about-card.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.about-card.reveal:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(255, 107, 137, 0.2);
  border-color: rgba(255, 107, 137, 0.4);
}

/* =========================================
   CHI TIẾT BÊN TRONG THẺ (LUXURY CONTENT)
========================================= */

/* 1. Số thứ tự in chìm (Watermark) */
.card-num {
  position: absolute;
  top: -10px;
  right: -5px;
  font-size: 100px; /* Số khổng lồ */
  font-weight: 900;
  color: rgba(255, 174, 0, 0.2); /* Màu hồng cực kỳ nhạt để làm nền */
  z-index: 0;
  line-height: 1;
  transition: color 0.4s ease, transform 0.4s ease;
}

/* 2. Hiệu ứng cho Avatar khi hover */
.about-card .avatar {
  position: relative;
  z-index: 2; /* Đảm bảo nổi lên trên số watermark */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #fff;
}

/* 3. Tên thành viên */
.card-name {
  position: relative;
  z-index: 2;
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a; /* Màu đen tuyền sang trọng */
  margin-top: 20px !important; /* Ép khoảng cách chèn lên code inline cũ */
  margin-bottom: 8px;
  text-align: center;
}

/* 4. Chức danh (Badge huy hiệu) */
.card-title {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  color: var(--pink-dark);
  text-transform: uppercase;
  letter-spacing: 2px; /* Kéo giãn chữ */
  background: linear-gradient(135deg, #fff5f7, #ffe6eb); /* Nền huy hiệu mờ */
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  border: 1px solid rgba(255, 107, 137, 0.2);
}

/* HIỆU ỨNG KẾT HỢP KHI HOVER VÀO THẺ */
.about-card.reveal:hover .card-num {
  color: rgba(255, 107, 137, 0.12); /* Số đậm lên một chút */
  transform: translateY(5px); /* Số hơi trượt xuống */
}

.about-card.reveal:hover .avatar {
  transform: scale(1.08); /* Ảnh to lên một xíu */
  box-shadow: 0 8px 25px rgba(255, 107, 137, 0.3) !important; /* Tỏa sáng viền hồng */
}


/* Stagger Effect */
.team > .about-card.reveal:nth-child(1) { transition-delay: 0s; }
.team > .about-card.reveal:nth-child(2) { transition-delay: 0.2s; }
.team > .about-card.reveal:nth-child(3) { transition-delay: 0.4s; }
.team > .about-card.reveal:nth-child(4) { transition-delay: 0.6s; }

.team > .about-card.reveal:hover {
  transition-delay: 0s;
}

/* =========================================
   SỨ MỆNH & GIỚI THIỆU (ABOUT TEXT)
========================================= */

/* 1. Đường kẻ phân cách mềm mại */
hr.sep {
  border: 0;
  height: 1px;
  /* Gradient hồng mờ dần ra 2 bên, rất tinh tế */
  background: linear-gradient(to right, transparent, rgba(255, 107, 137, 0.4), transparent);
  margin: 70px auto 40px auto; /* Tăng khoảng cách so với các thẻ bên trên */
  width: 50%; /* Độ dài vừa phải để tạo sự tập trung */
}

/* 2. Đoạn Text Sứ mệnh (Mission Statement) */
.about-text {
  position: relative;
  font-size: 18px; /* Chữ to hơn một chút */
  line-height: 1.8; /* Khoảng cách dòng rộng rãi, sang trọng */
  color: #555; /* Màu xám đậm giúp dịu mắt hơn màu đen tuyền */
  max-width: 850px; /* Bóp chiều rộng lại để text không bị kéo quá dài */
  margin: 0 auto;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0 20px;
  z-index: 1;
}

/* 3. Dấu ngoặc kép khổng lồ in chìm phía sau */
.about-text::before {
  content: '“'; /* Ký tự ngoặc kép */
  position: absolute;
  top: -50px; /* Nhô lên phía trên đoạn text */
  left: 50%;
  transform: translateX(-50%);
  font-size: 120px; /* Kích thước siêu lớn */
  color: rgba(255, 107, 137, 0.5); /* Màu hồng cực kỳ nhạt, trong suốt */
  font-family: "Times New Roman", Times, serif; /* Dùng font có chân cho ngoặc kép thêm cổ điển */
  line-height: 1;
  z-index: -1; /* Đẩy xuống làm nền */
}

/* 4. Nhấn mạnh từ khóa nếu bạn dùng thẻ <strong> trong HTML */
.about-text strong {
  color: var(--pink-dark);
  font-weight: 800;
}

/* =========================================
   7. RESEARCH & CUSTOM NEWS GRID (LUXURY)
========================================= */
#research {
  padding: 80px 0 100px 0; /* Tăng padding để cân bằng đối xứng */
  background: linear-gradient(to bottom, #ffffff, #fafbfc);
  text-align: center;
}

/* Ép tiêu đề big-title nằm giữa */
#research .big-title {
  margin: 0 0 70px 0; /* Tăng khoảng cách so với lưới bài viết */
}

/* LƯỚI CHỨA 3 BÀI VIẾT (CUSTOM GRID) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cột bằng nhau trên desktop */
  gap: 40px; /* Nới rộng khoảng cách giữa các thẻ */
  max-width: 1100px;
  margin: 0 auto;
  text-align: left; /* Text bên trong thẻ căn trái */
}

/* KHUNG THẺ TIN TỨC CAO CẤP (CUSTOM CARD) */
.news-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 30px; /* Padding rộng rãi, sang trọng */
  display: flex;
  flex-direction: column; /* Sắp xếp nội dung theo chiều dọc */
  position: relative;
  overflow: hidden;

  /* Tạo khung viền mảnh bên trong (đồng bộ About Card) */
  &::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border: 1px solid rgba(255, 107, 137, 0.1);
    border-radius: 8px;
    pointer-events: none;
  }
}

/* TRẠNG THÁI BAN ĐẦU: THU VÀO (DÀNH CHO JS ANIMATION) */
.news-card {
  opacity: 0; /* Ẩn đi */
  transform: translateY(50px) scale(0.95); /* Đẩy xuống & co nhỏ lại */
  /* Hiệu ứng mượt cubic-bezier sang trọng */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s ease-out,
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  pointer-events: none; /* Không thể hover khi chưa mở */
}

/* Trạng thái MỞ RA (JS sẽ gán class 'reveal') */
.news-card.reveal {
  opacity: 1;
  transform: translateY(0) scale(1); /* Về vị trí chuẩn */
  pointer-events: auto; /* Có thể hover */
}

/* HIỆU ỨNG HOVER (NHÔ LÊN & TOẢ ÁNH HỒNG) */
.news-card.reveal:hover {
  transform: translateY(-15px); /* Bay lên cao hơn About card một chút */
  box-shadow: 0 20px 40px rgba(255, 107, 137, 0.12); /* Bóng tỏa rộng và mờ */
  border-color: rgba(255, 107, 137, 0.2);
}

/* Chi tiết nội dung bên trong thẻ */
.card-header-luxury {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.card-date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* Huy hiệu danh mục (đồng bộ badge ở About Card) */
.card-category {
  font-size: 10px;
  font-weight: 800;
  color: var(--pink-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 107, 137, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 137, 0.15);
}

/* =========================================
   HÌNH ẢNH TIN TỨC (TỰ ĐỘNG CROP & CĂN CHỈNH)
========================================= */
.card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9; /* Tự động khóa tỷ lệ chuẩn của màn hình ngang (Rất hiện đại) */
  margin-bottom: 20px;
  border-radius: 8px; /* Bo góc mượt mà khớp với thẻ */
  overflow: hidden; /* Giấu đi phần ảnh thừa khi zoom */
  position: relative;
  z-index: 2; /* Nổi lên trên khung viền mờ */
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* THUỘC TÍNH MA THUẬT: Tự động zoom, cắt cúp cho vừa khung mà không làm bóp méo ảnh */
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Hiệu ứng chuyển động mượt như lụa */
}

/* Hiệu ứng phóng to ảnh rất nhẹ khi Hover vào thẻ (Sang trọng) */
.news-card.reveal:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-heading-luxury {
  font-size: 19px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 15px 0;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

/* Hover đổi màu tiêu đề */
.news-card:hover .card-heading-luxury {
  color: var(--pink-dark);
}

.card-excerpt-luxury {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 25px 0;
  position: relative;
  z-index: 2;
  flex-grow: 1; /* Đẩy nút xuống cuối thẻ */
}

/* Nút liên kết 'Đọc tiếp' phong cách thanh lịch */
.card-link-luxury {
  font-size: 14px;
  font-weight: 700;
  color: var(--pink-dark);
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.card-link-luxury:hover {
  color: #ff2a5a;
  text-decoration: underline; /* Thêm gạch chân khi hover */
}

/* =========================================
   HIỆU ỨNG HIỆN LẦN LƯỢT (STAGGER) - NEWS
========================================= */
/* Khi cuộn chuột tới, mỗi thẻ News cách nhau 0.15 giây */
.news-grid > .news-card.reveal:nth-child(1) { transition-delay: 0s; }
.news-grid > .news-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.news-grid > .news-card.reveal:nth-child(3) { transition-delay: 0.3s; }

/* Tắt delay khi hover */
.news-grid > .news-card.reveal:hover {
  transition-delay: 0s;
}

/* =========================================
   TRANG SẢN PHẨM (LUXURY PRODUCT PAGE)
========================================= */

/* 1. Layout 2 cột cho hình ảnh và hộp giá */
.product-showcase {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
}

.product-image-wrapper {
  flex: 1.2;
  display: flex;
  justify-content: center;
}

.product-img-main {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); /* Đổ bóng 3D cho hộp game */
  transition: transform 0.5s ease;
}

.product-img-main:hover {
  transform: translateY(-10px) scale(1.02); /* Box game bay lên nhẹ khi hover */
}

/* 2. Hộp thông tin giá (Price Box) */
.price-box-luxury {
  flex: 0.8;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(255, 107, 137, 0.15);
  position: relative;
}

.small-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.price {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--pink-dark), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px;
  line-height: 1;
}

/* Nút Mua ngay (Glow & Bounce effect) */
.buy-btn-luxury {
  width: 100%;
  background: linear-gradient(135deg, var(--pink-dark), var(--pink));
  color: white;
  border: none;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(255, 71, 112, 0.3);
  margin-bottom: 30px;
}

.buy-btn-luxury:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 71, 112, 0.5);
}

.buy-btn-luxury:active {
  transform: translateY(0);
}

.specs-desc h3 {
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.specs-desc p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 3. Bảng thông số (Luxury Table) */
.specs-table-container {
  max-width: 800px;
  margin: 0 auto;
}

.luxury-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden; /* Cắt góc bo tròn cho bảng */
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid #f0f0f0;
}

.luxury-table td {
  padding: 18px 25px;
  border-bottom: 1px solid #f5f5f5;
  color: #444;
  font-size: 16px;
}

.luxury-table tr:last-child td {
  border-bottom: none;
}

.luxury-table tr:nth-child(odd) {
  background-color: #fffafb; /* Nền hồng cực kỳ nhạt cho các dòng lẻ */
}

/* Bôi đậm và đổi màu cột đầu tiên */
.luxury-table tr td:first-child {
  font-weight: 700;
  color: var(--pink-dark);
}

/* 4. Lưới Thành phần (Parts Grid) */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 80px;
}

.part-card {
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  border: 1px solid #f0f0f0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.03);
  transition: all 0.4s ease;
}

.part-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 137, 0.3);
  box-shadow: 0 15px 35px rgba(255, 107, 137, 0.15);
}

.part-thumb {
  width: 100%;
  aspect-ratio: 1; /* Khung hình vuông tuyệt đối */
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
  background: #f9f9f9;
}

.part-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.part-card:hover .part-thumb img {
  transform: scale(1.1); /* Zoom ảnh nhẹ khi hover */
}

.part-name {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 15px;
}

/* Đảm bảo class big-title chạy tốt ở mọi trang */
.big-title {
  display: inline-block;
  position: relative;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--pink-dark), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.big-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--pink), var(--accent-green));
  border-radius: 5px;
}

/* =========================================
   TRANG HƯỚNG DẪN (LUXURY GUIDE PAGE)
========================================= */

/* Khung bảo vệ bên ngoài video (Background trắng, đổ bóng 3D, viền hồng) */
.video-showcase {
  max-width: 900px;
  margin: 0 auto 100px auto;
  padding: 15px; /* Lớp đệm trắng như một khung tranh */
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border: 1px solid rgba(255, 107, 137, 0.15);
  position: relative;
}

/* Viền mờ lót bên trong giống các thẻ About/News */
.video-showcase::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid rgba(255, 107, 137, 0.1);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

/* Lớp bọc trực tiếp iframe tự động căn chỉnh tỷ lệ 16:9 */
.video-frame-luxury {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Tự động tính toán chiều cao để video không bị méo/đen 2 viền */
  border-radius: 10px;
  overflow: hidden; /* Cắt góc video cho khớp khung */
  z-index: 2; /* Nổi lên trên các lớp viền */
  background: #000; /* Phòng khi video chưa load kịp sẽ hiện nền đen sang trọng */
}

/* Định dạng iframe Youtube lấp đầy toàn khung */
.video-frame-luxury iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* =========================================
   TRANG BẢN ĐIỆN TỬ (LUXURY DIGITAL PAGE)
========================================= */
.activation-section {
  display: flex;
  justify-content: center;
  padding: 10px 0 120px 0;
}

/* Thẻ VIP chứa form nhập code */
.activation-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06); /* Đổ bóng 3D */
  border: 1px solid rgba(255, 107, 137, 0.15);
  position: relative;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

/* Khung viền chỉ mờ xuyệt tông hồng (giống các thẻ khác) */
.activation-card::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid rgba(255, 107, 137, 0.1);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

.card-icon {
  font-size: 50px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(255, 107, 137, 0.3));
}

.activation-title {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 30px 0;
  position: relative;
  z-index: 2;
}

/* Khung bọc ô nhập và nút bấm */
.code-row-luxury {
  display: flex;
  gap: 15px;
  position: relative;
  z-index: 2;
}

/* Ô nhập code (Tỏa ánh hồng khi click vào) */
.code-input-luxury {
  flex: 1;
  padding: 18px 20px;
  font-size: 16px;
  border: 2px solid #eee;
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
  color: #333;
  font-weight: 600;
  letter-spacing: 1px;
}

.code-input-luxury:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 107, 137, 0.15);
}

.code-input-luxury::placeholder {
  color: #bbb;
  font-weight: 400;
  letter-spacing: normal;
}

/* Nút kích hoạt */
.activate-btn-luxury {
  background: linear-gradient(135deg, var(--pink-dark), var(--pink));
  color: white;
  border: none;
  padding: 0 35px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(255, 71, 112, 0.25);
  white-space: nowrap;
}

.activate-btn-luxury:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 71, 112, 0.4);
}

.activate-btn-luxury:active {
  transform: translateY(0);
}

/* Thông báo lỗi/thành công */
.message-luxury {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pink-dark);
  min-height: 22px;
  position: relative;
  z-index: 2;
}

/* =========================================
   TRANG LIÊN HỆ (LUXURY CONTACT PAGE)
========================================= */
.contact-section-luxury {
  display: flex;
  justify-content: center;
  padding: 20px 0 100px 0;
}

/* Thẻ khung bao bọc 2 cột */
.contact-card-luxury {
  display: flex;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border: 1px solid rgba(255, 107, 137, 0.15);
  position: relative;
  width: 100%;
  max-width: 950px;
  overflow: hidden; /* Cắt góc gọn gàng */
}

/* Khung viền chỉ mờ bên trong */
.contact-card-luxury::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid rgba(255, 107, 137, 0.1);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

/* CỘT TRÁI: Khu vực chứa Logo */
.contact-image-col {
  flex: 1;
  background: linear-gradient(135deg, #fff0f3, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 2;
  border-right: 1px solid #f0f0f0;
}

.contact-logo-wrap {
  width: 240px;
  height: 240px;
  background: #fff;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 15px 35px rgba(255, 107, 137, 0.15);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-luxury:hover .contact-logo-wrap {
  transform: scale(1.05); /* Logo phóng to nhẹ khi trỏ vào khung */
}

.contact-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* CỘT PHẢI: Chứa thông tin */
.contact-info-col {
  flex: 1.2;
  padding: 50px 60px;
  position: relative;
  z-index: 2;
}

.contact-title-luxury {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 35px 0;
  letter-spacing: 1px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Nút liên hệ con */
.contact-row {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  background: #fafbfc;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-row:hover {
  background: #fff;
  transform: translateX(10px); /* Trượt sang phải rất sang */
  border-color: rgba(255, 107, 137, 0.3);
  box-shadow: 0 10px 25px rgba(255, 107, 137, 0.12);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--pink-dark), var(--pink));
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 15px rgba(255, 107, 137, 0.25);
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  transition: color 0.3s ease;
}

.contact-row:hover .contact-value {
  color: var(--pink-dark); /* Chữ đổi thành màu hồng khi hover */
}

/* =========================================
   8. FOOTER & PARTNERS (BẢN LUXURY)
========================================= */
.footer-luxury {
  /* Nền hồng pastel siêu sang, nhạt dần từ trên xuống */
  background: linear-gradient(to bottom, #fff0f3, #ffffff);
  padding: 80px 0 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 107, 137, 0.15);
  color: #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

/* Cột 1: Thương hiệu */
.footer-logo-text {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--pink-dark), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}

.footer-slogan {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 25px 0;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  box-shadow: 0 4px 15px rgba(255, 107, 137, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--pink-dark), var(--pink));
  color: #fff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 107, 137, 0.3);
}

/* Cột 2: Liên hệ */
.footer-heading {
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 25px 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 500;
  color: #555;
}

.contact-icon {
  font-size: 18px;
}

.contact-item a {
  transition: color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.contact-item a:hover {
  color: var(--pink-dark);
  text-decoration: underline;
}

/* Cột 3: Đối tác (Huy hiệu sang trọng) */
.partner-badge {
  background: #fff;
  padding: 18px 25px;
  border-radius: 12px;
  display: inline-block; /* Ôm sát logo */
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
  border: 1px solid rgba(255, 107, 137, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.partner-badge:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(255, 107, 137, 0.15);
  border-color: rgba(255, 107, 137, 0.3);
}

.partner-img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 4px; /* Bo nhẹ góc logo bên trong nếu cần */
}

/* Chữ bản quyền cuối trang */
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 13px;
  color: #999;
  font-weight: 500;
}
/* =========================================
   9. RESPONSIVE (MEDIA QUERIES)
========================================= */
/* Tablet / Tablet ngang (Dồn về 2 cột nếu cần) */
@media (max-width: 1000px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* Mobile / Tablet dọc (Dồn về 1 hàng dọc) */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
  }
  /* --- FIX LỖI FOOTER TRÊN MOBILE --- */
  .footer-grid {
    grid-template-columns: 1fr; /* Ép dồn thành 1 cột duy nhất */
    text-align: center; /* Căn giữa toàn bộ chữ */
    gap: 30px;
  }

  .social-links {
    justify-content: center; /* Căn giữa các icon mạng xã hội */
  }

  .contact-item {
    justify-content: center; /* Căn giữa các dòng thông tin liên hệ */
  }

  /* Responsive cho trang Liên hệ trên Mobile */
  .contact-card-luxury {
    flex-direction: column;
  }
  .contact-image-col {
    padding: 40px 20px;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
  .contact-info-col {
    padding: 40px 20px;
  }

  /* Bổ sung vào bên trong @media (max-width: 768px) hiện có */
  .product-showcase {
    flex-direction: column;
    padding: 20px 0;
    gap: 30px;
  }
  .parts-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cột trên mobile */
    gap: 15px;
  }

  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    gap: 20px;
  }

  .hero-left {
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-right {
    position: static;
    transform: none;
    margin-top: 10px;
    width: 100%;
  }

  .product-img {
    width: 100%;
    max-width: 320px;
    transform: none;
    margin: 0 auto;
  }

  .hamburger {
    display: block;
  }

  .nav .container {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    overflow-x: auto;
    background: var(--pink);
  }

  .nav.open .container {
    display: flex;
  }

  .nav a {
    flex: none;
    width: 100%;
    padding: 10px 14px;
    white-space: nowrap;
    border-right: none;
    border-top: 1px solid rgba(0,0,0,0.15);
    font-size: 14px;
  }
}

/* =========================================
   10. ANIMATIONS CUSTOM
========================================= */
@keyframes gentleUnfurl {
  0% {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
  }
}