:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(23, 63, 175, 0.12), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(17, 212, 197, 0.1), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(86, 229, 154, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #f5fbf8 100%);
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 249, 255, 0.78));
  border: 1px solid rgba(23, 63, 175, 0.08);
  box-shadow: 0 24px 70px rgba(23, 63, 175, 0.08);
  backdrop-filter: blur(18px);
}

.glass-soft {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 63, 175, 0.08);
  backdrop-filter: blur(14px);
}

.gradient-text {
  background: linear-gradient(120deg, #173faf 10%, #11d4c5 55%, #56e59a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown {
  position: absolute;
  z-index: 1000;
  margin-top: 0;
  padding-top: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(23, 63, 175, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  pointer-events: none;
}

.dropdown-group:hover .nav-dropdown,
.dropdown-group:focus-within .nav-dropdown,
.dropdown-group[data-open="true"] .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
}

.dropdown-group:hover .dropdown-chevron,
.dropdown-group:focus-within .dropdown-chevron,
.dropdown-group[data-open="true"] .dropdown-chevron,
.mobile-services-toggle[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.hero-watermark {
  mix-blend-mode: multiply;
  opacity: 0.06;
}

.text-white,
.text-slate-100,
.text-slate-200,
.text-slate-300 {
  color: #16304f !important;
}

.text-slate-400,
.text-slate-500 {
  color: #5f7290 !important;
}

.border-white\/10 {
  border-color: rgba(23, 63, 175, 0.1) !important;
}

.hover\:border-white\/20:hover {
  border-color: rgba(23, 63, 175, 0.18) !important;
}

.bg-white\/5 {
  background-color: rgba(23, 63, 175, 0.04) !important;
}

.hover\:bg-white\/5:hover,
.hover\:bg-white\/10:hover {
  background-color: rgba(23, 63, 175, 0.08) !important;
}

.hover\:text-white:hover {
  color: #173faf !important;
}

.bg-slate-950\/70 {
  background-color: rgba(245, 249, 255, 0.94) !important;
}

.placeholder\:text-slate-500::placeholder {
  color: #7b8ca8 !important;
}

.grid-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 63, 175, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 63, 175, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 50%, transparent 95%);
  opacity: 0.32;
  pointer-events: none;
}

.faq-item {
  border-top: 1px solid rgba(23, 63, 175, 0.12);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(23, 63, 175, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
}

.faq-question-text {
  color: #16304f;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

.faq-toggle {
  flex-shrink: 0;
  color: #173faf;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 1.5rem;
}

.faq-answer p {
  color: #5f7290;
  font-size: 1rem;
  line-height: 1.85;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-toggle,
  .faq-answer {
    transition: none;
  }
}
