/* ============================================
/* ============================================
   StarForge — Dark Tech CSS Variable System
   ============================================ */
/* --- CSS Variables --- */
:root {
  /* Backgrounds - 恢复到更清晰的对比度 */
  --bg-primary: #0d0d10;
  --bg-card: #141418;
  --bg-deep: #08080a;

  /* Text - 调高对比度 */
  --text-primary: #f8f8fc;
  --text-secondary: #b8b8c8;
  --text-muted: #6b6b7b;

  /* Accent - 保持青色 */
  --accent: #22d3ee;
  --accent-foreground: #0d0d10;
  --gradient-accent: linear-gradient(135deg, #22d3ee, #06b6d4);

  /* 动态效果变量 */
  --accent-dim: rgba(34, 211, 238, 0.1);
  --accent-glow: rgba(34, 211, 238, 0.25);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);

  /* Status */
  --success: #34d399;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Transition */
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 0.9375rem; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #05060a;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.25);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(34, 211, 238, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  color: var(--accent);
}
.btn-ghost:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.2);
  transform: translateY(-1px);
}
.btn-outline:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.1);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

/* --- Utility Classes --- */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 32px;
}

.mt-4 {
  margin-top: 32px;
}

.gap-2 {
  gap: 16px;
}
