*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --blue-primary: #1b8cff;
  --blue-bright: #2d9bff;
  --blue-deep: #0d6efd;
  --navy: #1a2d4a;
  --text-muted: #5c6b7a;
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.65);
  --nav-height: 72px;
  --header-height: 72px;
  --features-bg: #f0f6ff;
  --features-title: #000000;
  --features-subtitle: #5a7a9a;
  --feature-desc: #666666;
  --content-max: 1200px;
}

html {
  scroll-behavior: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 200;
  padding: 12px 20px;
  background: #206fff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  overflow: visible;
}

body {
  font-family: var(--font-family);
  color: var(--navy);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background-color: #e8f4ff;
}

.home,
.features,
.gaming,
.office,
.cast,
.security,
.contact {
  min-height: 100vh;
}

/* Home (first screen) */
.home {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
  box-sizing: border-box;
}

.home-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #e8f4ff;
  background-image: url("../images/back.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: 16px 0px;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 16px;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--blue-primary);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  flex-direction: column;
  background-color: #f0f6ff;
  padding: 20px 24px 48px;
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 36px;
  line-height: 1;
  color: #000000;
  cursor: pointer;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-left: 8px;
}

.mobile-nav__list a {
  font-size: 18px;
  font-weight: 500;
  color: var(--features-title);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav__list a:hover {
  color: var(--blue-primary);
}

body.mobile-nav-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 24px 32px;
  text-align: center;
}

.hero-title {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-title .brand {
  color: var(--blue-bright);
}

.hero-title .tagline {
  color: var(--navy);
}

.hero-subtitle {
  font-size: clamp(14px, 1.8vw, 26px);
  color: var(--feature-desc);
  font-weight: 400;
  margin-bottom: 100px;
  letter-spacing: 0.04em;
}

.cta-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 14px;
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 48px;
  font-size: clamp(13px, 1.8vw, 22px);
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, #05a9ff 0%, #206fff 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 8px 24px rgba(27, 140, 255, 0.45),
    0 2px 8px rgba(27, 140, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(27, 140, 255, 0.5),
    0 4px 12px rgba(27, 140, 255, 0.3);
}

.cta-btn.is-unavailable {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.6);
}

.cta-btn.is-unavailable:hover {
  transform: none;
  box-shadow:
    0 8px 24px rgba(27, 140, 255, 0.45),
    0 2px 8px rgba(27, 140, 255, 0.25);
}

.cta-btn::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #206fff;
}

/* Platform bar */
.platforms {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto 48px;
  padding: 0 24px;
}

.platforms-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  height: 228px;
  box-sizing: border-box;
  padding: 28px 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(27, 140, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-muted);
  transition: transform 0.2s, color 0.2s;
}

.platform-badge {
  display: none;
  position: absolute;
  top: -22px;
  right: -34px;
  z-index: 3;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: #ffffff;
  white-space: nowrap;
  pointer-events: none;
  overflow: visible;
  background: linear-gradient(180deg, #05a9ff 0%, #206fff 100%);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(32, 111, 255, 0.35);
}

.platform-badge::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -5px;
  z-index: 3;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 0;
  border-color: #206fff transparent transparent;
}

.platform-item.is-unavailable .platform-badge {
  display: block;
}

.platform-item:hover {
  transform: translateY(-4px);
  color: var(--blue-primary);
}

.platform-item.is-unavailable {
  pointer-events: none;
  cursor: default;
}

.platform-item.is-unavailable:hover {
  transform: none;
  color: var(--text-muted);
}

.platform-item.is-unavailable .platform-icon img {
  opacity: 0.45;
}

.platform-item.is-unavailable .platform-label {
  color: #999999;
}

.platform-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #3aa3ff, #1b7fe8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(27, 140, 255, 0.35);
}

.platform-icon svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.platform-icon--image {
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.platform-icon--image img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 62px;
  object-fit: contain;
  display: block;
}

.platform-label {
  font-size: 16px;
  font-weight: 500;
  color: #373737;
}

/* Features (second section) */
.features {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background-color: var(--features-bg);
  padding: 72px 24px;
}

.features-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-header,
.features-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 700;
  color: var(--features-title);
  letter-spacing: 0.02em;
}

.features-title {
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 700;
  color: var(--features-title);
  letter-spacing: 0.02em;
}

