:root {
  color-scheme: dark;
  --bg: #03070f;
  --bg-deep: #01040a;
  --panel: rgba(9, 16, 31, 0.84);
  --panel-strong: rgba(11, 19, 35, 0.96);
  --line: rgba(92, 122, 174, 0.28);
  --line-soft: rgba(74, 101, 150, 0.2);
  --text: #f8fbff;
  --muted: #a9b5ca;
  --blue: #1976ff;
  --blue-2: #2a86ff;
  --blue-dark: #0a3eaa;
  --green: #16db73;
  --red: #ff3e4d;
  --radius: 10px;
  --shadow: 0 22px 70px rgba(0, 35, 100, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 70% 8%, rgba(0, 88, 215, 0.22), transparent 28rem),
    radial-gradient(circle at 24% 18%, rgba(0, 105, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, #020710 0%, #050913 48%, #02060d 100%);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: '';
  background-image:
    linear-gradient(rgba(42, 134, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 134, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 58%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

svg {
  display: block;
}

.site-shell {
  width: min(100%, 1510px);
  margin: 0 auto;
  padding: 28px 22px 12px;
  overflow: hidden;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
}

.brand {
  display: flex;
  align-items: center;
  width: 184px;
  min-width: 184px;
  height: 55px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  flex: 1;
}

.nav a {
  position: relative;
  padding: 12px 0 16px;
  color: #f1f6ff;
  font-size: 12px;
  font-weight: 600;
}

.nav a.active::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 38px;
  height: 2px;
  content: '';
  transform: translateX(-50%);
  background: var(--blue-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}

.icon-btn,
.menu-btn {
  display: grid;
  place-items: center;
  position: relative;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
}

.icon-btn svg,
.menu-btn svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart span {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.buy-btn,
.primary-btn,
.secondary-btn,
.hot-card a,
.view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 6px;
  font-weight: 700;
}

.buy-btn {
  min-width: 96px;
  height: 39px;
  background: linear-gradient(135deg, #176fff, #0755df);
  box-shadow: 0 14px 34px rgba(0, 91, 255, 0.32);
  font-size: 12px;
}

.menu-btn {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  min-height: 306px;
  padding: 34px 58px 24px;
}

.kicker {
  margin: 0 0 14px;
  color: #1681ff;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
  font-weight: 800;
}

.hero h1 span,
.benefits h2 span,
.hot h2 span,
.comparison h2 span {
  color: var(--blue-2);
}

.hero-desc {
  max-width: 430px;
  margin: 16px 0 22px;
  color: #f1f4fa;
  font-size: 15px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(80, 151, 255, 0.76);
  font-size: 13px;
}

.primary-btn {
  min-width: 142px;
  background: linear-gradient(135deg, #0f65ef, #0b3b9d);
  box-shadow: 0 14px 40px rgba(14, 98, 239, 0.36);
}

.secondary-btn {
  min-width: 128px;
  background: rgba(9, 17, 32, 0.78);
}

.primary-btn svg,
.hot-card a svg,
.view-all svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-stage {
  position: relative;
  min-height: 398px;
  isolation: isolate;
  overflow: hidden;
}

.hero-stage::after {
  position: absolute;
  left: 0;
  right: -1%;
  bottom: 0;
  z-index: 0;
  height: 146px;
  content: '';
  background:
    radial-gradient(circle at 22% 64%, rgba(37, 157, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 78%, rgba(37, 157, 255, 0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 60%, rgba(37, 157, 255, 0.72) 0 2px, transparent 3px),
    linear-gradient(rgba(21, 117, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 117, 255, 0.2) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 102, 255, 0.32), rgba(0, 14, 34, 0.02));
  background-size: auto, auto, auto, 42px 19px, 42px 19px, auto;
  clip-path: polygon(4% 4%, 100% 1%, 92% 100%, 0 100%);
  filter: drop-shadow(0 0 40px rgba(0, 120, 255, 0.58));
  opacity: 0.92;
  transform: perspective(480px) rotateX(62deg);
  transform-origin: bottom;
  animation: dataFloorDrift 7s linear infinite;
}

.tech-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.95;
  background:
    radial-gradient(circle at 50% 48%, rgba(35, 143, 255, 0.34), transparent 26%),
    radial-gradient(circle at 64% 14%, rgba(0, 118, 255, 0.18), transparent 22%),
    radial-gradient(circle at 12% 78%, rgba(0, 125, 255, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 74%, rgba(0, 125, 255, 0.24) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent 0 18%, rgba(17, 105, 255, 0.55) 18.2% 18.5%, transparent 18.7%),
    linear-gradient(0deg, transparent 0 36%, rgba(17, 105, 255, 0.45) 36.2% 36.5%, transparent 36.7%),
    radial-gradient(circle, rgba(0, 113, 255, 0.92) 0 2px, transparent 2.5px);
  background-size: auto, auto, auto, auto, 210px 160px, 260px 210px, 76px 76px;
  mask-image: radial-gradient(circle at 53% 54%, black, transparent 78%);
  animation: dataGridPulse 5.6s ease-in-out infinite alternate;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.orbit-lines {
  position: absolute;
  left: -4%;
  top: 18px;
  width: 108%;
  height: 282px;
  overflow: visible;
  fill: none;
  stroke: rgba(41, 158, 255, 0.72);
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 11px rgba(28, 142, 255, 0.9));
}

.orbit-lines path {
  stroke-dasharray: 16 22;
  animation: dataOrbitFlow 4.4s linear infinite;
}

.orbit-lines path:nth-child(2) {
  animation-duration: 3.6s;
  animation-direction: reverse;
}

.orbit-lines path:nth-child(3) {
  animation-duration: 4.8s;
}

.security-shield {
  position: absolute;
  left: 50%;
  top: 106px;
  z-index: 2;
  width: 168px;
  height: 180px;
  color: #7bc4ff;
  opacity: 0.86;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 34px rgba(16, 128, 255, 1));
  animation: shieldReceivePulse 2.5s ease-in-out infinite;
}

.security-shield svg,
.orb-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-shield svg path:first-child {
  fill: rgba(0, 86, 193, 0.28);
}

.security-shield rect {
  fill: rgba(91, 188, 255, 0.28);
}

.orbit-node {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 8px;
  justify-items: center;
  width: 146px;
  color: #93d6ff;
  text-align: center;
  text-shadow: 0 0 13px rgba(28, 146, 255, 0.85);
  animation: orbitNodeFloat 4.8s ease-in-out infinite;
}

.orbit-node:nth-of-type(3) {
  animation-delay: -0.8s;
}

.orbit-node:nth-of-type(4) {
  animation-delay: -1.4s;
}

.orbit-node:nth-of-type(5) {
  animation-delay: -2.1s;
}

.orbit-node strong {
  color: #9edaff;
  font-size: 13px;
  line-height: 1.22;
  font-weight: 800;
}

.orb-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding: 19px;
  border: 1px solid rgba(67, 170, 255, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 44%, rgba(69, 181, 255, 0.26), rgba(1, 19, 56, 0.86) 68%),
    linear-gradient(180deg, rgba(0, 116, 255, 0.36), rgba(0, 34, 112, 0.18));
  box-shadow:
    0 0 0 1px rgba(0, 120, 255, 0.18),
    0 0 26px rgba(15, 134, 255, 0.72),
    inset 0 0 18px rgba(80, 196, 255, 0.18);
  animation: iconDataGlow 2.4s ease-in-out infinite;
}

.orb-icon::after {
  position: absolute;
  width: 6px;
  height: 6px;
  content: '';
  border-radius: 50%;
  background: #52c3ff;
  box-shadow: 0 0 12px #2ca8ff;
  transform: translate(26px, -31px);
}

.node-storage {
  left: 3%;
  top: 88px;
}

.node-sync {
  left: calc(50% - 73px);
  top: 2px;
}

.node-camera {
  right: 19%;
  top: 88px;
}

.node-network {
  right: 0;
  top: 155px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  cursor: pointer;
}

.nas-stack {
  position: absolute;
  inset: 0 0 0 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(54px) scale(0.985);
  transition:
    opacity 680ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.hero-slide.exiting {
  opacity: 0;
  transform: translateX(-42px) scale(0.985);
}

.hero-slide.active .slice {
  animation: heroSliceIn 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-slide.active .nas {
  animation: heroDeviceIn 860ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-slide.active .two-left {
  animation-delay: 90ms;
}

.hero-slide.active .nas-main {
  animation-delay: 150ms;
}

.hero-slide.active .two-mid {
  animation-delay: 220ms;
}

.hero-slide.active .two-right {
  animation-delay: 280ms;
}

.hero-slide.active .nas-showcase-left,
.hero-slide.active .nas-showcase-right {
  animation-delay: 100ms;
}

.hero-slide.active .nas-showcase-front {
  animation-delay: 230ms;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.has-scene-image .hero-orbit,
.has-scene-image .showcase-bg,
.has-scene-image .showcase .slice,
.has-scene-image .showcase .nas,
.has-scene-image .showcase-rack {
  display: none;
}

.has-scene-image .showcase::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: '';
  background: url('../public/assets/hero-synology-scene.png') center bottom / contain no-repeat;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.62));
}

.has-scene-image .showcase .hero-model-name {
  display: none;
}

.showcase-bg::before {
  position: absolute;
  left: -8%;
  right: -7%;
  bottom: -28px;
  height: 178px;
  content: '';
  background:
    radial-gradient(circle at 24% 54%, rgba(31, 152, 255, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle at 61% 28%, rgba(31, 152, 255, 0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 83% 42%, rgba(31, 152, 255, 0.85) 0 2px, transparent 3px),
    linear-gradient(rgba(0, 122, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 122, 255, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 76, 180, 0.1), rgba(0, 116, 255, 0.18));
  background-size: auto, auto, auto, 35px 17px, 35px 17px, auto;
  clip-path: polygon(0 12%, 100% 0, 94% 100%, 5% 100%);
  opacity: 0.95;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: bottom;
  filter: drop-shadow(0 0 28px rgba(0, 118, 255, 0.7));
  animation: dataFloorDrift 6.4s linear infinite;
}

.showcase-bg::after {
  position: absolute;
  left: 8%;
  right: 2%;
  bottom: 72px;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, transparent, rgba(41, 151, 255, 0.98), rgba(41, 151, 255, 0.46), transparent);
  box-shadow:
    0 38px 0 rgba(41, 151, 255, 0.45),
    0 66px 22px rgba(0, 94, 255, 0.45);
  animation: dataBeamMove 2.8s ease-in-out infinite;
}

.slice {
  --slice-opacity: 1;
  position: absolute;
  opacity: var(--slice-opacity);
  pointer-events: none;
}

.slice::before {
  position: absolute;
  inset: 0;
  content: '';
  background:
    linear-gradient(180deg, rgba(26, 39, 55, 0.95), rgba(4, 8, 15, 0.98) 72%),
    linear-gradient(90deg, rgba(8, 93, 255, 0.48), rgba(115, 172, 255, 0.15), rgba(8, 93, 255, 0.36));
  border-top: 2px solid rgba(43, 126, 255, 0.9);
  box-shadow:
    0 -8px 24px rgba(22, 105, 255, 0.42),
    0 28px 78px rgba(0, 0, 0, 0.76),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: dataSliceSweep 3.4s linear infinite;
}

.slice-back {
  --slice-opacity: 0.7;
  left: 18%;
  top: 218px;
  width: 76%;
  height: 70px;
  opacity: 0.7;
}

.slice-back::before {
  clip-path: polygon(10% 0, 100% 0, 88% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(16, 35, 58, 0.55), rgba(4, 9, 17, 0.7)),
    linear-gradient(90deg, rgba(15, 94, 255, 0.32), rgba(255, 255, 255, 0.04), rgba(15, 94, 255, 0.18));
}

.slice-main {
  left: 51%;
  top: 250px;
  width: 330px;
  height: 68px;
  transform: translateX(-50%);
  z-index: 1;
}

.slice-main::before {
  clip-path: polygon(7% 0, 100% 0, 94% 100%, 0 100%);
}

.slice-front {
  left: 4%;
  bottom: 16px;
  width: 92%;
  height: 54px;
  z-index: 0;
}

.slice-front::before {
  clip-path: polygon(4% 0, 100% 0, 95% 100%, 0 100%);
}

.slice-left {
  --slice-opacity: 0.76;
  left: 6%;
  top: 254px;
  width: 180px;
  height: 48px;
  z-index: 1;
  opacity: 0.76;
}

.slice-left::before {
  clip-path: polygon(8% 0, 100% 0, 90% 100%, 0 100%);
  border-top-color: rgba(43, 126, 255, 0.62);
}

.slice-right {
  --slice-opacity: 0.72;
  left: 73%;
  top: 248px;
  width: 156px;
  height: 46px;
  z-index: 1;
  opacity: 0.72;
}

.slice-right::before {
  clip-path: polygon(8% 0, 100% 0, 90% 100%, 0 100%);
  border-top-color: rgba(43, 126, 255, 0.62);
}

.nas {
  --nas-opacity: 1;
  position: absolute;
  z-index: 3;
  opacity: var(--nas-opacity);
  object-fit: contain;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.76));
}

.nas-main {
  left: 51%;
  right: auto;
  top: 138px;
  width: min(326px, 36vw);
  transform: translateX(-50%);
  z-index: 4;
}

.nas-two {
  --nas-opacity: 0.95;
  z-index: 2;
  width: 126px;
  opacity: 0.95;
}

.two-left {
  left: 5%;
  right: auto;
  top: 204px;
}

.two-mid {
  --nas-opacity: 0.9;
  left: 47%;
  right: auto;
  top: 250px;
  z-index: 4;
  width: 110px;
  opacity: 0.9;
}

.two-right {
  left: 78%;
  right: auto;
  top: 216px;
}

.nas-showcase-left {
  left: 1%;
  top: auto;
  bottom: 42px;
  z-index: 7;
  width: min(285px, 28vw);
}

.nas-showcase-right {
  left: 76%;
  top: auto;
  bottom: 42px;
  z-index: 7;
  width: min(232px, 22vw);
  opacity: 0.97;
}

.nas-showcase-front {
  left: 30%;
  top: auto;
  bottom: 20px;
  z-index: 6;
  width: min(444px, 43vw);
  height: 58px;
  opacity: 1;
  object-fit: fill;
  object-position: bottom center;
  filter: brightness(0.64) contrast(1.18) drop-shadow(0 22px 28px rgba(0, 0, 0, 0.7));
}

.showcase .nas-main {
  top: auto;
  bottom: 82px;
  z-index: 8;
  width: min(392px, 38vw);
}

.showcase-rack {
  position: absolute;
  left: 28%;
  bottom: 20px;
  z-index: 6;
  width: min(430px, 42vw);
  height: 60px;
  border: 1px solid rgba(70, 85, 108, 0.86);
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, transparent 0 15%, rgba(95, 111, 138, 0.38) 15.5% 16%, transparent 16.5% 23%),
    linear-gradient(180deg, #171d27, #050810 64%, #02050a);
  box-shadow:
    0 18px 26px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.showcase-rack::before,
.showcase-rack::after {
  position: absolute;
  content: '';
}

.showcase-rack::before {
  inset: 10px 16px;
  background:
    repeating-linear-gradient(90deg, #05070c 0 40px, #121824 40px 46px, #05070c 46px 86px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  border-radius: 3px;
}

.showcase-rack::after {
  right: 13px;
  top: 20px;
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: #79d04f;
  box-shadow:
    -18px 0 0 #79d04f,
    -36px 0 0 #79d04f;
}

.showcase .slice-back {
  left: 4%;
  top: 292px;
  width: 94%;
}

.showcase .slice-main {
  top: 316px;
  width: 520px;
}

.showcase .slice-front {
  bottom: 8px;
}

.showcase .slice-left {
  left: 0;
  top: 318px;
  width: 250px;
}

.showcase .slice-right {
  left: 76%;
  top: 318px;
  width: 210px;
}

.nas-ds220 {
  width: min(345px, 38vw);
}

.hero-model-name {
  position: absolute;
  left: 50%;
  bottom: 2px;
  z-index: 12;
  padding: 6px 12px;
  border: 1px solid rgba(87, 171, 255, 0.42);
  border-radius: 999px;
  background: rgba(4, 16, 39, 0.68);
  color: #a8ddff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(20, 130, 255, 0.28);
}

.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 3px;
  z-index: 8;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.hero-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(103, 166, 255, 0.62);
  border-radius: 999px;
  background: rgba(42, 134, 255, 0.18);
  cursor: pointer;
  transition:
    width 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-slider-dots button.active {
  width: 25px;
  border-color: rgba(77, 156, 255, 0.95);
  background: #2a86ff;
  box-shadow: 0 0 18px rgba(42, 134, 255, 0.55);
}

@keyframes heroSliceIn {
  from {
    opacity: 0;
    translate: 36px 0;
  }

  to {
    opacity: var(--slice-opacity, 1);
    translate: 0 0;
  }
}

@keyframes heroDeviceIn {
  from {
    opacity: 0;
    translate: 28px 0;
    filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.76)) blur(2px);
  }

  to {
    opacity: var(--nas-opacity, 1);
    translate: 0 0;
  }
}

@keyframes dataOrbitFlow {
  to {
    stroke-dashoffset: 114;
  }
}

@keyframes orbitNodeFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes iconDataGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(0, 120, 255, 0.18),
      0 0 22px rgba(15, 134, 255, 0.62),
      inset 0 0 18px rgba(80, 196, 255, 0.16);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(100, 205, 255, 0.5),
      0 0 42px rgba(35, 166, 255, 0.92),
      inset 0 0 28px rgba(110, 215, 255, 0.28);
  }
}

@keyframes shieldReceivePulse {
  0%,
  100% {
    filter: drop-shadow(0 0 24px rgba(16, 128, 255, 0.8));
    opacity: 0.78;
  }

  50% {
    filter: drop-shadow(0 0 44px rgba(64, 186, 255, 1));
    opacity: 0.96;
  }
}

@keyframes dataFloorDrift {
  to {
    background-position:
      110px 0,
      -70px 0,
      55px 0,
      0 22px,
      42px 0,
      0 0;
  }
}

@keyframes dataGridPulse {
  from {
    opacity: 0.68;
    filter: saturate(0.92);
  }

  to {
    opacity: 1;
    filter: saturate(1.2);
  }
}

@keyframes dataSliceSweep {
  to {
    background-position:
      0 0,
      180px 0;
  }
}

@keyframes dataBeamMove {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-22px);
  }

  50% {
    opacity: 1;
    transform: translateX(22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slider-dots button,
  .tech-grid,
  .hero-stage::after,
  .orbit-lines path,
  .orbit-node,
  .orb-icon,
  .security-shield,
  .slice::before,
  .showcase-bg::before,
  .showcase-bg::after {
    animation: none;
    transition: none;
  }

  .hero-slide.active .slice,
  .hero-slide.active .nas {
    animation: none;
  }
}

.panel,
.trust-strip,
.service-strip,
.footer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(14, 24, 45, 0.93), rgba(7, 12, 23, 0.92)),
    radial-gradient(circle at 50% 0, rgba(24, 117, 255, 0.17), transparent 34rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 14px;
  min-height: 62px;
  padding: 14px 34px;
}

.trust-strip article,
.service-strip article {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.trust-strip article + article,
.service-strip article + article {
  border-left: 1px solid var(--line-soft);
  padding-left: 28px;
}

.trust-strip svg,
.service-strip svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--blue-2);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip strong,
.service-strip strong {
  display: block;
  margin-bottom: 5px;
  color: white;
  font-size: 12px;
  line-height: 1.25;
}

.trust-strip span,
.service-strip span {
  color: #c7d0df;
  font-size: 11px;
}

.benefits {
  margin-top: 14px;
  padding: 17px 18px 15px;
}

.benefits h2 {
  margin: 0 0 13px;
  text-align: center;
  font-size: 22px;
  line-height: 1.2;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.benefit-grid article {
  min-height: 148px;
  padding: 14px 10px 12px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 20%, rgba(35, 113, 255, 0.2), transparent 42%),
    rgba(10, 18, 34, 0.82);
}

.glow-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  color: #78b5ff;
  filter: drop-shadow(0 0 18px rgba(52, 122, 255, 0.88));
}

.glow-icon svg {
  width: 100%;
  height: 100%;
  fill: rgba(38, 102, 255, 0.4);
  stroke: #8fd4ff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-grid h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.benefit-grid p {
  margin: 0;
  color: #d4dbe7;
  font-size: 12px;
  line-height: 1.45;
}

.hot,
.products,
.comparison {
  margin-top: 13px;
  padding: 17px 22px 15px;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.section-row h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.arrows {
  display: flex;
  gap: 10px;
}

.arrows button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(145, 167, 207, 0.5);
  border-radius: 8px;
  background: rgba(2, 7, 15, 0.65);
  color: white;
}

.arrows svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.hot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hot-card,
.product-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(31, 109, 255, 0.15), transparent 45%),
    linear-gradient(180deg, rgba(13, 24, 44, 0.94), rgba(8, 14, 26, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.hot-card {
  min-height: 246px;
  padding: 12px 16px 12px;
}

.badge {
  position: absolute;
  top: 17px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
}

.badge.red {
  color: #ff6a76;
  border: 1px solid var(--red);
  background: rgba(255, 33, 52, 0.08);
}

.badge.green {
  color: #4bff9a;
  border: 1px solid var(--green);
  background: rgba(22, 219, 115, 0.08);
}

.badge.blue {
  color: #77b5ff;
  border: 1px solid var(--blue-2);
  background: rgba(34, 126, 255, 0.1);
}

.hot-image {
  display: grid;
  place-items: center;
  height: 104px;
  margin: 0 0 9px;
  background: linear-gradient(180deg, transparent 76%, rgba(0, 100, 255, 0.27));
}

.hot-image img {
  max-width: 88%;
  max-height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 23px 30px rgba(0, 0, 0, 0.72));
}

.hot-card h3,
.product-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.hot-card ul {
  margin: 0 0 8px;
  padding-left: 18px;
  color: #cdd6e4;
  font-size: 10px;
  line-height: 1.38;
}

.hot-card li::marker {
  color: #56a3ff;
}

.hot-card strong {
  display: block;
  margin-bottom: 9px;
  color: white;
  font-size: 16px;
}

.hot-card a {
  width: 100%;
  height: 31px;
  background: linear-gradient(135deg, #0d55d1, #0b2f91);
  color: white;
  font-size: 10px;
}

.product-row {
  align-items: center;
}

.filters {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
}

.filters button,
.view-all {
  height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(15, 24, 42, 0.92);
  color: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.filters button {
  min-width: 58px;
  padding: 0 12px;
}

.filters button.active {
  background: linear-gradient(135deg, #0d58da, #0b349c);
  box-shadow: 0 12px 28px rgba(0, 83, 210, 0.28);
}

.view-all {
  min-width: 127px;
  padding: 0 14px 0 18px;
  border-color: rgba(134, 159, 202, 0.42);
  background: rgba(4, 10, 20, 0.6);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}

.product-card {
  min-height: 242px;
  padding: 10px 11px 11px;
  border-radius: 9px;
}

.product-card .badge {
  top: 13px;
  left: 13px;
}

.product-image {
  display: grid;
  place-items: center;
  height: 68px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, transparent 72%, rgba(0, 92, 255, 0.18));
}

.product-image img {
  max-width: 100%;
  max-height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.65));
}

.product-card h3 {
  margin-bottom: 6px;
  font-size: 13px;
}

.product-card span {
  display: block;
  margin-bottom: 6px;
  color: #c7d0dd;
  font-size: 11px;
}

.product-card strong {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-size: 13px;
}

.compare-toggle {
  width: 100%;
  height: 30px;
  border: 1px solid rgba(66, 143, 255, 0.64);
  border-radius: 7px;
  background: rgba(8, 24, 48, 0.86);
  color: #dcecff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.compare-toggle:hover,
.compare-toggle.selected {
  background: linear-gradient(135deg, #0d58da, #0b349c);
  color: white;
  box-shadow: 0 10px 24px rgba(0, 83, 210, 0.22);
}

.compare-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.spec-pills {
  display: grid;
  gap: 5px;
  margin: 0 0 8px;
}

.spec-pills div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
  padding: 3px 6px;
  border: 1px solid rgba(67, 127, 211, 0.24);
  border-radius: 6px;
  background: rgba(5, 17, 36, 0.62);
}

.spec-pills dt {
  flex: 0 0 auto;
  color: #62a9ff;
  font-size: 9px;
  font-weight: 800;
}

.spec-pills dd {
  margin: 0;
  color: #dce8f7;
  font-size: 9.5px;
  line-height: 1.18;
  font-weight: 700;
  text-align: right;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(4, 11, 22, 0.44);
}

.comparison-summary {
  margin: 0;
  color: #9fc9ff;
  font-size: 12px;
  font-weight: 700;
}

.comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: #d5dfef;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
}

.comparison-table thead th {
  color: #7db8ff;
  background: rgba(16, 45, 88, 0.58);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.comparison-table tbody th {
  color: white;
  font-weight: 800;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody tr:hover {
  background: rgba(22, 104, 218, 0.12);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 58px;
  margin-top: 13px;
  padding: 14px 40px;
}

.footer {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 0.9fr 1.25fr;
  gap: 45px;
  margin-top: 10px;
  padding: 13px 42px 10px;
}

.footer-brand img {
  width: 174px;
}

.footer h3 {
  margin: 0 0 10px;
  color: #2488ff;
  font-size: 12px;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 5px;
  color: #c7d0df;
  font-size: 11px;
  line-height: 1.5;
}

.socials {
  display: flex;
  gap: 13px;
  margin-top: 9px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 50%;
  background: #126ef2;
  color: white;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.copyright {
  margin: 6px 0 0;
  color: rgba(207, 218, 235, 0.48);
  text-align: center;
  font-size: 10px;
}

@media (max-width: 900px) {
  .site-shell {
    padding-inline: 22px;
  }

  .nav {
    gap: 25px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 58px 48px 30px;
  }

  .hero-stage {
    min-height: 500px;
  }

  .benefit-grid,
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip article,
  .trust-strip article + article,
  .service-strip article,
  .service-strip article + article {
    border-left: 0;
    padding-left: 0;
  }

  .hot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-strip,
  .footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .site-shell {
    padding: 22px 14px 12px;
  }

  .header {
    position: relative;
  }

  .brand {
    width: 188px;
    min-width: 188px;
    height: 56px;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 14px);
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(5, 10, 20, 0.98);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 13px 0;
  }

  .menu-btn {
    display: grid;
  }

  .buy-btn,
  .icon-btn {
    display: none;
  }

  .hero {
    padding: 48px 18px 30px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-stage {
    min-height: 480px;
  }

  .hero-stage::after {
    left: 0;
    right: 0;
    bottom: 12px;
    height: 142px;
  }

  .orbit-lines {
    left: -10%;
    top: 16px;
    width: 120%;
    height: 250px;
  }

  .security-shield {
    top: 100px;
    width: 112px;
    height: 124px;
  }

  .orbit-node {
    width: 106px;
    gap: 6px;
  }

  .orbit-node strong {
    font-size: 9.5px;
  }

  .orb-icon {
    width: 60px;
    height: 60px;
    padding: 13px;
  }

  .node-storage {
    left: -4px;
    top: 82px;
  }

  .node-sync {
    top: 10px;
  }

  .node-camera {
    right: -4px;
    top: 82px;
  }

  .node-network {
    display: none;
  }

  .nas-main {
    right: 48px;
    left: auto;
    top: 186px;
    width: 300px;
    transform: none;
  }

  .nas-two {
    width: 126px;
  }

  .two-left {
    left: 4px;
    right: auto;
    top: 284px;
    transform: none;
  }

  .two-mid {
    left: 128px;
    right: auto;
    top: 328px;
    width: 104px;
    transform: none;
  }

  .two-right {
    right: -4px;
    left: auto;
    top: 254px;
    transform: none;
  }

  .slice-main {
    right: 44px;
    left: auto;
    top: 316px;
    width: 250px;
    height: 72px;
    transform: none;
  }

  .slice-front {
    left: 30px;
    width: 330px;
    bottom: 42px;
  }

  .slice-left {
    left: 0;
    top: 344px;
    width: 150px;
  }

  .slice-right {
    left: auto;
    right: 0;
    top: 326px;
    width: 120px;
  }

  .slice-back {
    left: 82px;
    top: 276px;
    width: 282px;
  }

  .showcase .nas-main {
    right: 52px;
    top: auto;
    bottom: 92px;
    width: 256px;
  }

  .showcase .nas-showcase-left {
    left: 0;
    top: auto;
    bottom: 70px;
    width: 174px;
  }

  .showcase .nas-showcase-right {
    right: 0;
    left: auto;
    top: auto;
    bottom: 70px;
    width: 118px;
  }

  .showcase .nas-showcase-front {
    left: 74px;
    top: auto;
    bottom: 42px;
    width: 250px;
    height: 40px;
  }

  .showcase-rack {
    left: 78px;
    bottom: 40px;
    width: 250px;
    height: 42px;
  }

  .showcase .slice-back {
    left: 0;
    top: 300px;
    width: 368px;
  }

  .showcase .slice-main {
    right: 18px;
    top: 334px;
    width: 340px;
  }

  .showcase .slice-left {
    left: -6px;
    top: 340px;
    width: 176px;
  }

  .showcase .slice-right {
    right: -6px;
    left: auto;
    top: 340px;
    width: 128px;
  }

  .showcase .slice-front {
    left: 4px;
    bottom: 22px;
    width: 360px;
  }

  .hero-model-name {
    bottom: 10px;
  }

  .trust-strip,
  .benefit-grid,
  .hot-grid,
  .service-strip,
  .footer {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .service-strip,
  .footer {
    padding: 24px;
  }

  .section-row,
  .product-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .header-actions {
    gap: 6px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-buttons a {
    width: 100%;
  }

  .benefits h2,
  .section-row h2 {
    font-size: 25px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    gap: 26px;
  }
}

@media (max-width: 860px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 0;
    padding: 14px;
  }

  .trust-strip article,
  .trust-strip article + article {
    align-items: flex-start;
    gap: 9px;
    min-height: 60px;
    padding: 10px;
    border: 1px solid rgba(74, 101, 150, 0.22);
    border-radius: 8px;
    background: rgba(8, 18, 37, 0.54);
  }

  .trust-strip svg {
    width: 24px;
    height: 24px;
  }

  .trust-strip strong {
    margin-bottom: 4px;
    font-size: 11px;
  }

  .trust-strip span {
    font-size: 10px;
    line-height: 1.35;
  }

  .benefits {
    padding: 16px 12px;
    overflow: hidden;
  }

  .benefits h2 {
    font-size: 25px;
  }

  .benefit-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding: 0 2px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .benefit-grid::-webkit-scrollbar {
    display: none;
  }

  .benefit-grid article {
    flex: 0 0 82%;
    min-height: 132px;
    padding: 14px 18px;
    scroll-snap-align: center;
  }

  .glow-icon {
    width: 43px;
    height: 43px;
    margin-bottom: 8px;
  }

  .hot,
  .products,
  .comparison {
    padding: 18px 14px 16px;
  }

  .hot-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hot-card,
  .product-card {
    display: grid;
    grid-template-columns: minmax(150px, 44%) 1fr;
    column-gap: 14px;
    align-items: center;
    min-height: 190px;
    padding: 15px 14px;
    border-radius: 12px;
  }

  .hot-image,
  .product-image {
    grid-row: 1 / span 7;
    height: 132px;
    margin: 0;
    border-radius: 8px;
  }

  .hot-image img,
  .product-image img {
    max-width: 108%;
    max-height: 130px;
  }

  .hot-card h3,
  .product-card h3 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.2;
  }

  .hot-card ul {
    margin: 0 0 7px;
    padding-left: 14px;
    font-size: 9.5px;
    line-height: 1.32;
  }

  .hot-card strong,
  .product-card strong {
    margin: 0 0 8px;
    font-size: 15px;
  }

  .hot-card a {
    height: 34px;
  }

  .compare-toggle {
    height: 32px;
    font-size: 10px;
  }

  .product-card span {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .spec-pills {
    gap: 4px;
    margin-bottom: 7px;
  }

  .spec-pills div {
    min-height: 20px;
    padding: 3px 5px;
  }

  .spec-pills dt {
    font-size: 8px;
  }

  .spec-pills dd {
    font-size: 9px;
  }

  .comparison-table {
    min-width: 720px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 11px;
    font-size: 11px;
  }

  .product-card .badge,
  .hot-card .badge {
    top: 12px;
    left: 13px;
  }
}

@media (max-width: 560px) {
  .trust-strip {
    gap: 8px;
    padding: 12px;
  }

  .trust-strip article,
  .trust-strip article + article {
    gap: 7px;
    padding: 9px 8px;
  }

  .hot-card,
  .product-card {
    grid-template-columns: 48% 1fr;
    min-height: 196px;
    column-gap: 11px;
  }

  .hot-image,
  .product-image {
    height: 146px;
  }

  .hot-image img,
  .product-image img {
    max-height: 144px;
  }

  .product-card h3 {
    font-size: 13.5px;
  }

  .spec-pills div {
    gap: 5px;
  }

  .comparison .section-row {
    gap: 8px;
  }

  .comparison-summary {
    font-size: 11px;
    line-height: 1.35;
  }

  .comparison-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody {
    display: grid;
    gap: 10px;
  }

  .comparison-table tr {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background:
      radial-gradient(circle at 24% 12%, rgba(25, 118, 255, 0.18), transparent 48%),
      rgba(8, 17, 32, 0.82);
  }

  .comparison-table tbody th {
    margin-bottom: 8px;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
  }

  .comparison-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(74, 101, 150, 0.14);
    white-space: normal;
  }

  .comparison-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: #7db8ff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .comparison-table td:last-child {
    border-bottom: 0;
  }
}

/* Ecommerce upgrade: product detail + cart flow */
.product-image {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card > strong {
  margin-top: auto;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-bottom: 8px;
}

.detail-btn,
.cart-add,
.hot-detail,
.modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(74, 151, 255, 0.62);
  border-radius: 7px;
  background: rgba(8, 24, 48, 0.86);
  color: #e7f1ff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.detail-btn:hover,
.hot-detail:hover,
.modal-actions a:hover {
  background: rgba(31, 91, 180, 0.44);
}

.cart-add,
.cart-add.primary {
  border-color: rgba(40, 219, 128, 0.74);
  background: linear-gradient(135deg, rgba(23, 201, 110, 0.95), rgba(8, 120, 72, 0.92));
  color: white;
  box-shadow: 0 10px 24px rgba(17, 196, 104, 0.18);
}

.cart-add:hover {
  filter: brightness(1.08);
}

.hot-detail {
  width: 100%;
  background: linear-gradient(135deg, #0d55d1, #0b2f91);
  color: white;
}

body.modal-open {
  overflow: hidden;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 4, 12, 0.76);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  border: 1px solid rgba(82, 143, 230, 0.38);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(43, 132, 255, 0.20), transparent 32%),
    linear-gradient(180deg, rgba(11, 20, 38, 0.98), rgba(5, 10, 21, 0.99));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 14px 14px 0 0;
  border: 1px solid rgba(142, 170, 214, 0.36);
  border-radius: 50%;
  background: rgba(6, 12, 24, 0.86);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

#modalContent {
  padding: 30px;
}

.modal-product {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.modal-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 270px;
  border: 1px solid rgba(66, 132, 230, 0.24);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 30, 58, 0.74), rgba(4, 11, 22, 0.78));
}

.modal-media img {
  max-width: 88%;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.68));
}

