/* ═══════════════════════════════════════════════════════════════
   CODE WITH RAMAN — v2.0 SUB-PAGE STYLES (cyber-editorial)
   Used by: python/, sql/, tryit/, dashboard.html, notes.html, quiz.html
   The homepage (index.html) is fully self-contained; this file
   styles every other page so they inherit the same theme.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;600&family=Geist:wght@300;400;500;600;700&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg-base: #05030f;
  --bg-1:    #08061a;
  --bg-2:    #0d0a26;
  --surface: rgba(20, 14, 45, 0.55);
  --surface-strong: rgba(28, 20, 58, 0.7);
  --surface-flat: #110d28;

  /* Strokes */
  --stroke-thin: rgba(167, 139, 250, 0.08);
  --stroke:      rgba(167, 139, 250, 0.16);
  --stroke-bold: rgba(167, 139, 250, 0.32);

  /* Brand */
  --violet:   #8b5cf6;
  --violet-2: #a78bfa;
  --violet-3: #c4b5fd;
  --indigo:   #6366f1;
  --cyan:     #22d3ee;
  --cyan-2:   #67e8f9;
  --pink:     #ec4899;
  --amber:    #f59e0b;
  --green-ok: #10b981;

  /* Text */
  --text:     #f5f3ff;
  --text-2:   #c1bed1;
  --text-3:   #8a8799;
  --text-4:   #5c5a6e;

  /* Legacy aliases for older selectors */
  --primary: var(--violet);
  --accent:  var(--violet-2);
  --green:      var(--violet);
  --green-dark: var(--indigo);
  --green-light:rgba(139, 92, 246, 0.12);
  --dark:  var(--bg-base);
  --dark2: var(--bg-1);
  --dark3: var(--bg-2);
  --text-light: var(--text-3);
  --border: var(--stroke);
  --white:  var(--surface-flat);
  --code-bg:   #0a0822;
  --code-text: var(--text);
  --output-bg: #07051a;

  /* Layout */
  --sidebar-w: 268px;
  --header-h: 64px;
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);

  /* Gradients */
  --grad-aurora: linear-gradient(135deg, #8b5cf6 0%, #6366f1 40%, #22d3ee 100%);
  --grad-text: linear-gradient(120deg, #c4b5fd 0%, #a78bfa 30%, #67e8f9 70%, #c4b5fd 100%);

  /* Type */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;
  --font-body:    'Geist', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
}

/* Atmospheric background — subtle on tutorial pages */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background: var(--bg-base);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(99, 102, 241, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(139, 92, 246, 0.10), transparent 60%);
}

a { color: var(--violet-2); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan-2); text-decoration: none; }

::selection { background: rgba(139, 92, 246, 0.4); color: white; }

/* Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.25); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139, 92, 246, 0.5); }

/* ─── HEADER ────────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(5, 3, 15, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--stroke-thin);
  display: flex; align-items: center;
  padding: 0 24px;
  gap: 18px;
  z-index: 1000;
}

.logo {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
  display: flex; align-items: center; gap: 12px;
}
.logo a { color: inherit; }
.logo a:hover { color: inherit; }
.logo span {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: white;
  background: var(--grad-aurora);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 6px 20px -4px rgba(139, 92, 246, 0.5);
  letter-spacing: 0;
  margin-right: 0;
  padding: 0;
}

header nav { display: flex; gap: 4px; margin-left: 12px; }
header nav a {
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
header nav a:hover {
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
header nav a.active {
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet-3);
  text-decoration: none;
}

.header-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.btn-tryit {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad-aurora);
  color: white;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 6px 20px -6px rgba(139, 92, 246, 0.6);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-tryit:hover {
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 10px 28px -6px rgba(139, 92, 246, 0.75);
}

/* ─── LAYOUT ────────────────────────────────────────────────── */
.page-layout {
  display: flex;
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

/* ─── SIDEBAR ───────────────────────────────────────────────── */
#sidebar {
  width: var(--sidebar-w);
  background: rgba(11, 8, 32, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--stroke-thin);
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 24px 0;
}

#sidebar::-webkit-scrollbar { width: 4px; }
#sidebar::-webkit-scrollbar-track { background: transparent; }
#sidebar::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.2); border-radius: 4px; }

.sidebar-section { margin-bottom: 12px; }

.sidebar-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  padding: 10px 22px 10px;
}

