@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #F6F6F8;
  --bg-secondary: #FBFBFC;
  --bg-tertiary: #EFEFF2;
  --bg-dark: #011821;
  --bg-dark-secondary: #11272F;
  --text-primary: #111A4A;
  --text-secondary: #6C728F;
  --text-muted: #8B8595;
  --text-tertiary: #232730;
  --text-dark-primary: #FBFCFC;
  --text-dark-secondary: #A2ACB1;
  --accent: #232C58;
  --accent-blue: #339FEA;
  --accent-blue-soft: rgba(51, 159, 234, 0.1);
  --accent-green: #167E6C;
  --accent-green-soft: rgba(41, 161, 118, 0.1);
  --icon-blue: #72B4E2;
  --icon-blue-light: #95C7EA;
  --border: #D0D1D4;
  --border-light: #E2E3E5;
  --border-dark: #0D3443;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main,
section,
header,
footer {
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.container {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: transparent;
  transition: transform 0.24s ease, background-color 0.24s ease, backdrop-filter 0.24s ease, box-shadow 0.24s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 12px));
}

.site-header.is-scrolled {
  background: rgba(251, 251, 252, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(1, 24, 33, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 64px;
  padding: 16px 0 8px;
  border-radius: 8px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 39px;
  letter-spacing: 0;
  color: var(--accent);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  color: var(--text-primary);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.menu-toggle-bar,
.menu-toggle::before,
.menu-toggle::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle {
  position: relative;
}

.menu-toggle::before {
  transform: translateY(-6px);
}

.menu-toggle::after {
  transform: translateY(6px);
}

.menu-toggle.is-active .menu-toggle-bar {
  opacity: 0;
}

.menu-toggle.is-active::before {
  transform: rotate(45deg);
}

.menu-toggle.is-active::after {
  transform: rotate(-45deg);
}

.header-controls {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header-controls-scroll {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav-link,
.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-primary);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.main-nav-link:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--border-light);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle::after {
  content: '▾';
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.18s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle::after {
  transform: translateY(-1px) rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 240px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(1, 24, 33, 0.12);
}

.nav-dropdown.is-open > .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 22px;
  color: var(--text-primary);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-tertiary);
}

.nav-dropdown-language .nav-dropdown-menu {
  left: auto;
  right: 0;
  min-width: 200px;
}

.mobile-menu-backdrop {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  padding: 7px 20px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  width: 155px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-dark-primary);
}

.btn-outline,
.btn-white {
  background: #FFFFFF;
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-secondary {
  background: #B6DDF8;
  color: var(--text-primary);
}

.header-cta {
  flex: 0 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 24px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  width: fit-content;
}

.section-tag-outline {
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.section-tag-soft {
  background: var(--accent-green-soft);
  color: var(--accent-green);
}

.section-tag-blue,
.section-tag-dark {
  background: var(--accent-blue-soft);
  color: var(--accent-blue);
}

.section-title {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  font-size: 42px;
  line-height: 56px;
  color: var(--text-primary);
}

.section-title-light {
  color: var(--text-dark-primary);
}

.section-lead {
  margin: 0;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
  color: var(--text-secondary);
}

.section-lead-light {
  color: var(--text-dark-secondary);
}


.container-section-lead {
  width: 100%;
}

.understanding {
  padding: 96px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.understanding::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(51, 159, 234, 0.17) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.35;
  pointer-events: none;
}

.understanding .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.understanding .section-lead {
  max-width: 686px;
  white-space: pre-line;
}

.understanding-panel {
  display: flex;
  gap: 24px;
  width: 100%;
  height: 600px;
  min-height: 600px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  counter-reset: understanding-item;
}

.understanding-panel::-webkit-scrollbar {
  display: none;
}

.understanding-col {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  gap: 24px;
  min-height: 600px;
  padding: 24px;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--bg-dark-secondary);
  border-radius: var(--radius-lg);
  transition: flex-grow 0.45s ease, flex-basis 0.45s ease, min-height 0.45s ease, padding 0.45s ease, gap 0.45s ease, transform 0.3s ease;
  counter-increment: understanding-item;
  scroll-snap-align: start;
}

.understanding-col.active {
  flex-basis: 0;
  flex-grow: 2;
  transform: translateY(-2px);
}

.understanding-col h3 {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--text-dark-secondary);
}

.understanding-col p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-dark-secondary);
  white-space: pre-line;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.understanding-col img {
  width: auto;
  max-width: 391px;
  margin-top: auto;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.understanding-num {
  margin-top: auto;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  color: var(--text-dark-primary);
}

.understanding-num:empty::before {
  content: counter(understanding-item);
}

.understanding-col:not(.active) img,
.understanding-col:not(.active) p:not(:first-of-type) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
}

