/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--bg-black);
  color: var(--text-on-dark);
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--sp-4));
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.hero__blob--1 {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: -10%;
  left: -8%;
  background: radial-gradient(circle at 30% 30%, #ff5fc7, transparent 70%);
  animation: floatBlob1 18s ease-in-out infinite;
}

.hero__blob--2 {
  width: 40vw;
  height: 40vw;
  max-width: 560px;
  max-height: 560px;
  bottom: -14%;
  right: -6%;
  background: radial-gradient(circle at 60% 40%, #ffc96b, transparent 70%);
  animation: floatBlob2 22s ease-in-out infinite;
}

.hero__blob--3 {
  width: 28vw;
  height: 28vw;
  max-width: 380px;
  max-height: 380px;
  top: 38%;
  left: 42%;
  background: radial-gradient(circle at 50% 50%, #ff8ea1, transparent 70%);
  opacity: 0.35;
  animation: floatBlob3 26s ease-in-out infinite;
}

@keyframes floatBlob1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(4%, 6%) scale(1.08);
  }
}

@keyframes floatBlob2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-5%, -4%) scale(1.05);
  }
}

@keyframes floatBlob3 {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-46%, -54%) scale(1.15);
  }
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 80%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: particleDrift linear infinite;
}

@keyframes particleDrift {
  from {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.5;
  }

  to {
    transform: translateY(-120vh) translateX(30px);
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: var(--sp-6) 0 var(--sp-8);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-on-dark-secondary);
  margin-bottom: var(--sp-4);
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.hero h1 {
  font-size: clamp(40px, 8.4vw, 96px);
  max-width: 20ch;
  margin: 0 auto;
  color: var(--text-on-dark);
}

.hero__subhead {
  max-width: 56ch;
  margin: var(--sp-4) auto 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--text-on-dark-secondary);
}

.scroll-down {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  cursor: pointer;
  text-decoration: none;
}

.scroll-down p {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}

.scroll-down .icon-circle {
  background: rgba(255, 255, 255, 0.15);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  animation: bounce 2s infinite;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}


.hero__panel {
  position: absolute;
  z-index: 1;
  border-radius: 28px;
  opacity: 0;
  animation: panelIn 1.1s var(--ease) forwards;
}

.hero__panel--1 {
  width: 180px;
  height: 110px;
  top: 20%;
  left: 8%;
  animation-delay: 0.5s;
  transform: translateY(20px) rotate(-6deg);
  display: none;
}

.hero__panel--2 {
  width: 160px;
  height: 100px;
  bottom: 18%;
  right: 9%;
  animation-delay: 0.75s;
  transform: translateY(20px) rotate(5deg);
  display: none;
}

@media (min-width: 1024px) {

  .hero__panel--1,
  .hero__panel--2 {
    display: block;
  }
}

@keyframes panelIn {
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt, 0deg));
  }
}

/* Entrance choreography for hero content */
.hero [data-hero-in] {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  animation: heroIn 1s var(--ease) forwards;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* ==========================================================================
   Hero Interactive Updates
   ========================================================================== */
.hero {
  /* Thêm perspective để tạo hiệu ứng chiều sâu 3D cho chữ */
  perspective: 1000px;
}

.hero__content {
  /* Transition để làm mượt chuyển động chuột của phần chữ */
  transition: transform 0.1s linear;
  transform-style: preserve-3d;
}

/* Ánh sáng theo chuột (Spotlight) */
.hero__spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.hero:hover .hero__spotlight {
  opacity: 1;
}

/* ==========================================================================
   Solutions
   ========================================================================== */
.solutions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 720px) {
  .solutions__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-card {
  background: var(--bg-black);
  color: var(--text-on-dark);
  position: relative;
  padding: var(--sp-6) var(--sp-4);
  border-radius: var(--radius-card);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

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

.solution-card__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--sp-4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
}

.solution-card__icon svg {
  width: 44px;
  height: 44px;
}

.solution-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.solution-card p {
  color: var(--text-on-dark-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 var(--sp-3);
}

.solution-card__tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.solution-card__tags li {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-badge);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Workflow
   ========================================================================== */
/* ==========================================================================
   Workflow — Fullscreen Cinematic Zig-Zag Timeline
   ========================================================================== */
.workflow {
  background: var(--bg-black);
  color: var(--text-on-dark);
  padding: 120px 0;
  /* Tăng padding để tạo không gian full screen */
  position: relative;
  overflow: hidden;
}

/* Hiệu ứng ánh sáng nền mờ ảo cho toàn section */
.workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 95, 199, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.workflow .section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
  /* Cách xa timeline bên dưới */
}

.workflow__timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* ================= TRỤC ĐƯỜNG CHẠY ================= */
.workflow__track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  /* Mobile: Nằm sát lề trái */
  width: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  z-index: 0;
}

