/* trust me bro its optimized */

:root {
  --bg: #09090B;
  --bg-alt: #0D0D10;
  --surface: #121215;
  --surface-2: #161618;
  --surface-3: #1C1C20;
  --line: #1F1F23;
  --border: #2A2A2F;
  --border-strong: #3A3A40;
  --text: #FFFFFF;
  --text-2: #D4D4D8;
  --muted: #A1A1AA;
  --faint: #8A8A93;
  --violet: #9562F5;
  --lavender: #C5A8FF;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius: 22px;
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--text); }
a:hover { color: var(--lavender); }

:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--bg); }

/* trust me bro its optimized */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin: 0; padding: 0; list-style: none;
  font-size: 15px; font-weight: 500;
}
.nav-links a { color: var(--muted); text-decoration: none; transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 4px;
  background: var(--violet); border-radius: 2px;
}

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

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1.5px solid var(--border-strong); color: var(--text);
  cursor: pointer; align-items: center; justify-content: center;
}

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 12px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 12px 4px; font-size: 17px; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--lavender); }
  .nav-actions .btn-small { display: none; }
}

/* trust me bro its optimized */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 24px;
  border-radius: 16px; border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #E4E4E7; color: var(--bg); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); font-weight: 600; }
.btn-ghost:hover { border-color: var(--text); background: #141417; color: var(--text); }

.btn-small { min-height: 44px; padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; }

.btn-block { width: 100%; }

.btn-disabled, .btn-disabled:hover {
  background: var(--surface); color: var(--faint); border-color: var(--border);
  font-weight: 600; cursor: not-allowed;
}
.btn-disabled:active { transform: none; }

/* trust me bro its optimized */

.badge {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 7px 14px 7px 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.tag {
  background: var(--violet); color: var(--text);
  border-radius: 999px; padding: 3px 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.pill {
  font-size: 14px; font-weight: 500;
  border-radius: 999px; padding: 6px 12px;
  border: 1px solid var(--border-strong); background: var(--bg-alt); color: var(--text);
}
.pill-solid { background: var(--text); color: var(--bg); border-color: var(--text); }

/* trust me bro its optimized */

.section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-inner { padding-top: 96px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 44px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; }

.h1 { font-weight: 800; font-size: clamp(46px, 6.4vw, 88px); line-height: 0.98; letter-spacing: -0.02em; }
.h2 { font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.015em; }
.h3 { font-weight: 700; font-size: 24px; line-height: 1.2; }

.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.muted { margin: 0; color: var(--muted); }
.small { font-size: 14px; }

/* trust me bro its optimized */
.page-hero { padding: 80px 0 56px; display: flex; flex-direction: column; gap: 18px; }

/* trust me bro its optimized */

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 88px 0 96px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-side { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* trust me bro its optimized */

.terminal {
  max-width: 560px; background: var(--surface);
  border: 1px solid #26262B; border-radius: 16px; overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid #26262B;
}
.terminal-dots { display: flex; gap: 7px; }
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.copy-btn {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 10px; min-height: 30px; cursor: pointer;
}
.copy-btn:hover { color: var(--text); border-color: var(--border-strong); }
.terminal-body {
  padding: 16px 18px; font-family: var(--font-mono); font-size: 14px; line-height: 1.8;
  overflow-x: auto; white-space: nowrap; color: var(--muted);
}
.terminal-body .prompt { color: #6B6B74; }
.terminal-body .cmd, .terminal-body .ok-text { color: var(--text); }
.terminal-body .tick { color: var(--lavender); }
.cursor {
  display: inline-block; width: 8px; height: 16px; background: var(--text);
  margin-left: 6px; vertical-align: -3px;
  animation: blink 1.1s steps(1) infinite;
}

/* trust me bro its optimized */

.compare {
  width: 100%; max-width: 560px; background: var(--surface);
  border: 1.5px solid #26262B; border-radius: var(--radius); overflow: hidden;
}
.compare-head { padding: 22px 24px 6px; display: flex; flex-direction: column; gap: 4px; }
.compare-head h2 { font-weight: 700; font-size: 22px; }
.compare-scroll { overflow-x: auto; padding: 12px 12px 4px; }
.compare table { width: 100%; min-width: 440px; border-collapse: separate; border-spacing: 0; font-size: 15px; text-align: left; }
.compare th, .compare td { padding: 12px; }
.compare thead th { font-family: var(--font-display); font-weight: 600; color: var(--text-2); }
.compare tbody th { font-weight: 500; color: var(--muted); }
.compare tbody th, .compare tbody td { border-top: 1px solid #26262B; color: var(--text-2); }
.compare .us { background: var(--surface-3); color: var(--text); }
.compare thead .us { border-top: 2px solid var(--violet); border-radius: 12px 12px 0 0; font-weight: 700; }
.compare tbody tr:last-child .us { border-radius: 0 0 12px 12px; }
.compare tbody .us { border-top-color: #2E2E34; }
.compare .yes { font-weight: 600; white-space: nowrap; }
.compare .yes span { color: var(--lavender); }
.compare .no { color: var(--muted); white-space: nowrap; }
.compare-note { margin: 0; padding: 10px 24px 22px; font-size: 13px; line-height: 1.5; color: var(--faint); }

/* trust me bro its optimized */

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--surface-2); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .2s ease, border-color .2s ease;
}
.card-hover:hover { transform: translateY(-4px); border-color: #4A4A52; }
.card-outline { background: transparent; }
.card-accent { border-color: var(--violet); }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--text);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; }

.code-chip {
  margin-top: auto; align-self: flex-start;
  font-family: var(--font-mono); font-size: 13px; color: var(--text);
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px;
}

.home-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.link-card { text-decoration: none; color: var(--text); }
.link-card:hover { color: var(--text); }
.link-card .arrow { color: var(--muted); transition: transform .2s ease, color .2s ease; display: inline-block; }
.link-card:hover .arrow { transform: translateX(4px); color: var(--text); }

/* trust me bro its optimized */

.member { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px; }
.member img { width: 104px; height: 104px; border-radius: 26px; object-fit: cover; border: 1.5px solid var(--border-strong); flex-shrink: 0; }
.member-info { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.member-info h3 { font-weight: 700; font-size: 28px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* trust me bro its optimized */

.price-card { padding: 32px; gap: 22px; }
.price-top { display: flex; flex-direction: column; gap: 6px; }
.price-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1.1; }
.price span { color: var(--muted); }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--text-2); }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: "✓"; color: var(--text); }
.card-accent .checks li::before { color: var(--lavender); }
.price-card .btn { margin-top: auto; }

/* trust me bro its optimized */

.wip {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 56px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.wip-icon {
  width: 56px; height: 56px; border-radius: 16px; border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.wip h2 { font-weight: 700; font-size: 26px; }

/* trust me bro its optimized */

.docs { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding: 48px 0 96px; }

.docs-sidebar { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 20px; max-height: calc(100vh - 120px); overflow-y: auto; padding-bottom: 16px; }

.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); pointer-events: none; }
.search input {
  width: 100%; min-height: 48px; padding: 12px 44px 12px 42px;
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border); border-radius: 14px;
  font-family: var(--font-body); font-size: 15px;
}
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search input:not(:placeholder-shown) + kbd { display: none; }
.search input:focus { outline: none; border-color: var(--lavender); }
.search kbd {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 12px; color: var(--faint);
  border: 1px solid var(--border-strong); border-radius: 6px; padding: 1px 7px;
}

.docs-nav { display: flex; flex-direction: column; gap: 22px; }
.docs-group h2 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.docs-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.docs-group a {
  display: block; padding: 7px 12px; border-radius: 10px;
  color: var(--muted); text-decoration: none; font-size: 15px;
}
.docs-group a:hover { background: var(--surface); color: var(--text); }
.docs-group a[aria-current="true"] { background: var(--surface-3); color: var(--text); font-weight: 500; }
.docs-group a mark { background: rgba(149, 98, 245, 0.35); color: var(--text); border-radius: 3px; padding: 0 1px; }
.docs-empty { color: var(--faint); font-size: 14px; padding: 4px 12px; }

.docs-content { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--faint); margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--border-strong); }
.docs-content .h2 { font-size: clamp(32px, 3.4vw, 44px); }

.docs-pager { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.docs-pager a { border: 1.5px solid var(--border); border-radius: 16px; padding: 16px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.docs-pager a:hover { border-color: #4A4A52; color: var(--text); }
.docs-pager span { font-size: 13px; color: var(--faint); }
.docs-pager .next { text-align: right; }

@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .docs-sidebar { position: static; max-height: none; }
}

/* trust me bro its optimized */

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 14px; color: var(--muted);
}
.footer-inner img { height: 28px; width: auto; }

/* trust me bro its optimized */

.rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.rise-2 { animation-delay: .12s; }
.rise-3 { animation-delay: .24s; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .cursor { animation: none; }
  .card, .btn, .link-card .arrow { transition: none; }
}
