html {
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.15), transparent 55%),
    radial-gradient(circle at 15% 40%, rgba(168, 85, 247, 0.12), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.12), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  backdrop-filter: blur(16px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(2, 6, 23, 0.8);
  border-color: rgba(148, 163, 184, 0.2);
}

.mobile-menu {
  background: rgba(2, 6, 23, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
}

.mobile-menu a {
  color: rgba(226, 232, 240, 0.9);
  font-weight: 500;
}

.nav-link {
  color: rgba(226, 232, 240, 0.85);
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: white;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 6rem;
}

.hero-orb {
  position: absolute;
  width: 38rem;
  height: 38rem;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: 0.6;
  z-index: 0;
}

.hero-orb-left {
  background: rgba(59, 130, 246, 0.4);
  top: -10rem;
  left: -10rem;
}

.hero-orb-right {
  background: rgba(168, 85, 247, 0.4);
  bottom: -14rem;
  right: -8rem;
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
}

.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-card {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.7);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.9));
}

.hero-card-overlay h3 {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  color: white;
}

.hero-card-overlay p {
  margin-top: 0.5rem;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.35rem 0.8rem;
  background: rgba(59, 130, 246, 0.2);
  color: #bfdbfe;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.stat-card {
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 1rem 1.2rem;
  background: rgba(15, 23, 42, 0.6);
}

.stat-card p {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

.stat-card span {
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.8rem;
}

.section-spacing {
  padding: 6rem 0;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.9);
}

.section-title {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 600;
  background: linear-gradient(90deg, #60a5fa, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: white;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: rgba(226, 232, 240, 0.9);
  background: rgba(15, 23, 42, 0.6);
  transition: transform 0.3s ease, border 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 163, 184, 0.8);
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.55);
}

.glass-panel {
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.65);
  padding: 1.5rem;
}

.glass-panel h4 {
  color: white;
  font-weight: 600;
}

.glass-panel p {
  margin-top: 0.5rem;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.95rem;
}

.image-tile {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.image-stack img {
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  height: 12rem;
  object-fit: cover;
}

.service-card,
.service-detail {
  position: relative;
  padding: 1.8rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3,
.service-detail h3 {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: white;
}

.service-card p,
.service-detail p {
  margin-top: 0.75rem;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.95rem;
}

.service-card:hover,
.service-detail:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  border-radius: 1rem;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-size: 1.3rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 1rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(148, 163, 184, 0.2);
}

.timeline-item {
  display: flex;
  gap: 1rem;
  position: relative;
}

.timeline-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  margin-left: -1.35rem;
  margin-top: 0.35rem;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

.timeline-item h4 {
  color: white;
  font-weight: 600;
}

.timeline-item p {
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.95rem;
}

.case-card {
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  flex-direction: column;
}

.case-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.case-card div {
  padding: 1.5rem;
}

.case-card span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
}

.case-card h3 {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: white;
}

.case-card p {
  margin-top: 0.5rem;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.9rem;
}

.cta-panel {
  border-radius: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(140deg, rgba(59, 130, 246, 0.15), rgba(168, 85, 247, 0.15));
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.cta-panel h2 {
  color: white;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 600;
}

.cta-panel p {
  margin-top: 0.8rem;
  color: rgba(226, 232, 240, 0.75);
}

.page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}

.step-card {
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.2rem 1.5rem;
  background: rgba(15, 23, 42, 0.6);
}

.step-card span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
}

.step-card h4 {
  margin-top: 0.5rem;
  color: white;
  font-weight: 600;
}

.step-card p {
  margin-top: 0.4rem;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.9rem;
}

.leader-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.6);
}

.leader-card img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  object-fit: cover;
}

.leader-card h4 {
  color: white;
  font-weight: 600;
}

.leader-card p {
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.85rem;
}

.team-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.8rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
}

.team-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.2);
  color: #bfdbfe;
  font-size: 1.6rem;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile h4 {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
}

.team-role {
  margin-top: 0.3rem;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.team-text {
  margin-top: 0.8rem;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
}

.publication-card {
  padding: 1.2rem 1.4rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.6);
}

.publication-card span {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.9);
}

.publication-card h4 {
  margin-top: 0.6rem;
  color: white;
  font-weight: 600;
}

.report-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.6);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.report-card span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
}

.report-card h3 {
  margin-top: 0.5rem;
  color: white;
  font-size: 1.1rem;
}

.report-card p {
  margin-top: 0.5rem;
  color: rgba(226, 232, 240, 0.7);
}

.report-card a {
  color: #93c5fd;
  font-weight: 600;
  white-space: nowrap;
}

.form-card {
  border-radius: 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.65);
  padding: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.7);
}

.form-input {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.7);
  padding: 0.8rem 1rem;
  color: white;
}

.form-input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-link {
  color: rgba(148, 163, 184, 0.8);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
}

@media (max-width: 900px) {
  .image-stack {
    grid-template-columns: 1fr;
  }

  .report-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-spacing {
    padding: 4.5rem 0;
  }

  .hero-section {
    padding-bottom: 4rem;
  }

  .page-hero {
    min-height: 60vh;
  }
}
