:root {
  --bg-deep: #050810;
  --bg-panel: #0c1222;
  --bg-panel-2: #111827;
  --line: rgba(56, 189, 248, 0.15);
  --line-strong: rgba(56, 189, 248, 0.35);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #818cf8;
  --glow: rgba(34, 211, 238, 0.45);
  --radius: 14px;
  --header-h: 72px;
  --page-max: 1200px;
  --page-width: min(var(--page-max), calc(100vw - 48px));
  --page-gutter: max(24px, calc((100vw - var(--page-width)) / 2));
  --hero-col-gap: 16px;
  --hero-left-ratio: 0.34;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Orbitron", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 211, 238, 0.45) rgba(8, 14, 28, 0.95);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 211, 238, 0.4) rgba(8, 14, 28, 0.9);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(8, 14, 28, 0.92);
  border-left: 1px solid rgba(56, 189, 248, 0.08);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.55), rgba(59, 130, 246, 0.45));
  border-radius: 999px;
  border: 2px solid rgba(5, 8, 16, 0.85);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.8), rgba(59, 130, 246, 0.65));
}

*::-webkit-scrollbar-corner {
  background: rgba(8, 14, 28, 0.92);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--page-width);
  margin: 0 auto;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(34, 211, 238, 0.08), transparent),
    linear-gradient(var(--bg-deep), var(--bg-deep));
}

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 4px
  );
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 16, 0.82);
}

.header-inner {
  width: var(--page-width);
  margin: 0 auto;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.logo-text {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.15);
}

.nav a:hover,
.nav a.active {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* Hero — first screen layout */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 0;
  overflow: hidden;
  --hero-inset: 100px;
  --hero-width: calc(100vw - var(--hero-inset) * 2);
  --hero-showcase-top: 108px;
  --hero-head-carousel-gap: 20px;
}

/* Wireframe hero — carousel full size underneath, theme + tabs overlay */
.hero--carousel-focus {
  --hero-showcase-top: 12px;
  --hero-inset: 64px;
  --hero-width: calc(100vw - var(--hero-inset) * 2);
  --hero-tabs-col: 136px;
  --hero-tabs-offset-x: 50px;
  --hero-img-scale: 1.02;
  --hero-stage-offset-x: 200px;
}

.hero--carousel-focus .hero-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: auto;
  max-width: none;
  margin: 0;
  min-height: 0;
  display: block;
  pointer-events: none;
}

.hero--carousel-focus .hero-theme,
.hero--carousel-focus .hero-showcase-tabs {
  pointer-events: auto;
}

.hero--carousel-focus .hero-theme {
  position: absolute;
  left: var(--hero-inset);
  top: 50%;
  transform: translateY(-50%);
  width: min(calc(var(--hero-width) * var(--hero-left-ratio)), 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
  z-index: 2;
}

.hero--carousel-focus .hero-showcase-spacer {
  display: none;
}

.hero--carousel-focus .hero-showcase-tabs {
  position: absolute;
  right: calc(var(--hero-inset) - var(--hero-tabs-offset-x));
  top: 50%;
  transform: translateY(-50%);
  width: var(--hero-tabs-col);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 4;
  pointer-events: auto;
}

.hero--carousel-focus .hero-desc {
  max-width: none;
  line-height: 1.8;
}

.hero--carousel-focus .hero-stats strong {
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.hero--carousel-focus .hero-stats span {
  font-size: 15px;
}

.hero--carousel-focus .hero-stats {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero--carousel-focus .hero-stats li {
  min-width: 0;
  width: 100%;
}

.hero--carousel-focus .carousel-tabs--vertical {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.hero--carousel-focus .carousel-tabs--vertical .carousel-tab {
  width: 100%;
  padding: 12px 10px;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.hero--carousel-focus .hero-3d-stage {
  left: var(--hero-inset);
  right: var(--hero-inset);
  top: 12px;
  bottom: 16px;
  z-index: 2;
  transform: translateX(var(--hero-stage-offset-x));
}

.hero--carousel-focus .hero-3d-scene {
  transform: rotateX(calc(var(--py, 0) * -1deg)) rotateY(calc(var(--px, 0) * 1deg)) scale(var(--hero-img-scale));
}

.hero--carousel-focus .hero-3d-orbit {
  display: none;
}

.hero--carousel-focus .hero-bg-overlay {
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.45) 0%, transparent 14%),
    linear-gradient(0deg, rgba(5, 8, 16, 0.35) 0%, transparent 12%);
}

.hero--carousel-focus .hero-bg-carousel::before {
  left: var(--hero-inset);
  right: var(--hero-inset);
  top: 2%;
  height: min(92vh, 920px);
}

.hero--carousel-focus .hero-bg-carousel::after {
  inset: 1% var(--hero-inset);
  mask-image: radial-gradient(ellipse 98% 92% at calc(50% + var(--hero-stage-offset-x)) 52%, black 0%, transparent 82%);
}

.hero--carousel-focus .hero-3d-card--desktop {
  width: min(100%, 1220px);
}

.hero--carousel-focus .hero-3d-card--wide {
  width: min(100%, 1320px);
}

.hero--carousel-focus .hero-3d-phone {
  width: clamp(148px, 24%, 280px);
}

.hero--carousel-focus .hero-3d-phone--center {
  width: clamp(176px, 30%, 330px);
}

.hero--carousel-focus .hero-3d-phone--left {
  transform: translate(calc(-50% - 122%), -50%) rotateY(28deg) rotateX(4deg) translateZ(-60px) scale(0.94);
}

.hero--carousel-focus .hero-3d-phone--right {
  transform: translate(calc(-50% + 122%), -50%) rotateY(-28deg) rotateX(4deg) translateZ(-60px) scale(0.94);
}

.hero--carousel-focus .hero-3d-panel--main {
  width: min(100%, 1120px);
}

.hero--carousel-focus .hero-3d-panel--dialog {
  width: min(24%, 200px);
}

.hero .hero-stage {
  width: var(--hero-width);
  max-width: none;
  margin: 0 var(--hero-inset);
  padding: 0;
}

.hero-bg-carousel::before {
  content: "";
  position: absolute;
  top: 10%;
  left: var(--hero-inset);
  right: var(--hero-inset);
  width: auto;
  height: min(74vh, 700px);
  background:
    radial-gradient(ellipse at center, rgba(34, 211, 238, 0.16) 0%, transparent 68%),
    radial-gradient(ellipse at 70% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-carousel::after {
  content: "";
  position: absolute;
  inset: 8% var(--hero-inset);
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 90% 80% at 55% 50%, black 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s ease, visibility 0.85s;
}

.hero-bg-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Hero 3D showcase */
.hero-3d-stage {
  position: absolute;
  z-index: 2;
  left: calc(var(--hero-inset) + var(--hero-width) * var(--hero-left-ratio) + var(--hero-col-gap));
  right: var(--hero-inset);
  top: var(--hero-showcase-top);
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  pointer-events: none;
  overflow: visible;
}

.hero-3d-orbit {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(92%, 760px);
  aspect-ratio: 1.6;
  transform: translate(-50%, -50%) rotateX(72deg);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 50%;
  box-shadow:
        0 0 40px rgba(34, 211, 238, 0.08),
    inset 0 0 30px rgba(34, 211, 238, 0.06);
  opacity: 0.55;
  animation: heroOrbitSpin 24s linear infinite;
}

.hero-3d-orbit::before,
.hero-3d-orbit::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(56, 189, 248, 0.14);
  border-radius: 50%;
}

.hero-3d-orbit::after {
  inset: 36%;
  animation: heroOrbitSpin 18s linear infinite reverse;
}

.hero-3d-orbit--phones {
  width: min(88%, 520px);
  aspect-ratio: 0.72;
  top: 50%;
}

.hero-3d-orbit--wide {
  width: min(96%, 920px);
  aspect-ratio: 2.1;
}

.hero-3d-orbit--duo {
  width: min(94%, 820px);
  aspect-ratio: 1.35;
}

.hero-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  --px: 0;
  --py: 0;
  transform: rotateX(calc(var(--py) * -1deg)) rotateY(calc(var(--px) * 1deg));
  transition: transform 0.35s ease;
}

.hero-3d-scene img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-3d-card,
.hero-3d-phone,
.hero-3d-panel {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-3d-card-glow,
.hero-3d-phone-glow,
.hero-3d-panel-glow {
  position: absolute;
  inset: -8%;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.28) 0%, rgba(59, 130, 246, 0.12) 38%, transparent 72%);
  filter: blur(28px);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.hero-3d-card-glow--cyan {
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.35) 0%, rgba(14, 165, 233, 0.14) 42%, transparent 74%);
}

.hero-3d-card-body,
.hero-3d-phone-body,
.hero-3d-panel-body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  line-height: 0;
}

