* {
  box-sizing: border-box;
}

:root {
  --page-bg: #0E1730;
  --section-bg: #111D3D;
  --content-bg: #162447;
  --card-bg: #1A2954;
  --soft-bg: #1F315F;
  --nav-bg: #121C3D;
  --blue: #6B8DFF;
  --blue-soft: rgba(107,141,255,0.18);
  --title: #FFFFFF;
  --text: #EAF0FF;
  --muted: #B7C3E0;
  --hint: #8FA1C7;
  --border: rgba(107,141,255,0.18);
  --line: rgba(255,255,255,0.08);
  --footer: #0A1024;
  --shadow: 0 14px 32px rgba(0,0,0,0.28);
  --btn: linear-gradient(135deg, #5C7CFA 0%, #6B8DFF 52%, #89A5FF 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.75;
  padding-top: 126px;
}

body.drawer-open {
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(0,0,0,0.22);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-core {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  white-space: nowrap;
  flex-wrap: nowrap;
  flex: 1 1 auto;
}

.nav-core a {
  color: #fff;
  position: relative;
  font-size: 15px;
  padding: 8px 0;
  transition: color .2s ease;
}

.nav-core a:hover,
.nav-core a.active {
  color: #fff;
}

.nav-core a:hover::after,
.nav-core a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateX(-50%);
}

.register-btn,
.main-btn,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--btn);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(92,124,250,.28);
  border: 0;
  white-space: nowrap;
}

.register-btn:hover,
.main-btn:hover,
.more-link:hover {
  transform: translateY(-1px);
}

.channel-bar {
  background: var(--content-bg);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.channel-scroll {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.channel-scroll a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

.channel-scroll a:hover,
.channel-scroll a.active {
  color: #fff;
  background: var(--blue-soft);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 10px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 999px;
}

.site-main {
  min-height: 60vh;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  margin: 34px auto;
}

.banner-slider {
  max-width: 1180px;
  margin: 24px auto 34px;
  border-radius: 22px;
  background: var(--content-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  height: clamp(260px, 30vw, 360px);
}

.slider-track,
.slider-item {
  width: 100%;
  height: 100%;
}

.slider-item {
  display: none;
}

.slider-item.is-active {
  display: block;
}

.banner-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--content-bg);
}

.banner-caption,
.banner-text,
.slide-title,
.slide-desc,
.slide-content,
.slide-card,
.banner-card {
  display: none !important;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(10,16,36,.52);
  cursor: pointer;
}

.slider-arrow::before {
  display: block;
  color: #fff;
  font-size: 32px;
  line-height: 38px;
  text-align: center;
}

.slider-arrow.prev {
  left: 16px;
}

.slider-arrow.next {
  right: 16px;
}

.slider-arrow.prev::before {
  content: "‹";
}

.slider-arrow.next::before {
  content: "›";
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  padding: 0;
  cursor: pointer;
}

.slider-dot.is-active {
  width: 28px;
  background: var(--blue);
}

.hero,
.feature-panel,
.page-hero {
  background:
    radial-gradient(circle at top left, rgba(107,141,255,0.18), transparent 36%),
    linear-gradient(145deg, var(--section-bg), var(--content-bg));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.page-hero {
  margin-top: 24px;
}

.hero-grid,
.split-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 26px;
  align-items: center;
}

.eyebrow {
  color: #AFC0FF;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
}

h1,
h2,
h3,
.section-title {
  color: var(--title);
  margin-top: 0;
  line-height: 1.32;
}

h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 16px;
}

h2,
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.lead {
  color: var(--text);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.note {
  color: var(--hint);
  font-size: 14px;
}

.content-img,
.hero-img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: var(--content-bg);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.card,
.zone-card,
.info-card,
.review-card,
.notice-card,
.faq-card,
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 18px;
}

.card,
.info-card,
.review-card,
.notice-card,
.faq-card {
  padding: 22px;
}

.grid-2,
.grid-3,
.grid-4,
.grid-auto {
  display: grid;
  gap: 18px;
}

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

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

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

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head p {
  max-width: 680px;
  margin-bottom: 0;
}

