/* =============================================================
   BASE.CSS — Reset, Typography, and Global Element Styles
   ============================================================= */


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}


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

h1 { font-size: clamp(2rem,    5vw,   3rem); }
h2 { font-size: clamp(1.6rem,  3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem,  2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }

p {
  line-height: 1.7;
  color: var(--color-text-light);
}


/* ── Layout Helpers ──────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 30px;
}

.section {
  padding: var(--space-2xl) 0;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.bg-white  { background: var(--color-white); }
.bg-light  { background: var(--color-bg); }
.bg-blue   { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); }
.bg-dark   { background: var(--color-dark); }


/* ── Section Labels & Headings ───────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.5px;
}

.section-title {
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.section-title .clip-text1 {
  background-image: linear-gradient(90deg, #3f4293, #f681fe 31%, #fd8c00 88%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  padding-right: 7px;
  margin-right: -7px;
}
.section-title .clip-text2 {
  background-image: linear-gradient(90deg, #FFF, #f681fe 31%, #fd8c00 88%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  padding-right: 7px;
  margin-right: -7px;
}

.section-subtitle {
  color: var(--color-text-light);
  max-width: 600px;
  font-size: var(--text-md);
  line-height: 1.7;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ── Utility ─────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media screen and (max-width: 640px) {
  .section {
    padding: var(--space-xl) 0;
  }
}