.hero-3d-card-shine {
  display: none;
}

/* Slide 1 — single desktop */
.hero-3d-scene--single {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-card--desktop {
  left: 50%;
  top: 50%;
  width: min(100%, 920px);
  transform: translate(-50%, -50%) rotateY(-10deg) rotateX(5deg) translateZ(40px);
  animation: heroDesktopFloat 8s ease-in-out infinite alternate;
}

.hero-bg-slide.active[data-index="0"] .hero-3d-card--desktop {
  animation: heroDesktopEnter 1s cubic-bezier(0.22, 1, 0.36, 1) forwards, heroDesktopFloat 8s ease-in-out 1s infinite alternate;
}

/* Slide 2 — triple phones */
.hero-3d-scene--triple {
  display: block;
}

.hero-3d-phone {
  width: clamp(120px, 22%, 210px);
}

.hero-3d-phone--left {
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% - 118%), -50%) rotateY(28deg) rotateX(4deg) translateZ(-60px) scale(0.9);
  opacity: 0.82;
  animation: heroPhoneLeftFloat 9s ease-in-out infinite alternate;
}

.hero-3d-phone--center {
  left: 50%;
  top: 50%;
  width: clamp(140px, 26%, 240px);
  transform: translate(-50%, -50%) rotateY(0deg) rotateX(2deg) translateZ(80px) scale(1.04);
  z-index: 3;
  animation: heroPhoneCenterFloat 7s ease-in-out infinite alternate;
}

.hero-3d-phone--right {
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + 118%), -50%) rotateY(-28deg) rotateX(4deg) translateZ(-60px) scale(0.9);
  opacity: 0.82;
  animation: heroPhoneRightFloat 9s ease-in-out infinite alternate;
}

.hero-bg-slide.active[data-index="1"] .hero-3d-phone--left {
  animation: heroPhoneLeftEnter 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards, heroPhoneLeftFloat 9s ease-in-out 0.95s infinite alternate;
}

.hero-bg-slide.active[data-index="1"] .hero-3d-phone--center {
  animation: heroPhoneCenterEnter 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards, heroPhoneCenterFloat 7s ease-in-out 1.05s infinite alternate;
}

.hero-bg-slide.active[data-index="1"] .hero-3d-phone--right {
  animation: heroPhoneRightEnter 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards, heroPhoneRightFloat 9s ease-in-out 1.03s infinite alternate;
}

/* Slide 3 — wide dashboard */
.hero-3d-scene--wide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-card--wide {
  left: 50%;
  top: 50%;
  width: min(100%, 980px);
  transform: translate(-50%, -50%) rotateX(8deg) translateZ(20px);
  animation: heroWideFloat 8.5s ease-in-out infinite alternate;
}

.hero-bg-slide.active[data-index="3"] .hero-3d-card--wide {
  animation: heroWideEnter 1s cubic-bezier(0.22, 1, 0.36, 1) forwards, heroWideFloat 8.5s ease-in-out 1s infinite alternate;
}

/* Slide 3 — HDD duo: main + dialog accent */
.hero-3d-scene--duo {
  display: block;
}

.hero-3d-panel-glow--main {
  inset: -6%;
  opacity: 1;
}

.hero-3d-panel-glow--dialog {
  inset: -12%;
  opacity: 0.45;
  filter: blur(20px);
}

.hero-3d-panel--main {
  left: 50%;
  top: 50%;
  width: min(92%, 820px);
  z-index: 3;
  transform: translate(-54%, -50%) rotateY(-8deg) rotateX(4deg) translateZ(70px);
  animation: heroPanelMainFloat 8s ease-in-out infinite alternate;
}

.hero-3d-panel--dialog {
  left: 50%;
  top: 50%;
  width: min(22%, 180px);
  z-index: 2;
  opacity: 0.9;
  transform: translate(calc(-50% + 40%), calc(-50% + 16%)) rotateY(-16deg) rotateX(8deg) translateZ(18px) scale(0.82);
  animation: heroPanelDialogFloat 7.5s ease-in-out infinite alternate;
}

.hero-bg-slide.active[data-index="2"] .hero-3d-panel--main {
  animation: heroPanelMainEnter 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards, heroPanelMainFloat 8s ease-in-out 0.95s infinite alternate;
}

.hero-bg-slide.active[data-index="2"] .hero-3d-panel--dialog {
  animation: heroPanelDialogEnter 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards, heroPanelDialogFloat 7.5s ease-in-out 1.12s infinite alternate;
}