.quick-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-item {
  padding: 18px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.quick-item span {
  display: inline-flex;
  color: #fff;
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  margin-bottom: 10px;
}

.product-card {
  overflow: hidden;
}

.product-card img,
.zone-card img,
.info-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: var(--content-bg);
}

.product-body,
.zone-card div {
  padding: 18px;
}

.zone-card img {
  height: 172px;
}

.info-card img,
.content-img {
  max-width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
}

.list-check {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.list-check li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

.review-card p {
  color: var(--text);
}

.review-card strong {
  display: block;
  color: #fff;
  margin-top: 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: #fff;
  font-weight: 700;
}

.faq-list p {
  margin-top: 12px;
  margin-bottom: 0;
}

.notice-strip {
  background: rgba(107,141,255,.12);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}

.site-footer {
  margin-top: 52px;
  background: var(--footer);
  color: #C8D4F3;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1.1fr;
  gap: 26px;
}

.footer-inner h2,
.footer-inner h3 {
  color: #fff;
}

.footer-inner a {
  display: block;
  color: #C8D4F3;
  margin: 8px 0;
}

.footer-link {
  color: #fff !important;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #8FA1C7;
  font-size: 14px;
}

.drawer-mask,
.mobile-drawer,
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 980px) {
  body {
    padding-top: 74px;
    padding-bottom: 70px;
  }

  .header-inner {
    min-height: 74px;
    gap: 12px;
  }

  .mobile-menu-btn {
    display: block;
    flex: 0 0 auto;
  }

  .site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
  }

  .nav-core,
  .channel-bar {
    display: none;
  }

  .register-btn {
    margin-left: auto;
    min-height: 38px;
    padding: 0 18px;
  }

  .drawer-mask {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.52);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 84vw;
    max-width: 320px;
    height: 100vh;
    background: var(--nav-bg);
    z-index: 1201;
    transform: translateX(-102%);
    transition: transform .24s ease;
    border-right: 1px solid var(--border);
    overflow-y: auto;
  }

  .drawer-open .drawer-mask {
    opacity: 1;
    pointer-events: auto;
  }

  .drawer-open .mobile-drawer {
    transform: translateX(0);
  }

  .drawer-head {
    min-height: 66px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    border-bottom: 1px solid var(--line);
  }

  .drawer-head strong {
    font-size: 23px;
  }

  .drawer-head button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: #fff;
    font-size: 26px;
    line-height: 1;
  }

  .drawer-links {
    padding: 14px;
  }

  .drawer-links a {
    display: block;
    padding: 12px 14px;
    margin-bottom: 6px;
    color: #fff;
    border-radius: 12px;
  }

  .drawer-links a.active,
  .drawer-links a:hover {
    background: var(--blue-soft);
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(18,28,61,.96);
    border-top: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
  }

  .mobile-bottom-nav a {
    padding: 10px 4px 12px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
  }

  .mobile-bottom-nav a.active,
  .mobile-bottom-nav a:hover {
    color: #fff;
  }

  .mobile-bottom-nav a::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 auto 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
  }

  .mobile-bottom-nav a.active::before {
    background: var(--blue);
  }

  .hero-grid,
  .split-grid,
  .page-hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .quick-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .banner-slider {
    width: min(100% - 24px, 1180px);
    margin-top: 18px;
    height: clamp(150px, 52vw, 210px);
    border-radius: 18px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .slider-arrow::before {
    font-size: 26px;
    line-height: 30px;
  }

  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .feature-panel,
  .page-hero {
    padding: 22px;
    border-radius: 20px;
  }

  .footer-bottom {
    display: block;
  }
}

@media (max-width: 560px) {
  .site-logo {
    font-size: 22px;
  }

  h1 {
    font-size: 30px;
  }

  .card,
  .info-card,
  .review-card,
  .notice-card,
  .faq-card {
    padding: 18px;
  }

  .product-card img,
  .zone-card img {
    height: 140px;
  }

  .content-img,
  .hero-img {
    max-height: 230px;
  }
}
