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

@font-face {
  font-family: 'Artegra Sans Black';
  src: url('../assets/fonts/ArtegraSans-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #000000;
  --bg-card: #141414;
  --bg-elevated: #1A1A1A;
  --bg-overlay: rgba(10, 10, 10, 0.85);

  --accent-pink: #FF2D6B;
  --accent-lime: #CDFF00;
  --accent-pink-glow: rgba(255, 45, 107, 0.4);
  --accent-lime-glow: rgba(205, 255, 0, 0.4);

  --text: #FFFFFF;
  --text-muted: #999999;
  --text-dim: #555555;

  --font-display: 'Artegra Sans Black', 'Impact', sans-serif;
  --font-body: 'Artegra Sans Black', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --container-width: 1280px;
  --container-padding: 24px;

  --header-height: 72px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.5rem, 10vw, 9rem); }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.text-gradient {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 100px 0;
}

.section--tight {
  padding: 60px 0;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

@media (max-width: 768px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  :root { --container-padding: 16px; }
}

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

/* ===== SECTION HEADERS ===== */
.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}

.section__header h2 {
  position: relative;
}

.section__header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-pink);
  margin-top: 12px;
}

/* ===== VISIBILITY / ANIMATION HELPERS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--text-dim);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ===== SELECTION ===== */
::selection {
  background: var(--accent-pink);
  color: var(--bg);
}
