/* ============================================
   SUPPORTIXIT - Design System & Tokens
   ============================================ */

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

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

:root {
  /* ─── Core Colors ─── */
  --bg: #0f1221;
  --bg-2: #131629;
  --bg-3: #1c2140;
  --accent: #acd126;
  --accent-rgb: 172, 209, 38;
  --accent-dark: #8bab18;
  --accent-light: #c5e84d;
  --accent-glow: rgba(172, 209, 38, 0.22);
  --red: #e63535;
  --red-rgb: 230, 53, 53;
  --red-dark: #c42b2b;
  --red-glow: rgba(230, 53, 53, 0.22);

  /* ─── Glass ─── */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-mid: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(172, 209, 38, 0.12);
  --glass-border-hover: rgba(172, 209, 38, 0.30);
  --glass-blur: blur(16px);

  /* ─── Text ─── */
  --text-primary: #eef0f8;
  --text-secondary: #8892b0;
  --text-muted: #5a6480;

  /* ─── Fonts ─── */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* ─── Type Scale ─── */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.5rem;
  /* 24px */
  --text-3xl: 1.875rem;
  /* 30px */
  --text-4xl: 2.25rem;
  /* 36px */
  --text-5xl: 3rem;
  /* 48px */
  --text-6xl: 3.75rem;
  /* 60px */

  /* ─── Spacing ─── */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* ─── Border Radius ─── */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 30px;
  --r-2xl: 40px;
  --r-full: 9999px;

  /* ─── Shadows ─── */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 28px rgba(172, 209, 38, 0.18);
  --shadow-glow-strong: 0 0 55px rgba(172, 209, 38, 0.32);
  --shadow-red-glow: 0 0 28px rgba(230, 53, 53, 0.22);

  /* ─── Transitions ─── */
  --t-fast: 0.15s ease;
  --t-base: 0.3s ease;
  --t-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* ─── Layout ─── */
  --nav-h: 72px;
  --max-w: 1200px;
  --section-py: clamp(4rem, 8vw, 6rem);
}

/* ─── Base ─── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

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

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ─── Layout Utilities ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.section {
  padding-block: var(--section-py);
}

.section-sm {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* ─── Typography Helpers ─── */
.accent {
  color: var(--accent);
}

.red-text {
  color: var(--red);
}

.text-muted {
  color: var(--text-muted);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.section-title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 58ch;
  line-height: 1.8;
}

/* ─── Grid Utilities ─── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {

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

/* ─── Flex Utilities ─── */
.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--sp-4);
}

.gap-6 {
  gap: var(--sp-6);
}

.gap-8 {
  gap: var(--sp-8);
}

/* ─── Screen reader ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}