.understanding-col.active img,
.understanding-col.active p {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.4s ease 0.08s, transform 0.4s ease 0.08s, visibility 0s linear 0s;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--text-dark-primary);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.site-footer {
  background: var(--bg-dark);
  padding: 96px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 161px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  width: 339px;
}

.footer-logo {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 77px;
  color: #FFFFFF;
}

.footer-subscribe-title {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: var(--text-dark-secondary);
}

.subscribe-form {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 339px;
}

.subscribe-form input {
  width: 267px;
  height: 36px;
  padding: 4px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  color: var(--text-muted);
  outline: none;
}

.subscribe-form input::placeholder {
  color: var(--text-muted);
}

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--text-dark-primary);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  width: 585px;
  margin-left: auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: calc((100% - 64px) / 3);
}

.footer-col-title {
  padding-bottom: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--text-dark-primary);
}

.footer-col a {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: var(--text-dark-primary);
  opacity: 0.95;
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 100px;
}

.footer-copy {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-dark-secondary);
  text-align: right;
}


@media (max-width: 900px) {
  .understanding {
    padding: 48px 0;
  }

  .understanding .container {
    gap: 32px;
  }

  .understanding .section-lead {
    max-width: 100%;
  }

  .understanding-col h3 {
    font-size: 20px;
    line-height: 30px;
  }

  .understanding::before {
    background-size: 8px 8px;
  }
}

@media (max-width: 767.98px) {
  .understanding-panel {
    position: relative;
    display: block;
    gap: 0;
    overflow: hidden;
    height: 600px;
    min-height: 600px;
    scroll-snap-type: none;
  }

  .understanding-col {
    position: absolute;
    inset: 0;
    flex: none !important;
    height: 100%;
    min-height: 100%;
    padding: 24px;
    gap: 24px;
    cursor: grab;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
  }

  .understanding-col:active {
    cursor: grabbing;
  }

  .understanding-col.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s;
  }

  .understanding-col:not(.active) h3 {
    font-size: 20px;
    line-height: 30px;
  }

  .understanding-col:not(.active) .understanding-num {
    font-size: 30px;
    line-height: 32px;
  }

  .understanding-col.active {
    min-height: 600px;
  }

  .understanding-col.active h3 {
    font-size: 24px;
    line-height: 32px;
  }

  .understanding-col.active .understanding-num {
    margin-top: auto;
    font-size: 48px;
    line-height: 56px;
  }

  .understanding-col.active img {
    max-width: 100%;
    margin-top: auto;
  }
}