.modal-kicker {
  margin: 0 0 8px;
  color: #68adff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-info h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
}

.modal-price {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 25px;
}

.modal-trust {
  margin: 0 0 18px;
  color: #cbd8eb;
  font-size: 14px;
  line-height: 1.65;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-actions .cart-add,
.modal-actions a {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.modal-grid article {
  border: 1px solid rgba(67, 127, 211, 0.24);
  border-radius: 15px;
  background: rgba(4, 12, 25, 0.58);
  padding: 16px;
}

.modal-grid h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
}

.tech-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.tech-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(87, 124, 185, 0.18);
}

.tech-list dt {
  color: #6eb0ff;
  font-size: 11px;
  font-weight: 800;
}

.tech-list dd {
  margin: 0;
  color: #dfe9f8;
  font-size: 12px;
  line-height: 1.35;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 18px;
  color: #d7e3f3;
  font-size: 12px;
  line-height: 1.4;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--green);
  content: '✓';
  font-weight: 900;
}

.cart-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  transform: translateY(18px);
  opacity: 0;
  padding: 13px 16px;
  border: 1px solid rgba(39, 223, 125, 0.55);
  border-radius: 12px;
  background: rgba(3, 22, 16, 0.94);
  color: #eafff3;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  font-size: 13px;
  font-weight: 800;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .modal-product,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  #modalContent {
    padding: 22px;
  }

  .modal-media {
    min-height: 220px;
  }
}

