/* Critical CSS - Above-the-fold styles only (LCP Optimized) */

/* Essential CSS Variables - Only what's needed for hero */
:root {
  --neural-black: #000;
  --neural-white: #fff;
  --neural-purple: #3c1361;
  --neural-orange: #d97706;
  --neural-blue: #74EEDD;
  --font-primary: 'Plus Jakarta Sans', system-ui, sans-serif;
  --header-height: 90px;
  --space-xl: 2rem;
  --space-lg: 1.5rem;
  --space-md: 1rem;
}

/* Essential Font Declarations - Optimized for LCP (locally hosted) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

/* Critical Reset - Minimal */
* {
  box-sizing: border-box;
}

/* Critical Body Styles - LCP Essential */
html {
  background: var(--neural-white) !important;
  visibility: visible !important;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  background: var(--neural-white) !important;
  color: var(--neural-deep-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Critical Header Mount Point */
#header-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Hardware acceleration for fixed header */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

/* CRITICAL HERO SECTION - LCP Elements Only */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header-height) 0 0 0;
  background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100vw;
  max-width: none;
  padding: 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  text-align: center;
}

.hero-heading {
  text-align: center;
  margin-top: var(--space-lg);
  z-index: 10;
  position: relative;
  padding: 0 var(--space-md);
}

/* CRITICAL: Hero Title - LCP Element */
.hero-title {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  color: var(--neural-black);
  letter-spacing: 0.12em;
  position: relative;
  /* Remove animations for immediate render */
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* CRITICAL: Hero Highlights - LCP Elements */
.hero-highlight {
  font-weight: 400;
  font-style: italic;
  position: relative;
}

.hero-highlight--warm { 
  background: linear-gradient(135deg, var(--neural-orange), #ff8c42);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-highlight--cool { 
  background: linear-gradient(135deg, var(--neural-purple), #6a2c70);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CRITICAL: Hero Subtitle - Secondary LCP Element */
.hero-subtitle-seo {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 2;
  letter-spacing: 0.01em;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
  color: var(--neural-dark-grey);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  /* Remove animations for immediate render */
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* CRITICAL: Hero Spacer */
.hero-spacer {
  flex: 1;
  min-height: var(--space-xl);
}

/* Mobile Responsive - Critical Only */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-seo {
    font-size: 1.2rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
}

/* Screen Reader Only - Accessibility */
.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;
} 