/* ═══════════════════════════════════════════
   POOLR.LOL — Global Stylesheet
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg:          #07070d;
  --bg-2:        #0c0c18;
  --surface:     #101020;
  --surface-2:   #14142a;
  --border:      rgba(255,255,255,0.07);
  --border-hi:   rgba(255,255,255,0.14);
  --purple:      #7c4dff;
  --purple-hi:   #9b6fff;
  --purple-dim:  rgba(124,77,255,0.12);
  --purple-glow: rgba(124,77,255,0.3);
  --cyan:        #00d4ff;
  --cyan-dim:    rgba(0,212,255,0.09);
  --green:       #22c55e;
  --amber:       #f59e0b;
  --text:        #eeeef5;
  --text-mid:    #8888a8;
  --text-muted:  #44445a;
  --mono:        'JetBrains Mono', monospace;
  --sans:        'Inter', system-ui, sans-serif;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── AMBIENT GLOW ── */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
}
.ambient::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(124,77,255,0.13) 0%, transparent 65%);
  top: -300px; left: -200px;
  animation: glowDrift 22s ease-in-out infinite alternate;
}
.ambient::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 65%);
  bottom: -100px; right: -100px;
  animation: glowDrift 30s ease-in-out infinite alternate-reverse;
}
@keyframes glowDrift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(60px,80px); }
}

/* ── NAV ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 64px;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(7,7,13,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
}
.nav-logo {
  font-family: var(--mono);
  font-size: 1rem; font-weight: 700;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
}
.nav-logo .dot { color: var(--purple); }

.nav-center {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  color: var(--text-mid); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  padding: 7px 14px; border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--text); }

.nav-right { display: flex; gap: 8px; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
       padding: 10px 20px; border-radius: var(--radius-sm);
       font-size: 0.875rem; font-weight: 600; text-decoration: none;
       transition: all 0.2s; cursor: pointer; border: none; }
.btn-ghost { color: var(--text-mid); border: 1px solid var(--border); background: transparent; }
.btn-ghost:hover { color: var(--text); border-color: var(--border-hi); background: rgba(255,255,255,0.04); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-hi); box-shadow: 0 0 28px var(--purple-glow); transform: translateY(-1px); }
.btn-outline { color: var(--purple); border: 1px solid rgba(124,77,255,0.4); background: var(--purple-dim); }
.btn-outline:hover { border-color: var(--purple); background: rgba(124,77,255,0.2); box-shadow: 0 0 20px var(--purple-glow); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }
.btn-xl { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius); }

/* ── PAGE WRAP ── */
.page { padding-top: 64px; }

/* ── SECTION ── */
.section {
  max-width: 1160px; margin: 0 auto;
  padding: 100px 48px;
}
.section-eyebrow {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--purple); text-transform: uppercase;
  letter-spacing: 2.5px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content:''; display:inline-block; width:20px; height:1px; background:var(--purple); }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-mid); font-size: 1rem; line-height: 1.7;
  max-width: 500px; margin-bottom: 56px;
}

/* ── DIVIDER ── */
hr.divider { border: none; border-top: 1px solid var(--border); }

/* ── TAG / BADGE ── */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid; white-space: nowrap;
}
.tag-purple { color: #b39ddb; background: var(--purple-dim); border-color: rgba(124,77,255,0.3); }
.tag-cyan   { color: var(--cyan); background: var(--cyan-dim); border-color: rgba(0,212,255,0.25); }
.tag-green  { color: var(--green); background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.25); }
.tag-amber  { color: var(--amber); background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.25); }

/* ── PULSE DOT ── */
.pulse { width:8px; height:8px; border-radius:50%; flex-shrink:0; animation: pulseDot 2s ease infinite; }
.pulse-green  { background: var(--green);  box-shadow: 0 0 8px var(--green); }
.pulse-amber  { background: var(--amber);  box-shadow: 0 0 8px var(--amber); }
.pulse-purple { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
@keyframes pulseDot { 0%,100%{opacity:1} 50%{opacity:0.35} }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 56px 36px;
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .footer-logo {
  font-family: var(--mono); font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 12px; display: block;
}
.footer-brand .footer-logo .dot { color: var(--purple); }
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

.footer-col h4 {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-mid); margin-bottom: 16px;
}
.footer-col a {
  display: block; color: var(--text-muted); text-decoration: none;
  font-size: 0.875rem; margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 56px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .navbar { padding: 0 24px; }
  .nav-center { display: none; }
  .section { padding: 64px 24px; }
  footer { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 24px 24px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 600px) {
  footer { grid-template-columns: 1fr; }
  .btn-xl { padding: 14px 24px; font-size: 0.95rem; }
}