/* Mobile product-card balance patch */
.product-card {
  overflow: hidden;
}

.product-basic {
  display: contents;
}

.option-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(74, 151, 255, 0.62);
  border-radius: 7px;
  background: rgba(8, 24, 48, 0.86);
  color: #e7f1ff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.option-btn:first-child {
  border-color: rgba(40, 219, 128, 0.74);
  background: linear-gradient(135deg, rgba(23, 201, 110, 0.95), rgba(8, 120, 72, 0.92));
  color: white;
  box-shadow: 0 10px 24px rgba(17, 196, 104, 0.18);
}

.option-btn.muted {
  background: rgba(10, 30, 58, 0.88);
}

.product-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 8px;
}

@media (min-width: 861px) {
  .product-options {
    margin-bottom: 8px;
  }
}

@media (max-width: 860px) {
  .product-card {
    display: grid;
    grid-template-columns: minmax(132px, 39%) minmax(0, 1fr) minmax(92px, 24%);
    grid-template-areas:
      "image info options";
    gap: 12px;
    align-items: stretch;
    min-height: 170px;
    padding: 13px;
    border-radius: 14px;
  }

  .product-card .badge {
    top: 10px;
    left: 10px;
  }

  .product-image {
    grid-area: image;
    align-self: stretch;
    min-height: 144px;
    height: auto;
    margin: 0;
    border-radius: 12px;
    background:
      radial-gradient(circle at 50% 34%, rgba(47, 107, 255, 0.22), transparent 60%),
      linear-gradient(180deg, rgba(8, 20, 40, 0.28), rgba(0, 92, 255, 0.16));
  }

  .product-image img {
    max-width: 108%;
    max-height: 142px;
  }

  .product-basic {
    grid-area: info;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
  }

  .product-basic h3,
  .product-basic span,
  .product-basic .spec-pills,
  .product-basic strong {
    margin-left: 0;
    margin-right: 0;
  }

  .product-basic h3 {
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.12;
  }

  .product-basic span {
    margin-bottom: 7px;
    font-size: 10.5px;
    line-height: 1.25;
  }

  .product-basic strong {
    margin: 0;
    font-size: 15px;
  }

  .product-basic .spec-pills {
    gap: 4px;
    margin-bottom: 8px;
  }

  .product-basic .spec-pills div {
    min-height: 21px;
    padding: 3px 6px;
  }

  .product-options {
    grid-area: options;
    align-self: center;
    margin: 0;
  }

  .option-btn,
  .compare-toggle {
    min-height: 36px;
    height: auto;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.15;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .products {
    padding-inline: 10px;
  }

  .product-card {
    grid-template-columns: 34% minmax(0, 1fr) 78px;
    gap: 8px;
    min-height: 150px;
    padding: 10px;
  }

  .product-image {
    min-height: 130px;
  }

  .product-image img {
    max-width: 118%;
    max-height: 126px;
  }

  .product-basic h3 {
    font-size: 14px;
  }

  .product-basic span {
    font-size: 9.5px;
  }

  .product-basic .spec-pills dd {
    font-size: 8.4px;
  }

  .product-basic .spec-pills dt {
    font-size: 7.8px;
  }

  .product-basic strong {
    font-size: 14px;
  }

  .product-options {
    gap: 6px;
  }

  .option-btn,
  .compare-toggle {
    min-height: 34px;
    padding-inline: 5px;
    font-size: 9px;
  }
}

/* Hotfix 2026-05-08: mobile product cards, prevent squeezed 3-column layout */
@media (max-width: 860px) {
  .product-card {
    display: grid !important;
    grid-template-columns: minmax(118px, 38%) minmax(0, 1fr) !important;
    grid-template-areas:
      "image info"
      "image options" !important;
    gap: 10px 12px !important;
    align-items: stretch !important;
    min-height: 174px !important;
    padding: 12px !important;
  }

  .product-image {
    grid-area: image !important;
    min-height: 150px !important;
    height: 100% !important;
    align-self: stretch !important;
  }

  .product-image img {
    max-width: 112% !important;
    max-height: 142px !important;
  }

  .product-basic {
    grid-area: info !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    padding-top: 2px !important;
  }

  .product-basic h3 {
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  .product-basic span {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  .product-basic .spec-pills {
    margin-bottom: 7px !important;
  }

  .product-basic .spec-pills div {
    min-height: 19px !important;
    padding: 2px 5px !important;
  }

  .product-basic .spec-pills dt {
    font-size: 7.5px !important;
  }

  .product-basic .spec-pills dd {
    font-size: 8.2px !important;
    overflow-wrap: anywhere !important;
  }

  .product-basic strong {
    font-size: 14px !important;
  }

  .product-options {
    grid-area: options !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    align-self: end !important;
    margin: 0 !important;
  }

  .option-btn,
  .compare-toggle {
    min-height: 32px !important;
    height: auto !important;
    padding: 0 5px !important;
    border-radius: 8px !important;
    font-size: 8.8px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }
}

@media (max-width: 380px) {
  .product-card {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  .product-options {
    grid-template-columns: 1fr !important;
  }

  .option-btn,
  .compare-toggle {
    min-height: 28px !important;
  }
}

/* Hotfix 2026-05-08: lower sections mobile balance */
.lead-strip,
.sales-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lead-strip {
  margin: 14px 0 16px;
}

.lead-strip article,
.sales-steps article {
  min-width: 0;
  border: 1px solid rgba(74, 101, 150, 0.26);
  border-radius: 12px;
  background: rgba(8, 18, 37, 0.58);
  padding: 13px 14px;
}

.lead-strip strong,
.sales-steps h3 {
  display: block;
  margin: 0 0 6px;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
}

.lead-strip span,
.sales-steps p,
.support-band p {
  color: #c7d0df;
  font-size: 12px;
  line-height: 1.45;
}

.sales-flow,
.support-band {
  margin-top: 13px;
  padding: 18px 22px;
}

.sales-steps article span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 9px;
  border-radius: 50%;
  background: #2f6bff;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.band-kicker {
  margin: 0 0 7px !important;
  color: #66adff !important;
  font-size: 11px !important;
  font-weight: 800;
}

.support-band h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
}

.support-band p:last-child {
  margin: 0;
}

.support-actions {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.support-actions a {
  min-height: 42px;
  padding: 0 16px;
}

@media (max-width: 900px) {
  .lead-strip,
  .sales-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-band {
    grid-template-columns: 1fr;
  }

  .support-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .lead-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 12px 0 14px;
  }

  .lead-strip article {
    padding: 11px 12px;
  }

  .lead-strip strong {
    font-size: 12px;
  }

  .lead-strip span {
    font-size: 10.5px;
  }

  .sales-flow,
  .support-band {
    padding: 16px 12px;
  }

  .sales-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sales-steps article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    padding: 12px;
  }

  .sales-steps article span {
    grid-row: 1 / span 2;
    width: 30px;
    height: 30px;
    margin: 0;
  }

  .sales-steps h3 {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .sales-steps p {
    margin: 0;
    font-size: 10.8px;
  }

  .support-band h2 {
    font-size: 20px;
  }

  .support-band p {
    font-size: 11.5px;
  }

  .support-actions {
    grid-template-columns: 1fr;
  }

  .support-actions a {
    width: 100%;
    min-height: 40px;
  }
}

/* Hotfix 2026-05-08: lead/cam-ket cards as two columns with device images */
.lead-device-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.lead-device-grid article {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 104px;
  padding: 12px 14px !important;
  overflow: hidden;
}

.lead-device-grid img {
  width: 104px;
  max-height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.5));
}

