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

html { scroll-behavior: smooth; }

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

::selection { background: rgba(37, 122, 111, 0.35); color: #fff; }
:root[data-theme='dark'] ::selection { background: rgba(99, 102, 241, 0.35); }

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

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

ul { list-style: none; }

/* ─── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--clr-accent); border-radius: 3px; }

/* ─── Utility ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent-3);
  background: color-mix(in srgb, var(--clr-accent-3) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--clr-accent-3) 25%, transparent);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--clr-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 56px;
}

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spinLoad { to { transform: rotate(360deg); } }
