@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #080808;
  --card: #0f0f0f;
  --surface: #121212;
  --muted-surface: #1a1a1a;
  --text: #f5f8ff;
  --muted: #9e9e9e;
  --primary: #00f0ff;
  --accent: #00aade;
  --border: #292929;
  --glass: rgba(18, 18, 18, 0.86);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 73% 16%, rgba(0, 240, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #0a0a0a 0%, var(--bg) 32%, #050505 100%);
  color: var(--text);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.03;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.84);
  backdrop-filter: blur(16px);
}

.nav .shell,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand img {
  width: auto;
  height: 48px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.01);
  color: var(--text);
  font-weight: 600;
  transition: 200ms ease;
}

.btn:hover {
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
}

.btn.primary,
.primary {
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #06111f;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.12);
}

.btn.primary:hover,
.primary:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 240, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  content: "";
  pointer-events: none;
}

.hero > .shell,
.hero-grid {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 {
  margin: 20px 0 18px;
  font-size: clamp(2rem, 7vw, 4.25rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.625rem, 5vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  font-size: clamp(1.125rem, 3vw, 1.875rem);
  line-height: 1.18;
}

.lead {
  max-width: 780px;
  color: #c7d0dc;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

section {
  padding: 52px 0;
}

.band {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.grid,
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.card,
.panel,
details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.95), rgba(9, 9, 9, 0.98));
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.card {
  min-height: 160px;
  padding: 22px;
  border-radius: 14px;
}

.panel {
  overflow: hidden;
  border-radius: 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.score {
  display: grid;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 88%, #202733 88%);
  place-items: center;
}

.score span {
  display: grid;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: #06111f;
  font-size: 28px;
  font-weight: 700;
  place-items: center;
}

.rows {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.row {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.12);
  color: var(--primary);
  font-weight: 700;
}

p,
li {
  color: var(--muted);
  font-size: 0.9375rem;
}

details {
  margin: 10px 0;
  padding: 14px 16px;
  border-radius: 12px;
}

summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.footer-brand img {
  width: auto;
  height: 24px;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid,
  .cards,
  .lang-grid {
    grid-template-columns: 1fr;
  }

  .nav-actions .btn:not(.primary),
  .nav .btn:not(.primary) {
    display: none;
  }

  .brand img {
    height: 44px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
