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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 42, 133, 0.15), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(0, 210, 255, 0.05), transparent 60%);
  background-attachment: fixed;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 700;
  text-decoration: none;
  transition: top var(--trans-fast);
}

.skip-link:focus {
  top: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 900;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  font-weight: 400;
  overflow-wrap: break-word;
}

p.lead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
}

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

a:hover {
  color: var(--color-primary);
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.text-gradient-pink {
  background: linear-gradient(135deg, #ffffff 15%, #ff2a85 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 20%, #f59e0b 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-pink {
  color: var(--color-primary) !important;
}

.text-cyan {
  color: var(--color-cyan) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

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

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-darkest);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
