/* =====================================================
   BASE STYLE SYSTEM
   Font: Inter + Space Grotesk + JetBrains Mono
   Theme: Premium dark, cyan-blue-violet, glassmorphism
===================================================== */
:root {
  --bg: #050608;
  --bg-2: #080a12;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-2: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f8fbff;
  --muted: #aeb8c7;
  --soft: #dce7f7;
  --cyan: #18f5ff;
  --blue: #2d8cff;
  --violet: #7c4dff;
  --green: #29e879;
  --danger: #ff4365;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(24, 245, 255, 0.16), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(124, 77, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #030506 0%, #070915 52%, #120b30 100%);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,.25));
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .13;
  pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.4"/></svg>');
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.page-section { padding: 110px 0; position: relative; }
.page-transition { animation: pageIn .35s ease both; }
.app-loader { padding: 40px; color: var(--text); }

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; margin: 0 0 18px; letter-spacing: -0.045em; }
h1 { font-size: clamp(48px, 7vw, 92px); line-height: .95; }
h2 { font-size: clamp(34px, 4.7vw, 64px); line-height: 1; }
h3 { font-size: 24px; line-height: 1.18; }
p { color: var(--muted); line-height: 1.8; margin: 0 0 20px; }
.large-text { font-size: 17px; }

::selection { background: rgba(24, 245, 255, .32); color: white; }

@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 0 rgba(24,245,255,0); } 50% { box-shadow: 0 0 42px rgba(24,245,255,.28); } }
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.reveal-up { animation: revealUp .8s ease both; }
.delay-1 { animation-delay: .15s; }
@keyframes revealUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
