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

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --bg-card: #161616;
  --border: #222222;
  --text: #e5e5e5;
  --text-dim: #888888;
  --accent: #ffffff;
  --accent-dim: #cccccc;
  --code-bg: #0d0d0d;
  --green: #4ade80;
  --yellow: #facc15;
  --blue: #60a5fa;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--text);
}

/* Hero */

.hero {
  padding: 120px 0 80px;
  text-align: center;
}

.hero-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
}

.hero-breadcrumb a:hover {
  color: var(--text);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 20px;
  letter-spacing: -0.03em;
}

.highlight {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--text-dim);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-sub code {
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid var(--border);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-primary:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-dim);
  background: var(--bg-card);
}

/* Sections */

.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 48px;
  font-size: 1rem;
}

.section-sub code {
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid var(--border);
}

/* Grid / Cards */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  transition: border-color 0.15s;
}

.card:hover {
  border-color: #444;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Badges */

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

.badge-exp {
  background: rgba(250, 204, 21, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(250, 204, 21, 0.2);
}

.badge-plan {
  background: rgba(96, 165, 250, 0.12);
  color: var(--blue);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.feature {
  text-align: center;
  padding: 24px 16px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dim);
}

.feature h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Code block */

.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  overflow-x: auto;
  margin-bottom: 32px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.code-block pre {
  font-family: "SF Mono", "Cascadia Code", "Fira Code", "Consolas", monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text);
}

.code-block code {
  white-space: pre;
}

/* Table */

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead th {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

tbody tr:last-child td {
  border-bottom: none;
}

.status-live {
  color: var(--green);
  font-weight: 500;
}

.status-exp {
  color: var(--yellow);
  font-weight: 500;
}

.status-plan {
  color: var(--blue);
  font-weight: 500;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .nav-links {
    gap: 16px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 80px 0 56px;
  }

  .content {
    padding: 40px 0;
  }

  .content table {
    font-size: 0.8rem;
  }
}