#sidebar a {
  display: block;
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.2s;
  border-left: 2px solid transparent;
  position: relative;
}
#sidebar a:hover {
  background: rgba(139, 92, 246, 0.06);
  color: var(--text);
  text-decoration: none;
  border-left-color: var(--violet-2);
}
#sidebar a.active {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), transparent);
  color: var(--violet-3);
  font-weight: 600;
  border-left-color: var(--violet);
}
#sidebar a.active::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
}

/* ─── MAIN CONTENT ──────────────────────────────────────────── */
#content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 48px 56px 100px;
  max-width: calc(var(--sidebar-w) + 880px);
}

#content h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

#content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 44px 0 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}

#content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--text);
  letter-spacing: -0.01em;
}

#content p { margin-bottom: 16px; color: var(--text-2); }
#content strong { color: var(--text); font-weight: 600; }
#content ul, #content ol { margin: 12px 0 18px 22px; color: var(--text-2); }
#content li { margin-bottom: 6px; }

.subtitle {
  color: var(--text-3);
  font-size: 1.02rem;
  margin-bottom: 36px;
  font-weight: 400;
  font-family: var(--font-serif);
  font-style: italic;
}

/* ─── EXAMPLE BOX (code samples on tutorial pages) ──────────── */
.example-box {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  margin: 24px 0;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.example-header {
  background: rgba(139, 92, 246, 0.04);
  border-bottom: 1px solid var(--stroke-thin);
  padding: 11px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.example-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.btn-try {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad-aurora);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 4px 14px -4px rgba(139, 92, 246, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-try:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 6px 18px -4px rgba(139, 92, 246, 0.7);
}

.example-code {
  background: var(--code-bg);
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text);
  overflow-x: auto;
}

/* ─── SYNTAX COLORS (dark-theme refined) ────────────────────── */
.kw  { color: #c4b5fd; font-weight: 500; }
.fn  { color: #67e8f9; }
.str { color: #fda4af; }
.cm  { color: var(--text-4); font-style: italic; }
.num { color: #fbbf24; }
.var { color: var(--text); }

/* ─── INFO BOXES ────────────────────────────────────────────── */
.info-box {
  border-radius: 12px;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 14px;
  backdrop-filter: blur(12px);
  color: var(--text-2);
}
.info-box.note {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-left: 3px solid var(--amber);
}
.info-box.tip {
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-left: 3px solid var(--cyan);
}
.info-box.warn {
  background: rgba(236, 72, 153, 0.06);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-left: 3px solid var(--pink);
}
.info-box strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.info-box.note strong { color: var(--amber); }
.info-box.tip  strong { color: var(--cyan); }
.info-box.warn strong { color: var(--pink); }

/* ─── NAV BUTTONS (Prev/Next) ───────────────────────────────── */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--stroke-thin);
  gap: 14px;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  backdrop-filter: blur(12px);
}
.nav-btn:hover {
  border-color: var(--stroke-bold);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-1px);
}
.nav-btn.next {
  background: var(--grad-aurora);
  color: white;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 8px 24px -6px rgba(139, 92, 246, 0.5);
}
.nav-btn.next:hover {
  color: white;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 12px 30px -6px rgba(139, 92, 246, 0.7);
}

/* ─── TABLES ────────────────────────────────────────────────── */
.styled-table {
  width: 100%; border-collapse: collapse;
  margin: 22px 0;
  font-size: 13.5px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.styled-table th {
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet-3);
  padding: 11px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--stroke);
}
.styled-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--stroke-thin);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
}
.styled-table tr:last-child td { border-bottom: none; }
.styled-table tr:nth-child(even) td { background: rgba(139, 92, 246, 0.025); }

/* ─── INLINE CODE ───────────────────────────────────────────── */
code {
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet-3);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.85em;
  border: 1px solid var(--stroke-thin);
}

/* ─── HOMEPAGE LEGACY SUPPORT (kept for backward compat) ────── */
.hero {
  background: var(--bg-1);
  color: var(--text);
  padding: 100px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--stroke-thin);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 1.05rem; color: var(--text-2); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-btn {
  padding: 12px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  font-family: var(--font-body);
  text-decoration: none; display: inline-block;
}
.hero-btn.primary { background: var(--grad-aurora); color: white; }
.hero-btn.primary:hover { color: white; text-decoration: none; transform: translateY(-1px); }
.hero-btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--stroke); backdrop-filter: blur(12px); }
.hero-btn.secondary:hover { background: var(--surface-strong); color: var(--text); text-decoration: none; }

