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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-outfit);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-white);
}

h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -2px;
  line-height: 1.1;
}

@media (max-width: 767px) {
  h1 {
    letter-spacing: -1.5px;
    line-height: 1.15;
  }
}

h2 {
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -1px;
  line-height: 1.2;
}

h3 {
  font-weight: 700;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

h4 {
  font-weight: 300;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--color-green);
}

p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.lead {
  font-family: var(--font-outfit);
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-slate);
}

.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.625rem, 2.5vw, 2rem);
  letter-spacing: -1px;
  line-height: 1;
  color: var(--color-green);
}

.label {
  font-family: var(--font-outfit);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.caption {
  font-family: var(--font-outfit);
  font-weight: 400;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-slate2);
}

.logo-tagline {
  font-family: var(--font-outfit);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-slate2);
}

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

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: none;
  border: none;
  background: none;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(90deg, var(--color-green) 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--space-12);
  }
}

/* ===== SECTION SPACING ===== */
.section {
  padding-block: var(--space-16);
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-24);
  }
}

.section--alt {
  background-color: var(--color-night2);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  max-width: 600px;
  margin-inline: auto;
  font-size: var(--text-lg);
}

/* ===== DOT GRID BACKGROUND ===== */
.bg-dots {
  background-image: radial-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ===== GLOW EFFECTS ===== */
.glow-green {
  position: relative;
}

.glow-green::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(0, 255, 178, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.glow-purple::before {
  background: radial-gradient(ellipse at 30% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
}

/* ===== SCROLL PADDING (for fixed nav) ===== */
[id] {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== SELECTION ===== */
::selection {
  background-color: rgba(0, 255, 178, 0.2);
  color: var(--color-white);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===== VISUALLY HIDDEN (a11y) ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-green), var(--color-purple), transparent);
  border: none;
  margin-block: var(--space-16);
}