@keyframes heroOrbitSpin {
  from { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); }
}

@keyframes heroCardShine {
  0%, 72% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes heroDesktopFloat {
  from { transform: translate(-50%, -50%) rotateY(-10deg) rotateX(5deg) translateZ(40px) translateY(0); }
  to { transform: translate(-50%, -50%) rotateY(-8deg) rotateX(3deg) translateZ(52px) translateY(-10px); }
}

@keyframes heroDesktopEnter {
  from { opacity: 0; transform: translate(-50%, -42%) rotateY(-18deg) rotateX(14deg) translateZ(-80px) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, -50%) rotateY(-10deg) rotateX(5deg) translateZ(40px) scale(1); }
}

@keyframes heroPhoneLeftFloat {
  from { transform: translate(calc(-50% - 118%), -50%) rotateY(28deg) rotateX(4deg) translateZ(-60px) scale(0.9); }
  to { transform: translate(calc(-50% - 120%), -52%) rotateY(30deg) rotateX(2deg) translateZ(-48px) scale(0.9); }
}

@keyframes heroPhoneCenterFloat {
  from { transform: translate(-50%, -50%) rotateY(0deg) rotateX(2deg) translateZ(80px) scale(1.04); }
  to { transform: translate(-50%, -52%) rotateY(0deg) rotateX(0deg) translateZ(96px) scale(1.05); }
}

@keyframes heroPhoneRightFloat {
  from { transform: translate(calc(-50% + 118%), -50%) rotateY(-28deg) rotateX(4deg) translateZ(-60px) scale(0.9); }
  to { transform: translate(calc(-50% + 120%), -52%) rotateY(-30deg) rotateX(2deg) translateZ(-48px) scale(0.9); }
}

@keyframes heroPhoneLeftEnter {
  from { opacity: 0; transform: translate(calc(-50% - 90%), -42%) rotateY(42deg) rotateX(12deg) translateZ(-140px) scale(0.82); }
  to { opacity: 0.82; transform: translate(calc(-50% - 118%), -50%) rotateY(28deg) rotateX(4deg) translateZ(-60px) scale(0.9); }
}

@keyframes heroPhoneCenterEnter {
  from { opacity: 0; transform: translate(-50%, -38%) rotateY(0deg) rotateX(16deg) translateZ(-120px) scale(0.86); }
  to { opacity: 1; transform: translate(-50%, -50%) rotateY(0deg) rotateX(2deg) translateZ(80px) scale(1.04); }
}

@keyframes heroPhoneRightEnter {
  from { opacity: 0; transform: translate(calc(-50% + 90%), -42%) rotateY(-42deg) rotateX(12deg) translateZ(-140px) scale(0.82); }
  to { opacity: 0.82; transform: translate(calc(-50% + 118%), -50%) rotateY(-28deg) rotateX(4deg) translateZ(-60px) scale(0.9); }
}

@keyframes heroWideFloat {
  from { transform: translate(-50%, -50%) rotateX(8deg) translateZ(20px) translateY(0); }
  to { transform: translate(-50%, -50%) rotateX(5deg) translateZ(36px) translateY(-8px); }
}

@keyframes heroWideEnter {
  from { opacity: 0; transform: translate(-50%, -40%) rotateX(18deg) translateZ(-100px) scale(0.94); }
  to { opacity: 1; transform: translate(-50%, -50%) rotateX(8deg) translateZ(20px) scale(1); }
}

@keyframes heroPanelMainFloat {
  from { transform: translate(-54%, -50%) rotateY(-8deg) rotateX(4deg) translateZ(70px); }
  to { transform: translate(-54%, -52%) rotateY(-6deg) rotateX(2deg) translateZ(82px); }
}

@keyframes heroPanelDialogFloat {
  from { transform: translate(calc(-50% + 40%), calc(-50% + 16%)) rotateY(-16deg) rotateX(8deg) translateZ(18px) scale(0.82); }
  to { transform: translate(calc(-50% + 41%), calc(-50% + 18%)) rotateY(-18deg) rotateX(6deg) translateZ(24px) scale(0.82); }
}

@keyframes heroPanelMainEnter {
  from { opacity: 0; transform: translate(-54%, -42%) rotateY(-16deg) rotateX(12deg) translateZ(-60px) scale(0.94); }
  to { opacity: 1; transform: translate(-54%, -50%) rotateY(-8deg) rotateX(4deg) translateZ(70px) scale(1); }
}

@keyframes heroPanelDialogEnter {
  from { opacity: 0; transform: translate(calc(-50% + 32%), calc(-50% + 28%)) rotateY(-24deg) rotateX(14deg) translateZ(-40px) scale(0.72); }
  to { opacity: 0.9; transform: translate(calc(-50% + 40%), calc(-50% + 16%)) rotateY(-16deg) rotateX(8deg) translateZ(18px) scale(0.82); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-3d-orbit,
  .hero-3d-card-shine,
  .hero-3d-card--desktop,
  .hero-3d-card--wide,
  .hero-3d-phone,
  .hero-3d-panel,
  .hero-bg-slide.active .hero-3d-stage {
    animation: none !important;
  }

  .hero-3d-scene {
    transform: none !important;
  }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 16, 0.88) 0%, rgba(5, 8, 16, 0.72) var(--hero-inset), rgba(5, 8, 16, 0.55) calc(var(--hero-inset) + var(--hero-width) * var(--hero-left-ratio)), rgba(5, 8, 16, 0.15) calc(var(--hero-inset) + var(--hero-width) * 0.55), rgba(5, 8, 16, 0.08) calc(var(--hero-inset) + var(--hero-width)), rgba(5, 8, 16, 0.88) 100%),
    linear-gradient(0deg, rgba(5, 8, 16, 0.65) 0%, transparent 20%);
  pointer-events: none;
}

