/* ================================================
   RESET & BASE STYLES
   ================================================ */

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

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

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

ul, ol {
  list-style: none;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  html {
    /* Better text rendering on mobile */
    -webkit-text-size-adjust: 100%;
  }

  body {
    /* Prevent horizontal scroll */
    overflow-x: hidden;
    /* Better touch scrolling on iOS */
    -webkit-overflow-scrolling: touch;
  }

  /* Remove tap highlight on mobile */
  * {
    -webkit-tap-highlight-color: transparent;
  }

  /* Improve button/link touch feedback */
  button,
  a,
  input[type="button"],
  input[type="submit"] {
    -webkit-tap-highlight-color: rgba(131, 231, 219, 0.3);
  }
}
