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

:root {
  --bg: #080810;
  --surface: #0f0f18;
  --border: rgba(255, 255, 255, 0.07);
  --ig-grad: linear-gradient(135deg, #833ab4, #d62976, #fa7e1e);
  --ig-grad-subtle: linear-gradient(
    135deg,
    rgba(131, 58, 180, 0.15),
    rgba(214, 41, 118, 0.15),
    rgba(250, 126, 30, 0.15)
  );
  --text: #f0f0f0;
  --muted: #60607a;
  --card-bg: #13131e;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", sans-serif;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--ig-grad);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s,
    width 0.2s,
    height 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(214, 41, 118, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    left 0.12s ease,
    top 0.12s ease;
}
body:has(a:hover) .cursor {
  width: 20px;
  height: 20px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 100;
  opacity: 0.4;
}

.bg-wrap {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  animation: glow-pulse 7s ease-in-out infinite;
}
.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #d62976, transparent);
  opacity: 0.07;
  top: -150px;
  left: -150px;
}
.glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #833ab4, transparent);
  opacity: 0.06;
  bottom: 0;
  right: -100px;
  animation-delay: 3.5s;
}
@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.06;
    transform: scale(1);
  }
  50% {
    opacity: 0.11;
    transform: scale(1.08);
  }
}

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

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s,
    padding 0.3s;
}
nav.scrolled {
  background: rgba(8, 8, 16, 0.9);
  backdrop-filter: blur(20px);
  border-color: var(--border);
  padding: 16px 48px;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text);
}
.logo-dot {
  color: #e8608a;
}
.nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: none;
  transition: color 0.2s;
}
.nav-back:hover {
  color: var(--text);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 24px 100px;
}

.doc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8608a;
  background: rgba(214, 41, 118, 0.08);
  border: 1px solid rgba(214, 41, 118, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fade-up 0.6s ease both;
}

.doc-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1;
  margin-bottom: 12px;
  animation: fade-up 0.6s 0.08s ease both;
}

.doc-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  animation: fade-up 0.6s 0.14s ease both;
}

/* THE BIG ZERO CARD */
.zero-card {
  background: var(--card-bg);
  border: 1px solid rgba(214, 41, 118, 0.25);
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 56px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  animation: fade-up 0.6s 0.18s ease both;
  position: relative;
  overflow: hidden;
}
.zero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ig-grad-subtle);
  opacity: 0.5;
}
.zero-icon {
  font-size: 32px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.zero-text {
  position: relative;
  z-index: 1;
}
.zero-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  background: var(--ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.zero-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.doc-section {
  margin-bottom: 44px;
  animation: fade-up 0.6s 0.22s ease both;
  border-left: 2px solid rgba(214, 41, 118, 0.2);
  padding-left: 24px;
  transition: border-color 0.2s;
}
.doc-section:hover {
  border-color: rgba(214, 41, 118, 0.5);
}
.doc-section h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
  color: var(--text);
}
.doc-section h2 span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 10px;
  vertical-align: middle;
}
.doc-section p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.doc-section p:last-child {
  margin-bottom: 0;
}
.doc-section strong {
  color: var(--text);
  font-weight: 600;
}
.doc-section a {
  color: #e8608a;
  text-decoration: none;
}
.doc-section a:hover {
  text-decoration: underline;
}

.doc-highlight {
  background: var(--card-bg);
  border: 1px solid rgba(214, 41, 118, 0.15);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.doc-highlight strong {
  color: #e8608a;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  nav {
    padding: 18px 24px;
  }
  nav.scrolled {
    padding: 14px 24px;
  }
  .page {
    padding: 120px 20px 80px;
  }
  .zero-card {
    flex-direction: column;
    gap: 14px;
  }
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
footer > div {
    min-width: 20%;
}

footer > div:nth-child(2) {
    display: flex;
    justify-content: center;
}
footer > div:nth-child(3) {
    display: flex;
    justify-content: right;
}
span.footer-year{
    margin-right: .2rem;
}