.workflow__track-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  border-radius: inherit;
  transform-origin: top center;
  transform: scaleY(0);
  box-shadow: 0 0 30px rgba(255, 140, 130, 0.8);
  will-change: transform;
}

/* ================= BỐ CỤC CÁC BƯỚC ================= */
.workflow__steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* Khoảng cách giữa các bước */
  position: relative;
  z-index: 1;
}

.workflow-step {
  position: relative;
  width: 100%;
  padding-left: 70px;
}

/* Vòng tròn đánh số thứ tự */
.workflow-step__node {
  position: absolute;
  left: 4px;
  top: 30px;
  /* Căn giữa vòng tròn với card */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-charcoal);
  border: 2px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-on-dark-muted);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

/* ================= THIẾT KẾ CARD & HIỆU ỨNG TỪNG COMPONENT ================= */
.workflow-step__card {
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  /* Trạng thái mặc định: Bị mờ, thu nhỏ và tụt xuống */
  opacity: 0.2;
  transform: translateY(60px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ẩn nội dung bên trong để làm hiệu ứng hiện dần (Stagger) */
.workflow-step__card>* {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Áp dụng độ trễ xuất hiện cho từng dòng text bên trong Card */
.workflow-step__card>*:nth-child(1) {
  transition-delay: 0.1s;
}

.workflow-step__card>*:nth-child(2) {
  transition-delay: 0.2s;
}

.workflow-step__card>*:nth-child(3) {
  transition-delay: 0.3s;
}

.workflow-step__card>*:nth-child(4) {
  transition-delay: 0.4s;
}

/* TRẠNG THÁI ĐÃ ĐI QUA (PASSED) - Sáng rõ nhưng hết phát quang */
.workflow-step.is-passed .workflow-step__card,
.workflow-step.is-active .workflow-step__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.workflow-step.is-passed .workflow-step__card>*,
.workflow-step.is-active .workflow-step__card>* {
  opacity: 1;
  transform: translateY(0);
}

.workflow-step.is-passed .workflow-step__node,
.workflow-step.is-active .workflow-step__node {
  border-color: transparent;
  background: var(--gradient);
  background-size: 200% auto;
  color: #16110d;
  animation: nodeGradientShift 3s linear infinite;
}

.workflow-step__node::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--gradient);
  z-index: -1;
  opacity: 0;
}

.workflow-step.is-active .workflow-step__node::before {
  animation: nodeRipple 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* TRẠNG THÁI ĐANG Ở GIỮA MÀN HÌNH (ACTIVE) */
.workflow-step.is-active .workflow-step__card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 140, 130, 0.3);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 140, 130, 0.15) inset;
}

/* ================= KEYFRAMES CHO NODE ================= */
@keyframes nodeGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes nodeRipple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(2.2);
    /* Sóng lan rộng ra gấp 2.2 lần */
    opacity: 0;
    /* Và mờ dần đi */
  }
}

.workflow-step.is-active .workflow-step__node {
  transform: scale(1.35);
  box-shadow: 0 0 0 10px rgba(255, 140, 130, 0.2), 0 0 40px rgba(255, 138, 161, 0.8);
}

.workflow-step__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.workflow-step h3 {
  font-size: 28px;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.workflow-step p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-on-dark-secondary);
  margin: 0;
}

.workflow-step__note {
  margin-top: 24px;
}

