﻿/* ═══════════════════════════════════════════════════
   RESET.CSS — Base Reset & Global Styles
═══════════════════════════════════════════════════ */

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  /* This gradient IS the background seen through all glass panels */
  background: var(--grad-bg);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Thin scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(120,140,210,0.28); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

a { color: inherit; text-decoration: none; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }

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

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); }
h4 { font-size: 0.95rem; font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.80; }
ul { list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }
::selection { background: hsla(230, 75%, 55%, 0.16); color: var(--accent-dark); }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

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

/* Section base */
section { padding: var(--section-gap) 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Section label pill */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.28rem 0.85rem;
  border-radius: var(--r-full);
  margin-bottom: 0.85rem;
  border: 1px solid hsla(230, 75%, 55%, 0.18);
}

@media (max-width: 768px) {
  section { padding: 4.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }
}

