* {
  box-sizing: border-box;
}

:root {
  --text-main: #b9c1ce;
  --text-white: #ffffff;
  --text-strong: #eef4ff;
  --accent-green: #19d88b;
}

html {
  background: #05070b;
}

body {
  margin: 0;
  color: var(--text-main);
  background: #080b10;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

.is-switching-lang body {
  visibility: hidden;
}

.lang-switch {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 20;
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 11, 16, 0.72);
  backdrop-filter: blur(12px);
}

.lang-switch button {
  min-width: 58px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #cbd5e1;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.lang-switch button.active {
  color: #06120d;
  background: #18e394;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  height: 884px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(9, 17, 27, 0) 52%, rgba(31, 112, 188, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.55));
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin-top: 160px;
  text-align: center;
}

.hero{
	color: var(--text-white);
}

.hero h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1.22;
  font-weight: 800;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.hero p {
  margin: 42px auto 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
}

.section {
  padding: 130px 100px;
  background: #080b10;
}

.section h2 {
  margin: 0 0 72px;
  text-align: center;
  color: var(--text-white);
  font-size: 36px;
  line-height: 1.4;
  font-weight: 700;
}

.panel {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 50px 60px;
  border-radius: 18px;
  background: #1b202a;
  color: var(--text-main);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.panel h3 {
  margin: 0 0 32px;
  color: var(--text-white);
  font-size: 20px;
}

.panel p {
  margin: 0;
  font-size: 18px;
  line-height: 1.78;
}

.panel p + p {
  margin-top: 34px;
}

.service-grid {
  width: min(1240px, 100%);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.service-card {
  min-height: 200px;
  border-radius: 14px;
  background: #1b202a;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  color: var(--text-main);
  font-size: 20px;
  font-weight: 700;
}

.service-card img {
  width: 56px;
  height: 56px;
  display: block;
}

.service-card p {
  margin: 0;
  line-height: 1.35;
  color: var(--text-white);
  font-weight: 400;
  text-align: center;
}

.brand-white {
  color: #ffffff;
}

.service-card.blue {
  color: #2e8fff;
}

.service-card.violet {
  color: #7b54ff;
}

.service-card.green {
  color: #19c777;
}

.service-card.pink {
  color: #d84ab5;
}

.service-card.cyan {
  color: #27a8ff;
}

.founder {
  padding: 80px 100px;
  background: linear-gradient(110deg, #111722 0%, #172333 48%, #111821 100%);
}

.founder-inner {
  width: min(1240px, 100%);
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 20px;
  align-items: center;
}

.founder-copy h2 {
  margin: 0 0 32px;
  font-size: 30px;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--text-strong);
}

html[lang="en"] .founder-copy h2 {
  white-space: normal;
}

.lead {
  margin: 0 0 28px;
  width: min(590px, 100%);
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 58px;
}

.tags span {
  height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(40, 221, 154, 0.6);
  border-radius: 999px;
  color: #6bf2bd;
  background: rgba(21, 181, 118, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.founder-copy ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 34px;
  list-style: none;
}

.founder-copy li {
  position: relative;
  padding-left: 54px;
  width: min(680px, 100%);
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.75;
}

.founder-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 24px;
  height: 24px;
  background: url("./assets/icon-check.svg") center / contain no-repeat;
}

blockquote {
  margin: 50px 0 0;
  color: var(--accent-green);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 800;
}

.founder-person {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.founder-person::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 480px;
  right: -120px;
  bottom: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 109, 220, 0.5), rgba(65, 109, 220, 0) 64%);
}

.founder-person img {
  position: relative;
  z-index: 1;
  width: 380px;
  max-width: 100%;
  transform: translateX(-62px);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.38));
}

.founder-person div {
  position: absolute;
  z-index: 2;
  top: 96px;
  right: 0;
}

.founder-person h3 {
  margin: 0 0 22px;
  color: var(--text-white);
  font-size: 30px;
  line-height: 1.4;
}

.founder-person p {
  margin: 0;
  color: var(--accent-green);
  font-size: 18px;
  font-weight: 700;
}

