/* ══════════════════════════════════════════════════════════════════
   AGEYE Labs — Design System
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* Backgrounds */
  --bg-deep: #0A0A16;
  --bg-surface: #111128;
  --bg-card: #171735;
  --bg-card-hover: #1E1E48;

  /* Brand */
  --pink: #E6007E;
  --pink-hover: #CC0066;
  --teal: #3BB8A8;
  --teal-light: #5CD4C4;
  --green: #4DB848;
  --yellow: #DDAA22;

  /* Text */
  --white: #FFFFFF;
  --text-primary: #B0B0C8;
  --text-muted: #7C7CA0;
  --text-subtle: #4A4A6A;
  --text-faint: #5A5A80;

  /* Borders */
  --border-pink: rgba(230, 0, 126, 0.10);
  --border-teal: rgba(59, 184, 168, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.04);

  /* Fonts */
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;

  /* Motion */
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
.mobile-br { display: none; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Background effects ── */

.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(230, 0, 126, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 0, 126, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.glow-orb {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(120px);
}
.glow-orb-pink {
  width: 600px; height: 600px; top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(230, 0, 126, 0.06), transparent 70%);
}
.glow-orb-teal {
  width: 500px; height: 500px; bottom: 20%; left: -150px;
  background: radial-gradient(circle, rgba(59, 184, 168, 0.04), transparent 70%);
}

.content-wrap { position: relative; z-index: 1; }

/* ── Typography ── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Layout ── */

.container { max-width: var(--container); margin: 0 auto; padding: 0 3rem; }
section { padding: 6rem 3rem; max-width: var(--container); margin: 0 auto; }

/* ── Section labels ── */

.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--pink);
}
.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── Dividers ── */

.divider { max-width: var(--container); margin: 0 auto; padding: 0 3rem; }
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-pink), var(--border-teal), transparent);
}

/* ── Buttons ── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pink);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--t);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--pink-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(230, 0, 126, 0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #666688;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── Status badges ── */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}
.status-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-live {
  color: var(--green);
  border: 1px solid rgba(77, 184, 72, 0.2);
  background: rgba(77, 184, 72, 0.05);
}
.status-live::before {
  background: var(--green);
  animation: pulseDot 2s ease-in-out infinite;
}
.status-beta {
  color: var(--yellow);
  border: 1px solid rgba(221, 170, 34, 0.2);
  background: rgba(221, 170, 34, 0.05);
}
.status-beta::before { background: var(--yellow); }

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

/* ── Scroll animations ── */

.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim.vis {
  opacity: 1;
  transform: translateY(0);
}
.anim.delay-1 { transition-delay: 0.1s; }
.anim.delay-2 { transition-delay: 0.2s; }
.anim.delay-3 { transition-delay: 0.3s; }
.anim.delay-4 { transition-delay: 0.4s; }
.anim.delay-5 { transition-delay: 0.5s; }

/* ── Error page ── */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.error-content { max-width: 500px; }
.error-code {
  font-family: var(--font-mono);
  font-size: 6rem;
  font-weight: 700;
  color: var(--pink);
  opacity: 0.3;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.error-page h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.error-page p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
