html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: #171a20;
  background: #ffffff;
}

/* NAVBAR */

.navbar {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-logo {
  letter-spacing: 0.18em;
  font-weight: 700;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.language-switcher a {
  color: #6c757d;
  text-decoration: none;
}

.language-switcher a.active {
  color: #171a20;
}

.language-switcher a:hover {
  color: #171a20;
}

.language-divider {
  color: #adb5bd;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f5f7fa;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.76) 28%,
      rgba(255, 255, 255, 0.28) 56%,
      rgba(255, 255, 255, 0.04) 100%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding-top: 5rem;
}

.hero-title {
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
  opacity: 0;
  transform: translateY(34px);
  animation: revealStep 0.9s ease forwards;
}

.hero-title span:nth-child(1) {
  animation-delay: 0.25s;
}

.hero-title span:nth-child(2) {
  animation-delay: 0.55s;
}

.hero-title span:nth-child(3) {
  animation-delay: 0.85s;
}

.hero-lead {
  max-width: 540px;
  color: #5c5e62;
  opacity: 0;
  transform: translateY(20px);
  animation: revealStep 0.9s ease forwards;
  animation-delay: 1.15s;
}

.hero-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: revealStep 0.9s ease forwards;
  animation-delay: 1.4s;
}

@keyframes revealStep {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* COMMON */

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.btn {
  border-radius: 0.3rem;
  font-weight: 600;
}

.btn-wide {
  min-width: 230px;
}

/* FRAMEWORK */

.framework-section {
  position: relative;
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 7rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(13, 110, 253, 0.08), transparent 32%),
    radial-gradient(circle at 80% 40%, rgba(111, 66, 193, 0.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.framework-section::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  top: 120px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.055);
  filter: blur(6px);
  pointer-events: none;
}

.framework-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -220px;
  bottom: 80px;
  border-radius: 50%;
  background: rgba(23, 26, 32, 0.035);
  filter: blur(8px);
  pointer-events: none;
}

.framework-intro {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto 4rem;
  text-align: center;
}

.framework-title {
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.framework-lead {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: #5c5e62;
}

.framework-highlight {
  color: #171a20;
  font-weight: 600;
}

.framework-visual-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 2rem 5rem rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}

.framework-visual-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0) 55%,
      rgba(255, 255, 255, 0.08) 100%
    );
}

.framework-image {
  display: block;
  width: 100%;
  height: auto;
}

.framework-caption {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 2rem auto 0;
  text-align: center;
  color: #6c757d;
  font-size: 1rem;
}

/* SCROLL REVEAL ANIMATIONS */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

.reveal-delay-4 {
  transition-delay: 0.48s;
}

.framework-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.framework-title .word + .word {
  margin-left: 0.16em;
}

.framework-title.is-visible .word {
  opacity: 1;
  transform: translateY(0);
}

.framework-title.is-visible .word:nth-child(1) {
  transition-delay: 0.08s;
}

.framework-title.is-visible .word:nth-child(2) {
  transition-delay: 0.22s;
}

.framework-title.is-visible .word:nth-child(3) {
  transition-delay: 0.36s;
}

.framework-visual-wrap {
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  transition:
    opacity 1.05s ease,
    transform 1.05s ease,
    box-shadow 1.05s ease;
}

.framework-visual-wrap.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.framework-visual-wrap.is-visible .framework-image {
  animation: frameworkImageFloat 1.1s ease forwards;
}

@keyframes frameworkImageFloat {
  from {
    transform: scale(1.025);
    filter: saturate(0.92) contrast(0.96);
  }

  to {
    transform: scale(1);
    filter: saturate(1) contrast(1);
  }
}

/* FOOTER */

.footer-link {
  color: #6c757d;
  text-decoration: none;
}

.footer-link:hover {
  color: #171a20;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
  .language-switcher {
    margin: 1rem 0;
  }

  .hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.78) 48%,
        rgba(255, 255, 255, 0.32) 100%
      );
  }

  .framework-section {
    padding-top: 7rem;
  }

  .framework-visual-wrap {
    border-radius: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 92vh;
    align-items: flex-end;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.76) 48%,
        rgba(255, 255, 255, 0.96) 100%
      );
  }

  .hero-content {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }

  .framework-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .framework-intro {
    text-align: left;
    margin-bottom: 2.5rem;
  }

  .framework-title {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .framework-title .word {
    display: block;
  }

  .framework-title .word + .word {
    margin-left: 0;
  }

  .framework-lead {
    font-size: 1.1rem;
  }

  .framework-caption {
    text-align: left;
  }
}

/* FOOTER & PRIVACY MODAL */

.footer-button {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.footer-button:focus {
  outline: none;
}

.footer-button:focus-visible {
  outline: 2px solid rgba(23, 26, 32, 0.35);
  outline-offset: 4px;
}

.privacy-modal-content {
  border-radius: 1.1rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.18);
}

.privacy-modal-eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7078;
  margin-bottom: 0.45rem;
}

.privacy-modal-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.privacy-modal-body {
  color: #5e6168;
  line-height: 1.65;
  padding-top: 1.25rem;
}

.privacy-modal-lead {
  font-size: 1.08rem;
  color: #171a20;
  margin-bottom: 1.5rem;
}

.privacy-section {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(23, 26, 32, 0.10);
}

.privacy-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #171a20;
  margin-bottom: 0.65rem;
}

.privacy-section p {
  margin-bottom: 0.8rem;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .privacy-modal-content {
    border-radius: 0.8rem;
  }

  .privacy-modal-body {
    font-size: 0.98rem;
  }
}