/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased
}

/* Critical font faces with font-display swap */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Inter'), local('Inter-Regular')
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Inter'), local('Inter-SemiBold')
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Playfair Display'), local('PlayfairDisplay-Bold')
}

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px)
}

/* Dark mode header */
.dark .header {
  background: rgba(26, 36, 34, .95)
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto
}
