/* =========================================================
   Windows Server 2025 — styles riêng (dùng kèm banquyen.css)
   ========================================================= */

/* ============================ HERO (138:6199) ============================ */
.srv-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #c6e4f3 16%, #bfb6e3 92%);
}
.srv-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 642px) minmax(0, 798px);
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 721px;
}
.srv-hero-bgwave {
  position: absolute;
  z-index: 0;
  width: 62vw;
  right: -8vw;
  bottom: -42px;
  opacity: 0.8;
  transform: rotate(180deg) scaleY(-1);
  pointer-events: none;
}
.srv-hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 0;
}
.srv-hero-heading {
  display: flex;
  flex-direction: column;
}
.srv-hero-year {
  margin: 0 0 -0.14em;
  font-family: "Segoe UI", "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(120px, 19vw, 280px);
  font-weight: 700;
  line-height: 0.994;
  letter-spacing: -0.05em;
  color: var(--white);
}
.srv-hero-wordmark {
  margin: 0;
  font-family: "Segoe UI", "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(48px, 6.4vw, 92px);
  font-weight: 700;
  line-height: 0.994;
  letter-spacing: -0.05em;
  color: var(--win-blue);
  overflow-wrap: break-word;
}
.srv-hero-sub {
  margin: 16px 0 0;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
  color: var(--text);
  white-space: nowrap;
}
.srv-hero-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}
.srv-hero-list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.srv-hero-list img { width: 16px; height: 16px; }
.srv-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.srv-hero-actions .bq-pill { width: 240px; }
.srv-hero-ghost {
  width: 240px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border-radius: 55px;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.srv-hero-ghost:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); }

.srv-hero-visual {
  position: relative;
  z-index: 1;
  width: min(100%, 798px);
  aspect-ratio: 798 / 717;
  justify-self: end;
}
.srv-hero-visual img { position: absolute; pointer-events: none; }
.srv-hero-glow { width: 80%; right: 2.5%; top: 10.7%; opacity: 0.7; z-index: 0; }
.srv-hero-circles { width: 53%; left: 40.6%; top: 12%; z-index: 1; }
.srv-hero-servers { width: 70%; left: -7%; top: 21.6%; z-index: 2; }
.srv-hero-woman { width: 68%; left: 32.7%; bottom: 0; z-index: 3; }
.srv-hero-ms { width: 30.3%; left: 10.8%; top: 12.3%; z-index: 4; transform: rotate(-7.59deg); }

/* ============================ SECTION 61 — dark platform card ============================ */
.srv-platform {
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.srv-platform-wrap {
  padding: 96px 0;
  display: grid;
  justify-items: center;
}
.srv-plat-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(10px);
}
.srv-plat-glow.left { width: 313px; left: 16%; top: 30%; }
.srv-plat-glow.right { width: 410px; left: 64%; top: 56%; }
.srv-platform-card {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1440 / 786;
  min-height: 360px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  background: #030a13;
}
/* ảnh (2 hộp sản phẩm) đặt ở dưới, chừa dải tối trên cho tiêu đề */
.srv-platform-card img {
  position: absolute;
  top: 16%;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
}
.srv-platform-card::before {
  content: "";
  position: absolute;
  top: 16%;
  left: 0;
  right: 0;
  height: 28%;
  z-index: 1;
  background: linear-gradient(180deg, #030a13 8%, rgba(3, 10, 19, 0) 100%);
  pointer-events: none;
}
.srv-platform-card h2 {
  position: absolute;
  z-index: 2;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 1344px);
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: var(--white);
}

