/* rez0.com — Hacker mode: tmux-style terminal aesthetic */

/* ========== GLOBAL OVERRIDES ========== */
body.hacker-mode {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: 28px; /* space for tmux bar */
}

body.hacker-mode * {
  border-radius: 0 !important;
}

/* Kill glass-morphism */
body.hacker-mode .card,
body.hacker-mode .about-preview-content,
body.hacker-mode .step,
body.hacker-mode .tier-card,
body.hacker-mode .client-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--bg-panel);
  border: 1px solid var(--border-bright);
  box-shadow: none;
  transform: none !important;
}

body.hacker-mode .card::before { display: none; }
body.hacker-mode .card:hover {
  box-shadow: none;
  border-color: var(--accent);
}

/* ========== HEADER → TERMINAL CHROME ========== */
body.hacker-mode .site-header {
  background: var(--bg-panel);
  backdrop-filter: none;
  border-bottom: 1px solid var(--border-bright);
  height: 32px;
}

body.hacker-mode .header-inner {
  height: 32px;
}

body.hacker-mode .nav-links { display: none; }
body.hacker-mode .terminal-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  flex: 1;
  text-align: center;
}

body.hacker-mode .logo {
  font-size: 0.85rem;
}

body.hacker-mode .header-controls .icon-btn {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
  border: none;
}

body.hacker-mode #mobile-menu-btn { display: none !important; }
body.hacker-mode .mobile-nav { display: none !important; }

/* ========== FOOTER → HIDDEN (tmux bar replaces it) ========== */
body.hacker-mode .site-footer { display: none; }

/* ========== TMUX STATUS BAR ========== */
body.hacker-mode .tmux-status {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: #0d1a2e;
  color: #d0d0d0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  z-index: 200;
  border-top: 1px solid #1e3a5f;
}

.tmux-left, .tmux-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tmux-session {
  color: #0d1a2e;
  background: #29a3ff;
  padding: 0 6px;
  font-weight: 600;
}

.tmux-window {
  padding: 0 8px;
  color: #5ba3d9;
  text-decoration: none;
}
.tmux-window:hover { color: #fff; }
.tmux-window.active {
  color: #0d1a2e;
  background: #29a3ff;
  font-weight: 600;
}

.tmux-host {
  color: #4a6a8a;
  margin-right: 8px;
}

.tmux-clock {
  color: #29a3ff;
  font-weight: 600;
}

/* ========== SECTIONS → PANES ========== */
body.hacker-mode .section {
  padding: var(--space-md) 0;
}

body.hacker-mode main {
  padding: var(--space-sm);
}

/* Pane wrapper for sections */
body.hacker-mode .section > .container {
  border: 1px solid var(--border-bright);
  padding: var(--space-md);
  position: relative;
}

/* Vim-style status bar at bottom of each pane */
body.hacker-mode .section > .container::after {
  content: attr(data-pane-label);
  display: block;
  margin-top: var(--space-md);
  padding: 2px 8px;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-bright);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  grid-column: 1 / -1;
}

/* ========== HEADINGS → COMMENT STYLE ========== */
body.hacker-mode .section-label {
  font-size: 0.7rem;
  letter-spacing: 1px;
}
body.hacker-mode .section-label::before {
  content: '// ';
  color: var(--text-dim);
}

body.hacker-mode .section-title {
  font-size: 1.1rem;
  font-weight: 600;
}
body.hacker-mode .section-title::before {
  content: '# ';
  color: var(--text-dim);
}

body.hacker-mode .section-desc {
  font-size: 0.85rem;
}

/* ========== HERO ========== */
body.hacker-mode .hero {
  padding: var(--space-md) 0;
  text-align: left;
}

body.hacker-mode .hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

body.hacker-mode .hero-left {
  /* Title + subtitle stay left */
}

body.hacker-mode .hero-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0;
}

body.hacker-mode .hero-sub {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  body.hacker-mode .hero .container {
    grid-template-columns: 1fr;
  }
}

/* ========== ROLE CARDS → CONFIG BLOCKS ========== */
body.hacker-mode .role-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: none;
}

body.hacker-mode .role-card {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

body.hacker-mode .role-card .role-card-top {
  height: 32px;
  width: 32px;
  padding: 0;
  background: none !important;
  border: none !important;
  flex-shrink: 0;
  overflow: hidden;
}

body.hacker-mode .role-card .role-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 0 !important;
}

body.hacker-mode .role-card .role-icon svg {
  width: 18px;
  height: 18px;
}

