/* Critical CSS - Above the fold styles */
* {
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #dbeafe 0%, #f3f7fb 60%, #ffffff 100%);
  color: #21335c;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* CRITICAL: Header styles */
.header {
  display: none !important;
}

.modern-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
}

/* Force proper main content positioning */
body main, 
body > main,
main {
  margin-top: 0 !important;
  padding-top: 6em !important;
  min-height: calc(100vh - 6em) !important;
  position: relative;
  z-index: 1;
}

/* Hero section critical styles */
.hero-section {
  max-width: 760px;
  margin: 3.2em auto 2.3em auto;
  text-align: center;
  padding: 0 1em;
  animation: fadeInUp 1s 0.2s both;
}

.hero-title {
  font-size: 1.65em;
  font-weight: 800;
  color: #1c4177;
  margin-bottom: 0.7em;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 14px #d6e8fc44;
}

.hero-desc {
  color: #406ca5;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 0.9em;
}

.hero-btn {
  background: linear-gradient(90deg, #3579f6 60%, #2351b3 100%);
  color: #fff;
  font-size: 1.05em;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  padding: 0.66em 2.15em;
  box-shadow: 0 3px 18px #7db2f92a;
  cursor: pointer;
  transition: background .18s, transform .16s;
  margin-top: 0.7em;
  margin-bottom: 0.1em;
}

/* Critical animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px);}
  to   { opacity: 1; transform: translateY(0);}
}

/* Mobile responsive critical styles */
@media (max-width: 768px) {
  body main, 
  body > main,
  main {
    padding-top: 5em !important;
  }
  
  .hero-section {
    margin: 1.5em auto 1.8em auto;
    padding: 0 1em;
  }
  
  .hero-title { 
    font-size: 1.35em;
    line-height: 1.3;
    margin-bottom: 0.8em;
  }
} 