.section-subtitle {
  margin-top: 12px;
  font-size: clamp(13px, 1.6vw, 18px);
  color: var(--feature-desc);
  letter-spacing: 0.06em;
}

.features-subtitle {
  margin-top: 12px;
  font-size: clamp(13px, 1.6vw, 18px);
  color: var(--feature-desc);
  letter-spacing: 0.06em;
}

.features-carousel__viewport {
  width: 100%;
}

.features-carousel__dots {
  display: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 200px;
  padding: 36px 28px 36px 40px;
  background: linear-gradient(180deg, rgba(5, 169, 255, 0.1) 0%, rgba(32, 111, 255, 0.1) 100%);
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

@media (hover: hover) {
  .feature-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 0 12px 0 rgba(32, 111, 255, 0.5);
  }
}

.feature-card__content {
  flex: 1;
  min-width: 0;
}

.feature-card__title {
  font-size: clamp(16px, 2.8vw, 22px);
  font-weight: 700;
  color: var(--features-title);
  margin-bottom: 16px;
  line-height: 1.3;
}

.feature-card__desc {
  font-size: clamp(12px, 1.6vw, 15px);
  line-height: 1.85;
  color: var(--feature-desc);
  max-width: 280px;
}

.feature-card__media {
  flex-shrink: 0;
  width: 220px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Gaming & Office sections */
.gaming,
.office,
.cast,
.plans {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 72px 24px;
}

.gaming {
  background: linear-gradient(180deg, #e7f0fe 0%, #ffffff 100%);
}

.office {
  background: linear-gradient(180deg, #deeafe 0%, #ffffff 100%);
}

.cast {
  background: linear-gradient(180deg, #e8f0fe 0%, #ffffff 100%);
}

.plans {
  background-color: #f0f6ff;
  background-image: url("../images/rectangle.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  scroll-margin-top: var(--header-height);
}

.gaming-inner,
.office-inner,
.cast-inner,
.plans-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  flex: 1 1 auto;
  min-height: 0;
}

.gaming-inner .section-header,
.office-inner .section-header,
.cast-inner .section-header,
.plans-inner .section-header {
  flex-shrink: 0;
}

.gaming-body,
.office-body,
.cast-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 754px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  max-width: 367px;
  width: 100%;
  justify-self: center;
  padding: 28px 22px 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 32px rgba(32, 111, 255, 0.08);
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
  text-align: left;
}

.pricing-card--pro {
  border: 4px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)) padding-box,
    linear-gradient(180deg, #05a9ff 0%, #206fff 100%) border-box;
}

.pricing-card__header {
  margin-bottom: 16px;
  min-height: 3.25rem;
}

.pricing-card__name {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--features-title);
  margin: 0 0 6px;
}

.pricing-card__tagline {
  font-size: clamp(12px, 1.4vw, 14px);
  color: #999999;
  line-height: 1.5;
  margin: 0;
}

.pricing-card__price {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 4px;
  background: linear-gradient(180deg, #05a9ff 0%, #206fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pricing-card__price--free {
  font-size: clamp(28px, 4vw, 40px);
  min-height: 4.75rem;
  margin: 0 0 20px;
  display: flex;
  align-items: flex-start;
}

.pricing-card__prices {
  min-height: 4.75rem;
  margin: 0 0 20px;
}

.pricing-card__prices .pricing-card__price:last-child {
  margin-bottom: 0;
}

.pricing-card__price-note {
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 500;
  color: #999999;
  -webkit-text-fill-color: #999999;
  background-color: #fff;
}

.pricing-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  padding: 10px 32px;
  margin: 0 0 24px;
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.pricing-card__btn:hover {
  transform: translateY(-3px);
}

.pricing-card__btn--outline {
  position: relative;
  isolation: isolate;
  z-index: 0;
  border: none;
  background: none;
}

.pricing-card__btn--outline .pricing-card__btn-label {
  display: inline-block;
  background: linear-gradient(180deg, #05a9ff 0%, #206fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pricing-card__btn--outline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)) padding-box,
    linear-gradient(180deg, #05a9ff 0%, #206fff 100%) border-box;
}

.pricing-card__btn--filled {
  color: #fff;
  -webkit-text-fill-color: #fff;
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, #05a9ff 0%, #206fff 100%) padding-box,
    linear-gradient(180deg, #05a9ff 0%, #206fff 100%) border-box;
  box-shadow: 0 4px 16px rgba(32, 111, 255, 0.35);
}

.pricing-card__btn--filled:hover {
  box-shadow: 0 8px 24px rgba(32, 111, 255, 0.45);
}

.pricing-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.pricing-card__features li {
  position: relative;
  padding-left: 18px;
  font-size: clamp(11px, 1.3vw, 13px);
  line-height: 1.55;
  color: var(--feature-desc);
}

.pricing-card__features--free li {
  color: #666666;
}

.pricing-card__features--pro li {
  color: #000000;
}

.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #206fff;
}

.gaming-showcase {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(5, 169, 255, 0.1) 0%, rgba(32, 111, 255, 0.1) 100%);
}

.gaming-showcase__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.gaming-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* 保持列表高度稳定，避免切换 is-active 时撑高整块内容 */
  min-height: 27rem;
}

.gaming-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 40px;
  padding: 20px 24px;
  border-radius: 12px;
  background: transparent;
  border: none;
  box-shadow: 0 0 0 0 rgba(32, 111, 255, 0);
  cursor: pointer;
  transition:
    margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gaming-item.is-active {
  align-items: flex-start;
  margin-left: 0;
  background: linear-gradient(90deg, rgba(222, 244, 253, 0.5) 0%, rgba(196, 219, 253, 0.5) 50.48%, rgba(207, 227, 254, 0.5) 100%);
  border-radius: 20px;
  box-shadow: 0 0 12px 0 rgba(32, 111, 255, 0.5);
}

.gaming-item.is-active .gaming-item__icon {
  margin-top: calc((1.4 * clamp(18px, 2vw, 24px) - 28px) / 2);
}

.gaming-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 0;
  object-fit: contain;
  transition: margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gaming-item__title {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--features-title);
  line-height: 1.4;
}

.gaming-item__desc {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  font-size: clamp(12px, 1.6vw, 15px);
  line-height: 1.85;
  color: var(--feature-desc);
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gaming-item.is-active .gaming-item__desc {
  max-height: 240px;
  margin-top: 10px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .gaming-item,
  .gaming-item__icon,
  .gaming-item__desc {
    transition: none;
  }
}

/* Security (seventh section) */
.security {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  padding: 72px 24px;
}

.security-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.security-carousel__viewport {
  width: 100%;
}

.security-carousel__dots {
  display: none;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.security-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 20px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}

@media (hover: hover) {
  .security-card:hover {
    transform: translateY(-8px) scale(1.04);
    background: #ffffff;
    box-shadow: 0 0 12px 0 rgba(32, 111, 255, 0.5);
  }

  .security-card:hover .security-card__title,
  .security-card:hover .security-card__desc {
    color: #206fff;
  }
}

.security-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.security-card__media img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  display: block;
}

.security-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--features-title);
  margin-bottom: 12px;
  line-height: 1.4;
}

