:root {
  --bg: #0f172a;
  --card: #111827;
  --muted: #64748b;
  --accent: #f97316;
  --accent-2: #22d3ee;
  --border: #1f2937;
  --text: #e2e8f0;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.12), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.12), transparent 32%),
              #020617;
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(16px, 4vw, 48px);
  backdrop-filter: blur(20px);
  background: rgba(2, 6, 23, 0.7);
  border-bottom: 1px solid var(--border);
}

.topbar nav a {
  margin-left: 16px;
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
}

.topbar nav a:hover {
  color: #fff;
}

.logo {
  font-weight: 700;
  font-size: 18px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: clamp(32px, 5vw, 60px) clamp(16px, 4vw, 48px);
  align-items: center;
}

.hero__copy h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 12px 0;
}

.lede {
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}

.chip--active {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  color: #0b1021;
}

.highlight {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(249, 115, 22, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.highlight__list {
  padding-left: 18px;
  color: var(--muted);
}

.hero__panel {
  display: flex;
  justify-content: flex-end;
}

.section {
  padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 48px);
}

.section--muted {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--border);
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.section__header h2 {
  margin: 6px 0;
}

.badge {
  background: rgba(249, 115, 22, 0.2);
  color: #ffd7b5;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tag {
  display: inline-block;
  background: rgba(34, 211, 238, 0.16);
  color: #a5f3fc;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.chip--ghost {
  border-style: dashed;
}

.cta {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b1021;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.table__wrapper {
  overflow-x: auto;
  margin-top: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
}

th, td {
  border: 1px solid var(--border);
  padding: 12px 10px;
  text-align: left;
}

th {
  background: rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 0;
}

tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.toggles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.toggle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.toggle--off {
  opacity: 0.55;
  text-decoration: line-through;
}

.quiz {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.08), rgba(249, 115, 22, 0.08));
  padding: 24px;
  box-shadow: var(--shadow);
}

.quiz__form {
  display: grid;
  gap: 14px;
}

.quiz__form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

.quiz__form select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b1224;
  color: #fff;
}

.quiz__result {
  border: 1px dashed var(--accent-2);
  padding: 14px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.06);
  min-height: 56px;
  color: var(--text);
}

.cta-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
  gap: 14px;
  background: #0c1224;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.seo-block {
  background: #0c1224;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 1.6;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 16px clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--muted);
}

@media (max-width: 640px) {
  .topbar nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
  }
}