/* ============================ SECTION 57 — pricing (3-col + subtabs) ============================ */
.srv-price-section {
  position: relative;
  background: var(--section);
  overflow: hidden;
}
.srv-price-wrap {
  padding: 128px 0;
  display: grid;
  gap: 32px;
  justify-items: center;
}
.srv-subtabs {
  display: inline-flex;
  gap: 16px;
  padding: 4px;
  border-radius: 200px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 20px rgba(119, 194, 255, 0.1);
  backdrop-filter: blur(10px);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.srv-subtabs::-webkit-scrollbar { display: none; }
.srv-subtab {
  padding: 16px 24px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.srv-subtab.is-active { background: var(--cta-navy); color: var(--white); }
.srv-price-intro { display: grid; gap: 8px; justify-items: center; text-align: center; max-width: 1344px; }
.srv-price-intro h3 { 
  margin: 0; font-size: 32px; font-weight: 700; line-height: 1.2;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}
.srv-price-intro p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: 0.16px; }
/* panel theo tab */
.srv-price-panel { display: none; width: 100%; }
.srv-price-panel.is-active { display: grid; justify-items: center; }

.srv-price-grid {
  width: 100%;
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.srv-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 0 30px rgba(74, 186, 185, 0.1);
  overflow: hidden;
  text-align: center;
}
.srv-price-card.featured {
  border: 1px solid var(--primary);
  box-shadow: 0 0 30px rgba(57, 205, 203, 0.5);
  
}
.srv-price-card h3 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2;font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important; }
.srv-price-card .dur { font-size: 20px; font-weight: 700; line-height: 1.5; letter-spacing: 0.6px;font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important; }
.srv-price-amount { display: grid; gap: 2px; }
.srv-price-amount span { font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.5; }
.srv-price-amount strong { font-family: "Open Sans", Arial, sans-serif; font-size: 28px; font-weight: 700; line-height: 1.3; color: var(--text); }
.srv-price-amount strong.contact { font-size: 24px; color: var(--primary); }
.srv-price-card .bq-btn { width: 100%; }
.srv-price-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  height: 24px;
  padding: 0 16px 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ff2424;
  color: var(--white);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 49px 24px 49px 49px;
}
.srv-price-badge img { width: 16px; height: 16px; }

/* ============================ SECTION 59 — comparison (3 cột, Datacenter nổi bật) ============================ */
.srv-cmp-table {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.srv-cmp-table .bq-ent-cell { min-height: 64px; }
/* header 3 cột cao bằng nhau để các hàng thẳng */
.srv-cmp-table .bq-ent-head { min-height: 176px; }

/* feature (trái) + standard (phải) tạo nền bảng bo góc */
.srv-cmp-table .bq-ent-col.feature {
  border-radius: 32px 0 0 32px;
  box-shadow: 0 0 30px rgba(74, 186, 185, 0.16);
}
.srv-cmp-table .bq-ent-col.e5 {
  border-radius: 0 32px 24px 0;
  box-shadow: 0 0 30px rgba(74, 186, 185, 0.16);
}

/* cột Datacenter nổi bật: card navy nhô lên trên & xuống dưới */
.srv-cmp-table .bq-ent-col.featured {
  position: relative;
  z-index: 2;
  background: transparent;
}
.srv-cmp-table .bq-ent-col.featured::before {
  content: "";
  position: absolute;
  inset: -16px 0 -24px;
  z-index: -1;
  background: var(--cta-navy);
  border-radius: 24px;
  box-shadow: 0 26px 50px rgba(0, 23, 46, 0.3);
}

/* cột "Tính năng": chữ bên trái, logo Windows bên phải (như Figma Server) */
.srv-cmp-table .bq-ent-col.feature .bq-ent-head {
  flex-direction: row-reverse;
  align-items: center;
}
.srv-cmp-table .srv-cmp-logo {
  width: 136px;
  transform: rotate(-8deg);
}

/* ============================ SECTION 58 — band (nền gộp 1 ảnh) ============================ */
.bq-band-11.srv-band58 {
  background: var(--hero-bg) url("https://nhanhoa.com/images/ban-quyen/server/srv-band58-combined.png") left center / cover no-repeat;
}

/* ============================ FOOTER images (125:3721, 125:3722) ============================ */
.srv-foot { display: block; }
.srv-foot img { width: 100%; height: auto; display: block; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1280px) {
  .srv-hero-sub { font-size: 32px; }
  .srv-price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 1024px) {
  .srv-hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .srv-hero-bgwave { display: none; }
  .srv-hero-visual { justify-self: center; max-width: 620px; }
  .srv-hero-content { padding-top: 24px; }
  .srv-platform-wrap, .srv-price-wrap { padding: 80px 0; }
  .srv-cmp-table { min-width: 760px; }
}

@media (max-width: 768px) {
  .srv-hero-sub { font-size: 24px; }
  .srv-hero-list { grid-template-columns: 1fr; }
  .srv-hero-actions { flex-direction: column; align-items: stretch; }
  .srv-hero-actions .bq-pill, .srv-hero-ghost { width: 100%; }
  .srv-price-grid { grid-template-columns: 1fr; }
  .srv-platform-card h2, .srv-price-intro h3 { font-size: 28px; }
}

@media (max-width: 520px) {
  .srv-hero-sub { font-size: 21px; white-space: normal; }
}
