/* GigaMatrix Web Dark Theme (Aligned with GigaMatrix Desktop/Mobile HUD) */
:root {
  --bg-main: #0d1117;
  --bg-card: rgba(22, 27, 34, 0.75);
  --border-glass: rgba(255, 255, 255, 0.1);
  --text-main: #e6edf3;
  --text-muted: #8b949e;
  --accent-cyan: #58a6ff;
  --accent-blue: #1f6feb;
  --accent-green: #238636;
}

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

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(31, 111, 235, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(88, 166, 255, 0.08) 0%, transparent 40%);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}
.logo-mark {
  color: var(--accent-cyan);
  font-size: 20px;
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
}
.btn-nav-admin {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  color: #fff !important;
  font-size: 13px !important;
}
.btn-nav-admin:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-select {
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.lang-select:hover, .lang-select:focus {
  border-color: var(--accent-cyan);
  background: rgba(30, 36, 46, 0.95);
}
.lang-select option {
  background: #161b22;
  color: #e6edf3;
}

/* 主内容容器 */
.main-content {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  width: 100%;
}

/* 英雄区 (Hero) */
.hero {
  text-align: center;
  padding: 40px 0 60px;
}
.hero-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(88, 166, 255, 0.12);
  border: 1px solid rgba(88, 166, 255, 0.25);
  border-radius: 20px;
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #c9d1d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-blue);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, background-color 0.2s;
}
.btn-primary:hover {
  background: #388bfd;
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-glass);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* 特性网格 (Feature Grid) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(88, 166, 255, 0.4);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(88, 166, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* 底部 */
.site-footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(13, 17, 23, 0.9);
  padding: 32px 24px;
  margin-top: 60px;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}
