/* ============================================
   PLAGPREVENT V2 — BASE STYLES V3
   Reset, Typography, Global — WHITE NACRÉ
   ============================================ */

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fz-base);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--bg-void);
  overflow-x: hidden;
  cursor: auto;
  min-height: 100vh;
}

/* Restore cursor on touch devices */
@media (pointer: coarse) {
  body { cursor: auto; }
}

/* ─── Selection ─── */
::selection {
  background: rgba(6, 182, 212, 0.2);
  color: #0F172A;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 8px;
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #CBD5E1, #94A3B8);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--cyan-500), var(--emerald-500));
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-heading);
  color: var(--text-primary);
}

h1 { font-size: var(--fz-hero); }
h2 { font-size: var(--fz-4xl); }
h3 { font-size: var(--fz-2xl); }
h4 { font-size: var(--fz-xl); }

p {
  color: var(--text-secondary);
  line-height: var(--lh-body);
  max-width: 70ch;
  font-size: var(--fz-base);
}

/* ─── Accent classes — BRIGHTER ─── */
.text-gradient {
  background: var(--g-hero-text);
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent {
  color: var(--cyan-500);
}

.text-mono {
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-wide);
  font-size: var(--fz-sm);
}

/* ─── Links ─── */
a {
  color: var(--cyan-500);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out);
}
a:hover { color: var(--cyan-600); }

/* ─── Focus ─── */
:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
}

/* ─── Images ─── */
img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

/* ─── Utility: Eyebrow text ─── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--cyan-500);
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--g-hero);
  border-radius: 1px;
}

/* ─── Utility: Section description ─── */
.section__desc {
  font-size: var(--fz-lg);
  color: var(--text-secondary);
  max-width: 65ch;
  margin-top: var(--space-5);
}
