/* Critical CSS for immediate render */
:root {
  --primary-color: #4169e1;
  --gradient-start: #3a86ff;
  --gradient-end: #8338ec;
  --text-color: #333333;
  --background-color: #ffffff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Critical above-the-fold styles for faster FCP */
.hero {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background-color: #080b1a;
  color: white;
  contain: layout style paint;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 2;
  padding: 2rem;
  will-change: transform;
}

.hero-title .name {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-display: swap;
}

.hero-tagline {
  font-size: 1.25rem;
  margin: 2rem auto 3rem;
  opacity: 0.9;
  max-width: 700px;
  line-height: 1.7;
}

/* Intro section critical styles */
.intro-section {
  padding: 2rem 0;
  background-color: #ffffff;
  text-align: center;
  contain: layout style;
}

.intro-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
  font-weight: 800;
  line-height: 1.2;
  font-display: swap;
}

@media (max-width: 768px) {
  .hero-title .name { font-size: 3rem; }
  .hero-tagline { font-size: 1.1rem; }
}
