/* ============================================================
   STYLE – Reset, Base & Global Layout
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: var(--text-base);
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--trans-fast);
}

a:hover { color: #fff; }

ul { list-style: none; }

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

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

/* ── Section Padding ────────────────────────────────────── */
.section {
  padding-block: var(--sp-24);
}

/* ── Section Labels ─────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: var(--sp-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent-cyan);
}

/* ── Section Heading ────────────────────────────────────── */
.section-heading {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--sp-6);
  background: linear-gradient(135deg, #fff 40%, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Gradient Text ──────────────────────────────────────── */
.text-gradient {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent-cyan), var(--accent-indigo));
  border-radius: var(--radius-full);
}

/* ── Selection ──────────────────────────────────────────── */
::selection {
  background: rgba(0, 229, 255, 0.2);
  color: #fff;
}
