:root {
  --bg-primary: #07071a;
  --bg-section: #0c0c2d;
  --bg-card: #16163d;
  --text-primary: #f8f9ff;
  --text-secondary: #c8c9df;
  --text-muted: #9a9dbc;
  --border-purple: rgba(124, 58, 237, 0.25);
  --gradient-primary: linear-gradient(90deg, #7c3aed 0%, #a78bfa 100%);
  --radius-sm: 0.4rem;
  --radius-md: 0.75rem;
  --transition: 0.2s ease;
}

/* Default / dark — navbar glass when scrolled (layout: public/css/website-page.css) */
header.site-header .navbar.scrolled,
.site-header > .navbar.scrolled,
.site-header > nav.navbar.scrolled,
body > nav.navbar.scrolled:first-of-type {
  background: rgba(7, 7, 26, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-purple);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Inter", "Noto Sans TC", system-ui, -apple-system, sans-serif;
}

a {
  color: inherit;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.theme-section {
  padding: 5rem 0;
}

.theme-section-alt {
  background: var(--bg-section);
}

.theme-kicker {
  color: #ffd27a;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.theme-muted {
  color: var(--text-secondary);
}

.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 0.9rem;
  color: var(--text-primary);
  height: 100%;
}

.theme-card .card-body p,
.theme-card p {
  color: var(--text-secondary);
}

.theme-btn-primary {
  border: 0;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
}

.theme-btn-outline {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text-primary);
  padding: 0.55rem 1.15rem;
}
