*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #060a14;
  --bg-alt: #0c1220;
  --bg-card: rgba(12, 18, 32, 0.7);
  --text: #e8ecf4;
  --text-muted: #8b95a8;
  --accent: #7eb8ff;
  --accent-bright: #c8e0ff;
  --accent-glow: rgba(126, 184, 255, 0.35);
  --silver: #b8c4d8;
  --border: rgba(126, 184, 255, 0.12);
  --border-hover: rgba(126, 184, 255, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--accent);
}

/* Background effects */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 184, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 184, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: rgba(80, 140, 255, 0.12);
  animation: float 12s ease-in-out infinite;
}

.bg-glow-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -10%;
  background: rgba(140, 180, 255, 0.08);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 10, 20, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.04em;
}

.logo-icon {
  color: var(--accent);
  font-size: 1.1rem;
  text-shadow: 0 0 12px var(--accent-glow);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

main {
  position: relative;
  z-index: 1;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
}

.hero-content {
  max-width: 680px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  background: rgba(126, 184, 255, 0.05);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 0%, var(--silver) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-en {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(126, 184, 255, 0.2), rgba(126, 184, 255, 0.08));
  border: 1px solid var(--border-hover);
  color: var(--accent-bright);
  box-shadow: 0 0 20px rgba(126, 184, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(126, 184, 255, 0.3), rgba(126, 184, 255, 0.12));
  box-shadow: 0 0 30px rgba(126, 184, 255, 0.2);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* Hero visual - network */
.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(126, 184, 255, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 300px;
  height: 300px;
  animation: spin 30s linear infinite;
}

.orbit-2 {
  width: 450px;
  height: 450px;
  animation: spin 45s linear infinite reverse;
}

.orbit-3 {
  width: 600px;
  height: 600px;
  border-style: dashed;
  animation: spin 60s linear infinite;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
  animation: twinkle 3s ease-in-out infinite;
}

.node-1 { top: 25%; left: 20%; animation-delay: 0s; }
.node-2 { top: 20%; right: 18%; animation-delay: 0.8s; width: 6px; height: 6px; }
.node-3 { bottom: 30%; left: 15%; animation-delay: 1.5s; }
.node-4 { bottom: 25%; right: 22%; animation-delay: 0.4s; width: 10px; height: 10px; }
.node-5 { top: 45%; right: 10%; animation-delay: 2s; width: 5px; height: 5px; }

.network-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  opacity: 0.15;
}

.network-lines line {
  stroke: var(--accent);
  stroke-width: 1;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Stats bar */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 18, 32, 0.5);
  backdrop-filter: blur(8px);
}

.stats-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 140px;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Sections */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--bg-alt);
  max-width: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 0.75rem;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.about-text strong {
  color: var(--accent-bright);
  font-weight: 500;
}

.about-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.panel-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 24px rgba(126, 184, 255, 0.06);
}

.panel-icon {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  font-family: "Helvetica Neue", monospace;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.panel-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 0.35rem;
}

.panel-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 24px rgba(126, 184, 255, 0.06);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent-bright);
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 520px;
}

/* Contact */
.section-contact {
  padding-bottom: 3rem;
}

.contact-box {
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(126, 184, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-value {
  font-size: 1.05rem;
  color: var(--text);
}

.contact-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.contact-link {
  color: var(--accent-bright);
  font-size: 1.1rem;
}

.contact-link:hover {
  text-shadow: 0 0 12px var(--accent-glow);
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.footer p + p {
  margin-top: 0.5rem;
}

.icp a {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.icp a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-inner {
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .contact-box {
    padding: 2rem 1.5rem;
  }

  .orbit-3 {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .nav-links li:nth-child(3) {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 240px;
    text-align: center;
  }
}
