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

:root {
  --bg: #ffffff;
  --panel: #f5f7fb;
  --card: #ffffff;
  --card-soft: #f5f7fb;
  --accent: #0f74ff;
  --accent-2: #7c3aed;
  --text: #0f172a;
  --text-dim: #1f2937;
  --muted: #6b7280;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-2);
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 18px 80px;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(103, 195, 255, 0.35);
  position: relative;
}

.brand span::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 6px;
  background: #0c1024;
  opacity: 0.9;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.hero {
  margin-top: 26px;
  padding: 30px;
  border-radius: calc(var(--radius) * 1.3);
  background: linear-gradient(135deg, rgba(15, 116, 255, 0.08), rgba(124, 58, 237, 0.06)),
    linear-gradient(120deg, #ffffff, #f7f9ff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 116, 255, 0.18), transparent 60%);
  top: -40px;
  right: -60px;
  filter: blur(6px);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.3px;
}

.hero .subtitle {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 800px;
}

.hero .meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.chip {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip small {
  color: var(--muted);
  font-weight: 500;
}

section {
  margin-top: 40px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

section h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 24px;
}

section h3 {
  margin-bottom: 8px;
  margin-top: 20px;
}

p {
  margin: 0 0 14px;
  color: var(--text-dim);
}

ul,
ol {
  padding-left: 22px;
  color: var(--text-dim);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 12px;
}

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

th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(103, 195, 255, 0.16);
  color: var(--text);
  font-weight: 600;
}

.note-box {
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  background: rgba(103, 195, 255, 0.08);
  border-radius: 10px;
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  padding: 16px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h4 {
  margin: 0 0 6px;
}

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

.faq-item {
  margin-bottom: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.hero-image {
  margin: 14px 0 18px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-image img {
  width: 100%;
  display: block;
  height: auto;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 6px;
}

.footer {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 6px;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  .hero {
    padding: 22px;
  }
}