.lead-device-grid strong {
  font-size: 13px !important;
}

.lead-device-grid span {
  font-size: 11px !important;
  line-height: 1.38 !important;
}

@media (max-width: 560px) {
  .lead-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .lead-device-grid article {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    align-content: start !important;
    min-height: 156px;
    padding: 10px 8px !important;
    text-align: center;
  }

  .lead-device-grid img {
    justify-self: center;
    width: 96px;
    max-width: 100%;
    max-height: 72px;
  }

  .lead-device-grid strong {
    margin-bottom: 4px !important;
    font-size: 11.5px !important;
  }

  .lead-device-grid span {
    font-size: 9.8px !important;
    line-height: 1.3 !important;
  }
}

/* Final hotfix 2026-05-08: lead device cards vertical on mobile */
@media (max-width: 560px) {
  .lead-strip.lead-device-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .lead-strip.lead-device-grid article {
    display: grid !important;
    grid-template-columns: 118px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    min-height: 118px !important;
    padding: 12px !important;
    text-align: left !important;
  }

  .lead-strip.lead-device-grid img {
    display: block !important;
    width: 118px !important;
    max-width: 118px !important;
    max-height: 96px !important;
    object-fit: contain !important;
    justify-self: center !important;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55)) !important;
  }

  .lead-strip.lead-device-grid article > div {
    min-width: 0 !important;
  }

  .lead-strip.lead-device-grid strong {
    display: block !important;
    margin-bottom: 5px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .lead-strip.lead-device-grid span {
    display: block !important;
    font-size: 10.8px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 380px) {
  .lead-strip.lead-device-grid article {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .lead-strip.lead-device-grid img {
    width: 100px !important;
    max-width: 100px !important;
    max-height: 84px !important;
  }
}

/* Final hotfix 2026-05-08: comparison mobile as clean vertical cards */
@media (max-width: 560px) {
  .comparison {
    padding: 16px 10px !important;
  }

  .comparison .section-row {
    margin-bottom: 12px !important;
  }

  .comparison-table-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .comparison-table thead {
    display: none !important;
  }

  .comparison-table tbody {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .comparison-table tr {
    padding: 12px !important;
    border: 1px solid rgba(74, 151, 255, 0.28) !important;
    border-radius: 14px !important;
    background:
      radial-gradient(circle at 20% 0%, rgba(47, 107, 255, 0.18), transparent 42%),
      rgba(8, 17, 32, 0.88) !important;
    box-shadow: none !important;
  }

  .comparison-table tbody th {
    margin: 0 0 9px !important;
    padding: 0 0 9px !important;
    border-bottom: 1px solid rgba(74, 101, 150, 0.22) !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  .comparison-table td {
    display: grid !important;
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid rgba(74, 101, 150, 0.14) !important;
    color: #dce8f7 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
  }

  .comparison-table td::before {
    content: attr(data-label) !important;
    color: #7db8ff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
  }

  .comparison-table td:last-child {
    border-bottom: 0 !important;
  }
}

/* Final comparison layout: two vertical product columns with images */
.compare-product-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-product-head img {
  width: 74px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.45));
}

.compare-product-head strong,
.compare-product-head em {
  display: block;
}

.compare-product-head em {
  margin-top: 3px;
  color: #9fc9ff;
  font-size: 11px;
  font-style: normal;
}

@media (max-width: 560px) {
  .comparison-table tbody {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .comparison-table tr {
    min-width: 0 !important;
    padding: 10px 8px !important;
  }

  .comparison-table tbody th {
    text-align: center !important;
  }

  .compare-product-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    justify-items: center !important;
  }

  .compare-product-head img {
    width: 112px !important;
    max-width: 100% !important;
    height: 86px !important;
  }

  .compare-product-head strong {
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  .compare-product-head em {
    color: #9fc9ff !important;
    font-size: 11px !important;
  }

  .comparison-table td {
    display: block !important;
    padding: 7px 0 !important;
    font-size: 10px !important;
    line-height: 1.32 !important;
    text-align: center !important;
  }

  .comparison-table td::before {
    display: block !important;
    margin-bottom: 3px !important;
    font-size: 8px !important;
    text-align: center !important;
  }

  .comparison-table td[data-label="Giá"] {
    display: none !important;
  }
}

/* Comparison swap affordance */
.compare-product-head {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  width: 100%;
  padding: 0;
}

.compare-product-head small {
  display: block;
  margin-top: 5px;
  color: #16db73;
  font-size: 10px;
  font-weight: 800;
}

.compare-product-head:hover strong {
  color: #8ec0ff;
}

@media (max-width: 560px) {
  .compare-product-head {
    min-height: 132px;
    border-radius: 12px;
  }

  .compare-product-head small {
    font-size: 9px;
  }
}

/* Comparison direct model select */
.compare-product-head {
  cursor: default;
}

.compare-select {
  width: 100%;
  min-height: 34px;
  margin-top: 8px;
  padding: 0 10px;
  border: 1px solid rgba(74, 151, 255, 0.54);
  border-radius: 9px;
  background: rgba(5, 14, 30, 0.94);
  color: #eef6ff;
  font-size: 11px;
  font-weight: 800;
  outline: none;
}

.compare-select:focus {
  border-color: #2f6bff;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18);
}

@media (max-width: 560px) {
  .compare-select {
    min-height: 32px;
    padding: 0 6px;
    font-size: 9.2px;
  }
}

/* Mobile-only filter order: 2 Bay first, All last, hide View all */
@media (max-width: 860px) {
  .product-row .view-all {
    display: none !important;
  }

  .filters button[data-filter="2"] { order: 1; }
  .filters button[data-filter="4"] { order: 2; }
  .filters button[data-filter="5"] { order: 3; }
  .filters button[data-filter="8"] { order: 4; }
  .filters button[data-filter="12"] { order: 5; }
  .filters button[data-filter="all"] { order: 99; }
}

/* Footer social icons: Facebook / Zalo / Shopee */
.socials a.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 10px;
  letter-spacing: -0.02em;
}

.socials a.facebook {
  border-radius: 50%;
  background: #1877f2;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.socials a.zalo {
  background: #0068ff;
  font-size: 8.5px;
  font-weight: 900;
}

.socials a.shopee {
  background: #ee4d2d;
  font-size: 15px;
  font-weight: 900;
}

.socials a.youtube {
  background: #ff0033;
  font-size: 11px;
}

/* Floating quick contact buttons */
.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  gap: 10px;
}

.floating-contact a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.float-chat {
  background: linear-gradient(135deg, #2f6bff, #7b5cff);
}

.float-zalo {
  background: #0068ff;
  font-size: 11px !important;
  letter-spacing: -0.03em;
}

.float-phone {
  background: linear-gradient(135deg, #16db73, #0a9b55);
}

@media (max-width: 560px) {
  .floating-contact {
    right: 12px;
    bottom: 14px;
    gap: 8px;
  }

  .floating-contact a {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .float-zalo {
    font-size: 10px !important;
  }
}

/* SEO news section */
.news-seo {
  margin-top: 13px;
  padding: 20px 22px;
}

.news-row {
  align-items: flex-end;
}

.news-intro {
  max-width: 420px;
  margin: 0;
  color: #c7d0df;
  font-size: 12px;
  line-height: 1.5;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-card {
  overflow: hidden;
  border: 1px solid rgba(74, 151, 255, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 107, 255, 0.16), transparent 48%),
    rgba(7, 15, 29, 0.82);
}

.news-card img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  padding: 18px 18px 8px;
  background: linear-gradient(180deg, rgba(20, 48, 92, 0.42), rgba(7, 15, 29, 0));
  filter: drop-shadow(0 20px 26px rgba(0,0,0,.45));
}

.news-card div {
  padding: 0 16px 16px;
}

.news-tag {
  margin: 0 0 8px;
  color: #6eb0ff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
  line-height: 1.28;
}

.news-card p:not(.news-tag) {
  margin: 0 0 12px;
  color: #cdd8e8;
  font-size: 12px;
  line-height: 1.5;
}

.news-card a {
  color: #8ec0ff;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .news-seo {
    padding: 16px 12px;
  }

  .news-row {
    gap: 8px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
  }

  .news-card img {
    height: 118px;
    padding: 12px 8px;
  }

  .news-card div {
    padding: 12px 12px 12px 0;
  }

  .news-card h3 {
    font-size: 13px;
  }

  .news-card p:not(.news-tag) {
    font-size: 10.5px;
    line-height: 1.38;
  }

  .news-card a {
    font-size: 10.5px;
  }
}

/* News compact/home + mobile separate page */
.nav-news-mobile {
  display: none;
}

.news-home .news-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.news-home .news-card img {
  height: 92px;
  padding: 12px 12px 4px;
}

.news-home .news-card div {
  padding: 0 11px 12px;
}

.news-home .news-card h3 {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.25;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-home .news-card p:not(.news-tag) {
  display: none;
}

.news-home .news-card a {
  font-size: 10px;
}

.news-page-shell .news-seo {
  margin-top: 18px;
}

.news-page .news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-page .news-card img {
  height: 170px;
}

@media (max-width: 860px) {
  .nav-news-desktop {
    display: none !important;
  }

  .nav-news-mobile {
    display: block;
  }

  .news-home {
    display: none !important;
  }

  .news-page-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
  }
}

@media (max-width: 560px) {
  .news-page-shell {
    padding-inline: 12px;
  }

  .news-page .section-row {
    margin-bottom: 12px;
  }

  .news-page .news-grid {
    grid-template-columns: 1fr;
  }

  .news-page .news-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }
}