.security-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--feature-desc);
}

/* Contact (eighth section) */
.contact {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background-color: #f0f6ff;
  background-image: url("../images/hero-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  padding: 72px 24px;
}

.contact-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset -1px -2px 12px 0 #ffffff;
  border: none;
}

.contact-card__map {
  flex: 1 1 50%;
  min-width: 0;
  line-height: 0;
}

.contact-card__map img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.contact-card__info {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 48px 40px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-row__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-row__text {
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--features-title);
}

@media (min-width: 1440px) {
  .gaming-showcase__img {
    width: 640px;
    height: 500px;
  }

  .gaming-item.is-active {
    width: 486px;
    padding: 20px 24px;
    box-sizing: border-box;
  }

  .security-card__media img {
    width: 260px;
    height: 260px;
    max-width: none;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  :root {
    --header-height: 120px;
  }

  .header__inner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }

  .nav {
    gap: 16px;
    justify-content: center;
  }
}

.mobile-br {
  display: none;
}

@media (max-width: 768px) {
  .mobile-br {
    display: block;
  }

  .home,
  .features,
  .gaming,
  .office,
  .cast,
  .plans,
  .security,
  .contact {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 30px;
  }

  .section-header,
  .features-header {
    margin-bottom: 32px;
  }

  :root {
    --header-height: 72px;
  }

  .header {
    background-color: #ffffff;
  }

  .header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .home-bg {
    background-size: 200% 100%;
    background-position: top center;
  }

  .hero {
    justify-content: flex-end;
  }

  .hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title .brand {
    line-height: 1.85;
  }

  .gaming-item,
  .gaming-item.is-active {
    padding: 10px 24px;
  }

  .gaming-list {
    min-height: 24rem;
  }

  .gaming-item__icon {
    width: 20px;
    height: 20px;
  }

  .gaming-item.is-active .gaming-item__icon {
    margin-top: calc((1.4 * clamp(18px, 2vw, 24px) - 20px) / 2);
  }

  .platforms {
    padding: 0 16px;
  }

  .platforms-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    height: auto;
    padding: 16px 20px;
    gap: clamp(10px, 2vw, 20px);
  }

  .platform-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .platform-badge {
    top: -16px;
    right: -24px;
    padding: 2px 7px;
    font-size: 9px;
  }

  .platform-badge::after {
    left: 7px;
    bottom: -4px;
    border-width: 4px 4px 0;
  }

  .platform-icon--image img {
    width: 100%;
    height: auto;
  }

  .platform-label {
    font-size: clamp(12px, 2.2vw, 16px);
    white-space: nowrap;
  }

  .features-carousel__viewport {
    overflow: hidden;
  }

  .features-grid {
    display: flex;
    gap: 0;
    transition: transform 0.35s ease;
  }

  .feature-card {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .feature-card__desc {
    max-width: none;
  }

  .feature-card__media {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .features-carousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
  }

  .features-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #c8d4e8;
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
  }

  .features-carousel__dot.is-active {
    width: 24px;
    border-radius: 4px;
    background-color: #206fff;
  }

  .gaming-body,
  .office-body,
  .cast-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 367px;
  }

  .pricing-card {
    max-width: none;
  }

  .security-carousel__viewport {
    overflow: hidden;
  }

  .security-grid {
    display: flex;
    gap: 0;
    transition: transform 0.35s ease;
  }

  .security-card {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 0;
  }

  .security-card:hover {
    transform: none;
    background: none;
    box-shadow: none;
  }

  .security-carousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
  }

  .security-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #c8d4e8;
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
  }

  .security-carousel__dot.is-active {
    width: 24px;
    border-radius: 4px;
    background-color: #206fff;
  }

  .contact-card {
    flex-direction: column;
  }

  .contact-card__map img {
    min-height: 240px;
  }

  .contact-card__info {
    padding: 32px 24px;
    gap: 20px;
  }

}