/* ================= DESKTOP (ZIG-ZAG TIMELINE) ================= */
@media (min-width: 980px) {
  .workflow__steps {
    gap: 0;
    /* Xóa gap để dùng margin đan xen */
  }

  .workflow__track {
    left: 50%;
    /* Trục dời ra chính giữa màn hình */
    margin-left: -2px;
  }

  .workflow-step {
    width: 50%;
    padding: 0;
    margin-bottom: -40px;
    /* Tạo độ chồng chéo nhẹ giữa các step */
  }

  /* Bước CHẴN (Nằm bên PHẢI trục) */
  .workflow-step:nth-child(even) {
    margin-left: 50%;
    padding-left: 80px;
    padding-bottom: 80px;
    /* Không gian dài ra để scroll */
  }

  .workflow-step:nth-child(even) .workflow-step__node {
    left: -22px;
    /* Kéo vòng tròn ra giữa trục */
    top: 40px;
  }

  /* Bước LẺ (Nằm bên TRÁI trục) */
  .workflow-step:nth-child(odd) {
    padding-right: 80px;
    padding-bottom: 80px;
    text-align: right;
  }

  .workflow-step:nth-child(odd) .workflow-step__node {
    left: auto;
    right: -22px;
    top: 40px;
  }

  .workflow-step:nth-child(odd) {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Customers
   ========================================================================== */
.customers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 860px) {
  .customers__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.customer-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.customer-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.customer-card__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 900ms var(--ease);
}

.customer-card:hover .customer-card__art {
  transform: scale(1.08);
}

.customer-card--fw .customer-card__art {
  background: radial-gradient(120% 100% at 20% 0%, #3a1420, #0b0b0b 60%), linear-gradient(160deg, #ff5fc7 0%, transparent 55%);
}

.customer-card--pension .customer-card__art {
  background: radial-gradient(120% 100% at 80% 0%, #14251f, #0b0b0b 60%), linear-gradient(200deg, #6ad1b8 0%, transparent 55%);
}

.customer-card--gallery .customer-card__art {
  background: radial-gradient(120% 100% at 50% 0%, #241d33, #0b0b0b 60%), linear-gradient(180deg, #ffc96b 0%, transparent 55%);
}

/* Khu vực bao bọc Location nằm ở góc trên thẻ */
.customer-card__top {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  z-index: 2;
}

/* Box Location kiểu Glassmorphism */
.customer-card__loc {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Vùng phủ mờ dưới đáy Card - Đổi sang Flex để căn giữa nội dung */
.customer-card__overlay {
  position: relative;
  width: 100%;
  height: 100%;
  /* Chiếm full chiều cao card để đẩy nội dung */
  padding: var(--sp-4) var(--sp-4) 40px;
  /* Tăng padding bottom */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Đẩy nội dung xuống đáy */
  align-items: center;
  /* Căn giữa theo chiều ngang */
  text-align: center;
}

/* Kích thước Icon Logo khách hàng - Được phóng to */
.customer-card__logo {
  height: 74px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition: transform var(--dur-med) var(--ease);
}

/* Tag Ngành nghề - Áp dụng Gradient Brand & Tăng size */
.customer-card__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

/* Tên thương hiệu - Phóng to để lấp đầy thẻ */
.customer-card h3 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* Nút truy cập Website */
.customer-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-on-dark);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--dur-fast) var(--ease);
}

/* Hiệu ứng hover cho nút và Logo */
.customer-card__link:hover {
  background: var(--text-on-dark);
  color: var(--bg-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.customer-card:hover .customer-card__logo {
  transform: scale(1.1) translateY(-4px);
}


/* ==========================================================================
   Pricing
   ========================================================================== */
/* Khai báo biến góc xoay (CSS Houdini) để tạo animation xoay 60fps mượt mà */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ==========================================================================
   Pricing - Smooth Reveal & Radar Sweep Border
   ========================================================================== */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  /* Nới rộng khoảng cách giữa các thẻ cho thoáng */
  align-items: start;
}

@media (min-width: 900px) {
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================= 1. XỬ LÝ LỖI KHỰNG (SMOOTH SPRING REVEAL) ================= */
.price-card {
  position: relative;
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 1;

  /* Gộp chung transition vào 1 chỗ với đường cong easing cực mềm */
  transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.6s cubic-bezier(0.2, 0, 0, 1),
    opacity 1s cubic-bezier(0.2, 0, 0, 1),
    filter 1s cubic-bezier(0.2, 0, 0, 1);
}

/* Trạng thái ẩn: Chỉ trượt xuống, KHÔNG dùng scale để tránh lỗi giật bounding-box */
.pricing__grid .reveal {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(12px);
}

/* Trạng thái hiện ra khi scroll tới */
.pricing__grid .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Độ trễ bậc thang (Cơ bản -> Nâng cao -> VIP) */
.pricing__grid .reveal-delay-1 {
  transition-delay: 0.15s;
}

.pricing__grid .reveal-delay-2 {
  transition-delay: 0.3s;
}

/* Trạng thái khi Hover (Chỉ hoạt động mượt sau khi đã hiện ra xong) */
.pricing__grid .reveal.is-visible:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Xóa viền tĩnh cũ */
.price-card.gradient-ring::before {
  display: none !important;
}

/* ================= 2. HIỆU ỨNG VIỀN "RADAR SWEEP" (APPLE STYLE) ================= */
.price-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  /* Độ dày của viền sáng */
  border-radius: inherit;
  padding: 2px;

  /* Dùng tia sáng (conic) quay xung quanh biến --angle */
  background: conic-gradient(from var(--angle), transparent 60%, #ff5fc7 85%, #ffd95d 100%);

  /* Kỹ thuật đục lỗ bằng Mask để chỉ chừa lại viền */
  -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;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  animation: spinRadarBorder 3s linear infinite;
}

/* Keyframe xoay 360 độ liên tục */
@keyframes spinRadarBorder {
  to {
    --angle: 360deg;
  }
}

/* Hiện viền sáng khi Hover (Áp dụng Cơ bản & VIP) */
.price-card:hover::after {
  opacity: 1;
}

/* Gói Nâng cao (Pro): Viền luôn luôn chạy */
.price-card.is-active::after {
  opacity: 1;
}

/* ================= THÀNH PHẦN BÊN TRONG ================= */
.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-badge);
  background: var(--gradient);
  color: #16110d;
  box-shadow: 0 8px 20px rgba(255, 140, 130, 0.35);
  z-index: 11;
}

.price-card h3 {
  font-size: 24px;
  margin-bottom: var(--sp-2);
}

.price-card__price {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.price-card__suffix {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.price-card__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 var(--sp-4);
  flex: 1;
}

.price-card__items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.price-card__items svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Tùy chỉnh Gói Nâng cao */
.price-card--pro {
  background: var(--bg-white);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
  .price-card--pro {
    margin-top: -16px;
    margin-bottom: -16px;
    padding-top: calc(var(--sp-5) + 16px);
  }
}

/* Tùy chỉnh Gói VIP */
.price-card--vip {
  background: var(--bg-black);
  color: var(--text-on-dark);
}

.price-card--vip .price-card__suffix {
  color: var(--text-on-dark-muted);
}

.price-card--vip .price-card__items li {
  color: var(--text-on-dark-secondary);
}

.price-card .btn {
  width: 100%;
}

/* ==========================================================================
   TỐI ƯU MÀN HÌNH LAPTOP (Chèn vào cuối file css chứa Hero và Solutions)
   ========================================================================== */
@media (max-width: 1366px) {
  /* Fix Hero Section */
  .hero h1 {
    font-size: clamp(22px, 7vw, 50px);
  }
  .hero__subhead {
    font-size: 12px;
  }
  /* Kéo 2 khung panel thủy tinh lên cao hơn để tránh đè nút Scroll */
  .hero__panel--1 {
    width: 140px; height: 90px;
    top: 15%; left: 5%;
  }
  .hero__panel--2 {
    width: 130px; height: 80px;
    bottom: 22%; right: 5%;
  }
  .hero__content {
    padding-top: 0; /* Loại bỏ hoàn toàn padding phía trên */
    padding-bottom: 160px; /* Tăng padding dưới lên (mặc định là 128px) để đẩy nội dung lên một chút */
  }

  .scroll-down p {
    font-size: 0.7rem; /* Thu nhỏ text "Scroll Down" */
    margin-bottom: 12px;
  }

  .scroll-down .icon-circle {
    width: 36px; /* Bóp nhỏ vòng tròn */
    height: 36px;
    font-size: 0.85rem; /* Thu nhỏ mũi tên bên trong */
  }

/* Fix Service / Solutions Card (Thu gọn chữ) */
  .solution-card {
    min-height: 340px; /* Ép chiều cao thẻ ngắn lại */
    padding: var(--sp-4) var(--sp-3);
  }
  .solution-card__icon {
    width: 60px; height: 60px;
    margin-bottom: var(--sp-3);
  }
  .solution-card__icon svg {
    width: 28px; height: 28px;
  }
  .solution-card h3 {
    font-size: 20px; /* Tiêu đề nhỏ gọn hơn */
    margin-bottom: 8px;
  }
  .solution-card p {
    font-size: 13.5px; /* Giảm size chữ mô tả */
    line-height: 1.5; /* Ép khoảng cách dòng sát lại */
    margin-bottom: 16px;
  }
  .solution-card__tags li {
    font-size: 11.5px; /* Bóp nhỏ các thẻ tag */
    padding: 5px 10px;
  }

/* Fix Service / customer Card (Thu gọn chữ) */

    .customer-card {
    min-height: 320px; /* Thu hẹp card lại cho cân đối với laptop */
  }
  .customer-card__loc {
    font-size: 9px;
    padding: 6px 12px;
  }
  .customer-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
  }
  .customer-card__logo {
    height: 50px; /* Logo nhỏ lại */
    margin-bottom: 16px;
  }
  .customer-card__link {
    padding: 10px 20px;
    font-size: 12px;
  }

  .price-card__price {
    font-size: 28px; /* Thu nhỏ giá tiền */
  }
  .pricing__grid {
    gap: var(--sp-1); /* Giảm khoảng cách giữa các thẻ Pricing */
  }

  .price-card__items li {
    font-size: 12px; /* Thu nhỏ chữ trong danh sách tính năng */
  }
  .price-card h3 {
    font-size: 25px; /* Thu nhỏ tiêu đề gói */
    margin-bottom: 0px;
  }

}
