/* ── Lowcademy Labs — Global Stylesheet ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --dark:    #0D1B2A;      /* logo background — near black navy */
  --cyan:    #00E5FF;      /* logo border highlight — electric cyan */
  --cyan-dim:#00B8CC;
  --cyan-bg: rgba(0,229,255,0.08);
  --white:   #ffffff;
  --off:     #F4F7FB;
  --muted:   #6B7280;
  --border:  #E5E9F0;
  --text:    #1A1A2E;
  --radius:  12px;
  --max:     1140px;
  --font:    'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(0,229,255,0.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 40px; width: 40px; border-radius: 10px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 16px; font-weight: 700; color: var(--white); letter-spacing: 0.01em; }
.brand-sub  { font-size: 11px; color: var(--cyan); letter-spacing: 0.05em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75);
  padding: 7px 14px; border-radius: 8px; transition: all 0.15s;
}
.nav-link:hover { color: var(--cyan); background: var(--cyan-bg); }
.nav-link.active { color: var(--cyan); }
.nav-cta {
  font-size: 13px; font-weight: 600;
  background: var(--cyan); color: var(--dark);
  padding: 8px 18px; border-radius: 8px;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--cyan-dim); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 8px; font-size: 14px;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.15s;
}
.btn-primary { background: var(--cyan); color: var(--dark); }
.btn-primary:hover { background: var(--cyan-dim); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #1a2e42; }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--dark); }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ── Tags / Badges ── */
.tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em;
}
.tag-cyan  { background: var(--cyan-bg); color: var(--cyan-dim); border: 1px solid rgba(0,229,255,0.25); }
.tag-green { background: #e1f7e6; color: #15803d; }
.tag-orange{ background: #fff1e2; color: #9a3412; }
.tag-red   { background: #fee2e2; color: #b91c1c; }
.tag-soon  { background: #f3f4f6; color: #6b7280; }

/* ── Section headings ── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--cyan-dim); margin-bottom: 10px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--dark); line-height: 1.15; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; }

/* ── Cards ── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(13,27,42,0.06);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(13,27,42,0.12); }
.card-thumb { width: 100%; aspect-ratio: 16/10; background: var(--dark); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; flex: 1; }
.card-body h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.card-body p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.card-footer {
  padding: 14px 20px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}

/* ── Grid ── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media(max-width:960px){ .grid-3{grid-template-columns:repeat(2,1fr);} .grid-4{grid-template-columns:repeat(2,1fr);} }
@media(max-width:620px){ .grid-3,.grid-2,.grid-4{grid-template-columns:1fr;} }

/* ── Cyan accent bar ── */
.cyan-bar { height: 3px; background: linear-gradient(90deg, var(--cyan), var(--cyan-dim), transparent); }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--dark); padding: 52px 0;
  border-bottom: 1px solid rgba(0,229,255,0.12);
}
.page-hero h1 { font-size: 34px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.page-hero p  { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 580px; }
.page-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ── Footer ── */
.site-footer { background: var(--dark); margin-top: 80px; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 44px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 12px; max-width: 280px; line-height: 1.65; }
.footer-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); margin-bottom: 16px; }
.footer-col a  { display: block; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
@media(max-width:860px){ .footer-top{grid-template-columns:1fr 1fr;} }
@media(max-width:540px){ .footer-top{grid-template-columns:1fr;} }

/* ── API method badge ── */
.method { display:inline-block; font-size:11px; font-weight:700; padding:3px 9px; border-radius:5px; }
.method-post { background:#1e3a5f; color:var(--cyan); }
.method-get  { background:#14532d; color:#4ade80; }

/* ── Utility ── */
.text-cyan   { color: var(--cyan); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-24 { margin-bottom: 24px; }
