:root {
  --bg: #0a0e12;
  --bg-elevated: #121820;
  --surface: #161d27;
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #f0f4f8;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-dim: rgba(56, 189, 248, 0.15);
  --accent-glow: rgba(56, 189, 248, 0.35);
  --pill-bg: rgba(255, 255, 255, 0.06);
  --pill-active: rgba(56, 189, 248, 0.2);
  --radius-lg: 20px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Ubuntu, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, var(--accent-dim), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(99, 102, 241, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(56, 189, 248, 0.08), transparent 45%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* —— Top language bar —— */
.lang-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
  background: rgba(10, 14, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
}

.lang-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--pill-bg);
  border-radius: var(--radius-pill);
  border: 1px solid var(--surface-border);
  gap: 2px;
}

.lang-switch a {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-switch a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch a.is-active {
  color: var(--text);
  background: var(--pill-active);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}

/* —— Main area —— */
.shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
}

.card {
  position: relative;
  width: 100%;
  max-width: 32rem;
  padding: 2.25rem 2rem 2rem;
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.65) 0%, var(--surface) 45%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2) inset,
    0 32px 64px -16px rgba(0, 0, 0, 0.45),
    0 0 80px -20px var(--accent-glow);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), transparent 40%, transparent);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.92);
  }
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.55;
}

.list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.list li:last-child {
  margin-bottom: 0;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.footnote {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--surface-border);
  font-size: 0.85rem;
  color: var(--muted);
}
