/* Product-style surface: type in front, motion behind, modular cards. */

.air-field {
  z-index: 0 !important;
  opacity: 0.42;
}

.hero-section.vitrine {
  background:
    radial-gradient(ellipse 42% 55% at 78% 40%, rgba(70, 140, 255, 0.28), transparent 62%),
    radial-gradient(ellipse 36% 42% at 8% 92%, rgba(98, 78, 255, 0.2), transparent 58%),
    linear-gradient(180deg, #070b14 0%, #10182b 100%);
}

.vitrine-grid {
  position: relative;
  z-index: 2;
}

/* The hero fade starts at opacity 0, so the headline cannot paint until the
   animation finishes. The final layout is unchanged. */
.hero-section .rise {
  animation: none;
}

@media (max-width: 1023px) {
  #boot-shade {
    position: absolute;
    top: 77px;
    left: 0;
    right: 0;
    height: 1232px;
    background: #070b14;
    z-index: 1;
    pointer-events: none;
  }

  #boot-lcp {
    position: absolute;
    z-index: 6;
    top: 195px;
    left: 16px;
    width: calc(100% - 32px);
    max-width: 380px;
    margin: 0;
    color: #f5f8ff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 43px;
    line-height: 0.96;
    letter-spacing: -0.048em;
    pointer-events: none;
  }

  #root .hero-title {
    visibility: hidden;
  }
}

@media (min-width: 1024px) {
  #boot-shade,
  #boot-lcp {
    display: none;
  }
}

.hero-title {
  color: #f5f8ff;
  letter-spacing: -0.048em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero-section .vitrine-grid p,
.hero-section .vitrine-grid li,
.hero-section .vitrine-grid span {
  color: #d7e2f5;
}

.hero-visual-frame {
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 90px rgba(48, 120, 255, 0.28);
}

.site-header {
  background: rgba(7, 11, 20, 0.78) !important;
  color: #e8eefc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand-text,
.site-header .brand-lockup {
  color: #f5f8ff;
}

.site-header .nav-link {
  color: rgba(232, 238, 252, 0.78) !important;
  font-weight: 500;
}

.site-header .nav-link:hover,
.site-header .nav-link[aria-current="page"] {
  color: #ffffff !important;
}

.language-switcher {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-option {
  color: #c5d0e6;
}

.language-option-active {
  background: #2f6bff;
  color: #fff;
}

.button-primary {
  background: linear-gradient(180deg, #5b95ff 0%, #2a62f0 100%);
  box-shadow: 0 10px 28px rgba(42, 98, 240, 0.34);
  border: 0;
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(42, 98, 240, 0.42);
}

.hero-section .button-secondary {
  color: #e8eefc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section .button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(16, 26, 50, 0.08);
  box-shadow: 0 10px 30px rgba(16, 26, 50, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 107, 255, 0.4);
  box-shadow: 0 18px 44px rgba(20, 60, 140, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .button-primary {
    transition: none;
  }
}
