/* ============================================
   BASE.CSS — Variables, Reset, Body, Layout
   ============================================ */

:root {
  --bg: #04060f;
  --surface: #0b0f1a;
  --surface2: #111827;
  --accent: #00e5ff;
  --accent2: #a855f7;
  --accent3: #f59e0b;
  --text: #f0f6fc;
  --text-dim: #8b949e;
  --border: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* Subtle animated grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow orbs */
.orb1 {
  position: fixed;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: driftOrb 18s ease-in-out infinite alternate;
}

.orb2 {
  position: fixed;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: driftOrb2 22s ease-in-out infinite alternate;
}

@keyframes driftOrb {
  to { transform: translate(80px, 80px); }
}

@keyframes driftOrb2 {
  to { transform: translate(-60px, -60px); }
}

/* Main content wrapper */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

/* ── SHARED BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.25s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 229, 255, 0.25);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.25s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* ── SHARED SECTION HEADER ── */
.section-head {
  text-align: center;
  margin: 110px 0 60px;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.section-head h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head h2 span {
  color: var(--accent);
}

.section-head p {
  color: var(--text-dim);
  max-width: 500px;
  margin: 14px auto 0;
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ── SHARED BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.badge.purple {
  color: var(--accent2);
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.15);
}

.badge .dlive {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: plive 1.5s infinite;
}

.badge.purple .dlive {
  background: var(--accent2);
}

@keyframes plive {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── SHARED TAGS ── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
}
