/* TerminalOS GitHub Pages Stylesheet - Futuristic Dark Theme */

:root {
  --primary-color: #0a0e27;
  --secondary-color: #1a1f3a;
  --accent-color: #00d9ff;
  --accent-color-secondary: #7c3aed;
  --accent-color-tertiary: #06b6d4;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --text-color: #e5e7eb;
  --light-text: #9ca3af;
  --border-color: #374151;
  --bg-color: #0f172a;
  --gradient-start: #00d9ff;
  --gradient-end: #7c3aed;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--secondary-color) 100%);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

a:hover {
  color: var(--accent-color-tertiary);
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  font-size: 2em;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-color-secondary) 100%) 1;
  padding-bottom: 10px;
}

h2 {
  font-size: 1.5em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

h3 {
  font-size: 1.25em;
}

p {
  margin-bottom: 16px;
}

code {
  background: rgba(0, 217, 255, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
  font-size: 0.9em;
  color: var(--accent-color);
  border: 1px solid rgba(0, 217, 255, 0.2);
}

pre {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(26, 31, 58, 0.8) 100%);
  border: 1px solid var(--accent-color);
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
}

pre code {
  background: none;
  padding: 0;
  color: var(--accent-color);
  font-size: 0.85em;
  border: none;
}

blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 16px;
  margin-left: 0;
  margin-bottom: 16px;
  color: var(--light-text);
  font-style: italic;
  box-shadow: -2px 0 10px rgba(0, 217, 255, 0.1);
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.05);
}

table thead {
  background: linear-gradient(90deg, rgba(0, 217, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}

table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
}

table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
}

table tr:hover {
  background: rgba(0, 217, 255, 0.05);
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}

.badge-success {
  background: #c6f6d5;
  color: #22543d;
}

.badge-warning {
  background: #fed7d7;
  color: #742a2a;
}

.badge-info {
  background: #bee3f8;
  color: #2c5282;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-color);
  text-align: center;
  padding: 24px;
  margin-top: 48px;
  border-top: 1px solid var(--accent-color);
  box-shadow: 0 -5px 20px rgba(0, 217, 255, 0.1);
}

footer a {
  color: var(--accent-color);
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-secondary) 100%);
  color: var(--primary-color);
  border-radius: 4px;
  transition: all 0.2s;
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.nav-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.6);
  text-shadow: none;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.feature-box {
  padding: 16px;
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.1);
}

.feature-box:hover {
  border-color: var(--accent-color-secondary);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.3), 0 0 15px rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

.feature-box h3 {
  margin-top: 0;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0 12px;
  border-bottom: 1px solid rgba(0, 217, 255, 0.18);
  margin-bottom: 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-secondary) 100%);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.35);
  display: grid;
  place-items: center;
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-brand h1 {
  margin: 0;
  font-size: 1.8rem;
}

.site-brand p {
  margin: 2px 0 0;
  color: var(--light-text);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero-section {
  padding: 18px 0 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero-copy .hero-kicker {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.hero-copy .hero-tagline {
  color: var(--text-color);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.92rem;
  margin-top: -4px;
}

.hero-copy .hero-desc {
  max-width: 58ch;
  margin-top: 16px;
  color: var(--light-text);
  font-size: 1.05rem;
}

.hero-art {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(0, 217, 255, 0.5);
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 0 35px rgba(0, 217, 255, 0.18), 0 0 24px rgba(124, 58, 237, 0.12);
}

.panel {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.72) 0%, rgba(26, 31, 58, 0.72) 100%);
  border: 1px solid rgba(0, 217, 255, 0.22);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.06);
}

.panel + .panel {
  margin-top: 20px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title h2,
.panel-title h3 {
  margin: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.metric-card {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.06) 0%, rgba(124, 58, 237, 0.06) 100%);
  border: 1px solid rgba(0, 217, 255, 0.2);
}

.metric-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 4px;
}

.metric-card span {
  color: var(--light-text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-shell {
  padding-bottom: 32px;
}

.hero-spacer {
  height: 12px;
}

.terminal-frame {
  border-radius: 22px;
  border: 1px solid rgba(0, 217, 255, 0.35);
  padding: 18px;
  background: rgba(7, 10, 22, 0.72);
  box-shadow: 0 0 34px rgba(0, 217, 255, 0.12);
}

/* Add glow effect to key elements */
.glow {
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

/* Terminal-style button effect */
button, .btn {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-secondary) 100%);
  color: var(--primary-color);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

button:hover, .btn:hover {
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.6);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .site-header,
  .hero-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header {
    gap: 16px;
  }

  .site-brand {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.25em;
  }

  h3 {
    font-size: 1.1em;
  }

  pre {
    padding: 12px;
    font-size: 0.8em;
  }

  table {
    font-size: 0.9em;
  }

  table th, table td {
    padding: 8px;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    text-align: center;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

