/* ── DaaS Landing Page ── */
/* Design System: Dark theme, glassmorphism, Inter font */

/* Fonts loaded via <link> in index.html for CWV performance */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #e8e8ef;
  --text-secondary: #8888a0;
  --text-muted: #7a7a92;
  --accent-blue: #4f8cff;
  --accent-cyan: #00d4aa;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-gradient: linear-gradient(135deg, #4f8cff, #8b5cf6);
  --accent-gradient-2: linear-gradient(135deg, #00d4aa, #4f8cff);
  --glass-blur: blur(20px);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-glow: 0 0 60px rgba(79, 140, 255, 0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ── */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--text-secondary); }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
  position: relative;
}

/* ── Background Effects ── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 { background: var(--accent-blue); top: -200px; right: -100px; }
.bg-glow-2 { background: var(--accent-purple); bottom: -200px; left: -100px; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: rgba(10, 10, 15, 0.8);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }

.nav-cta {
  background: var(--accent-gradient);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-cta:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }

/* Nav Filter Pills */
.nav-filters {
  display: flex;
  gap: 6px;
}

.nav-filter {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-filter:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.nav-filter.active {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(79, 140, 255, 0.25);
}

.nav-filter:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

/* ── Hero ── */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
}

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

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(79, 140, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 140, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(79, 140, 255, 0.2);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.btn-secondary:active {
  background: rgba(255,255,255,0.1);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

/* ── Hero Trust Strip (Integrated) ── */
.hero-trust {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 32px 0;
  border-top: 1px solid var(--border-glass);
  position: relative;
  z-index: 2;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.trust-number {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--accent-gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: var(--border-glass);
}

/* ── Catalog Section ── */
#catalog { z-index: 1; position: relative; }

/* ── Use Cases Section ── */
#usecases { z-index: 1; position: relative; }

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.usecase-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  transition: var(--transition);
}

.usecase-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.usecase-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(79, 140, 255, 0.08);
  border: 1px solid rgba(79, 140, 255, 0.15);
  color: var(--accent-blue);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.usecase-card h3 { margin-bottom: 6px; font-size: 1rem; }
.usecase-card p { font-size: 0.9rem; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header p {
  margin-top: 12px;
  font-size: 1.1rem;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 4px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--accent-gradient);
  color: white;
}

.tab-btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Asset Pills */
.asset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}

.asset-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.asset-pill.crypto { border-color: rgba(79, 140, 255, 0.3); }
.asset-pill.tradfi { border-color: rgba(245, 158, 11, 0.3); }
.asset-pill.native { border-color: rgba(139, 92, 246, 0.3); }
.asset-pill.defi { border-color: rgba(0, 212, 170, 0.3); }
.asset-pill.alt { border-color: rgba(244, 114, 182, 0.3); }

/* Schema Cards */
.schema-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.schema-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.schema-card:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.schema-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.schema-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.schema-card .icon {
  font-size: 1.2rem;
}

.schema-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(79, 140, 255, 0.1);
  color: var(--accent-blue);
  font-weight: 600;
}

.schema-fields {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.schema-fields .field-name { color: var(--accent-cyan); }
.schema-fields .field-type { color: var(--text-muted); }

.schema-fields-text {
  display: block;
  line-height: 1.8;
}

.schema-card .scale {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.schema-card .scale strong {
  color: var(--text-primary);
}

/* ── Preview Section ── */
#preview { z-index: 1; position: relative; }

.preview-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.preview-header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-glass);
  gap: 8px;
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.preview-dot:nth-child(1) { background: #ff5f57; }
.preview-dot:nth-child(2) { background: #febc2e; }
.preview-dot:nth-child(3) { background: #28c840; }

.preview-title {
  margin-left: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.preview-code {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  overflow-x: auto;
}

.preview-code .comment { color: #555580; }
.preview-code .keyword { color: #c792ea; }
.preview-code .string { color: #c3e88d; }
.preview-code .func { color: #82aaff; }
.preview-code .num { color: #f78c6c; }
.preview-code .var { color: #89ddff; }

.preview-output {
  padding: 20px 24px;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border-glass);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: pre;
}

/* ── Differentiators ── */
#why { z-index: 1; position: relative; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.diff-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  transition: var(--transition);
}

.diff-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.diff-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(79, 140, 255, 0.08);
  border: 1px solid rgba(79, 140, 255, 0.15);
  color: var(--accent-blue);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.diff-card h3 { margin-bottom: 6px; font-size: 1rem; }
.diff-card p { font-size: 0.9rem; }

/* ── FAQ ── */
#faq { z-index: 1; position: relative; }

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: rgba(79, 140, 255, 0.2);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent-blue);
  font-weight: 300;
  transition: var(--transition);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-item code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: rgba(79, 140, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-blue);
}

/* ── Pricing ── */
#pricing { z-index: 1; position: relative; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: rgba(79, 140, 255, 0.3);
  background: rgba(79, 140, 255, 0.04);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
  position: relative;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--accent-gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pricing-grid .pricing-card:not(.featured) {
  opacity: 0.85;
}

.pricing-grid .pricing-card:not(.featured):hover {
  opacity: 1;
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.pricing-price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.pricing-features li {
  padding: 4px 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: 700;
}

.pricing-card .btn { width: 100%; justify-content: center; padding: 10px 20px; font-size: 0.85rem; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.7;
}

.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
/* ── Mobile Hamburger ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 60px;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav-mobile-overlay.open { display: flex; }

.nav-mobile-overlay a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-mobile-overlay a:hover { color: var(--accent-blue); }

@media (max-width: 768px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-actions { flex-direction: column; }
  .nav-links { display: none; }
  .nav-filters { display: none; }
  .nav-hamburger { display: block; }
  .nav-cta { font-size: 0.85rem; padding: 8px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .schema-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero-trust { margin-top: 40px; gap: 16px; flex-wrap: wrap; justify-content: center; }
  .trust-divider { display: none; }
  .trust-item { align-items: center; text-align: center; width: calc(33.33% - 12px); min-width: 90px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Custom Dark Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* ── Card animation initial state (prevents CLS from JS init) ── */
.schema-card, .diff-card, .pricing-card, .preview-card, .usecase-card, .faq-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}


/* ── Polars DataFrame Table ── */
.df-shape {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.df-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.df-table th,
.df-table td {
  padding: 8px 12px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.df-table thead tr:first-child th {
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 2px solid rgba(79, 140, 255, 0.3);
}

.df-table .df-dtype td {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-style: italic;
  padding: 4px 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.df-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.df-table tbody td {
  color: var(--text-secondary);
}

.df-table .val-bool { color: var(--accent-amber); }
.df-table .val-null { color: var(--text-muted); font-style: italic; }
.df-table .val-yes { color: var(--accent-cyan); font-weight: 600; }
.df-table .val-no { color: #f87171; font-weight: 600; }
