@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/opensans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0e3754;
  --blue: #5993bc;
  --blue-deep: #3f7398;
  --green: #337a37;
  --green-deep: #1f6426;
  --gray: #f6f6fa;
  --footer: #d4e5f2;
  --text: #333333;
  --muted: #66727e;
  --line: #dfe6ee;
  --link: #337ab7;
  --container: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--link);
}

h1,
h2,
h3,
p,
ul,
blockquote {
  margin-top: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--navy);
  padding: 10px 18px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* Top utility bar */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid #e8edf2;
}

.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__brand {
  color: var(--link);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.topbar__note {
  color: #66727e;
  font-size: 12px;
}

/* Main navigation */
.mainnav {
  background: var(--navy);
}

.mainnav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 70px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__logo {
  width: 32px;
  height: 32px;
  display: block;
}

.brand__word {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.brand__geek {
  color: #79b9e2;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  height: 70px;
}

.nav__link {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-current {
  background: var(--blue);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  color: #ffffff;
  background:
    linear-gradient(rgba(14, 55, 84, 0.4), rgba(14, 55, 84, 0.4)),
    var(--blue) url("assets/blue-back.png") center / cover no-repeat;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 15px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 18px;
  min-height: 420px;
}

.hero__eyebrow {
  margin-bottom: 14px;
  color: #eaf3fa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero__title {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 38px;
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: 0.01em;
  max-width: 540px;
}

.hero__lead {
  margin-bottom: 20px;
  color: #eaf3fa;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  max-width: 500px;
}

.hero__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  color: #f2f8fc;
  font-size: 15px;
  font-weight: 300;
}

.hero__list li {
  position: relative;
  padding-left: 24px;
}

.hero__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 13px;
  height: 7px;
  border-left: 2px solid #bfe0c2;
  border-bottom: 2px solid #bfe0c2;
  transform: rotate(-45deg);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.download-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 18px 40px -14px rgba(9, 34, 15, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: download-cta-glow 3.2s ease-in-out infinite;
}

.download-cta__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.download-cta:hover,
.download-cta:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 24px 52px -14px rgba(9, 34, 15, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.download-cta:active {
  transform: translateY(0) scale(0.99);
}

.download-cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@keyframes download-cta-glow {
  0%,
  100% {
    box-shadow:
      0 18px 40px -14px rgba(9, 34, 15, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }
  50% {
    box-shadow:
      0 20px 52px -10px rgba(9, 34, 15, 0.82),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

.hero__secondary {
  color: #eaf3fa;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 3px;
}

.hero__secondary:hover,
.hero__secondary:focus-visible {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.hero__meta {
  margin: 18px 0 0;
  color: #e6f0f8;
  font-size: 13px;
}

.hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__boxshot {
  width: 330px;
  height: auto;
  filter: drop-shadow(0 22px 32px rgba(5, 26, 42, 0.38));
}

/* Quick facts */
.quickfacts {
  background: var(--gray);
  border-bottom: 1px solid #e4e9ef;
}

.quickfacts__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 15px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fact strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.fact span {
  color: #5c6875;
  font-size: 12.5px;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section--gray {
  background: var(--gray);
}

.section__head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section__head h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.35;
}

.section__head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 32px;
}

.feature__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.feature p {
  margin-bottom: 0;
  color: #5c6875;
  font-size: 14.5px;
  line-height: 1.75;
}

/* Carousels */
.carousel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 54px;
}

.carousel__viewport {
  position: relative;
}

.slide {
  display: none;
}

.slide.is-active {
  display: block;
  animation: slide-fade 0.3s ease;
}

@keyframes slide-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slide h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 400;
  text-align: center;
}

.slide > p {
  max-width: 700px;
  margin: 0 auto 22px;
  color: #5f6b78;
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
}

.slide > img {
  display: block;
  width: 100%;
  max-width: 466px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(14, 55, 84, 0.1);
}

.carousel__nav {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 1px solid #cdd9e4;
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14, 55, 84, 0.08);
}

.carousel__nav:hover,
.carousel__nav:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  outline: none;
}

.carousel__nav svg {
  width: 20px;
  height: 20px;
}

.carousel__nav--prev {
  left: 0;
}

.carousel__nav--next {
  right: 0;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c3d2de;
  cursor: pointer;
}

.carousel__dot.is-active {
  background: var(--blue);
  transform: scale(1.25);
}

/* Quotes */
.carousel--quotes .slide > .quote {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 220px;
  padding: 30px 34px;
  background: #ffffff;
  border: 1px solid #e3eaf1;
  box-shadow: 0 14px 36px rgba(14, 55, 84, 0.07);
}

.quote__logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
}

.quote__body blockquote {
  margin: 0 0 14px;
  color: #33414e;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
}

.quote__body cite {
  color: #5c6875;
  font-size: 14px;
  font-style: normal;
}

/* Languages */
.languages__art {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.languages__art img {
  display: block;
  margin: 0 auto;
}

/* Footer */
.footer {
  background:
    linear-gradient(rgba(212, 229, 242, 0.35), rgba(212, 229, 242, 0.35)),
    var(--footer) url("assets/footer-back.png") center / cover no-repeat;
  color: #5b6d7d;
}

.footer__main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px 15px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 34px;
}

.footer__title {
  margin-bottom: 12px;
  color: #2f5f84;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  color: #2f5f84;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer__langs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
  color: #2f5f84;
  font-size: 13px;
  line-height: 1.9;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  line-height: 2.1;
}

.footer__links a {
  color: #2f5f84;
  text-decoration: none;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--navy);
  text-decoration: underline;
  outline: none;
}

