/* =========================================================
   GetAGitDev.com — Dark Theme
   ========================================================= */

:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-card: #1c2128;
  --border: #30363d;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #656d76;
  --accent: #58a6ff;
  --accent-hover: #79c0ff;
  --green: #3fb950;
  --orange: #d29922;
  --gradient-start: #58a6ff;
  --gradient-end: #bc8cff;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, monospace;
  --max-width: 1080px;
  --radius: 8px;
  --radius-lg: 12px;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Header / Nav --- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
.logo svg { flex-shrink: 0; }
.logo span { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

nav { display: flex; gap: 24px; }
nav a { color: var(--text-secondary); font-size: .9rem; font-weight: 500; }
nav a:hover { color: var(--text-primary); }

/* --- Hero --- */
.hero {
  text-align: center;
  padding: 80px 0 60px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* --- Search Box --- */
.search-wrap {
  max-width: 600px;
  margin: 0 auto 16px;
  position: relative;
}
.search-wrap input {
  width: 100%;
  padding: 16px 140px 16px 20px;
  font-size: 1.1rem;
  font-family: var(--font-sans);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  outline: none;
  transition: border-color .2s;
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-wrap input:focus { border-color: var(--accent); }
.search-wrap button {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  padding: 0 24px;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s;
}
.search-wrap button:hover { background: var(--accent-hover); }

.search-count {
  text-align: center;
  font-size: .95rem;
  color: var(--text-secondary);
  min-height: 24px;
  margin-bottom: 8px;
}
.search-count strong { color: var(--accent); }

.trust-line {
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* --- Process Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 60px 0;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
.step p { color: var(--text-secondary); font-size: .95rem; }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  padding: 60px 0 32px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Profile Card Example --- */
.card-example {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 520px;
  margin: 0 auto 60px;
  font-size: .92rem;
}
.card-example .username { font-family: var(--font-mono); color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.card-example .name { font-weight: 700; font-size: 1.05rem; }
.card-example .location { color: var(--text-muted); font-size: .85rem; }
.card-example .bio { color: var(--text-secondary); font-style: italic; margin: 8px 0; }
.card-example .skills { margin: 12px 0; }
.card-example .skill-tag {
  display: inline-block;
  background: rgba(88,166,255,.12);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 500;
  margin: 2px 3px;
}
.card-example .meta { color: var(--text-muted); font-size: .82rem; margin-top: 10px; }
.card-example .availability {
  display: inline-block;
  background: rgba(63,185,80,.12);
  color: var(--green);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  margin-top: 8px;
}

/* --- Value Props Grid --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding-bottom: 60px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value-card ul { list-style: none; }
.value-card li { color: var(--text-secondary); font-size: .92rem; padding: 4px 0; padding-left: 20px; position: relative; }
.value-card li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* --- Stats Bar --- */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat .number { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.stat .label { font-size: .85rem; color: var(--text-muted); }

/* --- Quick Links --- */
.quick-links {
  padding: 60px 0;
  text-align: center;
}
.quick-links .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.quick-links .link-pill {
  display: inline-block;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: .9rem;
  font-weight: 500;
  transition: background .15s, border-color .15s;
}
.quick-links .link-pill:hover { background: var(--bg-card); border-color: var(--accent); }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
}
.site-footer nav { justify-content: center; margin-bottom: 12px; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text-secondary); }

/* --- Article Pages --- */
.article-page { padding: 60px 0 80px; }
.article-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-page .article-meta { color: var(--text-muted); font-size: .85rem; margin-bottom: 32px; }
.article-page h2 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 12px; }
.article-page h3 { font-size: 1.1rem; font-weight: 600; margin: 28px 0 8px; color: var(--accent); }
.article-page p { color: var(--text-secondary); margin-bottom: 16px; max-width: 720px; }
.article-page ul, .article-page ol { color: var(--text-secondary); margin: 0 0 16px 24px; }
.article-page li { margin-bottom: 6px; }
.article-page blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--bg-secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
  font-style: italic;
}
.article-page .cta-box {
  background: linear-gradient(135deg, rgba(88,166,255,.08), rgba(188,140,255,.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin: 40px 0;
}
.article-page .cta-box a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 12px;
  transition: background .15s;
}
.article-page .cta-box a:hover { background: var(--accent-hover); }

/* --- Search Results Placeholder --- */
.search-results-page { padding: 60px 0 80px; min-height: 60vh; }
.search-results-page h1 { font-size: 1.6rem; margin-bottom: 20px; }
.search-results-page .placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .search-wrap input { padding: 14px 16px; font-size: 1rem; }
  .search-wrap button { position: static; width: 100%; margin-top: 8px; padding: 14px; border-radius: var(--radius); }
  .steps { grid-template-columns: 1fr; }
  nav { gap: 16px; }
  .stats-bar { gap: 24px; }
}