.cards-section { padding: 80px 40px; max-width: 1200px; margin: 0 auto; }
.cards-section h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.cards-section .section-sub { color: var(--text-2); margin-bottom: 40px; font-size: 1rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--stroke);
  border-radius: 16px; padding: 28px;
  transition: all 0.3s; position: relative; overflow: hidden;
  backdrop-filter: blur(12px);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-aurora);
}
.card:hover { transform: translateY(-3px); border-color: var(--stroke-bold); }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.card p { font-size: 14px; color: var(--text-2); margin-bottom: 18px; line-height: 1.6; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--violet-2); font-size: 13.5px; font-weight: 600;
}
.card-link:hover { color: var(--cyan-2); text-decoration: none; gap: 10px; }

.stats-bar {
  background: var(--surface); color: var(--text);
  padding: 32px 60px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px; text-align: center;
  border-top: 1px solid var(--stroke-thin);
  border-bottom: 1px solid var(--stroke-thin);
  backdrop-filter: blur(12px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── PLAYGROUND / EDITOR PAGE ──────────────────────────────── */
.editor-page {
  display: flex;
  height: calc(100vh - var(--header-h));
  margin-top: var(--header-h);
  background: var(--bg-base);
}
.editor-left, .editor-right {
  flex: 1; display: flex; flex-direction: column;
  min-width: 0;
}
.editor-left {
  border-right: 1px solid var(--stroke-thin);
}

.editor-toolbar {
  background: rgba(11, 8, 32, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--stroke-thin);
}
.editor-toolbar span,
.panel-label {
  color: var(--text-3) !important;
  font-size: 11px !important;
  font-family: var(--font-mono) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.btn-run {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad-aurora);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 6px 18px -6px rgba(139, 92, 246, 0.6);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-run:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 10px 24px -6px rgba(139, 92, 246, 0.8);
}

.btn-reset {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--stroke);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.btn-reset:hover {
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--stroke-bold);
}

/* Line numbers gutter */
.line-numbers {
  padding: 20px 12px !important;
  background: rgba(11, 8, 32, 0.5) !important;
  border-right: 1px solid var(--stroke-thin) !important;
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: var(--text-4) !important;
  text-align: right;
  user-select: none;
  min-width: 44px;
}

#editor-textarea {
  flex: 1;
  background: var(--code-bg);
  color: var(--text);
  border: none; outline: none;
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.8;
  resize: none;
  tab-size: 4;
  caret-color: var(--cyan);
}
#editor-textarea::selection { background: rgba(139, 92, 246, 0.35); }

.output-panel {
  flex: 1; overflow-y: auto;
  padding: 20px 22px;
  background: var(--output-bg);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--cyan-2);
  white-space: pre-wrap;
}
.output-panel .output-error { color: #fda4af; }
.output-panel .output-info {
  color: var(--text-4);
  font-style: italic;
}

.output-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.output-table th {
  background: rgba(139, 92, 246, 0.18);
  color: var(--violet-3);
  padding: 9px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--stroke);
}
.output-table td {
  padding: 8px 14px;
  border-bottom: 1px solid var(--stroke-thin);
  color: var(--text-2);
  font-family: var(--font-mono);
}
.output-table tr:nth-child(even) td { background: rgba(139, 92, 246, 0.03); }

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  background: rgba(8, 6, 26, 0.5);
  backdrop-filter: blur(12px);
  color: var(--text-3);
  text-align: center;
  padding: 28px;
  font-size: 13px;
  margin-left: var(--sidebar-w);
  border-top: 1px solid var(--stroke-thin);
}
footer a {
  color: var(--violet-2);
  font-weight: 500;
  margin: 0 6px;
  transition: color 0.2s;
}
footer a:hover { color: var(--cyan-2); text-decoration: none; }
.social-links { margin-top: 12px; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  #content { padding: 36px 36px 80px; }
}
@media (max-width: 768px) {
  header { padding: 0 16px; gap: 10px; }
  header nav { display: none; }
  .logo { font-size: 14px; }
  .btn-tryit { padding: 7px 12px; font-size: 12px; }

  #sidebar { display: none; }
  #content { margin-left: 0; padding: 28px 22px 60px; max-width: 100%; }
  #content h1 { font-size: 1.8rem; }
  #content h2 { font-size: 1.25rem; }
  footer { margin-left: 0; }

  .hero { padding: 70px 24px; }
  .hero h1 { font-size: 2rem; }
  .cards-section { padding: 60px 20px; }
  .stats-bar { padding: 24px 20px; }
  .editor-page { flex-direction: column; }
  .editor-left { border-right: none; border-bottom: 1px solid var(--stroke-thin); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
