/* ============================================
   PHONG CÁCH CHUYÊN NGHIỆP - CÂN ĐỐI 2 BẢNG
   GIỮ NGUYÊN MENU GỐC & ẢNH NỀN
============================================ */

:root {
  /* Theme Professional: tông xanh đậm + vàng đồng sang trọng */
  --bg-deep: #0a0e1a;
  --bg-panel: rgba(8, 12, 20, 0.75);
  --primary-blue: #1a5c9e;
  --primary-dark: #0d2b4a;
  --accent-gold: #c9a03d;
  --accent-gold-light: #e0b853;
  --text-light: #f0f4fa;
  --text-muted: #b8c4d8;
  --text-dim: #8a9bb5;
  --border-subtle: rgba(26, 92, 158, 0.25);
  --border-glow: rgba(201, 160, 61, 0.3);
  --accent-red: #c4453a;
  --max-w: 1200px;
  --highlight-blue: #2d7fc1;
  --highlight-gold: #d4af37;
  --glass-bg: rgba(10, 20, 35, 0.65);
  --frame: rgba(26, 92, 158, 0.35);
  --bullet-icon: url("../images/bullet.png");
  --hi-green: #4caf7f;
  --hi-red: #e5735c;
  --hi-blue: #5ba8d9;
  --hi-orange: #e0a045;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  background: #000 url("../images/page-bg.png") center / cover no-repeat fixed;
  background-attachment: fixed;
  min-height: 100vh;
  padding-top: 0;
}

/* Lớp phủ tinh tế */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, rgba(8, 12, 25, 0.3) 0%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

a {
  color: var(--accent-gold-light);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--accent-gold);
  text-decoration: none;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ==========================================
   HEADER & NAVIGATION - GIỮ NGUYÊN
========================================== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(26, 92, 158, 0.35);
  padding: 10px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, opacity 220ms ease;
}

.top-bar.is-scrolled {
  background: rgba(0, 0, 0, 0.65);
  border-bottom-color: rgba(201, 160, 61, 0.35);
}

.top-bar.is-hidden {
  transform: translateY(-110%);
  opacity: 0.92;
}

.top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-light);
  text-transform: none;
  text-decoration: none;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--accent-gold-light);
  text-decoration: none;
}

.nav-links a:hover::after {
  width: calc(100% - 16px);
}

.social-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-row a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

.social-row a:hover {
  filter: brightness(120%);
  transform: translateY(-2px);
}

.social-ico {
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}

.social-ico.fb { background-image: url("../images/fb.png"); }
.social-ico.gr { background-image: url("../images/gr.png"); }
.social-ico.zl { background-image: url("../images/icons/zalo.html"); }

/* ==========================================
   HERO VIDEO
========================================== */
#hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  padding: 0;
}

#hero-video video {
  display: block;
}

.video-shell {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  background: #000;
  border: 1px solid var(--frame);
  box-shadow:
    0 0 0 1px rgba(201, 160, 61, 0.15),
    0 0 26px rgba(26, 92, 158, 0.25),
    inset 0 0 80px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(26, 92, 158, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

#hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* ==========================================
   MAIN CONTENT
========================================== */
main {
  width: 100%;
  padding: 8px 0 48px;
  position: relative;
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 22px;
  color: var(--primary-blue);
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-blue), var(--accent-gold), var(--primary-blue), transparent);
}

.section-divider span {
  font-size: 12px;
  color: var(--accent-gold);
  text-shadow: 0 0 8px rgba(201, 160, 61, 0.4);
  transform: rotate(45deg);
  display: inline-block;
  line-height: 1;
}

/* Block Title - TO RÕ */
.block-title {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  text-align: center;
  margin: 0 0 22px;
  color: var(--text-light);
  text-shadow:
    0 0 20px rgba(26, 92, 158, 0.35),
    0 2px 0 rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 14px;
}

.block-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
  border-radius: 2px;
}

.block-title .gold {
  color: var(--accent-gold);
  font-weight: 800;
}

/* Grid 2 cột - CÂN ĐỐI */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: stretch;
}

.stack-panels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

/* Panel Split */
.panel-split {
  position: relative;
  z-index: 1;
  display: block;
}

.panel-media {
  position: absolute;
  right: 18px;
  top: 10px;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

@keyframes softPulse {
  0% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.85; }
}

.pulse-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  animation: softPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(26, 92, 158, 0.3));
}

