/*
   Tubient Static Page Styles
   Systematic replication of Tailwind CSS utility classes
   Consolidated with documentation-specific styles

   NOTE: token values here are kept IN SYNC with app/index.css (the compiled
   Tailwind entry that also loads on marketing pages). Both must agree so the
   page renders identically regardless of stylesheet load order.
*/

/* ── Self-hosted typefaces (no CDN; privacy + no render-block) ──────────── */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/geist-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/fonts/geist-mono-500.woff2') format('woff2');
}

:root {
  --background: #15120f;
  --foreground: #ece5d8;
  --card: #1c1812;
  --card-foreground: #ece5d8;
  --popover: #16130f;
  --popover-foreground: #ece5d8;
  --primary: #ef4444;
  --primary-foreground: #ffffff;
  --secondary: #1a1816;
  --secondary-foreground: #aaaaaa;
  --muted: #1a1816;
  --muted-foreground: #938a7d;
  --accent: #ef4444;
  --accent-foreground: #ffffff;
  --destructive: #ef4444;
  --destructive-foreground: #f8fafc;
  --border: rgba(255, 255, 255, 0.08);
  --input: rgba(255, 255, 255, 0.08);
  --ring: #ef4444;
  --radius: 0.75rem;
  --sidebar-width: 280px;

  /* Cyberpunk Red Palette */
  --red-600: #dc2626;
  --red-500: #ef4444;
  --red-400: #f87171;
  --red-glow: rgba(220, 38, 38, 0.4);

  /* Node Colors */
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --taupe-400: #a39990;
  --taupe-500: #8a8077;
}

/* Override the Tailwind .dark block (lower specificity) for marketing pages only */
html.dark {
  --background: #15120f;
  --card: #1c1812;
}


/* ── Base ────────────────────────────────────────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter Variable', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter Variable', system-ui, 'Segoe UI', Roboto, sans-serif;
}

/* ── Token-driven utilities (mirror compiled Tailwind for the static path) ─ */
.bg-background {
  background-color: var(--background);
}
.bg-background\/80 {
  background-color: rgba(14, 12, 10, 0.8);
}
.text-foreground {
  color: var(--foreground);
}
.text-muted-foreground {
  color: var(--muted-foreground);
}

