/* ═══════════════════════════════════════════════════════
   GDATA GROUP — system.css
   Scope: System / Phần mềm Microsoft page (hero, bảng giá
   phần mềm gom theo danh mục + segment, CTA).
   KHÔNG dùng tab. Mượn lại palette & ngôn ngữ thiết kế của
   component.css: --accent #0D59F2 / #3D7FFF, cyan #48D6FF
   trên nền --bg-main #00193C.
   ═══════════════════════════════════════════════════════ */

:root {
  --sys-text: #FFFFFF;
  --sys-muted: #94A3B8;
  --sys-line: rgba(255, 255, 255, 0.08);
  --sys-card: rgba(255, 255, 255, 0.03);
}

/* ─────────────────────────────────────────────────────
   0. SHARED LAYOUT
   ───────────────────────────────────────────────────── */
.sys-container {
  margin: 0 auto;
  padding: 0 102px;
}

@media (max-width: 991px) {
  .sys-container { padding: 0 24px; }
}

/* ─────────────────────────────────────────────────────
   1. HERO
   ───────────────────────────────────────────────────── */
.sys-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(13, 89, 242, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 90% 100%, rgba(0, 200, 212, 0.10) 0%, transparent 60%);
}

.sys-hero-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 214, 255, 0.16) 0%, transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}

.sys-hero .sys-container { position: relative; z-index: 1; }

.sys-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(13, 89, 242, 0.16);
  border: 1px solid rgba(72, 214, 255, 0.35);
  color: #48D6FF;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.sys-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #48D6FF;
  box-shadow: 0 0 10px rgba(72, 214, 255, 0.7);
  animation: sys-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes sys-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.25); opacity: 0.7; }
}

.sys-hero-title {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--sys-text);
  margin: 0 auto 20px;
  max-width: 880px;
}

.sys-hero-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--sys-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

/* ─────────────────────────────────────────────────────
   2. SECTION + TABLE
   ───────────────────────────────────────────────────── */
.sys-section { padding: 56px 0 88px; }

.sys-table-wrap {
  border: 1px solid var(--sys-line);
  border-radius: 16px;
  overflow-x: auto;
  background: var(--sys-card);
}

.sys-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sys-table thead th {
  padding: 16px 18px;
  text-align: left;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(13, 89, 242, 0.16);
  white-space: nowrap;
}

.sys-th-name { white-space: normal; }
.sys-th-price,
.sys-th-discount { text-align: center !important; }

.sys-table tbody td,
.sys-table tbody th {
  padding: 13px 18px;
  border-top: 1px solid var(--sys-line);
  color: #CBD5E1;
  vertical-align: middle;
  text-align: left;
}

.sys-table tbody tr:hover td,
.sys-table tbody tr:hover th { background: rgba(72, 214, 255, 0.07); }

/* ── Hàng tiêu đề nhóm danh mục (trải hết bảng) ── */
.sys-row-category th {
  padding: 12px 18px;
  text-align: center !important;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, rgba(13, 89, 242, 0.32), rgba(0, 200, 212, 0.18)) !important;
}

/* ── Ô Segment (gộp dòng) ── */
.sys-td-seg {
  min-width: 96px;
  text-align: center !important;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-weight: 700;
  color: #fff !important;
  background: rgba(13, 89, 242, 0.10);
}

/* ── P/N ── */
.sys-td-pn {
  white-space: nowrap;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-weight: 600;
  color: #48D6FF;
}

/* ── Tên sản phẩm ── */
.sys-td-name {
  min-width: 280px;
  line-height: 1.5;
  color: var(--sys-text);
  font-weight: 500;
}

/* ── Đơn giá ── */
.sys-td-price {
  text-align: right !important;
  white-space: nowrap;
  font-weight: 700;
  color: #48D6FF;
}

/* ── Chiết khấu ── */
.sys-td-discount {
  text-align: center !important;
  color: var(--sys-muted);
  font-style: italic;
  background: rgba(255, 255, 255, 0.015);
}
.sys-td-discount.is-set {
  color: #48D6FF;
  font-weight: 600;
  font-style: normal;
}

/* ── note ── */
.sys-note {
  margin: 22px auto 0;
  max-width: 880px;
  text-align: center;
  color: var(--sys-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.sys-note i { color: #48D6FF; margin-right: 6px; }
.sys-note strong { color: #fff; font-weight: 700; }

.sys-note-warning {
  margin-top: 28px;
  color: #FCA5A5;
  font-style: italic;
  font-weight: 500;
}
.sys-note-warning i { color: #F87171; }
.sys-note-warning strong { color: #FCA5A5; }

/* ─────────────────────────────────────────────────────
   3. TABLE → CARDS trên mobile
   ───────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .sys-table thead { display: none; }
  .sys-table,
  .sys-table tbody,
  .sys-table tr,
  .sys-table td,
  .sys-table th { display: block; width: 100%; }

  .sys-row-category th {
    border-radius: 10px;
    margin-top: 18px;
  }

  .sys-td-seg {
    text-align: left !important;
    border-radius: 8px 8px 0 0;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .sys-table tbody tr {
    border: 1px solid var(--sys-line);
    border-radius: 12px;
    margin: 12px 0;
    padding: 4px 0;
    overflow: hidden;
  }

  .sys-table tbody td {
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 16px;
    text-align: right !important;
  }

  .sys-table tbody td::before {
    content: attr(data-label);
    flex-shrink: 0;
    color: var(--sys-muted);
    font-size: 12px;
    font-weight: 600;
    text-align: left;
  }

  .sys-td-name { font-size: 15px; }
}

/* ─────────────────────────────────────────────────────
   4. CTA
   ───────────────────────────────────────────────────── */
.sys-cta { padding: 0 0 96px; }

.sys-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(72, 214, 255, 0.25);
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(13, 89, 242, 0.28) 0%, transparent 60%),
    rgba(255, 255, 255, 0.03);
  padding: 64px 32px;
  text-align: center;
}

.sys-cta-glow {
  position: absolute;
  bottom: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 212, 0.18) 0%, transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}

.sys-cta-inner { position: relative; z-index: 1; }

.sys-cta-title {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  color: var(--sys-text);
  margin: 0 0 14px;
}

.sys-cta-desc {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--sys-muted);
  font-size: 15px;
  line-height: 1.7;
}

.sys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 10px;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur, .3s) var(--ease, ease),
              transform var(--dur, .3s) var(--ease, ease),
              box-shadow var(--dur, .3s) var(--ease, ease);
}

.sys-btn-primary {
  background: #0D59F2;
  color: #fff;
  box-shadow: 0 0 24px rgba(13, 89, 242, 0.45);
}

.sys-btn-primary:hover {
  background: #3D7FFF;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(13, 89, 242, 0.6);
}
