:root {
  --bg: #060a14;
  --card: rgba(18, 26, 51, 0.72);
  --border: rgba(99, 140, 255, 0.22);
  --text: #d7e3ff;
  --muted: #8ea4d2;
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.45);
  --accent: #22d3ee;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", sans-serif;
  background: radial-gradient(ellipse at 50% 0%, #0d1b3e 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 85%);
  pointer-events: none;
  z-index: 0;
  animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 40px 40px; }
}

.bg-hex {
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L56 16v32L28 64 0 48V16z' fill='none' stroke='%2322d3ee' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  pointer-events: none;
  z-index: 0;
}

.bg-scan {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(34, 211, 238, 0.03) 50%, transparent 100%);
  background-size: 100% 8px;
  animation: scan-move 6s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes scan-move {
  from { background-position: 0 0; }
  to { background-position: 0 100vh; }
}

.bg-lines {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-lines::before,
.bg-lines::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 1px;
  left: -50%;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.25), transparent);
  animation: line-sweep 8s ease-in-out infinite;
}

.bg-lines::before { top: 30%; }
.bg-lines::after { top: 70%; animation-delay: 4s; }

@keyframes line-sweep {
  0%, 100% { transform: translateX(-30%); opacity: 0; }
  50% { transform: translateX(30%); opacity: 1; }
}

.bg-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  top: -120px;
  left: -80px;
  background: #2563eb;
}

.bg-glow-2 {
  bottom: -160px;
  right: -100px;
  background: #06b6d4;
}

.bg-glow-3 {
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: rgba(212, 175, 55, 0.15);
  opacity: 0.25;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.2; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.35; transform: translateX(-50%) scale(1.1); }
}

.nav,
main,
footer {
  position: relative;
  z-index: 1;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 20px var(--primary-glow);
}

.hero-logo-wrap {
  margin-bottom: 20px;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.35);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  color: white;
  box-shadow: 0 0 24px var(--primary-glow);
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 28px;
  transition: color 0.2s;
}

nav a:hover {
  color: white;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  background: rgba(34, 211, 238, 0.08);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-minimal {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-note {
  max-width: 520px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  box-shadow: 0 12px 32px var(--primary-glow);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
}

.features {
  padding: 48px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.feature-card .icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.download {
  padding: 48px 0;
}

.download-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(34, 211, 238, 0.1));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.1);
}

.download-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.download-info h2 {
  text-align: left;
  margin-bottom: 12px;
}

.download-info p {
  color: var(--muted);
  margin-bottom: 20px;
}

.download-meta {
  list-style: none;
  color: var(--muted);
  line-height: 1.9;
}

.download-action {
  text-align: center;
}

.platform-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.download-note {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.guide {
  padding: 48px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}

.step-num {
  font-family: "Orbitron", sans-serif;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}

.step h3 {
  margin: 12px 0 8px;
}

.step p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

footer {
  text-align: center;
  padding: 32px 24px 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

  nav a {
    margin: 0 12px;
  }

  .download-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-info h2 {
    text-align: center;
  }
}