.pro-card {
  background: #ffffff;
  padding: 24px;
}

.pro-card__title {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.pro-card p {
  margin-bottom: 10px;
  color: #66727e;
  font-size: 13px;
  line-height: 1.7;
}

.pro-card__price {
  margin-bottom: 0;
  color: var(--green-deep);
  font-weight: 600;
}

.footer__bottom {
  max-width: 930px;
  margin: 0 auto;
  padding: 16px 15px;
  border-top: 1px solid rgba(14, 55, 84, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #2f5f84;
  font-size: 12px;
}

.footer__bottom a {
  color: #2f5f84;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero__title {
    font-size: 34px;
  }

  .footer__main {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  }

  .footer__col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .topbar__note {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 30px rgba(5, 24, 38, 0.28);
    z-index: 20;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    display: block;
    height: auto;
    padding: 8px 15px 14px;
  }

  .nav__link {
    height: auto;
    padding: 13px 12px;
    border-radius: 4px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: left;
  }

  .hero__media {
    order: -1;
  }

  .hero__boxshot {
    width: 240px;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quickfacts__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14.5px;
  }

  .hero__inner {
    padding: 30px 15px 38px;
    gap: 10px;
  }

  .hero__eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .hero__title {
    margin-bottom: 12px;
    font-size: 29px;
    line-height: 1.32;
  }

  .hero__lead {
    margin-bottom: 16px;
    font-size: 15px;
  }

  .hero__list {
    margin-bottom: 22px;
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 14.5px;
  }

  .hero__media {
    margin-bottom: 8px;
  }

  .hero__boxshot {
    width: 190px;
  }

  .hero__actions {
    gap: 14px;
  }

  .download-cta {
    width: 100%;
    min-height: 54px;
    padding: 0 24px;
    font-size: 17px;
  }

  .hero__meta {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.7;
  }

  .section {
    padding: 40px 0;
  }

  .section__head {
    margin-bottom: 26px;
  }

  .section__head h2 {
    font-size: 23px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .carousel {
    padding: 0;
  }

  .carousel__nav {
    display: none;
  }

  .carousel__dots {
    margin-top: 18px;
  }

  .carousel--quotes .slide > .quote {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 20px;
    min-height: 0;
  }

  .quote__logo {
    width: 72px;
    height: 72px;
  }

  .quote__body blockquote {
    font-size: 15.5px;
  }

  .quickfacts__inner {
    padding: 16px 15px;
    gap: 12px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 15px 28px;
  }

  .footer__col:last-child {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

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

  .download-cta,
  .download-cta:hover,
  .download-cta:focus-visible,
  .download-cta:active {
    animation: none;
    transition: none;
    transform: none;
  }

  .slide.is-active {
    animation: none;
  }
}
