:root {
  color-scheme: dark;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --primary: #00c2ff;
  --secondary: #ff9f1c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  line-height: 1.5;
  overflow: hidden;
}

header {
  position: relative;
  width: 100%;
  height: 100vh;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-wrapper a {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.logo-wrapper a:hover {
  opacity: 0.8;
}

.logo {
  width: auto;
  height: 48px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}

.site-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

/* 汉堡菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  display: block;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.slide.active {
  opacity: 1;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25));
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 600px;
  z-index: 2;
  padding: 20px;
}

.hero-copy > p:first-child {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-copy h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  margin: 0 0 28px;
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-copy p:last-child {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.indicators {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 6;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.indicator {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.indicator.active {
  width: 24px;
  height: 8px;
  background: var(--primary);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.6);
  transform: scale(1);
}

.indicator.active::before {
  width: 100%;
  height: 100%;
  opacity: 1;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  header {
    height: 100vh;
    height: 100dvh; /* 动态视口高度，考虑移动浏览器地址栏 */
  }

  nav {
    padding: 16px 24px;
  }

  .logo {
    height: 36px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    transition: right 0.3s ease;
    z-index: 100;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    display: block;
    padding: 20px 0;
    font-size: 16px;
    width: 100%;
  }

  /* 轮播图移动端优化 */
  .carousel {
    touch-action: pan-y pinch-zoom;
  }

  .slide {
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }

  .slide::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
  }

  .hero-copy {
    left: 0;
    right: 0;
    top: auto;
    bottom: 120px;
    transform: none;
    max-width: 100%;
    padding: 0 24px;
    text-align: center;
  }

  .hero-copy > p:first-child {
    font-size: 11px;
    margin-bottom: 12px;
    letter-spacing: 0.15em;
  }

  .hero-copy h1 {
    font-size: clamp(22px, 7vw, 36px);
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
  }

  .hero-copy p:last-child {
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .indicators {
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%);
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }

  .indicator {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
  }

  .indicator.active {
    width: 20px;
    height: 6px;
    background: var(--primary);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.6);
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  header {
    height: 100vh;
    height: 100dvh;
  }

  .hero-copy {
    bottom: 100px;
    padding: 0 20px;
  }

  .hero-copy > p:first-child {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(20px, 8vw, 28px);
    margin-bottom: 14px;
  }

  .hero-copy p:last-child {
    font-size: 12px;
  }

  .indicators {
    bottom: 60px;
    padding: 6px 12px;
    gap: 6px;
  }

  .indicator {
    width: 5px;
    height: 5px;
  }

  .indicator.active {
    width: 18px;
    height: 5px;
  }

  .slide::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.7) 100%);
  }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
  header {
    height: 100vh;
    height: 100dvh;
  }

  .hero-copy {
    bottom: 80px;
    padding: 0 32px;
  }

  .hero-copy h1 {
    font-size: clamp(20px, 5vw, 32px);
    margin-bottom: 12px;
  }

  .hero-copy > p:first-child {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .hero-copy p:last-child {
    font-size: 12px;
  }

  .indicators {
    bottom: 50px;
    padding: 6px 12px;
    gap: 6px;
  }

  .indicator {
    width: 5px;
    height: 5px;
  }

  .indicator.active {
    width: 18px;
    height: 5px;
  }
}

/* Footer 样式 */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 64px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  z-index: 5;
}

footer p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  footer {
    padding: 12px 24px;
  }

  footer p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 10px 16px;
  }

  footer p {
    font-size: 10px;
  }
}