/* ── Content-page utility top-up (restyle of legal/docs/account/admin) ───── */
.font-mono { font-family: 'Geist Mono', ui-monospace, Consolas, monospace; }
.leading-tight { line-height: 1.25; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-20 { margin-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.top-\[10px\] { top: 10px; }
.text-white\/30 { color: rgba(255, 255, 255, 0.30); }
.text-white\/40 { color: rgba(255, 255, 255, 0.40); }
.bg-white\/\[0\.02\] { background-color: rgba(255, 255, 255, 0.02); }
.text-\[13px\] { font-size: 13px; }
.w-16 { width: 4rem; }
.gap-5 { gap: 1.25rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.min-w-0 { min-width: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

a {
  color: inherit;
  text-decoration: none;
}

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

/* ── Layout ────────────────────────────────────────────────────────────── */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.grow {
  flex-grow: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

/* ── Spacing ───────────────────────────────────────────────────────────── */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-0 {
  margin-bottom: 0px;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-40 {
  margin-bottom: 10rem;
}

.mt-0 {
  margin-top: 0px;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-24 {
  margin-top: 6rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.pt-12 {
  padding-top: 3rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pb-32 {
  padding-bottom: 8rem;
}

.pt-28 {
  padding-top: 7rem;
}

.pb-40 {
  padding-bottom: 10rem;
}

.pt-32 {
  padding-top: 8rem;
}

.pb-28 {
  padding-bottom: 7rem;
}

.py-28 {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.pb-36 {
  padding-bottom: 9rem;
}

.py-36 {
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.pb-[8rem] {
  padding-bottom: 8rem;
}

.pt-\[8rem\] {
  padding-top: 8rem;
}

.py-\[8rem\] {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

@media (min-width: 768px) {
  .md\:pt-32 { padding-top: 8rem; }
  .md\:pb-36 { padding-bottom: 9rem; }
  .md\:py-36 { padding-top: 9rem; padding-bottom: 9rem; }
}

.gap-1 {
  gap: 0.25rem;
}

.gap-x-4 {
  column-gap: 1rem;
}

.gap-y-5 {
  row-gap: 1.25rem;
}

.pl-4 {
  padding-left: 1rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-12 {
  padding: 3rem;
}

.pl-0 {
  padding-left: 0;
}

.pl-6 {
  padding-left: 1.5rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-20 {
  gap: 5rem;
}

.space-y-2>*+* {
  margin-top: 0.5rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

.space-y-6>*+* {
  margin-top: 1.5rem;
}

.space-y-12>*+* {
  margin-top: 3rem;
}

.space-y-16>*+* {
  margin-top: 4rem;
}

/* ── Sizing ────────────────────────────────────────────────────────────── */
.w-2 {
  width: 0.5rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-32 {
  width: 8rem;
}

.w-full {
  width: 100%;
}

.h-2 {
  height: 0.5rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-16 {
  height: 4rem;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-\[600px\] {
  width: 600px;
}

.h-\[600px\] {
  height: 600px;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-none {
  max-width: none;
}

.min-w-10 {
  min-width: 2.5rem;
}

/* ── Colors & Backgrounds ──────────────────────────────────────────────── */
.bg-\[\#0f0f0f\] {
  background-color: var(--card);
}

.bg-card {
  background-color: var(--card);
}

.bg-\[\#0f0f0f\]\/80 {
  background-color: rgba(14, 12, 10, 0.8);
}

.bg-\[\#0a0a0a\] {
  background-color: var(--background);
}

.bg-\[\#0c0c0e\] {
  background-color: var(--background);
}

.bg-\[\#0c0c0e\]\/80 {
  background-color: rgba(14, 12, 10, 0.8);
}

.bg-\[\#1a1a1a\] {
  background-color: var(--secondary);
}

.bg-\[\#282828\] {
  background-color: var(--muted);
}

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

.bg-secondary {
  background-color: var(--secondary);
}

.bg-\[\#333\] {
  background-color: #333;
}

.bg-\[\#3f3f3f\] {
  background-color: #3f3f3f;
}

.bg-red-400 {
  background-color: var(--red-400);
}

.bg-red-500 {
  background-color: var(--red-500);
}

.bg-red-600 {
  background-color: var(--red-600);
}

.bg-red-600\/10 {
  background-color: rgba(220, 38, 38, 0.1);
}

.bg-red-600\/20 {
  background-color: rgba(220, 38, 38, 0.2);
}

.bg-red-600\/5 {
  background-color: rgba(220, 38, 38, 0.05);
}

.bg-white {
  background-color: #ffffff;
}

/* Node Backgrounds */
.bg-cyan-500\/20\! {
  background-color: rgba(6, 182, 212, 0.2) !important;
}

.bg-amber-500\/20\! {
  background-color: rgba(245, 158, 11, 0.2) !important;
}

.bg-emerald-500\/20\! {
  background-color: rgba(16, 185, 129, 0.2) !important;
}

.bg-emerald-500\/5\! {
  background-color: rgba(16, 185, 129, 0.05) !important;
}

.bg-orange-500\/20\! {
  background-color: rgba(249, 115, 22, 0.2) !important;
}

.bg-rose-500\/20\! {
  background-color: rgba(244, 63, 94, 0.2) !important;
}

.text-\[\#f1f1f1\] {
  color: var(--foreground);
}

.text-\[\#aaaaaa\] {
  color: var(--secondary-foreground);
}

.text-\[\#e0e0e0\] {
  color: var(--foreground);
}

.text-\[\#444\] {
  color: #444444;
}

.text-\[\#666\] {
  color: #666666;
}

.text-white {
  color: #ffffff;
}

.text-white\/50 {
  color: rgba(255, 255, 255, 0.5);
}

.text-black {
  color: #000000;
}

.text-red-400 {
  color: var(--red-400);
}

.text-red-500 {
  color: var(--red-500);
}

.text-red-600 {
  color: var(--red-600);
}

.text-cyan-400 {
  color: var(--cyan-400);
}

.text-cyan-400\! {
  color: var(--cyan-400) !important;
}

.text-amber-400 {
  color: var(--amber-400);
}

.text-amber-400\! {
  color: var(--amber-400) !important;
}

.text-emerald-400 {
  color: var(--emerald-400);
}

.text-emerald-400\! {
  color: var(--emerald-400) !important;
}

.text-orange-400 {
  color: var(--orange-400);
}

.text-orange-400\! {
  color: var(--orange-400) !important;
}

.text-rose-400 {
  color: var(--rose-400);
}

.text-rose-400\! {
  color: var(--rose-400) !important;
}

.text-rose-500 {
  color: var(--rose-500);
}

.text-violet-400 {
  color: var(--violet-400);
}
/* Custom definitions */
.text-taupe-400 {
  color: var(--taupe-400);
}

.text-taupe-400\! {
  color: var(--taupe-400) !important;
}

.text-pink-400 {
  color: #f472b6;
}

.text-purple-400 {
  color: #c084fc;
}

.text-yellow-400 {
  color: #facc15;
}

/* Selection */
.selection\:bg-red-600\/30 *::selection {
  background-color: rgba(220, 38, 38, 0.3);
  color: white;
}

.selection\:bg-red-600\/30 ::selection {
  background-color: rgba(220, 38, 38, 0.3);
  color: white;
}

/* Border */
.border {
  border: 1px solid currentColor;
}

.border-b {
  border-bottom: 1px solid currentColor;
}

.border-t {
  border-top: 1px solid currentColor;
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/5 {
  border-color: rgba(255, 255, 255, 0.05);
}

.border-red-600\/20 {
  border-color: rgba(220, 38, 38, 0.2);
}

.border-red-600\/30 {
  border-color: rgba(220, 38, 38, 0.3);
}

.border-\[\#3f3f3f\] {
  border-color: #3f3f3f;
}

.border-\[\#444\] {
  border-color: #444;
}

/* Node Borders */
.border-cyan-500\/30\! {
  border-color: rgba(6, 182, 212, 0.3) !important;
}

.border-amber-500\/30\! {
  border-color: rgba(245, 158, 11, 0.3) !important;
}

.border-emerald-500\/30\! {
  border-color: rgba(16, 185, 129, 0.3) !important;
}

.border-orange-500\/30\! {
  border-color: rgba(249, 115, 22, 0.3) !important;
}

.border-rose-500\/30\! {
  border-color: rgba(244, 63, 94, 0.3) !important;
}

/* ── Typography ────────────────────────────────────────────────────────── */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[0\.625rem\] {
  font-size: 0.625rem;
}

.text-primary {
  color: var(--primary);
}

.font-sans {
  font-family: 'Inter Variable', system-ui, -apple-system, sans-serif;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

.uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-tighter {
  letter-spacing: -0.05em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-\[0\.9\] {
  line-height: 0.9;
}

/* ── Effects ───────────────────────────────────────────────────────────── */
.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-bl-xl {
  border-bottom-left-radius: 0.75rem;
}

.blur {
  filter: blur(8px);
}

.blur-\[120px\] {
  filter: blur(120px);
}

.backdrop-blur-md {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.grayscale {
  filter: grayscale(100%);
}

.opacity-25 {
  opacity: 0.25;
}

.opacity-40 {
  opacity: 0.4;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-red-600\/10 {
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.1);
}

.shadow-red-600\/20 {
  box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.2);
}

.shadow-\[0_0_15px_rgba\(220\,38\,38\,0\.4\)\] {
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}

.shadow-\[0_0_10px_rgba\(220\,38\,38\,0\.25\)\] {
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.25);
}

.overflow-hidden {
  overflow: hidden;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

/* ── Transitions & Transforms ──────────────────────────────────────────── */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-duration: 150ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-1000 {
  transition-duration: 1000ms;
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.-translate-y-1\/2 {
  transform: translateY(-50%);
}

.left-1\/2 {
  left: 50%;
}

.top-1\/2 {
  top: 50%;
}

.-inset-1 {
  top: -0.25rem;
  right: -0.25rem;
  bottom: -0.25rem;
  left: -0.25rem;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.animate-shimmer {
  animation: shimmer 2s infinite;
}

/* Hover States */
.hover\:bg-\[\#282828\]:hover {
  background-color: #282828;
}

.hover\:bg-\[\#3f3f3f\]:hover {
  background-color: #3f3f3f;
}

.hover\:bg-gray-200:hover {
  background-color: #e5e7eb;
}

.hover\:bg-red-700:hover {
  background-color: #b91c1c;
}

.hover\:border-white\/10:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.hover\:grayscale-0:hover {
  filter: grayscale(0);
}

.hover\:text-red-500:hover {
  color: #ef4444;
}

.hover\:text-white:hover {
  color: #ffffff;
}

.hover\:underline:hover {
  text-decoration: underline;
}

/* Group Hover */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:opacity-40 {
  opacity: 0.4;
}

.group:hover .group-hover\:bg-red-600 {
  background-color: #dc2626;
}

/* ── Gradients ─────────────────────────────────────────────────────────── */
.bg-linear-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to, rgba(220, 38, 38, 0)));
}

.from-red-600 {
  --tw-gradient-from: #dc2626;
}

.to-red-400 {
  --tw-gradient-to: #f87171;
}

/* ── Media Queries ─────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .md\:text-7xl {
    font-size: 4.5rem;
  }

  .md\:pt-28 {
    padding-top: 7rem;
  }

  .md\:pb-40 {
    padding-bottom: 10rem;
  }

  .md\:p-16 {
    padding: 4rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:order-1 {
    order: 1;
  }

  .lg\:order-2 {
    order: 2;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:gap-32 {
    gap: 8rem;
  }

  .lg\:gap-\[8rem\] {
    gap: 8rem;
  }
}

/* ── Documentation & Custom Components ──────────────────────────────────── */
.docs-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sidebar {
  width: var(--sidebar-width);
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  padding: 2rem 1.5rem 2rem 0;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: #aaaaaa;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: white;
}

.sidebar-link.active {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-left: 2px solid #ef4444;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.doc-section {
  display: none;
  padding-bottom: 5rem;
}

.doc-section.active {
  display: block;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content {
  flex: 1;
  padding: 3rem 0 3rem 3rem;
  max-width: 48rem;
}

.content h1 {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: #ffffff;
  line-height: 1.05;
}

.content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1rem;
  letter-spacing: -0.02em;
}

.content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.content p {
  color: #aaaaaa;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.content ul,
.content ol {
  margin-bottom: 2rem;
  color: #aaaaaa;
  padding-left: 1.5rem;
}

.content li {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content code {
  background: rgba(239, 68, 68, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 0.5rem;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  color: #ef4444;
}

.content pre {
  background: #08080a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  color: #d1d1d1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.glass-card {
  background: rgba(25, 25, 30, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  padding: 2.5rem;
  margin: 2.5rem 0;
  transition: border-color 0.3s;
}

.glass-card:hover {
  border-color: rgba(220, 38, 38, 0.2);
}

.node-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.example-query {
  border-left: 4px solid #ef4444;
  background: rgba(220, 38, 38, 0.06);
  padding: 1.5rem 2rem;
  border-radius: 0 1.25rem 1.25rem 0;
  margin: 2rem 0;
  font-style: italic;
  color: #f1f1f1;
  font-size: 1.2rem;
}

.image-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(45deg, #0f0f15, #1a1a25);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: #444;
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
}

.image-placeholder::after {
  content: 'VISUAL PREVIEW';
  font-weight: 900;
  font-size: 2rem;
  opacity: 0.05;
  letter-spacing: 0.5em;
}

@media (max-width: 1024px) {
  .docs-container {
    flex-direction: column;
    padding: 0;
  }

  .sidebar {
    width: 100%;
    position: sticky;
    top: 64px;
    z-index: 40;
    height: auto;
    background: #0c0c0e;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .sidebar::-webkit-scrollbar {
    display: none;
  }

  .sidebar .mb-8 {
    margin-bottom: 0;
    display: flex;
    gap: 0.5rem;
  }

  .sidebar p {
    display: none;
  }

  .sidebar-link {
    margin-bottom: 0;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .sidebar-link.active {
    border-left: none;
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
  }

  .content {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }

  .content h1 {
    font-size: 2.25rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  .content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
  }

  .content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .glass-card {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 1.5rem;
  }

  .example-query {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    margin: 1.5rem 0;
  }
  
  .feature-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Pricing Grid & Card styles */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  width: 100%;
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: transparent;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.pricing-card.popular {
  background: rgba(255, 255, 255, 0.05);
  outline: 2px solid #ef4444;
}

@media (min-width: 640px) {
  .pricing-card {
    padding: 2.5rem;
  }
}

/* Animate node movement */
.react-flow__node {
  transition: transform 500ms ease-out !important;
}
.react-flow__node.dragging {
  transition: none !important;
}
