/* webaicontent.com — Global Stylesheet */

/* ─── Design tokens ───────────────────────────────────────────────────────── */
:root {
  --bg-ink:           #0a0e1a;
  --bg-card:          #111827;
  --bg-elevated:      #0d1424;
  --border-subtle:    #1f2937;
  --border-hover:     #374151;
  --blue-primary:     #00b4ff;
  --blue-glow:        #38bdf8;
  --blue-soft:        rgba(0, 180, 255, 0.08);
  --chartreuse:       #d4ff3a;
  --chartreuse-soft:  rgba(212, 255, 58, 0.08);
  --amber:            #f59e0b;
  --purple:           #8b7dff;
  --text-primary:     #f5f8ff;
  --text-body:        #b8c5d9;
  --text-muted:       #6b7a94;
  --font-sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:        'JetBrains Mono', 'Courier New', monospace;
}

/* ─── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* ─── Base ────────────────────────────────────────────────────────────────── */
html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  background-color: var(--bg-ink);
  color: var(--text-primary);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
p { color: var(--text-body); }

/* ─── Layout ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 768px) {
  .container { padding-left: 32px; padding-right: 32px; }
}

/* ─── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border-subtle);
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 768px) {
  .main-nav { display: flex; }
}
.main-nav a {
  font-size: 14px;
  color: var(--text-body);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}
.btn-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  color: var(--text-body);
  border: 0.5px solid var(--border-subtle);
  background: transparent;
  flex-shrink: 0;
}
@media (min-width: 768px) { .btn-mobile { display: none; } }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  transition: opacity .15s, transform .1s, background .15s, border-color .15s;
  white-space: nowrap;
  border: 0.5px solid transparent;
  line-height: 1;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--blue-primary);
  color: #0a0e1a;
  font-weight: 600;
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost {
  background: transparent;
  color: var(--text-body);
  border-color: var(--border-subtle);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text-primary); background: var(--bg-card); }
.btn-muted {
  background: var(--bg-elevated);
  color: var(--text-body);
  border-color: var(--border-subtle);
}
.btn-muted:hover { background: var(--bg-card); color: var(--text-primary); }
.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 10px; }

/* ─── Eyebrow labels ──────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow.blue { color: var(--blue-primary); }

/* ─── Page hero (inner pages) ─────────────────────────────────────────────── */
.page-hero {
  padding: 72px 0 48px;
}
.page-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  color: var(--text-primary);
  margin: 16px 0 16px;
  line-height: 1.1;
  max-width: 760px;
}
.page-hero p {
  font-size: 16px;
  color: var(--text-body);
  max-width: 600px;
  line-height: 1.65;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 120px;
  padding: 48px 0 40px;
  border-top: 0.5px solid var(--border-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.footer-col .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col nav a {
  font-size: 13.5px;
  color: var(--text-body);
  transition: color .15s;
}
.footer-col nav a:hover { color: var(--text-primary); }
.footer-tag {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer-cr {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 12px;
}
