/* ════════════════════════════════════════════════════════════
   AKOM MAINFRAME HUB — Global CSS
   Dark mainframe theme | Compatible: Laravel + Hostinger
   ════════════════════════════════════════════════════════════ */

:root {
  --bg:           #0d1117;
  --surface:      #161b22;
  --surface2:     #21262d;
  --surface3:     #2d333b;
  --border:       #30363d;
  --text:         #e6edf3;
  --text-muted:   #8b949e;
  --text-dim:     #6e7681;
  --accent:       #58a6ff;
  --accent-green: #3fb950;
  --accent-yellow:#d29922;
  --accent-red:   #f78166;
  --accent-purple:#bc8cff;
  --accent-cyan:  #39c5cf;
  --accent-orange:#ffa657;
  --tag-bg:       #1f3a5f;
  --tag-text:     #79c0ff;
  --code-bg:      #0d1117;
  --radius:       8px;
  --radius-sm:    5px;
  --radius-lg:    12px;
  --shadow:       0 4px 24px rgba(0,0,0,.4);
  --transition:   .2s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img  { display: block; max-width: 100%; }
a    { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.3; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
code, pre { font-family: 'JetBrains Mono', 'Courier New', monospace; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 9px 18px;
  text-decoration: none; transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary  { background: var(--accent); color: #000; }
.btn-primary:hover { background: #79baff; text-decoration: none; color: #000; }
.btn-secondary { background: var(--surface2); border: 1px solid var(--border); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-ghost  { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-sm { font-size: 12px; padding: 6px 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Tags / Badges ──────────────────────────────────────── */
.tag {
  background: var(--tag-bg); border-radius: 20px; color: var(--tag-text);
  font-size: 10px; font-weight: 500; padding: 2px 8px;
}
.tag-link:hover { background: var(--accent); color: #000; text-decoration: none; }
.count { background: var(--surface2); border-radius: 10px; color: var(--text-muted); font-size: 10px; padding: 1px 7px; }
.count-badge { background: var(--surface2); border-radius: 6px; border: 1px solid var(--border); color: var(--text-muted); font-size: 12px; padding: 3px 10px; }

.danger-badge { border-radius: 20px; font-size: 10px; font-weight: 600; padding: 2px 8px; }
.danger-badge.safe   { background: #1a3a1a; color: var(--accent-green); }
.danger-badge.warn   { background: #2d1b00; color: var(--accent-yellow); }
.danger-badge.danger { background: #3d0f0f; color: var(--accent-red); }
.tag-safe   { background: #1a3a1a; color: var(--accent-green); }
.tag-warning{ background: #2d1b00; color: var(--accent-yellow); }
.tag-danger { background: #3d0f0f; color: var(--accent-red); }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
}
.nav-inner {
  display: flex; align-items: center; gap: 8px;
  max-width: 1300px; margin: 0 auto; padding: 0 24px; height: 58px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.brand-icon { font-size: 24px; }
.brand-name { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 700; color: var(--text); display: block; }
.brand-sub  { font-size: 10px; color: var(--text-muted); display: block; letter-spacing: .5px; }
.nav-links  { display: flex; align-items: center; gap: 2px; margin: 0 16px; flex: 1; }
.nav-link   { border-radius: var(--radius-sm); color: var(--text-muted); font-size: 13px; font-weight: 500; padding: 6px 12px; transition: all var(--transition); display: flex; align-items: center; gap: 4px; }
.nav-link:hover, .nav-link.active { background: var(--surface2); color: var(--text); text-decoration: none; }
.nav-link.active { color: var(--accent); }
.nav-icon { font-size: 13px; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-search { display: flex; }
.nav-search-input {
  background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 13px; padding: 6px 12px; outline: none; width: 200px;
  transition: border-color var(--transition);
}
.nav-search-input:focus { border-color: var(--accent); }
.nav-search-input::placeholder { color: var(--text-muted); }
.btn-admin {
  background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-muted); cursor: pointer; font-size: 12px; font-weight: 600; padding: 6px 12px;
  transition: all var(--transition); text-decoration: none;
}
.btn-admin:hover { border-color: var(--accent-purple); color: var(--accent-purple); text-decoration: none; }
.nav-hamburger { display: none; background: none; border: none; color: var(--text); font-size: 18px; cursor: pointer; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  max-width: 1300px; margin: 0 auto; padding: 64px 24px;
}
.hero-badge {
  background: var(--tag-bg); border-radius: 20px; color: var(--tag-text);
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .5px;
  margin-bottom: 16px; padding: 4px 14px; text-transform: uppercase;
}
.hero-title { font-size: 2.8rem; font-family: 'JetBrains Mono', monospace; line-height: 1.15; margin-bottom: 16px; }
.hero-prefix { color: var(--text-muted); display: block; font-size: 1.2rem; }
.hero-accent { color: var(--accent); }
.hero-subtitle { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 18px; text-align: center;
}
.stat-num { display: block; font-size: 22px; font-weight: 700; color: var(--accent); font-family: 'JetBrains Mono', monospace; }
.stat-lbl { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

/* ── Terminal widget ────────────────────────────────────── */
.hero-terminal, .mission-terminal {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.terminal-bar {
  background: var(--surface2); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.red    { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green  { background: #28c840; }
.t-title { color: var(--text-muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; margin-left: 8px; }
.terminal-body { padding: 16px 20px; }
.t-line { font-family: 'JetBrains Mono', monospace; font-size: 12px; margin-bottom: 4px; }
.t-prompt { color: var(--accent-green); }
.t-cmd { color: var(--accent); }
.t-output { color: var(--text-muted); padding-left: 8px; }
.t-blink { animation: blink 1s step-start infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 56px 0; }
.section.bg-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.section-title { font-size: 1.6rem; margin-bottom: 8px; }
.section-sub { color: var(--text-muted); margin-bottom: 32px; }
.section-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.link-all { color: var(--accent); font-size: 13px; }

/* ── Modules Grid ───────────────────────────────────────── */
.modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.module-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: 16px; padding: 20px;
  text-decoration: none; transition: all var(--transition);
}
.module-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.module-icon { border-radius: var(--radius); font-size: 24px; height: 48px; min-width: 48px; display: flex; align-items: center; justify-content: center; }
.module-info h3 { color: var(--text); font-size: 15px; margin-bottom: 4px; }
.module-info p  { color: var(--text-muted); font-size: 12px; line-height: 1.4; }
.module-arrow { color: var(--text-muted); font-size: 18px; margin-left: auto; transition: transform var(--transition); }
.module-card:hover .module-arrow { transform: translateX(4px); color: var(--accent); }

/* ── Command Category Cards ─────────────────────────────── */
.cmd-cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cmd-cat-card {
  background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  text-decoration: none; transition: all var(--transition); color: var(--text);
  border-left: 3px solid var(--cat-color, var(--accent));
}
.cmd-cat-card:hover { background: var(--surface3); text-decoration: none; color: var(--text); }
.cmd-cat-icon { font-size: 20px; }
.cmd-cat-info strong { display: block; font-size: 13px; }
.cmd-cat-info span   { color: var(--text-muted); font-size: 11px; }

/* ── Page Header ────────────────────────────────────────── */
.page-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 36px 0; }
.page-header-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.page-header h1 { margin: 8px 0 6px; }
.page-header p  { color: var(--text-muted); }
.breadcrumb { color: var(--text-muted); font-size: 12px; margin-bottom: 6px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb.light a, .breadcrumb.light { color: rgba(255,255,255,.6); }

/* ── Commands Layout ────────────────────────────────────── */
.commands-layout, .jcl-layout, .blog-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 28px;
  max-width: 1300px; margin: 0 auto; padding: 28px 24px;
}
.commands-sidebar, .jcl-sidebar, .blog-sidebar { position: sticky; top: 76px; height: fit-content; }
.commands-main, .jcl-main, .blog-main { min-width: 0; }

/* ── Sidebar Box ────────────────────────────────────────── */
.sidebar-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.sidebar-box-title { color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.sidebar-nav-link {
  display: flex; align-items: center; gap: 8px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 13px; padding: 7px 10px;
  text-decoration: none; transition: all var(--transition); cursor: pointer;
}
.sidebar-nav-link:hover { background: var(--surface2); color: var(--text); text-decoration: none; }
.sidebar-nav-link.active { background: var(--tag-bg); color: var(--accent); }
.sidebar-nav-link .count { margin-left: auto; }
.sidebar-search { margin-bottom: 16px; }
.sidebar-search-input {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 13px; padding: 8px 12px; outline: none; width: 100%;
  transition: border-color var(--transition);
}
.sidebar-search-input:focus { border-color: var(--accent); }
.legend-list { display: flex; flex-direction: column; gap: 6px; }
.legend-item { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }

/* ── Command Cards ──────────────────────────────────────── */
.commands-group { margin-bottom: 32px; }
.commands-group-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.commands-group-header h2 { font-size: 16px; }
.command-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; transition: border-color var(--transition); }
.command-card:hover { border-color: #58a6ff44; }
.command-card-header { align-items: center; cursor: pointer; display: flex; gap: 12px; padding: 12px 16px; user-select: none; flex-wrap: wrap; }
.command-card-header:hover .cmd-name { color: var(--accent); }
.cmd-name-group { display: flex; align-items: baseline; gap: 12px; flex: 1; min-width: 0; }
.cmd-name { background: var(--code-bg); border: 1px solid var(--border); border-radius: 4px; color: var(--accent); font-size: 13px; font-weight: 700; padding: 2px 8px; white-space: nowrap; }
.cmd-syntax { color: var(--text-muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.chevron { color: var(--text-muted); flex-shrink: 0; font-size: 11px; transition: transform var(--transition); }
.command-card.open .chevron { transform: rotate(90deg); }
.command-card-body, .jcl-card-body { display: none; padding: 0 16px 16px; }
.command-card.open .command-card-body,
.jcl-card.open .jcl-card-body { display: block; }
.cmd-description, .jcl-description { color: var(--text-muted); font-size: 13px; margin-bottom: 14px; }
.body-label { color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin: 14px 0 8px; }

/* ── Params ─────────────────────────────────────────────── */
.params-table { display: flex; flex-direction: column; gap: 4px; }
.param-row { background: var(--surface2); border-radius: 4px; display: flex; align-items: baseline; gap: 10px; padding: 6px 10px; flex-wrap: wrap; }
.param-name { color: var(--accent-yellow); font-size: 12px; white-space: nowrap; }
.param-req { border-radius: 3px; font-size: 10px; padding: 1px 6px; white-space: nowrap; }
.param-req.required { background: #3d0f0f; color: var(--accent-red); }
.param-req.optional  { background: var(--surface3); color: var(--text-muted); }
.param-desc { color: var(--text-muted); font-size: 12px; }
.params-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.param-item { background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; }
.param-item .param-name { display: block; }
.param-item .param-desc { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── Code Blocks ────────────────────────────────────────── */
.code-block { background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; position: relative; }
.code-block-header { background: var(--surface2); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; }
.code-block-header span { color: var(--text-muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.copy-code-btn { background: var(--surface3); border: 1px solid var(--border); border-radius: 4px; color: var(--text-muted); cursor: pointer; font-size: 11px; padding: 3px 10px; transition: all var(--transition); }
.copy-code-btn:hover { background: var(--tag-bg); border-color: var(--accent); color: var(--accent); }
.code-block pre { overflow-x: auto; padding: 14px 16px; }
.code-block code { color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.7; }
.jcl-code pre { font-size: 11.5px; }
.code-desc { color: var(--text-muted); font-size: 12px; padding: 0 14px 10px; }

/* ── JCL Cards ──────────────────────────────────────────── */
.jcl-group { margin-bottom: 32px; }
.jcl-group-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.jcl-group-header h2 { font-size: 16px; }
.jcl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; transition: border-color var(--transition); }
.jcl-card:hover { border-color: #58a6ff44; }
.jcl-card--danger-1 { border-left: 3px solid var(--accent-yellow); }
.jcl-card--danger-2 { border-left: 3px solid var(--accent-red); }
.jcl-card-header { align-items: center; cursor: pointer; display: flex; gap: 12px; padding: 12px 16px; user-select: none; flex-wrap: wrap; }
.member-badge { background: var(--code-bg); border: 1px solid var(--border); border-radius: 6px; color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; min-width: 96px; padding: 4px 10px; text-align: center; white-space: nowrap; }
.jcl-meta { display: flex; align-items: center; gap: 8px; flex: 1; flex-wrap: wrap; }
.jcl-function { color: var(--text); font-size: 13px; font-weight: 500; }
.jcl-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.jcl-actions { margin-top: 14px; }

/* ── Notes / Warnings ───────────────────────────────────── */
.notes-box { background: var(--surface2); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-muted); font-size: 12px; margin-top: 12px; padding: 10px 14px; }
.warning-box { border-radius: var(--radius-sm); font-size: 12px; margin-top: 10px; padding: 10px 14px; }
.danger-box  { background: #2d0f0f; border: 1px solid var(--accent-red); color: var(--accent-red); }
.caution-box { background: #2d1b00; border: 1px solid var(--accent-yellow); color: var(--accent-yellow); }

/* ── Posts Grid ─────────────────────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.featured-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.post-card:hover { border-color: #58a6ff44; transform: translateY(-2px); }
.post-card-cover { background-size: cover; background-position: center; display: block; height: 180px; }
.post-card-body { padding: 18px; }
.post-category { font-size: 11px; font-weight: 600; text-decoration: none; display: block; margin-bottom: 8px; }
.post-card-title { font-size: 15px; line-height: 1.4; margin-bottom: 8px; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--accent); text-decoration: none; }
.post-card-excerpt { color: var(--text-muted); font-size: 12px; line-height: 1.5; margin-bottom: 12px; }
.post-card-meta { color: var(--text-dim); font-size: 11px; display: flex; gap: 12px; flex-wrap: wrap; }
.post-card--hero .post-card-body { padding: 24px; }
.post-card--hero h2 { font-size: 1.4rem; margin-bottom: 10px; }
.post-card--hero h2 a { color: var(--text); }
.post-card--hero h2 a:hover { color: var(--accent); text-decoration: none; }

/* ── Blog Post Hero ─────────────────────────────────────── */
.post-hero { position: relative; }
.post-hero-cover { position: absolute; inset: 0; background-size: cover; background-position: center; }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,17,23,.4), rgba(13,17,23,.95)); }
.post-hero-inner { position: relative; max-width: 900px; margin: 0 auto; padding: 60px 24px 40px; }
.post-hero-category { font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.post-hero-title { font-size: 2.2rem; line-height: 1.25; margin-bottom: 16px; }
.post-hero-meta { color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; margin-bottom: 12px; }
.post-hero-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── Post Layout ────────────────────────────────────────── */
.post-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 32px;
  max-width: 1200px; margin: 0 auto; padding: 40px 24px;
}
.post-content { min-width: 0; }
.post-sidebar { position: sticky; top: 76px; height: fit-content; }

/* ── About Page ─────────────────────────────────────────── */
.about-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 56px 0; }
.about-hero-inner { display: flex; align-items: center; gap: 36px; max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.about-avatar { position: relative; flex-shrink: 0; }
.about-avatar img { border-radius: 50%; width: 120px; height: 120px; object-fit: cover; border: 3px solid var(--accent); }
.avatar-placeholder { align-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-green)); border-radius: 50%; display: flex; font-size: 36px; font-weight: 700; height: 120px; justify-content: center; width: 120px; color: #000; }
.avatar-status { background: var(--accent-green); border: 2px solid var(--bg); border-radius: 50%; bottom: 6px; height: 16px; position: absolute; right: 6px; width: 16px; }
.about-badge { background: var(--tag-bg); border-radius: 20px; color: var(--tag-text); display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .5px; margin-bottom: 10px; padding: 4px 14px; text-transform: uppercase; }
.about-profile h1 { font-size: 2rem; margin-bottom: 8px; }
.about-bio { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 16px; max-width: 600px; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; }
.about-link { background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 14px; text-decoration: none; transition: all var(--transition); }
.about-link:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.skill-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.skill-group-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag { background: var(--surface2); border: 1px solid var(--border); border-radius: 4px; color: var(--text-muted); font-size: 11px; padding: 3px 10px; }
.about-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.about-list li { color: var(--text-muted); font-size: 13px; }

/* ── Empty State ────────────────────────────────────────── */
.empty-state { padding: 60px 20px; text-align: center; }
.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ── Pagination ─────────────────────────────────────────── */
.pagination-wrapper { margin-top: 32px; }
.pagination { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.page-btn { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 13px; padding: 6px 14px; text-decoration: none; transition: all var(--transition); }
.page-btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #000; font-weight: 700; }
.page-btn.disabled, .page-btn.dots { opacity: .5; cursor: default; }

/* ── Share Buttons ──────────────────────────────────────── */
.share-buttons { display: flex; flex-direction: column; gap: 8px; }
.share-btn { border-radius: var(--radius-sm); color: #fff; display: block; font-size: 12px; font-weight: 600; padding: 8px 14px; text-align: center; text-decoration: none; transition: opacity var(--transition); }
.share-btn:hover { opacity: .85; text-decoration: none; color: #fff; }
.share-twitter  { background: #000; }
.share-linkedin { background: #0a66c2; }

/* ── Related Posts ──────────────────────────────────────── */
.related-post { border-bottom: 1px solid var(--border); padding: 10px 0; }
.related-post:last-child { border-bottom: none; }
.related-title { color: var(--text); display: block; font-size: 13px; line-height: 1.4; margin-bottom: 3px; }
.related-title:hover { color: var(--accent); text-decoration: none; }
.related-meta { color: var(--text-muted); font-size: 11px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: auto; }
.footer-inner { display: flex; align-items: flex-start; gap: 40px; justify-content: space-between; max-width: 1300px; margin: 0 auto; padding: 36px 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-sub { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { color: var(--text-muted); font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); color: var(--text-muted); display: flex; justify-content: space-between; font-size: 12px; max-width: 1300px; margin: 0 auto; padding: 16px 24px; }
.footer-tech { color: var(--text-dim); }

/* ── Utilities ──────────────────────────────────────────── */
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-terminal { display: none; }
  .commands-layout, .jcl-layout, .blog-layout { grid-template-columns: 1fr; }
  .commands-sidebar, .jcl-sidebar, .blog-sidebar { position: static; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .about-mission { grid-template-columns: 1fr; }
  .mission-terminal { display: none; }
}

@media (max-width: 768px) {
  .hero { padding: 40px 24px; }
  .hero-title { font-size: 2rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 58px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 16px; z-index: 199; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { gap: 24px; }
  .about-hero-inner { flex-direction: column; text-align: center; }
  .about-links { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 12px; }
  .section-inner { padding: 0 12px; }
  .page-header-inner { padding: 0 12px; }
  .posts-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
}
