/* -------------------------------------------------------------------------- */
/*  PREMIUM DESIGN SYSTEM 2025                                                 */
/* -------------------------------------------------------------------------- */

:root {
  /* --- Palette Premium (Deep Space & Neon) --- */
  --color-bg: #030712; /* Almost Black Blue */
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-glass: rgba(255, 255, 255, 0.05);
  --color-border: rgba(255, 255, 255, 0.1);

  --color-primary: #3b82f6; /* Electric Blue */
  --color-primary-glow: rgba(59, 130, 246, 0.5);
  --color-secondary: #8b5cf6; /* Vivid Purple */
  --color-accent: #f43f5e; /* Neon Rose */

  --color-text: #f8fafc; /* White-ish */
  --color-text-muted: #94a3b8; /* Slate */

  /* --- Gradients --- */
  --gradient-primary: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  --gradient-glass: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  --gradient-glow: radial-gradient(
    circle at center,
    var(--color-primary-glow),
    transparent 70%
  );

  /* --- Spacing & Layout --- */
  --container-width: 1200px;
  --header-height: 80px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* --- Effects --- */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2),
    0 10px 10px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px var(--color-primary-glow);

  --backdrop-blur: blur(12px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  background-image: radial-gradient(
      circle at 15% 50%,
      rgba(59, 130, 246, 0.08),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(139, 92, 246, 0.08),
      transparent 25%
    );
  background-attachment: fixed;
  color: var(--color-text);
  font-family: "Outfit", "Inter", sans-serif; /* Modern Font */
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(3rem, 5vw + 1rem, 5rem);
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* --- Utilities --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Accessibility: Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 1rem;
  z-index: 9999;
  transition: top 0.3s ease;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}
