/* Promptly Premium Dark / Glassmorphism Stylesheet */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-gradient: linear-gradient(135deg, #10b981, #06b6d4);
  --primary-color: #10b981;
  --secondary-color: #06b6d4;
  --bg-darker: #05070c;
  --bg-dark: #0a0f1d;
  --bg-panel: #111827;
  --bg-sidebar: #0f172a;
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent-glow: rgba(16, 185, 129, 0.25);
  --font-mono: 'Fira Code', 'Courier New', Courier, monospace;
}

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

h1, h2, h3, h4, .hero-title {
  font-family: 'Outfit', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ナビゲーション */
.navbar {
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

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

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s, transform 0.2s;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

/* 言語切り替え */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 2px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.8rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* ユーティリティ・ボタン */
.text-center { text-align: center; }
.hidden { display: none !important; }
.highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.btn-primary, .btn-secondary, .btn-large {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  text-align: center;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #0b0f19;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

/* ヒーローセクション */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* アプリ・シミュレーター */
.hero-preview {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  position: relative;
}

.pc-sim-panel {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

/* アプリ内部 */
.app-simulator {
  display: flex;
  flex-direction: column;
  height: 520px;
  background: var(--bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  position: relative;
}

/* アプリヘッダー */
.app-sim-header {
  display: flex;
  align-items: center;
  background: #090d16;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 16px;
  justify-content: space-between;
  height: 42px;
}

.sim-window-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.sim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.sim-dot.red { background: #ef4444; }
.sim-dot.yellow { background: #f59e0b; }
.sim-dot.green { background: #10b981; }

.sim-tab-bar {
  display: flex;
  gap: 4px;
  flex: 1;
  margin-left: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sim-tab-bar::-webkit-scrollbar {
  display: none;
}

.sim-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 4px 12px;
  border-radius: 6px 6px 0 0;
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
  height: 32px;
}

.sim-tab.active {
  background: var(--bg-dark);
  border-color: var(--border-color);
  border-bottom-color: transparent;
  color: var(--text-primary);
  font-weight: 500;
}

.sim-tab .tab-close {
  opacity: 0.3;
  font-size: 14px;
  transition: opacity 0.2s;
}
.sim-tab:hover .tab-close {
  opacity: 0.8;
}

.app-sim-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-btn-icon {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: all 0.2s;
}
.sim-btn-icon:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

/* アプリメインエリア */
.app-sim-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* サイドバー: ファイルツリー */
.sim-sidebar {
  width: 240px;
  border-right: 1px solid var(--border-color);
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sim-project-selector {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.15);
}

.sim-spawn-bar {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.08);
}
.sim-spawn-bar span {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}

.sim-select-shell {
  background: #090d16;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 10px;
  padding: 2px 4px;
  outline: none;
  cursor: pointer;
}

/* ファイルツリー表示 */
.sim-file-tree {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.tree-node {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  margin-bottom: 2px;
}
.tree-node:hover {
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
}
.tree-node.selected {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-color);
  font-weight: 500;
  border-left: 2px solid var(--primary-color);
}

.tree-node.folder {
  font-weight: 500;
  color: var(--text-primary);
}

.tree-indent-1 { margin-left: 12px; }
.tree-indent-2 { margin-left: 24px; }

.tree-icon {
  font-size: 12px;
}

.tree-badge {
  margin-left: auto;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
}
.tree-badge.modified {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* スプリット・リサイズバー */
.sim-resize-bar {
  width: 1px;
  background: var(--border-color);
  cursor: col-resize;
  position: relative;
  transition: background-color 0.2s;
}
.sim-resize-bar:hover {
  background: var(--primary-color);
  box-shadow: 0 0 5px var(--accent-glow);
}

/* メインエリア: ターミナル */
.sim-terminal-pane {
  flex: 1;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow: hidden;
}

.sim-console-screen {
  flex: 1;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: #e5e7eb;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ターミナルカラー */
.term-prompt { color: #10b981; font-weight: bold; }
.term-green { color: #34d399; }
.term-cyan { color: #22d3ee; }
.term-red { color: #f87171; }
.term-dim { color: #6b7280; }
.term-bold { font-weight: bold; }

.sim-prompt-line {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  display: flex;
  align-items: center;
}

.term-cursor {
  background: var(--primary-color);
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 8px;
  height: 15px;
  line-height: 1;
  margin-left: 2px;
  transition: opacity 0.1s;
}

/* SSH認証ダイアログ */
.sim-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 12, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s;
}

.sim-modal-overlay.hidden {
  display: none !important;
}

.sim-dialog {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 380px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.sim-dialog-header {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-dialog-body {
  margin-bottom: 16px;
}
.sim-dialog-body p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.sim-input {
  width: 100%;
  background: #090d16;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  font-family: var(--font-mono);
}
.sim-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px var(--accent-glow);
}

.sim-dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.sim-dialog-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: none;
}
.sim-dialog-btn.cancel {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.sim-dialog-btn.cancel:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
}
.sim-dialog-btn.submit {
  background: var(--primary-color);
  color: #0b0f19;
  font-weight: 600;
}
.sim-dialog-btn.submit:hover {
  box-shadow: 0 0 10px var(--accent-glow);
}

/* 設定ダイアログ用 */
.sim-dialog.large {
  width: 440px;
}

.kb-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  margin-top: 8px;
  padding-right: 4px;
}

.kb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(0,0,0,0.15);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.02);
}

.kb-action {
  font-size: 12px;
  color: var(--text-secondary);
}

.kb-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 100px;
  text-align: center;
}
.kb-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--primary-color);
}
.kb-btn.recording {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
  animation: pulseBlink 1.5s infinite;
}

@keyframes pulseBlink {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* トースト通知 */
.sim-toast {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(16, 185, 129, 0.95);
  color: #0b0f19;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* 機能グリッドセクション */
.features {
  padding: 6rem 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-center: center;
  margin-bottom: 4rem;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3), 0 0 1px 1px rgba(16, 185, 129, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTAセクション */
.cta {
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* フッター */
footer {
  background: var(--bg-darker);
  padding: 3rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* インストール・ダウンロードページ */
.download-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.download-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s;
}
.download-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.download-card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.download-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.download-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  height: 80px; /* Aligns description height */
}

.download-card .btn-primary, .download-card .btn-secondary {
  width: 100%;
  margin-bottom: 0.75rem;
}

.guide-section {
  padding: 6rem 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.steps-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.step-item {
  position: relative;
  padding: 2rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.step-num {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: #0b0f19;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.step-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.step-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ヘルプ & ドキュメントページ */
.help-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

.help-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.shortcut-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.shortcut-table th, .shortcut-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.shortcut-table th {
  color: var(--text-primary);
  font-weight: 600;
}

.shortcut-table td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.shortcut-key {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 4px 8px;
  font-family: var(--font-mono);
  color: var(--primary-color);
  font-size: 0.85rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* プライバシーポリシー */
.policy-section {
  padding: 8rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.policy-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  margin-top: 3rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.4);
}

/* モバイル・レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .nav-menu {
    gap: 1rem;
  }
  .nav-menu a {
    font-size: 0.85rem;
  }
  .navbar .container {
    padding: 0.75rem 15px;
  }
  .app-simulator {
    height: 480px;
  }
  .sim-sidebar {
    width: 140px; /* Shrinks sidebar on small screens */
  }
  .tree-node {
    font-size: 10px;
    padding: 3px 4px;
  }
  .sim-terminal-pane {
    padding: 10px;
  }
  .sim-console-screen, .sim-prompt-line {
    font-size: 11px;
  }
  .features-grid, .download-grid, .help-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  footer .container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}
