*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0d1117;
  color: #e6edf3;
  min-height: 100vh;
}

.landing { max-width: 900px; margin: 0 auto; padding: 40px 20px; }

.hero { text-align: center; padding: 60px 20px; }
.bot-icon { font-size: 64px; margin-bottom: 20px; }
.hero h1 {
  font-size: 48px; font-weight: 700; margin-bottom: 16px;
  background: linear-gradient(135deg, #58a6ff, #bc8cff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.tagline { font-size: 18px; color: #8b949e; line-height: 1.7; margin-bottom: 32px; }

.btn-github {
  display: inline-flex; align-items: center; gap: 10px;
  background: #238636; color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 8px; font-size: 16px; font-weight: 600;
}
.btn-github:hover { background: #2ea043; }
.note { color: #6e7681; margin-top: 14px; font-size: 14px; }

.error-banner {
  background: #3d1f1f; border: 1px solid #f85149;
  color: #f85149; padding: 12px 20px; border-radius: 8px; margin-bottom: 24px;
}

.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-top: 50px;
}
.feature-card {
  background: #161b22; border: 1px solid #30363d;
  border-radius: 12px; padding: 24px; text-align: center;
}
.feature-icon { font-size: 32px; margin-bottom: 10px; }
.feature-card h3 { font-size: 15px; margin-bottom: 6px; }
.feature-card p { color: #8b949e; font-size: 13px; line-height: 1.5; }

.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px; background: #161b22; border-bottom: 1px solid #30363d;
  position: sticky; top: 0;
}
.nav-brand { font-size: 17px; font-weight: 700; }
.nav-user { display: flex; align-items: center; gap: 12px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; }
.btn-logout {
  background: #21262d; color: #e6edf3; text-decoration: none;
  padding: 5px 12px; border-radius: 6px; font-size: 13px; border: 1px solid #30363d;
}
.btn-logout:hover { background: #30363d; }

.dashboard { max-width: 1000px; margin: 0 auto; padding: 32px 20px; }
.dash-header { margin-bottom: 24px; }
.dash-header h1 { font-size: 26px; margin-bottom: 6px; }
.dash-header p { color: #8b949e; }

.setup-box {
  background: #161b22; border: 1px solid #1f6feb;
  border-radius: 12px; padding: 20px; margin-bottom: 28px;
}
.setup-box h3 { color: #58a6ff; margin-bottom: 12px; }
.setup-box ol { padding-left: 18px; }
.setup-box li { padding: 5px 0; color: #8b949e; font-size: 14px; }
.setup-box strong { color: #e6edf3; }
.setup-box code {
  background: #0d1117; padding: 1px 6px;
  border-radius: 4px; font-size: 12px; color: #f78166;
}

.repos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.repo-card {
  background: #161b22; border: 1px solid #30363d;
  border-radius: 10px; padding: 18px; transition: border-color 0.2s;
}
.repo-card:hover { border-color: #58a6ff; }
.repo-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.repo-name a { color: #58a6ff; text-decoration: none; font-weight: 600; }
.repo-name a:hover { text-decoration: underline; }
.lang-badge {
  background: #21262d; border: 1px solid #30363d;
  color: #8b949e; padding: 2px 8px; border-radius: 20px; font-size: 11px;
}
.repo-desc { color: #8b949e; font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
.repo-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.repo-updated { font-size: 12px; color: #6e7681; }
.btn-setup {
  background: #1f6feb; color: #fff; text-decoration: none;
  padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 500;
}
.btn-setup:hover { background: #388bfd; }

.error-page {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 100vh; text-align: center; gap: 16px;
}
.error-icon { font-size: 56px; }
.error-page h1 { font-size: 26px; }
.error-page p { color: #8b949e; }