:root {
  --bg: #00001b;
  --panel: #5219ae;
  --accent: #ff4260;
  --text: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Microsoft YaHei", sans-serif;
}

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

.page {
  width: min(100%, 2560px);
  margin: 0 auto;
  min-width: 1200px;
  background: linear-gradient(180deg, #020120 0%, #00001b 100%);
  overflow: hidden;
}

.section-anchor {
  scroll-margin-top: 90px;
}

.hero {
  position: relative;
  min-height: auto;
  background:
    linear-gradient(180deg, rgba(2, 1, 32, 0.1) 0%, rgba(2, 1, 32, 0.85) 100%),
    url("../assets/images/hero-bg.png") center / cover no-repeat;
}

.logo-main {
  position: absolute;
  left: clamp(24px, 10.7vw, 274px);
  top: clamp(24px, 2.2vw, 57px);
  width: clamp(160px, 11vw, 283px);
}

.hero-content {
  position: relative;
  width: 100%;
}

.city-art {
  position: relative;
  width: 100%;
  height: auto;
  opacity: 0.9;
  display: block;
}

.hero-title-block {
  position: relative;
  padding-top: 830px;
  text-align: center;
  z-index: 1;
}

.hero-title-block h1 {
  margin: 0;
  font-size: clamp(28px, 2.35vw, 60px);
  font-weight: 400;
}

.hero-time {
  position: absolute;
  right: clamp(40px, 10.9vw, 280px);
  top: 345px;
  z-index: 2;
}

.time-label {
  display: block;
  font-size: clamp(14px, 1.42vw, 36px);
  margin-bottom: 14px;
}

.time-range {
  display: flex;
  align-items: center;
  gap: 26px;
}

.time-range strong {
  font-size: clamp(30px, 3.1vw, 80px);
  letter-spacing: -0.04em;
}

.split-line {
  width: 2px;
  height: clamp(30px, 2.15vw, 55px);
  background: #fff;
}

.top-nav {
  height: 173px;
  background: var(--panel);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 clamp(16px, 14.8vw, 380px);
}

.top-nav a {
  font-size: 38px;
  border-radius: 30px;
  text-align: center;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 5px 0;
}

.top-nav a:last-child {
  font-weight: 400;
}

.top-nav a.active {
  background: var(--accent);
}

.top-nav a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

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

.content-wrapper {
  background:
    url("../assets/images/bd-bg.jpg") top no-repeat,
    #000000;
  background-size: contain;
}

.feature {
  position: relative;
  padding: 20px clamp(20px, 10.9vw, 280px) 20px;
  background: transparent;
}

.feature-frame {
  max-height: 645px;
  overflow: hidden;
  border-radius: 8px;
}

.feature-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  margin: 10px 0 0;
  text-align: center;
  font-size: clamp(14px, 1.56vw, 40px);
  font-weight: 700;
}

.module {
  padding: 0px clamp(20px, 10.9vw, 280px) 50px;
  background: transparent;
}

.module-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 44px;
}

.module-header h2 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 90px);
  font-weight: 400;
}

.module-header span {
  color: var(--accent);
  font-size: clamp(26px, 3.9vw, 100px);
  letter-spacing: 0.2em;
}

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

.car-card {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.car-card img {
  width: 100%;
  display: block;
}

.car-title {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  background: rgba(82, 25, 174, 0.3);
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(255, 66, 96, 0.3);
}

.car-card.hidden-item {
  display: none !important;
}

.more-btn {
  width: 282px;
  height: 102px;
  border: 2px solid #fff;
  margin: 120px auto 0;
  display: grid;
  place-items: center;
  font-size: clamp(22px, 1.9vw, 49px);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.more-btn:hover {
  background: #fff;
  color: #420093;
}

.logo-grid {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px 18px;
  width: 100%;
}

.logo-grid a {
  min-height: 140px;
  aspect-ratio: 390 / 160;
  width: 100%;
  border-radius: 4px;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.logo-grid a:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.logo-grid img {
  max-width: 95%;
  max-height: 88%;
  object-fit: contain;
}

.platform {
  padding-bottom: 120px;
}

.footer {
  padding: 80px 20px 64px;
  text-align: center;
}

.footer img {
  width: 310px;
  margin-bottom: 30px;
}

.footer p {
  margin: 8px 0;
  font-size: 40px;
}

.float-nav {
  position: fixed;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.3s ease;
}

.float-nav a {
  width: 130px;
  height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #fff;
  background: url("../assets/images/menu-bg.png") center / 100% 100% no-repeat;
  clip-path: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-nav a:first-child {
  margin-top: 0;
  border-radius: 0;
  clip-path: none;
}

.float-nav a:nth-child(2),
.float-nav a:nth-child(3),
.float-nav a:nth-child(4) {
  background: url("../assets/images/menu-bg.png") center / 100% 100% no-repeat;
}

.float-nav a.active {
  background: url("../assets/images/menu-hover.png") center / 100% 100% no-repeat;
}

.float-nav a:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 66, 96, 0.4);
}

.float-nav .back-top {
  margin-top: 20px;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  clip-path: none;
  background: #ffffff;
  font-size: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
  margin-left: 0;
  margin-right: 0;
}

.float-nav .back-top::before {
  content: '';
  width: 12px;
  height: 12px;
  border-left: 3px solid #333;
  border-top: 3px solid #333;
  transform: rotate(45deg);
  margin-bottom: 4px;
}

.float-nav .back-top:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

@media (max-width: 1600px) {
  .hero-title-block {
    padding-top: 400px;
  }

  .top-nav {
    height: 100px;
  }

  .module-header span {
    letter-spacing: 0.14em;
  }

  .more-btn {
    width: 250px;
    height: 84px;
    margin-top: 70px;
  }

  .float-nav {
    right: 30px;
  }

  .float-nav a {
    width: 100px;
    height: 90px;
    font-size: 18px;
  }

  .float-nav .back-top {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 1024px) {
  .top-nav {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
    height: auto;
    padding: 16px;
  }

  .hero-time {
    position: relative;
    right: auto;
    top: auto;
    margin: 30px auto 0;
    width: fit-content;
  }

  .hero-title-block {
    padding-top: 420px;
  }

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

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

  .float-nav {
    display: none;
  }
}