@media (max-width: 900px) {
  .panel-media {
    position: static;
    width: auto;
    height: auto;
    opacity: 1;
    margin-top: 15px;
  }
  
  .grid-two {
    grid-template-columns: 1fr;
  }
}

/* Panel Specs - CÙNG STYLE VỚI BẢNG */
.panel-specs {
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Tạo style giống bảng cho panel bên trái */
.panel-specs .subhead-specs {
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, #0d2b4a 0%, #061225 100%);
  border-bottom: 1px solid rgba(26, 92, 158, 0.3);
  color: var(--accent-gold);
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Nội dung bên trong panel */
.panel-specs .spec-list {
  background: rgba(8, 12, 20, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(26, 92, 158, 0.2);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 20px;
  margin: 0;
  flex: 1;
}

.panel-specs .spec-list li {
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 0 3px #000;
  padding-left: 32px;
  background: var(--bullet-icon) no-repeat 0 0.0em / 24px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  transition: color 0.2s;
}

.panel-specs .spec-list li:hover {
  color: var(--text-light);
}

.panel-specs .spec-list li span[class^="hi"] {
  white-space: nowrap;
  font-weight: 800;
}

.panel-specs .spec-list li .hi { color: var(--accent-gold); font-weight: 800; }
.panel-specs .spec-list li .hi-green { color: var(--hi-green); font-weight: 800; }
.panel-specs .spec-list li .hi-blue { color: var(--highlight-blue); font-weight: 800; }
.panel-specs .spec-list li .hi-red { color: var(--hi-red); font-weight: 800; }
.panel-specs .spec-list li .hi-orange { color: var(--hi-orange); font-weight: 800; }

.panel-specs .spec-list li.li-label {
  color: var(--accent-gold-light);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 5px;
  margin-bottom: 16px;
}

/* ==========================================
   TABLES - CHUYÊN NGHIỆP
========================================== */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  background: rgba(8, 12, 20, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(26, 92, 158, 0.2);
  height: 100%;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  min-width: 520px;
}

.data-table caption {
  font-family: inherit;
  font-weight: 800;
  color: var(--accent-gold);
  padding: 16px 12px;
  caption-side: top;
  text-align: center;
  background: linear-gradient(180deg, #0d2b4a 0%, #061225 100%);
  border-bottom: 1px solid rgba(26, 92, 158, 0.3);
  font-size: 16px;
  letter-spacing: 0.5px;
}

.data-table thead th {
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 10px;
  text-align: center;
  color: var(--text-light);
  background: linear-gradient(180deg, #0d2b4a 0%, #061225 100%);
  border: 1px solid rgba(26, 92, 158, 0.2);
  font-weight: 700;
}

.data-table tbody td {
  padding: 14px 12px;
  border: 1px solid rgba(26, 92, 158, 0.15);
  color: var(--text-muted);
  vertical-align: middle;
  text-align: center;
  font-size: 15px;
  transition: all 0.2s;
}

.data-table tbody tr:hover td {
  background: rgba(26, 92, 158, 0.1);
  color: var(--text-light);
}

.data-table tbody td:first-child {
  color: var(--accent-gold-light);
  font-weight: 700;
  font-size: 15px;
}

.data-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.2);
}

/* ==========================================
   FOOTER
========================================== */
.site-footer {
  margin-top: 36px;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.95) 0%, rgba(5, 8, 14, 0.98) 100%);
  border-top: 1px solid rgba(26, 92, 158, 0.3);
  padding: 10px 0 10px;
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.4));
  transition: opacity 0.3s;
}

.footer-logo:hover {
  opacity: 0.9;
}

.footer-text {
  text-align: right;
  flex: 1;
  min-width: 260px;
}

.footer-text .line1 {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.footer-text .line2 {
  color: var(--accent-red);
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-text .line3 {
  color: var(--accent-gold);
  font-size: 15px;
  font-weight: 700;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 700px) {
  .footer-text {
    text-align: left;
  }
  
  .panel-specs .spec-list li {
    font-size: 13px;
    padding-left: 28px;
    background-size: 20px 20px;
  }
  
  .data-table tbody td {
    font-size: 13px;
    padding: 10px 8px;
  }
  
  .data-table thead th {
    font-size: 12px;
  }
  
  .panel-specs .subhead-specs {
    font-size: 1rem;
    padding: 12px 16px;
  }
  
  .panel-specs .spec-list {
    padding: 16px;
  }
}

@media (max-width: 900px) and (min-width: 701px) {
  .grid-two {
    gap: 24px;
  }
}