*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --text: #e0e0e0;
  --text-muted: #999;
  --accent: #76d7ff;
  --accent-light: #a1e8ff;
  --accent-glow: rgba(118, 215, 255, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --max-width: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-light);
}

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

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

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero.jpg") center / cover no-repeat;
  filter: brightness(0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.hero-logo {
  width: 280px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-desc {
  color: var(--text);
  max-width: 640px;
  font-size: 1.05rem;
}

section {
  padding: 3.5rem 0;
}

section + section {
  border-top: 1px solid var(--border);
}

h2 {
  color: var(--accent-light);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

strong {
  color: #fff;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-list li:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.feature-list li::before {
  content: "✦";
  color: var(--accent);
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.device-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.device-tags span {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  color: var(--accent-light);
}

.showcase {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.showcase img {
  width: 100%;
}

.showcase figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-card);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.link-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}

.link-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--text);
}

.link-card h3 {
  margin-bottom: 0.4rem;
}

.link-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.link-card .arrow {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  display: block;
}

.forum-cta {
  background: linear-gradient(135deg, rgba(118, 215, 255, 0.08) 0%, rgba(118, 215, 255, 0.02) 100%);
  border: 1px solid rgba(118, 215, 255, 0.2);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
}

.forum-cta h2 {
  margin-bottom: 0.75rem;
}

.forum-cta p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--accent-light);
  color: #0a0a0a;
  transform: scale(1.03);
}

.btn svg {
  width: 18px;
  height: 18px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--accent);
}

footer p + p {
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .hero {
    min-height: 340px;
  }

  .hero-logo {
    width: 200px;
  }

  .forum-cta {
    padding: 1.75rem 1.25rem;
  }
}
