/* Landing Page Styles - Corporate Design */

/* Grachev Navy & Coral */
:root {
  --primary-dark: #11182B;
  --coral: #FF7046;
  --milk: #F8F8F3;
  --white: #FFFFFF;
}

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

html, body {
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--primary-dark);
  color: var(--white);
  overflow-x: hidden;
}

/* Landing Container - Full Screen */
.landing-container {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

/* Content Center */
.content-center {
  text-align: center;
  max-width: 72rem;
  width: 100%;
}

/* Main Heading Typography */
.main-heading {
  font-size: clamp(2.25rem, 10.7vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.08;
  text-wrap: balance;
  margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem);
  color: var(--milk);
}

.main-heading span {
  color: var(--coral);
}

/* Accent Line */
.accent-line {
  width: clamp(2rem, 4.5vw, 4rem);
  height: 3px;
  background: var(--coral);
  margin: 0 auto;
  border-radius: 2px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  margin-top: 1.1rem;
  color: var(--milk);
  font-size: .9375rem;
  font-weight: 500;
  text-underline-offset: .3em;
}

.case-link span,
.case-link:hover {
  color: var(--coral);
}

.case-link:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

/* Background Effects */
.background-effects {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 70%, rgba(255, 112, 70, .035), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 768px) {
  .landing-container {
    padding: 1rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .main-heading {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Focus Styles for Accessibility */
.main-heading:focus {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

/* Container Improvements */
.landing-container {
  position: relative;
  z-index: 1;
}

/* Content Improvements */
.content-center header {
  margin-bottom: 0;
}

/* High Contrast Mode */
@media (prefers-contrast: more) {
  :root {
    --milk: var(--white);
  }
  
  .accent-line {
    background: var(--white);
  }
}

/* Print Styles */
@media print {
  .landing-container {
    background: white !important;
    color: black !important;
    min-height: auto;
    padding: 2rem;
  }
  
  .main-heading, .main-heading span {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: black !important;
    font-size: 3rem !important;
    animation: none !important;
  }
  
  .accent-line {
    background: black !important;
    animation: none !important;
  }
  
  .case-link, .case-link span {
    color: black !important;
    animation: none !important;
    opacity: 1 !important;
  }
  
  .background-effects {
    display: none !important;
  }
}
