@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ==========================================================================
   JJM SEAT SDK - CLEAN MODERN LIGHT THEME
   ========================================================================== */

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

:root {
  /* Surface & Background */
  --bg-body: #f8fafc;
  --bg-sidebar: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-input: #ffffff;

  /* Brand Accents */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-glow: rgba(2, 132, 199, 0.15);

  --accent-teal: #0d9488;
  --accent-teal-light: #ccfbf1;
  --accent-violet: #6366f1;
  --accent-violet-light: #ede9fe;
  --accent-amber: #d97706;
  --accent-amber-light: #fef3c7;
  --accent-rose: #e11d48;
  --accent-rose-light: #ffe4e6;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-light: #94a3b8;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-focus: #0284c7;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 28px -4px rgba(2, 132, 199, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.04);

  /* Code Blocks (High Contrast Slate) */
  --code-bg: #0f172a;
  --code-border: #1e293b;

  /* Layout Constants */
  --sidebar-w: 290px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(2, 132, 199, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(13, 148, 136, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   SIDEBAR NAVIGATION
   ========================================================================== */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.03);
}

.sidebar-header {
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--border-light);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-light), #f0fdf4);
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.logo:hover .logo-icon {
  transform: scale(1.04);
  border-color: var(--primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.sidebar-search {
  position: relative;
  padding: 16px 20px 10px;
}

.sidebar-search input {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 9px 14px 9px 38px;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}

.sidebar-search input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.sidebar-search .search-icon {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-28%);
  color: var(--text-subtle);
  pointer-events: none;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px 30px;
}

.nav-section {
  margin-bottom: 20px;
}

.nav-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  padding: 6px 10px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-item:hover {
  color: var(--text-main);
  background: var(--bg-surface-elevated);
}

.nav-item.sub {
  padding-left: 26px;
  font-size: 12.5px;
  font-family: 'JetBrains Mono', monospace;
}

.nav-item.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* ==========================================================================
   MAIN CONTENT LAYOUT
   ========================================================================== */

.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  padding: 40px 60px 80px;
  max-width: 1280px;
}

.content-wrapper {
  max-width: 980px;
}

/* Hero Section */
.hero {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 42px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  border: 1px solid #bae6fd;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 22px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tag {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
}

.tag-cyan {
  background: var(--primary-light);
  color: var(--primary);
  border-color: #bae6fd;
}

.tag-blue {
  background: #f0fdf4;
  color: var(--accent-teal);
  border-color: #bbf7d0;
}

.tag-purple {
  background: var(--accent-violet-light);
  color: var(--accent-violet);
  border-color: #ddd6fe;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.stat-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
}

.stat-num.cyan { color: var(--primary); }
.stat-num.blue { color: var(--accent-teal); }
.stat-num.amber { color: var(--accent-amber); }

.stat-label {
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: 2px;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */

.doc-section {
  margin-bottom: 56px;
}

.section-header {
  margin-bottom: 22px;
}

.section-title {
  font-size: 23px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==========================================================================
   SEAT MODELS COMPARISON (XIAOBAI VS TONGGAN)
   ========================================================================== */

.models-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}

.model-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.model-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #bae6fd;
}

.model-card.featured {
  border-color: #7dd3fc;
  box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.08);
}

.model-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.badge-xiaobai {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #bae6fd;
}

.badge-tonggan {
  background: var(--accent-teal-light);
  color: var(--accent-teal);
  border: 1px solid #99f6e4;
}

.model-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.model-enum {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-subtle);
  margin-bottom: 14px;
}

.model-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.spec-key {
  color: var(--text-muted);
}

.spec-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--text-main);
}

.spec-val.highlight {
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE POSTURE SIMULATOR & C# GENERATOR
   ========================================================================== */

.simulator-container {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.control-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.control-val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--primary);
  font-weight: 700;
}

.control-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
}

.control-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(2, 132, 199, 0.4);
  transition: transform 0.1s;
}

.control-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.simulator-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stage-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.stage-canvas {
  width: 100%;
  height: 100%;
}

.code-output-card {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
  box-shadow: var(--shadow-sm);
  height: 132px;
  min-height: 132px;
  max-height: 132px;
  box-sizing: border-box;
  overflow: hidden;
}

.code-output-card pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
}

.btn-copy-code {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-copy-code:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   4D EFFECTS PLAYGROUND
   ========================================================================== */

.effects-playground {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.effects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.effect-control-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.effect-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.effect-pill {
  flex: 1;
  min-width: 44px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.effect-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.effect-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

/* ==========================================================================
   API CARDS & DOCUMENTATION
   ========================================================================== */

.api-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.api-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

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

.api-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-method { background: var(--primary-light); color: var(--primary); border: 1px solid #bae6fd; }
.badge-property { background: var(--accent-violet-light); color: var(--accent-violet); border: 1px solid #ddd6fe; }
.badge-static { background: var(--accent-amber-light); color: var(--accent-amber); border: 1px solid #fde68a; }
.badge-recommended { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge-effects { background: var(--accent-rose-light); color: var(--accent-rose); border: 1px solid #fecdd3; }

.api-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
}

.api-signature {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 12px;
  overflow-x: auto;
}

.api-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

/* Deployment tip / callout */
.tip-callout {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  padding: 20px 22px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-left: 4px solid var(--accent-amber);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.tip-callout-icon {
  font-size: 24px;
  line-height: 1.2;
  flex-shrink: 0;
}

.tip-callout-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 8px;
}

.tip-callout-body p {
  font-size: 14px;
  color: #78350f;
  margin-bottom: 8px;
  line-height: 1.7;
}

.tip-callout-body ul {
  margin: 8px 0 8px 20px;
  color: #78350f;
  font-size: 14px;
}

.tip-callout-body li {
  margin: 4px 0;
}

.tip-callout-body code {
  background: rgba(255, 255, 255, 0.7);
  color: #92400e;
  padding: 1px 5px;
  border-radius: 4px;
}

.tip-callout-note {
  font-size: 13px;
  color: #92400e;
  opacity: 0.9;
  margin-top: 10px;
}

/* Parameter & Property Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 12px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.prop-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
  background: #ffffff;
}

.prop-table th {
  background: var(--bg-surface-elevated);
  color: var(--text-subtle);
  font-weight: 600;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prop-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.prop-table tr:last-child td {
  border-bottom: none;
}

.prop-table code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: var(--bg-surface-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary);
}

/* Code Blocks */
.code-block {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: var(--radius-md);
  margin: 16px 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e293b;
  padding: 8px 16px;
  border-bottom: 1px solid #334155;
}

.code-lang {
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.code-title {
  font-size: 12px;
  color: #94a3b8;
}

.code-block pre {
  padding: 16px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #e2e8f0;
}

/* Syntax Highlighting */
.c-kw { color: #f43f5e; font-weight: 600; }
.c-cls { color: #38bdf8; font-weight: 600; }
.c-fn { color: #2dd4bf; }
.c-str { color: #a7f3d0; }
.c-num { color: #f59e0b; }
.c-comment { color: #64748b; font-style: italic; }

/* Quick Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0;
}

.step-card {
  display: flex;
  gap: 18px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary-light);
  border: 1px solid #bae6fd;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 15.5px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
.doc-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  margin-top: 50px;
  color: var(--text-subtle);
  font-size: 13px;
  text-align: center;
  line-height: 1.8;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  z-index: 1100;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  align-items: center;
  justify-content: center;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .simulator-grid { grid-template-columns: 1fr; }
  .effects-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
    padding: 24px 16px 80px;
  }
  .menu-toggle {
    display: flex;
  }
  .models-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 26px 18px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}