/* ===== CSS Variables ===== */
:root {
  --primary-cyan: #00f0ff;
  --primary-purple: #7b2fff;
  --primary-green: #00d4aa;
  --bg-darkest: #0a0e1a;
  --bg-dark: #111827;
  --bg-card: #1a1f35;
  --bg-card-hover: #222845;
  --text-white: #ffffff;
  --text-light: #e0e7ff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-glow: rgba(0, 240, 255, 0.15);
  --border-glow-hover: rgba(0, 240, 255, 0.4);
  --shadow-cyan: rgba(0, 240, 255, 0.2);
  --shadow-purple: rgba(123, 47, 255, 0.2);
  --gradient-main: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  --gradient-reverse: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
  --glass-bg: rgba(26, 31, 53, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-heading: 'Orbitron', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft Yahei', sans-serif;
  --container-width: 1200px;
  --header-height: 72px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-darkest);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* ===== Header / Navigation ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#header.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 1px;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-darkest);
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--bg-darkest);
  box-shadow: 0 4px 20px var(--shadow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-cyan), 0 0 40px rgba(0, 240, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary-cyan);
  border: 1.5px solid var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: floatUp 2s ease-in-out infinite;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-cyan);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 2px;
}

@keyframes floatUp {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 22px; }
}

/* ===== Section Common ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.title-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-main);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== About Section ===== */
.about {
  background: var(--bg-darkest);
}

.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.advantage-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow-hover);
  box-shadow: 0 8px 40px rgba(0, 240, 255, 0.1), 0 0 60px rgba(0, 240, 255, 0.05);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.15);
  transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.advantage-icon i {
  font-size: 30px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.advantage-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Business Section ===== */
.business {
  background: var(--bg-dark);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.business-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.business-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow-hover);
  box-shadow: 0 12px 50px rgba(0, 240, 255, 0.1);
}

.business-card-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.business-card-glow.glow-purple {
  background: radial-gradient(circle, rgba(123, 47, 255, 0.08), transparent 70%);
}

.business-card-header {
  margin-bottom: 28px;
}

.business-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.1);
  margin-bottom: 20px;
}

.business-icon.icon-purple {
  background: rgba(123, 47, 255, 0.1);
}

.business-icon i {
  font-size: 24px;
  color: var(--primary-cyan);
}

.business-icon.icon-purple i {
  color: var(--primary-purple);
}

.business-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.business-subtitle {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.business-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.business-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.business-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light);
}

.business-features li i {
  color: var(--primary-cyan);
  font-size: 14px;
  flex-shrink: 0;
}

.business-card:nth-child(2) .business-features li i {
  color: var(--primary-purple);
}

/* ===== Data Section ===== */
.data-section {
  background: var(--bg-darkest);
  position: relative;
}

.data-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(123, 47, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.data-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.data-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow-hover);
  box-shadow: 0 8px 40px rgba(0, 240, 255, 0.1);
}

.data-icon {
  margin-bottom: 20px;
}

.data-icon i {
  font-size: 36px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.data-num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-cyan);
  display: inline;
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.data-unit {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-cyan);
  display: inline;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.data-label {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===== Partners Section ===== */
.partners {
  background: var(--bg-dark);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: all 0.4s ease;
  cursor: default;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.partner-item i {
  font-size: 32px;
  color: var(--text-dim);
  transition: all 0.4s ease;
}

.partner-item span {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.4s ease;
}

.partner-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow-hover);
  background: rgba(26, 31, 53, 0.8);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.08);
}

.partner-item:hover i {
  color: var(--primary-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.3));
}

.partner-item:hover span {
  color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
  background: #080b14;
  padding: 60px 0 30px;
  position: relative;
  text-align: center;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0.5;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-logo {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-company {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

.footer-links .divider {
  color: var(--text-dim);
  font-size: 12px;
}

.footer-icp {
  margin-top: 12px;
}

.footer-icp a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.footer-icp a:hover {
  color: var(--primary-cyan);
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: 0 4px 20px var(--shadow-cyan);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-cyan);
}

.scroll-to-top i {
  color: var(--bg-darkest);
  font-size: 18px;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .advantages {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--glass-border);
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    font-size: 18px;
    padding: 12px 24px;
    width: 100%;
    text-align: center;
  }

  .burger {
    display: flex;
  }

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

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

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

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

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

  .business-card {
    padding: 28px;
  }

  .business-features {
    grid-template-columns: 1fr;
  }

  .data-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .data-num {
    font-size: 36px;
  }

  .data-unit {
    font-size: 18px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 15px;
  }

  .data-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .data-item {
    padding: 24px 12px;
  }

  .data-num {
    font-size: 28px;
  }

  .data-unit {
    font-size: 16px;
  }

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

  .footer-links {
    gap: 8px;
  }

  .footer-links .divider {
    display: none;
  }

  .footer-links a {
    font-size: 13px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ===== Utility Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
  }
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}
