/* ── RESET ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s, color 0.25s;
}
a { color: inherit; text-decoration: none; }

/* ── BASE TOKENS ─────────────────────────── */
:root {
  --text:         #0C0A18;
  --text-2:       #5A5570;
  --text-3:       #A09CB8;
  --glass-bg:     rgba(255,255,255,0.13);
  --glass-border: rgba(255,255,255,0.55);
  --glass-filter: blur(6px) saturate(180%) contrast(1.08) brightness(1.04);
  --glass-rim:    inset 0 1.5px 0 rgba(255,255,255,0.85), inset 0 -1px 0 rgba(0,0,0,0.04);
  --glass-shadow: 0 8px 32px rgba(10,5,40,0.10), 0 2px 8px rgba(10,5,40,0.06);
  --glass-hover:  0 16px 48px rgba(10,5,40,0.16), 0 4px 12px rgba(10,5,40,0.08);
}
[data-theme="dark"] {
  --text:         #EEEAF8;
  --text-2:       #7E7A96;
  --text-3:       #4A4760;
  --glass-bg:     rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.12);
  --glass-filter: blur(6px) saturate(180%) contrast(1.08);
  --glass-rim:    inset 0 1.5px 0 rgba(255,255,255,0.10), inset 0 -1px 0 rgba(0,0,0,0.15);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.25);
  --glass-hover:  0 16px 48px rgba(0,0,0,0.60);
}

/* ── LAYOUT ──────────────────────────────── */
.page     { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
main      { padding-top: 56px; }
.py       { padding-top: 4rem; padding-bottom: 4rem; }
.pt0      { padding-top: 0; }
.pb2      { padding-bottom: 2rem; }

/* ── SECTION HEADERS ─────────────────────── */
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.label    { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.see-all  { font-size: .8rem; font-weight: 500; color: var(--text-3); transition: color .15s; }
.see-all:hover { color: var(--accent); }

/* ── DIVIDER ─────────────────────────────── */
.divider  { height: 1px; background: rgba(255,255,255,.38); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
[data-theme="dark"] .divider { background: rgba(255,255,255,.07); }

/* ── TAGS ────────────────────────────────── */
.tag      { font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 5px; background: var(--accent-soft); color: var(--accent); }
.tag-n    { background: rgba(0,0,0,.06); color: var(--text-2); }
[data-theme="dark"] .tag-n { background: rgba(255,255,255,.07); }

/* ── BUTTONS ─────────────────────────────── */
.btn    { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; padding: .4375rem .875rem; border-radius: 10px; border: none; cursor: pointer; transition: all .15s; }
.btn-p  { background: var(--accent); color: #fff; box-shadow: 0 2px 10px var(--accent-glow); }
.btn-p:hover { opacity: .88; transform: translateY(-1px); }
.btn-g  { background: rgba(255,255,255,.20); backdrop-filter: blur(6px); color: var(--text-2); border: 1px solid rgba(255,255,255,.50); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
[data-theme="dark"] .btn-g { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.btn-g:hover { border-color: var(--accent); color: var(--accent); }

/* ── MESH BACKGROUND ─────────────────────── */
.mesh   { position: fixed; inset: 0; z-index: 0; pointer-events: none; transition: background .5s; }
nav, main, footer { position: relative; z-index: 1; }

/* ── FOOTER ──────────────────────────────── */
footer  { border-top: 1px solid rgba(255,255,255,.35); padding: 2rem 1.5rem; background: rgba(255,255,255,.08); backdrop-filter: blur(6px) saturate(160%); -webkit-backdrop-filter: blur(6px) saturate(160%); }
[data-theme="dark"] footer { border-top-color: rgba(255,255,255,.07); background: rgba(0,0,0,.10); }
.footer-inner   { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-copy    { font-size: .78125rem; color: var(--text-3); }
.footer-social  { display: flex; gap: 1.25rem; }
.footer-social a { font-size: .78125rem; color: var(--text-3); font-weight: 500; transition: color .15s; }
.footer-social a:hover { color: var(--text); }

/* ── PULSE ANIMATION ─────────────────────── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.pulse  { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2.2s ease-in-out infinite; flex-shrink: 0; }
