:root {
  color-scheme: dark;
  --bg: #0b0f12;
  --text: #e6f3f1;
  --muted: #a6c9c4;
  --accent: #24f0c7;
  --accent-soft: rgba(36, 240, 199, 0.2);
  --card: rgba(20, 28, 32, 0.65);
  --border: rgba(80, 255, 220, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "SF Pro Text", "PingFang SC", "Helvetica Neue",
    Arial, sans-serif;
  background: radial-gradient(circle at top, #111a1f, var(--bg));
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

canvas#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.topbar {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 3;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12, 18, 20, 0.4);
  color: var(--accent);
  transition: 0.2s ease;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.icon-button:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-soft);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 2;
}

.hero-inner h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.hero-inner p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 0 24px 120px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.radar {
  width: 100%;
  height: auto;
}

.radar-grid {
  fill: none;
  stroke: rgba(140, 255, 230, 0.15);
}

.radar-area {
  fill: rgba(36, 240, 199, 0.2);
  stroke: var(--accent);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px rgba(36, 240, 199, 0.25));
}

.radar-point {
  fill: var(--accent);
}

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 24px 24px 40px;
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-footer a:hover {
  border-color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