@media (max-width: 767.98px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 72px;
    padding: 24px 0 8px;
    gap: 16px;
  }

  .logo {
    font-size: 24px;
    line-height: 29px;
  }

  .menu-toggle {
    display: inline-flex;
    z-index: 103;
  }

  .header-controls {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 88px 16px 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 102;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .header-controls-scroll {
    width: 100%;
    max-height: calc(100dvh - 104px);
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    background: rgba(251, 251, 252, 0.98);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(1, 24, 33, 0.16);
  }

  .site-header.menu-open .header-controls {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    display: block;
    background: rgba(1, 24, 33, 0.36);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 101;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-header.menu-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-dropdown,
  .header-cta {
    width: 100%;
  }

  .main-nav-link,
  .nav-dropdown-toggle,
  .header-cta.btn {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 16px;
    background: #FFFFFF;
    border-color: var(--border-light);
  }

  .nav-dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
    border-color: var(--border-light);
  }

  .nav-dropdown-language .nav-dropdown-menu {
    right: auto;
    min-width: 0;
  }

  .section-title {
    font-size: 28px;
    line-height: 38px;
  }

  .section-lead {
    font-size: 24px;
    line-height: 36px;
  }

  .site-footer {
    padding: 48px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }

  .footer-left {
    gap: 32px;
    width: 100%;
  }

  .footer-logo {
    font-size: 48px;
    line-height: 58px;
  }

  .footer-subscribe-title {
    font-size: 20px;
    line-height: 30px;
  }

  .subscribe-form {
    width: 100%;
    max-width: 339px;
  }

  .subscribe-form input {
    width: 100%;
    flex: 1 1 auto;
  }

  .footer-links {
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 40px;
  }

  .footer-col {
    width: auto;
    gap: 12px;
  }

  .footer-col-title,
  .footer-col a,
  .footer-copy {
    font-size: 14px;
    line-height: 18px;
  }

  .footer-col-title {
    padding-bottom: 4px;
  }

  .footer-bottom {
    justify-content: flex-start;
    margin-top: 32px;
  }

  .footer-copy {
    text-align: left;
  }
}



/* Shared hero section */
.hero {
  background: var(--bg-primary);
  min-height: 819px;
  padding: 0 0 71px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0 50% auto;
  width: 1280px;
  min-height: 819px;
  transform: translateX(-50%);
  object-fit: cover;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 585px minmax(0, 1fr);
  column-gap: 0;
  row-gap: 24px;
  align-items: start;
  min-height: 819px;
  padding-top: 128px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-content > .section-tag,
.hero-title,
.hero-subtitle,
.hero-actions {
  grid-column: 1;
}

.hero-title {
  margin: 0;
  width: 624px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-subtitle {
  margin: 8px 0 0;
  width: 418px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: var(--text-primary);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1 / span 4;
  position: relative;
  min-height: 690px;
}

.hero-person {
  position: absolute;
  right: -34.6px;
  top: 0;
  max-width: none;
  width: 552.5px;
}


@media (max-width: 900px) {
  .hero {
    min-height: 1061px;
    padding: 0 0 48px;
  }

  .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    row-gap: 48px;
    min-height: 1061px;
    padding-top: 115px;
    display: flex;
    flex-direction: column;
  }

  .hero-content > .section-tag,
  .hero-title,
  .hero-subtitle,
  .hero-actions,
  .hero-visual,
  .hero-note,
  .hero-logos {
    grid-column: 1;
  }

  .hero-title {
    width: 100%;
    font-size: 30px;
    line-height: 32px;
  }

  .hero-subtitle {
    width: 100%;
    margin-top: 0;
    font-size: 20px;
    line-height: 30px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    grid-row: auto;
    min-height: 468px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .hero-person {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    width: 500px;
  }

  .hero-note {
    margin: -228px 0 0;
    font-size: 16px;
    line-height: 24px;
  }

  .hero-logos {
    gap: 0 24px;
    justify-content: flex-start;
    min-height: 83px;
  }

  .hero-logos img {
    max-height: 50px;
  }
}

body.menu-open {
  overflow: hidden;
}

/* Hero overlay styles moved from index.css */
.hero-overlay {
  z-index: 100;
  width: 100%;
}

.hero-note {
  margin: 39px 0 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-align: center;
  color: var(--text-primary);
  width: 200%;
}

.hero-logos {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 32px;
  margin-top: 0;
  min-height: 100px;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.carousel-container {
  overflow: hidden;
  width: 1234.4px;
  padding: 20px 0;
  margin: 0 auto;
  max-width: 1234.4px;
  position: relative;
  display: flex;
  user-select: none;
  gap: 20px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 20px));
  }
}

.hero-logos img {
  width: auto;
  max-height: 60px;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .hero-note {
    width: 100%;
  }
}
