/* =============================================
   BASE.CSS — Variables, Reset, Typography
   NeoCodes Launch
============================================= */


/* --- Root Variables --- */
:root {
  /* Dark palette */
  --dark:    #0a0a0f;
  --dark2:   #111118;
  --dark3:   #16161f;

  /* Light palette */
  --light:   #f5f4f0;
  --white:   #ffffff;
  --card-bg: #f9f8f5;
  --border:  #e2e1dc;

  /* Text */
  --muted:   #8b8b99;

  /* Accents */
  --accent:  #e8ff47;   /* lime green */
  --accent2: #47c8ff;   /* blue — for demo links, hero line 2 */

  /* Fonts */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Transitions */
  --t: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Shared section typography --- */
.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  line-height: 1.6;
}

/* Light section overrides */
.light-section .section-tag  { color: #999; }
.light-section .section-sub  { color: #666; }
.light-section .section-heading { color: var(--dark); }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}