.hero-bg-screen {
  position: absolute;
  z-index: 2;
  left: calc(var(--hero-inset) + var(--hero-width) * var(--hero-left-ratio) + var(--hero-col-gap));
  right: var(--hero-inset);
  top: var(--hero-showcase-top);
  bottom: 24px;
  width: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(34, 211, 238, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: none;
  transition: transform 1.2s ease;
}

.hero-bg-screen .screen-preview {
  flex: 1;
  min-height: 0;
  height: 100%;
  line-height: normal;
  background: #060b14;
}

.hero-bg-screen--shot {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-bg-screen--shot .screen-preview {
  background: transparent;
}

.hero-bg-screen--shot .screen-preview--shot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-screen--portrait .screen-preview--shot {
  align-items: center;
}

.hero-bg-screen--shot .screen-shot {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, var(--shot-max-w, 1024px));
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: top center;
}

.hero-bg-carousel .screen-preview--html .screen-mock {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  height: 100%;
  font-size: clamp(8px, 0.62vw, 11px);
}

.screen-mock--client.screen-mock--hero,
.screen-mock--hdd.screen-mock--hero,
.screen-mock--wx.screen-mock--hero,
.screen-mock--admin.screen-mock--hero {
  flex: 1;
  min-height: 0;
}

.screen-mock--hero .mock-wx-cats span.active {
  background: var(--wx-accent);
  color: #1a1208;
}

.hero-bg-carousel .screen-preview--html .screen-shot {
  display: none !important;
}

.screen-mock--hero .mock-body--client {
  flex: 1;
  min-height: 0;
  grid-template-columns: 118px 1fr;
}

.screen-mock--hero .mock-sidebar {
  display: flex;
  flex-direction: column;
  padding: 10px 6px;
}

.mock-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #4a3f2f;
  font-size: 9px;
  font-weight: 700;
  color: var(--m-accent);
  text-align: center;
}

.mock-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f5c842, #c9a227 60%, #6b4f12);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.35);
}

.mock-nav-divider {
  height: 1px;
  margin: 8px 0;
  background: #4a3f2f;
}

.mock-sidebar-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 8px 4px 0;
  font-size: 8px;
  color: var(--m-muted);
}

.mock-sidebar-foot span {
  color: var(--m-accent);
}

.mock-win-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: #0d0b09;
  border-bottom: 1px solid #4a3f2f;
  font-size: 9px;
  color: var(--m-muted);
}

.mock-win-title {
  color: var(--m-text);
  font-weight: 600;
}

.mock-client-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.mock-client-top strong {
  font-size: 11px;
  color: var(--m-text);
}

.mock-client-hint {
  font-size: 8px;
  color: var(--m-accent);
}

.mock-search--client {
  margin-left: auto;
  min-width: 100px;
  max-width: 140px;
}

.mock-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
  align-items: center;
}

.mock-cat-row > span {
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid #4a3f2f;
  color: var(--m-muted);
  font-size: 8px;
  white-space: nowrap;
}

.mock-cat-row > span.active {
  border-color: var(--m-accent);
  color: var(--m-accent);
  background: rgba(201, 162, 39, 0.12);
}

.mock-cat-sort {
  margin-left: auto;
  border: none !important;
  color: var(--m-muted) !important;
}

.mock-game-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  overflow: hidden;
}

.mock-game-card--rich .mock-cover {
  position: relative;
  height: 52px;
  margin-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.mock-game-card--rich .mock-cover em,
.mock-game-card--rich .mock-cover i,
.mock-game-card--rich .mock-cover b {
  position: absolute;
  font-style: normal;
  font-size: 7px;
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.55);
  line-height: 1.2;
}

.mock-game-card--rich .mock-cover em {
  top: 4px;
  left: 4px;
  color: #fde68a;
}

.mock-game-card--rich .mock-cover i {
  top: 4px;
  right: 4px;
  color: #e2e8f0;
}

.mock-game-card--rich .mock-cover b {
  bottom: 4px;
  right: 4px;
  color: var(--m-accent);
}

.mock-game-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 6px 6px;
  border-top: 1px solid #4a3f2f;
}