body.hacker-mode .role-card .role-card-body {
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

body.hacker-mode .role-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0;
  white-space: nowrap;
}
body.hacker-mode .role-card h3::before {
  content: '> ';
  color: var(--accent);
}

body.hacker-mode .role-card p {
  font-size: 0.75rem;
  display: inline;
}

body.hacker-mode .role-card .card-arrow { display: none; }
body.hacker-mode .role-card:hover .role-img { transform: none; }

/* ========== BLOG CARDS → FEED OUTPUT ========== */
body.hacker-mode .blog-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.hacker-mode .blog-card {
  padding: var(--space-sm) var(--space-md);
  display: block;
}

body.hacker-mode .blog-tag {
  display: inline;
  font-size: 0.65rem;
  margin-right: var(--space-sm);
}
body.hacker-mode .blog-tag::before { content: '['; }
body.hacker-mode .blog-tag::after { content: ']'; }

body.hacker-mode .blog-title {
  display: inline;
  font-size: 0.8rem;
  font-weight: 600;
}

body.hacker-mode .blog-date {
  display: inline;
  margin-left: var(--space-sm);
  font-size: 0.7rem;
}

body.hacker-mode .blog-excerpt { display: none; }

/* ========== ABOUT PREVIEW → COMPACT ========== */
body.hacker-mode .about-preview-content {
  grid-template-columns: 60px 1fr;
  gap: var(--space-md);
  padding: var(--space-md);
}

body.hacker-mode .about-img {
  width: 60px;
  height: 60px;
}

body.hacker-mode .about-preview-content h2 {
  font-size: 1rem;
}
body.hacker-mode .about-preview-content h2::before {
  content: '@rez0__ ';
  color: var(--accent);
  font-size: 0.8rem;
}

body.hacker-mode .about-preview-content p {
  font-size: 0.8rem;
}

/* ========== SERVICES → CONFIG STYLE ========== */
body.hacker-mode .services-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.hacker-mode .services-grid .card {
  padding: var(--space-sm) var(--space-md);
}

body.hacker-mode .services-grid .card h3 {
  font-size: 0.85rem;
}
body.hacker-mode .services-grid .card h3::before {
  content: 'service ';
  color: var(--accent);
  font-weight: 400;
}

/* ========== PROCESS → NUMBERED OUTPUT ========== */
body.hacker-mode .process-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.hacker-mode .step {
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
}

body.hacker-mode .step-num {
  font-size: 0.85rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

body.hacker-mode .step h3 {
  font-size: 0.85rem;
  margin-bottom: 0;
  display: inline;
}

body.hacker-mode .step p {
  font-size: 0.75rem;
  display: inline;
  margin-left: var(--space-sm);
}

/* ========== TIER CARDS → YAML STYLE ========== */
body.hacker-mode .tier-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.hacker-mode .tier-card {
  box-shadow: none !important;
}

body.hacker-mode .tier-header {
  padding: var(--space-sm) var(--space-md);
}

body.hacker-mode .tier-name::before {
  content: '--- ';
  color: var(--text-dim);
}

body.hacker-mode .tier-title {
  font-size: 1rem;
}

body.hacker-mode .tier-body {
  padding: var(--space-sm) var(--space-md);
}

body.hacker-mode .tier-features li {
  font-size: 0.8rem;
  padding: 4px 0;
}

body.hacker-mode .tier-badge {
  font-size: 0.6rem;
  background: var(--accent);
  color: var(--bg);
}

body.hacker-mode .tier-footer { padding: var(--space-sm) var(--space-md); }
body.hacker-mode .tier-footer .btn {
  font-size: 0.7rem;
  padding: 6px 12px;
}

/* ========== CTA → COMMAND PROMPT ========== */
body.hacker-mode .cta-section {
  text-align: left;
  padding: var(--space-lg) 0;
}

body.hacker-mode .cta-section .section-title {
  font-size: 1rem;
}

body.hacker-mode .cta-section .btn-primary::before {
  content: '$ ';
  color: var(--accent);
}

/* ========== ABOUT PAGE ========== */
body.hacker-mode .about-hero {
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

body.hacker-mode .about-hero img {
  width: 80px;
  height: 80px;
}

body.hacker-mode .about-hero h1 {
  font-size: 1.2rem;
}

body.hacker-mode .badge {
  font-size: 0.7rem;
  padding: 3px 8px;
}

/* ========== BLINKING CURSOR ========== */
body.hacker-mode .blink-cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  font-weight: 400;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  body.hacker-mode {
    font-size: 12px;
  }
  body.hacker-mode .tmux-status {
    font-size: 0.65rem;
    overflow-x: auto;
  }
}
