/* ===== Vexta Labs — Cyber-Premium Base ===== */

:root {
  /* Color system */
  --bg-0: #070A0F;
  --bg-1: #0A0F18;
  --ink-0: rgba(255, 255, 255, .92);
  --ink-1: rgba(255, 255, 255, .72);
  --ink-2: rgba(255, 255, 255, .55);
  --line-0: rgba(255, 255, 255, .10);
  --line-1: rgba(255, 255, 255, .16);

  /* Accent: Violet Pulse */
  --accent: #B37BFF;
  --accent-2: #FF7BE9;
  --accent-soft: rgba(179, 123, 255, .16);
  --accent-glow: rgba(179, 123, 255, .30);

  /* Aurora colors (subtle) */
  --aurora-a: rgba(179, 123, 255, .10);
  --aurora-b: rgba(55, 246, 208, .08);
  --aurora-c: rgba(90, 120, 255, .08);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, .05);
  --glass-bg-2: rgba(255, 255, 255, .07);
  --glass-border: rgba(255, 255, 255, .10);

  /* Radii */
  --r-2: 10px;
  --r-3: 14px;
  --r-4: 18px;
  --r-5: 22px;

  /* Spacing */
  --s-1: 6px;
  --s-2: 10px;
  --s-3: 14px;
  --s-4: 18px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 44px;
  --s-8: 64px;
  --s-9: 120px;

  /* Typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", Segoe UI, Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --h1: clamp(42px, 5vw, 64px);
  --h2: clamp(28px, 3.4vw, 40px);
  --h3: 20px;
  --p: 16px;
  --small: 13px;

  /* Shadows */
  --shadow-1: 0 10px 40px rgba(0, 0, 0, .35);
  --shadow-2: 0 20px 70px rgba(0, 0, 0, .55);

  /* Motion */
  --ease: cubic-bezier(.2, .9, .2, 1);
  --dur-1: 140ms;
  --dur-2: 220ms;
  --dur-3: 420ms;

  /* Layout */
  --max: 1120px;
  --gutter: clamp(18px, 4vw, 28px);
}

/* Violet-only theme — no toggle needed */

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-0);
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Aurora glow — viewport-fixed pseudo-element (no tiling / no seams) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 60% at 10% 15%, var(--aurora-a), transparent),
    radial-gradient(ellipse 80% 50% at 90% 30%, var(--aurora-b), transparent),
    radial-gradient(ellipse 70% 40% at 55% 80%, var(--aurora-c), transparent);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hr {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-0), transparent);
  margin: var(--s-7) 0;
}

.muted {
  color: var(--ink-1);
}

.dim {
  color: var(--ink-2);
}

.small {
  font-size: var(--small);
  color: var(--ink-2);
}

.mono {
  font-family: var(--font-mono);
}

h1 {
  font-size: var(--h1);
  line-height: 1.03;
  letter-spacing: -.02em;
  margin: 0 0 var(--s-4);
}

h2 {
  font-size: var(--h2);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 var(--s-4);
}

h3 {
  font-size: var(--h3);
  margin: 0 0 var(--s-2);
}

p {
  font-size: var(--p);
  line-height: 1.6;
  color: var(--ink-1);
  margin: 0 0 var(--s-4);
}

section {
  padding: var(--s-9) 0;
}

.grid {
  display: grid;
  gap: var(--s-5);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  section {
    padding: var(--s-8) 0;
  }
}

/* Subtle noise overlay (CSS-only, no image) */
.noise {
  pointer-events: none;
  position: fixed;
  inset: -20%;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 2px);
  background-size: 3px 3px;
  transform: translateZ(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}