.mock-game-foot span {
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-game-foot button {
  flex-shrink: 0;
  padding: 2px 8px;
  border: none;
  border-radius: 3px;
  background: var(--m-accent);
  color: #1a1208;
  font-size: 7px;
  font-weight: 700;
  cursor: default;
}

.mock-cover.c5 { background: linear-gradient(135deg, #1a2838, #4a6a8a); }
.mock-cover.c6 { background: linear-gradient(135deg, #3a2818, #c45c26); }
.mock-cover.c7 { background: linear-gradient(135deg, #2a1a4a, #7c3aed); }
.mock-cover.c8 { background: linear-gradient(135deg, #1a3a1a, #dc2626); }
.mock-cover.c9 { background: linear-gradient(135deg, #1a2a1a, #15803d); }
.mock-cover.c10 { background: linear-gradient(135deg, #4a2040, #db2777); }

/* WX hero mock */
.screen-mock--wx.screen-mock--hero {
  --wx-bg: #1a120c;
  --wx-panel: #241912;
  --wx-accent: #e8872a;
  --wx-text: #f5e6c8;
  background: var(--wx-bg);
  color: var(--wx-text);
}

.mock-wx-topbar {
  text-align: center;
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
  background: #120c08;
  border-bottom: 1px solid #4a3520;
}

.mock-wx-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  flex-wrap: wrap;
  background: var(--wx-panel);
  border-bottom: 1px solid #4a3520;
}

.mock-wx-toolbar .mock-wx-search {
  flex: 1;
  min-width: 80px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 16px;
  background: #120c08;
  border: 1px solid #4a3520;
  color: #9a8878;
  font-size: 9px;
}

.mock-wx-toolbar > span {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 8px;
  color: #9a8878;
  white-space: nowrap;
}

.mock-wx-toolbar > span.active {
  color: var(--wx-accent);
  background: rgba(232, 135, 42, 0.15);
}

.screen-mock--hero .mock-wx-body {
  flex: 1;
  min-height: 0;
  grid-template-columns: 52px 1fr;
}

.mock-wx-main {
  padding: 6px;
  overflow: hidden;
}

.screen-mock--hero .mock-wx-guide {
  border-color: var(--wx-accent);
  color: var(--wx-accent);
  font-size: 8px;
}

.screen-mock--hero .mock-wx-guide p {
  margin: 4px 0 0;
  color: #9a8878;
  font-size: 7px;
}

.screen-mock--hero .mock-wx-game {
  align-items: center;
}

.screen-mock--hero .mock-wx-game button {
  margin-left: auto;
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  background: var(--wx-accent);
  color: #1a1208;
  font-size: 8px;
  font-weight: 700;
  cursor: default;
  flex-shrink: 0;
}

.mock-wx-tabbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #4a3520;
  background: #120c08;
  font-size: 8px;
  text-align: center;
}

.mock-wx-tabbar span {
  padding: 8px 4px;
  color: #9a8878;
}

.mock-wx-tabbar span.active {
  color: var(--wx-accent);
}

/* HDD hero mock */
.screen-mock--hero .mock-hdd-toolbar2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 10px;
  background: #0f0d0a;
  border-bottom: 1px solid #4a3f2f;
  font-size: 8px;
  color: var(--m-muted);
}

.mock-hdd-search {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #4a3f2f;
  background: #0d0b09;
  color: #6b5d48;
}

.mock-btn {
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  background: var(--m-accent);
  color: #1a1208;
  font-size: 8px;
  font-weight: 600;
  cursor: default;
  white-space: nowrap;
}

.mock-btn--ghost {
  background: transparent;
  border: 1px solid #4a3f2f;
  color: var(--m-muted);
}

.mock-btn--cyan {
  background: #00d4ff;
  color: #041018;
}

.mock-hdd-split {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8px;
  padding: 8px;
}

.mock-hdd-panel {
  background: #0d0b09;
  border: 1px solid #4a3f2f;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mock-hdd-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 10px;
  background: #14110f;
  border-bottom: 1px solid #4a3f2f;
  font-size: 9px;
  font-weight: 600;
  color: var(--m-text);
}

.mock-hdd-panel-head span {
  font-weight: 400;
  font-size: 8px;
  color: var(--m-muted);
  margin-right: auto;
}

.mock-table {
  flex: 1;
  overflow: hidden;
}

.mock-table-row {
  display: grid;
  gap: 4px;
  padding: 6px 8px;
  font-size: 8px;
  color: var(--m-muted);
  border-bottom: 1px solid rgba(74, 63, 47, 0.5);
  align-items: center;
}

.mock-table--hdd .mock-table-row {
  grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr 0.6fr;
}

.mock-table--hdd .mock-hdd-panel:last-child .mock-table-row {
  grid-template-columns: 1.5fr 0.7fr 0.9fr 0.6fr;
}

.mock-table--admin .mock-table-row {
  grid-template-columns: 0.9fr 1fr 0.7fr 0.7fr 1fr 0.6fr 1.1fr;
}

.mock-table-head {
  background: rgba(201, 162, 39, 0.08);
  color: var(--m-text);
  font-weight: 600;
}

.mock-table--admin .mock-table-head {
  background: rgba(0, 212, 255, 0.08);
  color: var(--a-text);
}

.mock-table-row.active {
  background: rgba(201, 162, 39, 0.12);
  color: var(--m-text);
}

.mock-table-row .ok {
  color: #6ee7b7;
}

.mock-table-row .link {
  color: var(--m-accent);
}

.mock-table--admin .mock-table-row .link {
  color: var(--a-accent);
}

/* Admin hero mock */
.screen-mock--hero.mock-admin-layout,
.screen-mock--admin.screen-mock--hero {
  display: flex;
  flex-direction: column;
}

.mock-admin-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 130px 1fr;
}

.mock-admin-side {
  padding: 10px 8px;
  background: #061018;
  border-right: 1px solid rgba(0, 212, 255, 0.15);
}

.mock-admin-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--a-accent);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.mock-admin-nav {
  padding: 6px 8px;
  margin-bottom: 2px;
  border-radius: 4px;
  font-size: 8px;
  color: #94a3b8;
}

.mock-admin-nav.sub {
  padding-left: 16px;
}

.mock-admin-nav.active {
  background: rgba(0, 212, 255, 0.12);
  color: var(--a-accent);
}

.mock-admin-nav-group {
  margin-top: 8px;
  padding: 4px 8px;
  font-size: 8px;
  color: #64748b;
}

.mock-admin-main {
  padding: 10px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mock-admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mock-admin-title h4 {
  margin: 0;
  font-size: 12px;
  color: var(--a-text);
}

.mock-admin-title h4::before {
  content: "| ";
  color: var(--a-accent);
}

.mock-admin-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.mock-admin-filters > span {
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: var(--a-panel);
  font-size: 8px;
  color: #94a3b8;
}

.mock-admin-page {
  margin-top: auto;
  padding-top: 8px;
  text-align: right;
  font-size: 8px;
  color: #64748b;
}

.mock-switch {
  display: inline-block;
  width: 28px;
  height: 14px;
  border-radius: 999px;
  background: #334155;
  position: relative;
}

.mock-switch.on {
  background: #0ea5e9;
}

.mock-switch.on::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.screen-mock--hero .mock-main {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hero-bg-slide.active .hero-3d-stage {
  animation: none;
}

.hero-bg-slide.active .hero-bg-screen {
  animation: heroScreenDrift 7s ease-in-out infinite alternate;
}

.screen-frame--phone.hero-bg-screen {
  left: calc(var(--hero-inset) + var(--hero-width) * var(--hero-left-ratio) + var(--hero-col-gap));
  right: var(--hero-inset);
  width: auto;
  top: var(--hero-showcase-top);
  bottom: 24px;
  border-radius: var(--radius);
  transform: none;
}

.hero-bg-slide[data-index="1"].active .hero-bg-screen {
  animation-name: heroPhoneDrift;
}

@keyframes heroScreenDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@keyframes heroPhoneDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

.hero-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: calc(var(--hero-left-ratio) * 100%) minmax(0, 1fr);
  grid-template-rows: 1fr;
  column-gap: var(--hero-col-gap);
  align-items: stretch;
  padding: 0;
}

.hero-theme {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  width: 100%;
  max-width: none;
  padding: 24px 0;
}

.hero-showcase {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--hero-head-carousel-gap);
  min-height: 100%;
  padding: 20px 0 24px;
}

.hero-showcase-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  margin-bottom: 0;
}

.hero-showcase .carousel-tabs {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  min-width: 0;
  margin-top: 0;
}

.hero-showcase .carousel-tab {
  flex: 0 0 auto;
  text-align: center;
  padding: 8px 14px;
  white-space: nowrap;
}

.hero-intro-panels {
  position: relative;
  flex: 0 0 auto;
  width: min(100%, 560px);
  min-height: auto;
  margin-top: 0;
  padding: 0;
}

.hero-showcase .intro-panel h3 {
  margin: 0 0 6px;
  font-size: clamp(16px, 1.8vw, 22px);
  white-space: nowrap;
}

.hero-showcase .intro-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-showcase .intro-points li {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: nowrap;
}

.hero-showcase .intro-points li + li::before {
  content: "·";
  margin: 0 8px;
  color: rgba(148, 163, 184, 0.55);
}

.intro-panel {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  text-align: right;
  max-width: none;
  margin-left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
}

.intro-panel.active {
  position: relative;
  bottom: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.intro-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.5vw, 26px);
}

.intro-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 520px;
  margin-left: auto;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.22;
  font-weight: 700;
}

.hero-desc {
  margin: 0 0 24px;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  min-width: 120px;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 4px;
}

.hero-stats span {
  font-size: 13px;
  color: var(--text-muted);
}

.screen-mock--lg {
  font-size: 12px;
}

.screen-mock--lg .mock-body--client {
  min-height: 360px;
}

.screen-mock--lg .mock-body--hdd,
.screen-mock--lg .mock-body--admin {
  min-height: 340px;
}

.screen-mock--lg.screen-mock--wx {
  min-height: 580px;
}

/* Carousel tabs & controls */
.carousel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.carousel-tab {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 18, 34, 0.6);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.carousel-tab:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.carousel-tab.active {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.35);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

/* Legacy product-carousel block removed — see hero layout above */

.screen-frame {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.screen-frame--phone {
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
}

.screen-preview {
  position: relative;
  line-height: 0;
}

.screen-shot {
  display: none;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.screen-preview.has-shot .screen-shot {
  display: block;
}

.screen-preview.has-shot .screen-mock {
  display: none;
}

/* UI mocks — PC client (gold theme) */
.screen-mock {
  font-size: 10px;
  text-align: left;
}

.screen-mock--client,
.screen-mock--hdd {
  --m-bg: #14110f;
  --m-panel: #1c1712;
  --m-accent: #c9a227;
  --m-text: #f5e6c8;
  --m-muted: #b8a88a;
  background: var(--m-bg);
  color: var(--m-text);
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #0d0b09;
  border-bottom: 1px solid #4a3f2f;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a3f2f;
}

.mock-dot:first-child { background: #c9a227; }
.mock-title {
  margin-left: 8px;
  color: var(--m-muted);
  font-size: 10px;
}

.mock-body--client {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 260px;
}

.mock-sidebar {
  padding: 10px 8px;
  background: #0f0d0a;
  border-right: 1px solid #4a3f2f;
}

.mock-logo {
  font-size: 11px;
  font-weight: 700;
  color: var(--m-accent);
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #4a3f2f;
}

.mock-nav-item {
  padding: 6px 8px;
  margin-bottom: 4px;
  border-radius: 4px;
  color: var(--m-muted);
  font-size: 9px;
}

.mock-nav-item.active {
  background: #2f261a;
  color: var(--m-text);
}

.mock-main {
  padding: 10px;
}

.mock-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.mock-search {
  flex: 1;
  min-width: 80px;
  padding: 5px 8px;
  border-radius: 4px;
  background: #0d0b09;
  border: 1px solid #4a3f2f;
  color: var(--m-muted);
  font-size: 9px;
}

.mock-chip {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #4a3f2f;
  color: var(--m-muted);
  font-size: 8px;
}

.mock-chip.active {
  border-color: var(--m-accent);
  color: var(--m-accent);
}

.mock-game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mock-game-card {
  background: #0d0b09;
  border: 1px solid #4a3f2f;
  border-radius: 4px;
  padding: 6px;
}

.mock-cover {
  height: 36px;
  border-radius: 3px;
  margin-bottom: 4px;
}

.mock-cover.c1 { background: linear-gradient(135deg, #4a3728, #8b6914); }
.mock-cover.c2 { background: linear-gradient(135deg, #1a3a2a, #2d6a4f); }
.mock-cover.c3 { background: linear-gradient(135deg, #1a2a4a, #3b82f6); }
.mock-cover.c4 { background: linear-gradient(135deg, #4a1a1a, #991b1b); }

.mock-game-card span {
  display: block;
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-game-card small {
  color: var(--m-accent);
  font-size: 7px;
}

/* HDD mock */
.mock-body--hdd {
  padding: 12px;
  min-height: 260px;
}

.mock-hdd-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 9px;
  color: var(--m-muted);
}

.mock-hdd-list {
  margin-bottom: 12px;
}

.mock-hdd-row {
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: #0d0b09;
  border: 1px solid #4a3f2f;
  font-size: 9px;
}

.mock-hdd-row.active {
  border-color: var(--m-accent);
  color: var(--m-accent);
}

.mock-hdd-row.done {
  color: #6ee7b7;
}

.mock-hdd-progress span {
  font-size: 9px;
  color: var(--m-muted);
}

.mock-bar {
  height: 6px;
  margin: 6px 0;
  background: #0d0b09;
  border-radius: 3px;
  overflow: hidden;
}

.mock-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--m-accent), #e8c547);
}

.mock-hdd-progress small {
  color: var(--m-muted);
  font-size: 8px;
}

/* WeChat mock */
.screen-mock--wx {
  background: #111;
  color: #fff;
  min-height: 420px;
}

.mock-wx-notch {
  height: 24px;
  background: #000;
}

.mock-wx-header {
  text-align: center;
  font-size: 11px;
  padding: 8px;
  background: #1a1a1a;
}

.mock-wx-search {
  margin: 10px;
  padding: 8px 12px;
  background: #222;
  border-radius: 20px;
  color: #888;
  font-size: 10px;
}

.mock-wx-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 320px;
}

.mock-wx-cats {
  background: #0a0a0a;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-wx-cats span {
  padding: 8px 4px;
  text-align: center;
  font-size: 8px;
  color: #888;
  border-radius: 4px;
}

.mock-wx-cats span.active {
  background: #c9a227;
  color: #111;
}

.mock-wx-list {
  padding: 6px;
}

.mock-wx-guide {
  padding: 8px;
  margin-bottom: 8px;
  background: #1a1810;
  border: 1px solid #4a3f2f;
  border-radius: 6px;
  font-size: 8px;
  color: #c9a227;
}

.mock-wx-guide strong {
  display: block;
  margin-bottom: 4px;
}

.mock-wx-game {
  display: flex;
  gap: 8px;
  padding: 8px;
  margin-bottom: 6px;
  background: #1a1a1a;
  border-radius: 6px;
}

.mock-wx-game .mock-cover {
  width: 48px;
  height: 32px;
  flex-shrink: 0;
  margin: 0;
}

.mock-wx-game b {
  display: block;
  font-size: 9px;
}

.mock-wx-game small {
  color: #888;
  font-size: 8px;
}

.mock-wx-bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #1a1810;
  border-top: 1px solid #4a3f2f;
  font-size: 9px;
}

.mock-wx-bar span {
  padding: 4px 10px;
  background: #c9a227;
  color: #111;
  border-radius: 4px;
  font-weight: 700;
}

/* Admin mock */
.screen-mock--admin {
  --a-bg: #0a1628;
  --a-panel: #0d1f35;
  --a-accent: #00d4ff;
  --a-text: #e2e8f0;
  background: var(--a-bg);
  color: var(--a-text);
}

.mock-body--admin {
  padding: 14px;
  min-height: 260px;
}

.mock-admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mock-stat {
  padding: 10px;
  background: var(--a-panel);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 6px;
}

.mock-stat small {
  display: block;
  font-size: 8px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.mock-stat strong {
  font-size: 16px;
  color: var(--a-accent);
}

.mock-admin-panels {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
}

.mock-panel {
  padding: 10px;
  background: var(--a-panel);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 6px;
  min-height: 100px;
}

.mock-panel > span {
  display: block;
  font-size: 9px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.mock-chart i {
  flex: 1;
  background: linear-gradient(180deg, var(--a-accent), transparent);
  border-radius: 2px 2px 0 0;
}

.mock-chart i:nth-child(1) { height: 40%; }
.mock-chart i:nth-child(2) { height: 65%; }
.mock-chart i:nth-child(3) { height: 50%; }
.mock-chart i:nth-child(4) { height: 80%; }
.mock-chart i:nth-child(5) { height: 55%; }

.mock-table-row {
  padding: 6px 8px;
  margin-bottom: 4px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  font-size: 8px;
  color: #cbd5e1;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section--dark {
  background: rgba(12, 18, 34, 0.55);
  border-block: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.glass-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(12, 18, 34, 0.6));
  transition: border-color 0.25s, transform 0.25s;
}

.glass-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.card-icon {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: rgba(34, 211, 238, 0.35);
  margin-bottom: 16px;
}

.glass-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.glass-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Suite */
.suite-list {
  display: grid;
  gap: 16px;
}

.suite-item {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 8, 16, 0.5);
}

.suite-item--highlight {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.08);
}

.suite-item-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.suite-tag {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  white-space: nowrap;
}

.suite-item h3 {
  margin: 0;
  font-size: 20px;
}

.suite-item > p {
  margin: 0 0 10px;
  color: var(--text-muted);
}

.suite-item ul {
  margin: 0;
  margin-left: 2em;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.suite-item li + li {
  margin-top: 4px;
}

/* Custom */
.custom-layout {
  display: grid;
  gap: 32px;
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.custom-item {
  padding: 22px;
  border-left: 3px solid var(--cyan);
  background: rgba(17, 24, 39, 0.5);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.custom-item h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.custom-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.quote-block {
  margin: 0;
  padding: 24px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.08), transparent);
}

.quote-block p {
  margin: 0;
  font-size: 17px;
  color: var(--text);
}

.quote-block strong {
  color: var(--cyan);
}

/* Flow */
.flow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 720px;
}

.flow-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.flow-steps li:last-child {
  border-bottom: none;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.flow-steps h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.flow-steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cap-cell {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 18, 34, 0.6);
  transition: border-color 0.2s;
}

.cap-cell:hover {
  border-color: var(--line-strong);
}

.cap-cell span {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.cap-cell small {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Contact */
.section--cta {
  padding-bottom: 100px;
}

.contact-box {
  text-align: center;
}

.contact-copy {
  max-width: 560px;
  margin: 0 auto 36px;
}

.contact-copy h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.contact-copy p {
  margin: 0;
  color: var(--text-muted);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px 36px;
}

.contact-aside--left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  text-align: right;
}

.contact-aside--right {
  text-align: left;
}

.contact-note {
  margin: 0;
  max-width: 240px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.contact-point {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--cyan);
}

.contact-point-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.15), var(--cyan));
}

.contact-point-arrow {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  animation: contact-point-nudge 1.6s ease-in-out infinite;
}

@keyframes contact-point-nudge {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.75;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}

.contact-punch {
  margin: 0;
  max-width: 220px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.contact-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-card {
  min-width: 240px;
  padding: 28px 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(12, 18, 34, 0.85);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.15);
}

.contact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.contact-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-hint {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.copy-toast {
  margin: 20px 0 0;
  min-height: 24px;
  font-size: 14px;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-toast.show {
  opacity: 1;
}

/* Footer */
.site-footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.42);
}

.footer-bar-item {
  margin: 0;
  white-space: nowrap;
}

.footer-bar a.footer-bar-item {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bar a.footer-bar-item:hover {
  color: rgba(148, 163, 184, 0.65);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero {
    --hero-showcase-top: 100px;
  }
}

@media (max-width: 960px) {
  .hero {
    --hero-inset: 24px;
    --hero-width: calc(100vw - var(--hero-inset) * 2);
    --hero-showcase-top: 0;
  }

  .hero .hero-stage {
    width: var(--hero-width);
    margin: 0 var(--hero-inset);
  }

  .hero-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
    padding: 20px 0;
  }

  .hero-theme {
    grid-column: 1;
    grid-row: 1;
    align-self: auto;
    padding: 0 0 16px;
  }

  .hero-showcase {
    grid-column: 1;
    grid-row: 2;
    min-height: 440px;
    padding: 0 0 24px;
  }

  .hero-showcase-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-intro-panels {
    width: 100%;
    min-height: 56px;
  }

  .hero-showcase .intro-panel {
    text-align: left;
  }

  .hero-showcase .intro-panel h3 {
    white-space: normal;
  }

  .hero-showcase .intro-points {
    justify-content: flex-start;
  }

  .hero-showcase .intro-points li {
    white-space: normal;
  }

  .mock-game-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mock-hdd-split {
    grid-template-columns: 1fr;
  }

  .mock-admin-layout {
    grid-template-columns: 1fr;
  }

  .mock-table--admin .mock-table-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero--carousel-focus .hero-stage {
    position: relative;
    inset: auto;
    z-index: 3;
    width: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px var(--hero-inset) 4px;
    min-height: auto;
    order: 1;
    pointer-events: auto;
  }

  .hero--carousel-focus {
    --hero-stage-offset-x: 0;
    --hero-inset: 16px;
    --hero-width: calc(100vw - var(--hero-inset) * 2);
    display: flex;
    flex-direction: column;
    min-height: auto;
    overflow: visible;
  }

  .hero--carousel-focus .hero-bg-carousel {
    position: relative;
    order: 2;
    height: clamp(220px, 52vw, 300px);
    min-height: 220px;
    margin: 0 var(--hero-inset) 8px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    flex-shrink: 0;
  }

  .hero--carousel-focus .hero-bg-carousel::before,
  .hero--carousel-focus .hero-bg-carousel::after {
    display: none;
  }

  .hero--carousel-focus .hero-bg-overlay {
    background: rgba(5, 8, 16, 0.2);
  }

  /* Flatten theme wrapper so copy / tabs / stats can be reordered on mobile */
  .hero--carousel-focus .hero-theme {
    display: contents;
  }

  .hero--carousel-focus .hero-theme .eyebrow {
    order: 1;
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .hero--carousel-focus .hero-theme h1 {
    order: 2;
    margin: 0;
    font-size: clamp(24px, 6.2vw, 32px);
    line-height: 1.35;
  }

  .hero--carousel-focus .hero-theme h1 br {
    display: none;
  }

  .hero--carousel-focus .hero-theme h1 .gradient-text {
    display: block;
    margin: 6px 0;
  }

  .hero--carousel-focus .hero-desc {
    order: 3;
    margin: 0;
    max-width: none;
    font-size: 14px;
    line-height: 1.75;
  }

  .hero--carousel-focus .hero-actions {
    order: 4;
    margin: 0;
    gap: 10px;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .hero--carousel-focus .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    min-height: 44px;
    padding: 12px 10px;
    font-size: 13px;
  }

  .hero--carousel-focus .hero-showcase-tabs {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: auto;
    order: 3;
    padding: 0 var(--hero-inset);
    margin: 0 0 16px;
    pointer-events: auto;
  }

  .hero--carousel-focus .hero-stats {
    display: none;
  }

  .hero--carousel-focus .carousel-tabs--vertical {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .hero--carousel-focus .carousel-tabs--vertical .carousel-tab {
    flex: none;
    width: 100%;
    min-height: 40px;
    padding: 8px 4px;
    font-size: 11px;
    white-space: nowrap;
    line-height: 1.2;
  }

  .hero--carousel-focus .hero-3d-stage {
    position: absolute;
    inset: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: none !important;
    height: auto;
  }

  .hero--carousel-focus .hero-3d-scene {
    transform: none !important;
  }

  .hero--carousel-focus {
    --hero-img-scale: 1;
  }

  .hero--carousel-focus .hero-3d-card--desktop,
  .hero--carousel-focus .hero-3d-card--wide {
    width: 100%;
  }

  .hero--carousel-focus .hero-3d-panel--main {
    width: min(98%, 560px);
  }

  .hero--carousel-focus .hero-3d-phone--center {
    width: clamp(100px, 32%, 150px);
  }

  .hero-bg-screen {
    left: var(--hero-inset);
    right: var(--hero-inset);
    top: auto;
    bottom: 24px;
    height: min(320px, 46vh);
    transform: none;
  }

  .hero-3d-stage {
    left: var(--hero-inset);
    right: var(--hero-inset);
    top: auto;
    bottom: 24px;
    height: min(360px, 48vh);
    perspective: none;
  }

  .hero-3d-orbit {
    display: none;
  }

  .hero-3d-scene {
    transform: none !important;
  }

  .hero-3d-card--desktop,
  .hero-3d-card--wide {
    width: 100%;
    transform: translate(-50%, -50%) !important;
    animation: none !important;
  }

  .hero-3d-phone {
    width: clamp(88px, 28%, 130px);
    opacity: 1 !important;
    animation: none !important;
  }

  .hero-3d-phone--left {
    transform: translate(calc(-50% - 92%), -50%) scale(0.88) !important;
  }

  .hero-3d-phone--center {
    width: clamp(100px, 32%, 150px);
    transform: translate(-50%, -50%) scale(1) !important;
  }

  .hero-3d-phone--right {
    transform: translate(calc(-50% + 92%), -50%) scale(0.88) !important;
  }

  .hero-3d-panel--main {
    width: min(88%, 480px);
    transform: translate(-50%, -50%) !important;
    animation: none !important;
  }

  .hero-3d-panel--dialog {
    width: min(30%, 120px);
    transform: translate(calc(-50% + 36%), calc(-50% + 20%)) scale(0.78) !important;
    animation: none !important;
  }

  .hero-bg-slide.active .hero-3d-stage {
    animation: none;
  }

  .hero-bg-screen--shot {
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-bg-slide.active .hero-bg-screen {
    animation: none;
  }

  .screen-frame--phone.hero-bg-screen {
    left: var(--hero-inset);
    right: var(--hero-inset);
    width: auto;
    max-width: min(320px, calc(var(--hero-width) - 48px));
    margin-left: auto;
    margin-right: auto;
    height: auto;
    bottom: 24px;
    transform: none;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(5, 8, 16, 0.9) 0%, rgba(5, 8, 16, 0.72) 38%, rgba(5, 8, 16, 0.45) 100%);
  }

  .card-grid--3 {
    grid-template-columns: 1fr;
  }

  .custom-grid {
    grid-template-columns: 1fr;
  }

  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .suite-item-head {
    gap: 10px;
  }

  .suite-item ul {
    margin-left: 2em;
  }

  .contact-row {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 16px;
  }

  .contact-aside--left,
  .contact-aside--right {
    text-align: center;
    align-items: center;
  }

  .contact-aside--left {
    order: 1;
  }

  .contact-cards {
    order: 2;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .contact-aside--right {
    order: 3;
  }

  .contact-note,
  .contact-punch {
    max-width: none;
  }

  .contact-point {
    display: none;
  }

  .contact-card {
    min-width: 0;
    width: 100%;
    max-width: none;
    padding: 22px 20px;
  }

  .contact-value {
    font-size: 24px;
  }

  .section--cta {
    padding-bottom: 64px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
    --page-width: calc(100vw - 32px);
  }

  .hero {
    min-height: auto;
  }

  .hero--carousel-focus .hero-stage {
    gap: 14px;
    padding-top: 4px;
  }

  .hero--carousel-focus .hero-theme h1 {
    font-size: clamp(22px, 6.4vw, 28px);
  }

  .hero--carousel-focus .hero-desc {
    font-size: 13px;
  }

  .hero--carousel-focus .hero-actions .btn {
    font-size: 12px;
    padding: 12px 8px;
  }

  .hero--carousel-focus .carousel-tabs--vertical .carousel-tab {
    font-size: 10px;
    padding: 8px 2px;
  }

  .hero--carousel-focus .hero-bg-carousel {
    height: clamp(200px, 56vw, 260px);
    min-height: 200px;
  }

  .hero h1 {
    font-size: clamp(22px, 6.4vw, 28px);
  }

  .logo-text {
    font-size: 14px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 10px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head h2 {
    font-size: clamp(22px, 5.5vw, 28px);
  }

  .contact-copy h2 {
    font-size: 24px;
  }

  .contact-punch {
    font-size: 17px;
  }

  .footer-bar {
    gap: 8px;
    font-size: 11px;
  }

  .footer-bar-item {
    white-space: normal;
    text-align: center;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(5, 8, 16, 0.92) 0%, rgba(5, 8, 16, 0.75) 45%, rgba(5, 8, 16, 0.5) 100%);
  }

  .carousel-tabs {
    width: 100%;
  }

  .carousel-tab {
    flex: 1 1 calc(50% - 4px);
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
  }

  .mock-admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mock-admin-panels {
    grid-template-columns: 1fr;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(5, 8, 16, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: flex;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .footer-bar {
    gap: 10px;
  }
}
