/* ado-board-cli CSS Style — Modern Dark Terminal Theme */
:root {
  --bg-color: #0d1117;
  --bg-surface: #161b22;
  --bg-surface-elevated: #21262d;
  --border-color: #30363d;
  --border-subtle: #21262d;
  --text-main: #f0f6fc;
  --text-muted: #8b949e;
  --text-dim: #6e7681;
  --accent-primary: #388bfd;
  --accent-primary-hover: #58a6ff;
  --accent-glow: rgba(56, 139, 253, 0.25);
  --accent-amber: #f59e0b;
  --accent-purple: #a855f7;
  --accent-cyan: #06b6d4;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1120px;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-primary-hover);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #79c0ff;
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main);
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
}

.brand-name {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main) !important;
}

.nav-github-link:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--text-muted);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(56, 139, 253, 0.12) 0%, transparent 60%);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #2ea043;
  border-radius: 50%;
  box-shadow: 0 0 8px #2ea043;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, #58a6ff 0%, #a855f7 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--text-muted);
  color: var(--text-main);
  text-decoration: none;
}

.terminal-prompt {
  color: #388bfd;
  font-weight: bold;
}

/* Screenshot Frame Showcase */
.screenshot-wrapper {
  max-width: 1040px;
  margin: 0 auto 1.5rem;
}

.terminal-frame {
  background-color: #0d1117;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terminal-frame:hover {
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(88, 166, 255, 0.25);
}

.hero-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* Section Common Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

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

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: #58a6ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 1.35rem;
  color: var(--accent-primary-hover);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(56, 139, 253, 0.1);
  border: 1px solid rgba(56, 139, 253, 0.25);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(56, 139, 253, 0.2);
  border-color: var(--accent-primary);
  color: #79c0ff;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Downloads Section */
.downloads-section {
  padding: 5rem 0;
  background-color: #0b0e14;
  border-top: 1px solid var(--border-color);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.download-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.download-card.highlighted {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px var(--accent-glow), 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.download-card.highlighted::before {
  content: "Detected OS";
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background-color: var(--accent-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.download-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.os-icon {
  font-size: 1.35rem;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.os-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.os-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.arch-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.arch-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.arch-btn:hover {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  text-decoration: none;
  transform: translateX(2px);
}

.download-arrow {
  font-weight: bold;
}

.checksum-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Quick Install Section */
.install-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

.snippet-container {
  max-width: 780px;
  margin: 0 auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.snippet-tabs {
  display: flex;
  background-color: #0f141c;
  border-bottom: 1px solid var(--border-color);
}

.snippet-tab {
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.snippet-tab:hover {
  color: var(--text-main);
}

.snippet-tab.active {
  color: var(--accent-primary-hover);
  border-bottom-color: var(--accent-primary);
  background-color: rgba(56, 139, 253, 0.05);
}

.snippet-panel {
  display: none;
  padding: 1.25rem;
}

.snippet-panel.active {
  display: block;
}

.code-block {
  position: relative;
  background-color: #0d1117;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e6edf3;
}

.copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.7rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  background-color: var(--border-color);
  color: var(--text-main);
}

.copy-btn.copied {
  color: #2ea043;
  border-color: #2ea043;
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  background-color: #0b0e14;
}

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

.footer-left {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.brand-text {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
}

.footer-right {
  display: flex;
  gap: 1.5rem;
}

.footer-right a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-right a:hover {
  color: var(--text-main);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0 2rem;
  }
  .nav-links {
    display: none;
  }
  .features-grid, .downloads-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