.team-core {
  padding-top: 150px;
  padding-bottom: 110px;
}

.member-grid {
  width: min(1324px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.member-card {
  min-height: 689px;
  padding: 116px 70px 54px;
  border-radius: 18px;
  background: #1b202a;
  text-align: center;
  color: var(--text-main);
}

.avatar {
  width: 118px;
  height: 118px;
  margin: 0 auto 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-white);
  font-size: 28px;
  font-weight: 800;
}

.avatar.blue {
  background: #579bff;
}

.avatar.orange-bg {
  background: #ff9b4b;
}

.avatar.purple {
  background: #8955e8;
}

.member-card h3 {
  margin: 0 0 18px;
  color: var(--text-white);
  font-size: 30px;
}

.member-card .role {
  margin: 0 0 44px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.orange {
  color: #ff8c2c;
}

.green {
  color: #1bd68b;
}

.purple-text {
  color: #8a5cff;
}

.member-card p {
  font-size: 18px;
  line-height: 1.76;
  margin: 0;
  text-align: left;
}

.member-card .quote {
  color: var(--text-white);
  margin-bottom: 30px;
}

.intro {
  padding-top: 108px;
  background:
    radial-gradient(circle at 50% 18%, rgba(41, 107, 206, 0.25), transparent 26%),
    #080b10;
}

.intro h2 {
  margin-bottom: 32px;
}

.intro-lead {
  margin: 0 auto 86px;
  width: min(746px, 100%);
  text-align: center;
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.7;
}

.stats {
  width: min(960px, 100%);
  margin: 0 auto 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stats strong {
  display: block;
  margin-bottom: 42px;
  color: var(--accent-green);
  font-size: 36px;
  line-height: 1;
}

.stats span {
  color: var(--text-main);
  font-size: 18px;
  font-weight: 700;
}

footer {
  padding: 98px 100px;
  background: #1b2028;
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 408px;
  gap: 80px;
}

footer h3 {
  margin: 0 0 30px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

footer h3 img {
  width: 24px;
  height: 24px;
  display: block;
}

footer p,
footer a {
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.65;
  text-decoration: none;
}

footer a {
  display: inline-block;
  margin-top: 0;
  align-items: center;
  gap: 14px;
}

footer a[href^="mailto:"] {
  display: inline-flex;
  margin-top: 10px;
}

footer a img {
  width: 24px;
  height: 24px;
  display: block;
}

footer a[href^="mailto:"] {
  color: var(--text-white);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

.store-links a {
  min-height: 50px;
  margin-top: 0;
  padding: 0 18px;
  border: 1px solid #5c6473;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-white);
  font-size: 18px;
  line-height: 1;
}

.store-links img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
}

.payments span {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid #5c6473;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  color: var(--text-white);
  font-size: 18px;
  font-weight: 700;
}

.policy-links {
  min-height: 50px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

.policy-link-item {
  display: flex;
  align-items: center;
}

.policy-links a {
  margin-top: 0;
  color: var(--text-white);
  font-size: 18px;
  line-height: 1.4;
}

.policy-separator {
  color: var(--text-white);
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 900px) {
  .lang-switch {
    top: 14px;
    right: 14px;
  }

  .hero {
    height: 620px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section,
  .founder,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .panel {
    padding: 28px 22px;
  }

  .panel p,
  .member-card p,
  .founder-copy li,
  footer p,
  footer a {
    font-size: 15px;
  }

  .service-grid,
  .member-grid,
  .stats,
  .footer-inner,
  .founder-inner {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 130px;
  }

  .founder-copy h2,
  .section h2 {
    font-size: 28px;
  }

  .founder-copy h2 {
    white-space: normal;
  }

  .founder-inner {
    min-height: auto;
  }

  .founder-person {
    min-height: 500px;
  }

  .founder-person div {
    top: 20px;
    right: 0;
    left: auto;
    transform: none;
    width: max-content;
    text-align: center;
  }

  .member-card {
    min-height: auto;
    padding: 56px 28px 34px;
  }

  .stats {
    gap: 36px;
  }

  .stats strong {
    margin-bottom: 14px;
  }
}
