/* ─────────────────────────────────────────
   BASE.CSS — Variables, reset, typography
───────────────────────────────────────── */

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

:root {
  --bg:        #f5f5f7;
  --bg2:       #ffffff;
  --bg3:       #e8e8ed;
  --surface:   rgba(255,255,255,0.80);
  --surface2:  rgba(255,255,255,0.95);
  --border:    rgba(0,0,0,0.08);
  --border2:   rgba(0,168,150,0.30);
  --teal:      #00867a;
  --teal2:     #00a896;
  --teal3:     #00c6b0;
  --blue:      #1d6ff2;
  --blue2:     #1558c0;
  --text:      #1d1d1f;
  --text2:     #3a3a3c;
  --muted:     rgba(29,29,31,0.55);
  --muted2:    rgba(29,29,31,0.35);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

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

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

/* No noise overlay on light theme */

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.1;
}

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

/* ─── LAYOUT ─── */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

section { position: relative; z-index: 5; }

/* ─── GRADIENT DIVIDER ─── */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal2), var(--blue), var(--teal2), transparent);
  opacity: 0.25;
}

/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal2) 60%, var(--teal3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── TAG PILL ─── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,168,150,0.08);
  border: 1px solid rgba(0,168,150,0.22);
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal2);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.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; }

/* ─── SECTION HEADER ─── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.section-header p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg3); }
::-webkit-scrollbar-thumb { background: var(--teal2); border-radius: 3px; }