@media (max-width: 520px) {
  .nav {
    gap: 12px;
  }

}

/* Footer */
.site-footer {
  background-color: #00153a;
  padding: 56px 24px max(32px, env(safe-area-inset-bottom));
}

.site-footer__bottom {
  max-width: var(--content-max);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.site-footer__copyright {
  font-size: 14px;
  line-height: 1.6;
  color: #8a9bbd;
  margin: 0;
}

.site-footer__copyright a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__copyright a:hover {
  color: #ffffff;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-footer__logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-footer__links {
  display: flex;
  gap: 80px;
}

.site-footer__heading {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.4;
}

.site-footer__list {
  list-style: none;
}

.site-footer__list a {
  font-size: 16px;
  color: #8a9bbd;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__list a:hover {
  color: #ffffff;
}

.site-footer__list--grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 20px 48px;
}

.site-footer__list:not(.site-footer__list--grid) {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 900px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .site-footer__list--grid {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 24px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .site-footer__logo {
    justify-content: flex-start;
  }

  .site-footer__links {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 24px;
  }

  .site-footer__col {
    text-align: left;
  }

  .site-footer__list--grid {
    grid-template-columns: repeat(2, auto);
    gap: 16px 20px;
    justify-content: start;
  }

  .site-footer__bottom {
    margin-top: 32px;
    padding-top: 20px;
    text-align: left;
    width: 100%;
  }

  .site-footer__copyright {
    font-size: 14px;
  }
}

/* 视口高度 > 900px：整页分屏（由 JS 控制滚动，避免与 scroll-snap 冲突） */
@media (min-height: 901px) {
  html {
    scroll-behavior: auto;
  }

  html.is-section-scroll-enabled {
    scroll-snap-type: none;
  }

  .home,
  .features,
  .gaming,
  .office,
  .cast,
  .security,
  .contact {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box;
  }

  .gaming-inner,
  .office-inner,
  .cast-inner {
    height: 100%;
  }
}
