:root {
  --blue: #0a82ff;
  --blue-deep: #0839df;
  --text: #00080c;
  --muted: #5f6b73;
  --line: #e9edf0;
  --soft: #f5f7f9;
  --header-h: 64px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #fff;
  letter-spacing: 0;
}

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

button {
  font: inherit;
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 137px;
  height: 56px;
  color: var(--blue-deep);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
}

.nav-link.has-menu::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.login-btn {
  height: 36px;
  min-width: 61px;
  padding: 0 17px;
  border: 0;
  border-radius: 8px;
  background: #f1f4f6;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.menu-btn {
  display: none;
  width: 28px;
  height: 28px;
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  border-radius: 2px;
  background: #282e31;
}

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  right: 16px;
  z-index: 40;
  display: none;
  width: min(300px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 8, 12, 0.14);
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu a,
.mobile-menu button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
  background: #f4f7fa;
}

.mobile-menu .accent {
  color: var(--blue);
}

.mobile-menu span {
  font-size: 11px;
}

main {
  padding-top: var(--header-h);
  overflow: clip;
}

.hero {
  padding: 70px 0 0;
  text-align: center;
}

.hero-copy {
  width: min(720px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero-kicker {
  margin: 0 0 4px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.28;
}

.hero h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.28;
}

.hero-sub {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.primary-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  height: 48px;
  margin-top: 28px;
  padding: 0 28px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(10, 130, 255, 0.28);
}

.primary-download:hover {
  background: #0074eb;
}

.hero-visual {
  position: relative;
  width: min(1208px, calc(100vw - 232px));
  height: 397px;
  margin: 36px auto 0;
  overflow: hidden;
  border-radius: 10px;
  background: #cde8ff;
}

.hero-visual img {
  position: absolute;
  right: 54px;
  bottom: 0;
  width: 722px;
  height: auto;
}

.hero-card-copy {
  position: absolute;
  top: 88px;
  left: 72px;
  z-index: 2;
  text-align: left;
}

.hero-card-copy span,
.hero-card-copy strong {
  display: block;
  font-weight: 800;
  line-height: 1.52;
}

.hero-card-copy span {
  font-size: 31px;
}

.hero-card-copy strong {
  margin-top: 2px;
  font-size: 32px;
}

.section-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 55px;
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.section-tabs button {
  position: relative;
  min-width: 62px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.section-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
}

.section-tabs button.is-active {
  color: var(--blue);
}

.section-tabs button.is-active::after {
  background: var(--blue);
}

.page-section {
  scroll-margin-top: 150px;
}

.mobile-section {
  padding: 100px 0 124px;
}

.section-title {
  width: min(760px, calc(100vw - 40px));
  margin: 0 auto;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.32;
}

.section-title p {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.section-title p + p {
  margin-top: 0;
}

.feature-list {
  width: min(760px, calc(100vw - 40px));
  margin: 60px auto 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 243px 1fr;
  align-items: center;
  gap: 116px;
  min-height: 597px;
}

.phone-demo {
  position: relative;
  width: 243px;
  height: 477px;
  filter: drop-shadow(0 9px 12px rgba(0, 8, 12, 0.18));
}

.phone-demo video {
  position: absolute;
  top: 20px;
  left: 21px;
  width: 202px;
  height: 436px;
  object-fit: cover;
  border-radius: 26px;
  background: #fff;
}

.phone-demo img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

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

.feature-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

.feature-label span {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 10px;
  background: #eaf4ff;
  font-size: 12px;
  font-weight: 800;
}

.feature-copy h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.22;
}

.feature-copy p:last-child {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.42;
}

.app-download-card {
  display: flex;
  align-items: center;
  width: 680px;
  min-height: 120px;
  margin: -20px auto 0;
  padding: 20px 24px 20px 28px;
  border: 1px solid #e5e8eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 8, 12, 0.04);
}

.desktop-download-card {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 18;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

body.show-download-card .desktop-download-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.app-download-card > img:first-child {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-right: 16px;
}

.app-download-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.app-download-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.app-download-card .qr {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  margin-left: auto;
}

.pc-section {
  padding: 122px 0 160px;
}

.media-carousel {
  position: relative;
  width: min(1120px, calc(100vw - 88px));
  margin: 52px auto 0;
  text-align: center;
}

.media-frame {
  width: 640px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dfe5ea;
  border-radius: 10px;
  background: #f6f8fa;
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7f8a91;
  font-size: 56px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-arrow:hover {
  color: #293236;
}

.carousel-arrow.prev {
  left: 0;
}

.carousel-arrow.next {
  right: 0;
}

.carousel-caption {
  display: block;
  margin-top: 42px;
  font-size: 22px;
  line-height: 1.35;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b7c0c6;
  cursor: pointer;
}

.dots button.is-active {
  background: var(--blue);
}

.download-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 800px;
  margin: 66px auto 0;
}

.download-row.single {
  grid-template-columns: 1fr;
}

.download-row article {
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--soft);
}

.download-row strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

.download-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.download-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 89px;
  height: 36px;
  margin-left: auto;
  border: 1px solid #cdd5db;
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.browser-section {
  padding: 110px 0 128px;
}

.chrome-logo {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 34px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0, 8, 12, 0.08);
}

.browser-section .media-frame {
  border-radius: 10px;
}

.browser-section .download-row {
  width: 798px;
  margin-top: 56px;
}

.site-footer {
  border-top: 1px solid #f0f2f4;
  background: #fff;
}

.footer-services {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 0 36px;
  background: #fafbfc;
  color: #707a82;
  font-size: 14px;
}

.footer-services strong {
  color: var(--text);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 36px 38px;
  color: #6c777f;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  color: #394248;
  font-weight: 700;
}

.footer-main p {
  margin: 4px 0;
}

.footer-main small {
  display: block;
  margin-top: 28px;
  color: #b0b7bd;
  font-weight: 700;
}

.language {
  position: relative;
  min-width: 160px;
  color: var(--text);
  text-align: right;
}

.language > button {
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.language-list {
  position: absolute;
  right: 0;
  bottom: 34px;
  display: none;
  min-width: 150px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 8, 12, 0.12);
}

.language.is-open .language-list {
  display: block;
}

.language-list button {
  display: block;
  width: 100%;
  height: 30px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #303a40;
  text-align: left;
  cursor: pointer;
}

.mobile-only {
  display: none !important;
}

@media (max-width: 900px) {
  :root {
    --header-h: 56px;
  }

  .site-header {
    height: 56px;
    padding: 0 12px;
  }

  .logo {
    width: 137px;
    height: 56px;
    font-size: 25px;
  }

  .desktop-nav {
    display: none;
  }

  .login-btn {
    height: 36px;
    min-width: 52px;
    padding: 0 14px;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-copy {
    width: min(350px, calc(100vw - 40px));
  }

  .hero-kicker,
  .hero h1 {
    font-size: 32px;
    line-height: 1.32;
  }

  .hero-sub {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.45;
  }

  .primary-download {
    min-width: 160px;
    height: 44px;
    margin-top: 24px;
    font-size: 15px;
  }

  .hero-visual {
    width: calc(100vw - 40px);
    height: 302px;
    margin-top: 40px;
    border-radius: 9px;
  }

  .hero-visual img {
    right: -4px;
    bottom: 24px;
    width: 310px;
  }

  .hero-card-copy {
    top: 38px;
    left: 0;
    right: 0;
    text-align: center;
  }

  .hero-card-copy span {
    font-size: 20px;
  }

  .hero-card-copy strong {
    font-size: 20px;
    line-height: 1.45;
  }

  .section-tabs {
    top: 56px;
    justify-content: space-around;
    gap: 0;
    height: 76px;
    padding: 0 38px;
  }

  .section-tabs button {
    min-width: auto;
    font-size: 15px;
    white-space: nowrap;
  }

  .page-section {
    scroll-margin-top: 136px;
  }

  .mobile-section {
    padding: 96px 0 90px;
  }

  .section-title {
    width: min(350px, calc(100vw - 40px));
  }

  .section-title h2 {
    font-size: 24px;
    line-height: 1.36;
  }

  .section-title p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.4;
  }

  .store-buttons {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
  }

  .store-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 110px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
  }

  .store-note {
    display: block !important;
    margin-top: 12px !important;
    color: var(--muted);
    font-size: 12px !important;
  }

  .desktop-features,
  .desktop-download-card {
    display: none;
  }

  .mobile-only {
    display: block !important;
  }

  .mobile-feature-carousel {
    position: relative;
    width: 100%;
    margin-top: 56px;
    overflow: hidden;
  }

  .mobile-feature-track {
    display: flex;
    transition: transform 320ms ease;
  }

  .mobile-feature-slide {
    flex: 0 0 100%;
    padding: 0 20px;
    text-align: center;
  }

  .mobile-feature-slide .phone-demo {
    width: 164px;
    height: 322px;
    margin: 0 auto 34px;
  }

  .mobile-feature-slide .phone-demo video {
    top: 14px;
    left: 14px;
    width: 136px;
    height: 294px;
    border-radius: 18px;
  }

  .mobile-feature-slide .feature-label {
    margin-bottom: 10px;
    font-size: 13px;
    text-align: center;
  }

  .mobile-feature-slide h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.36;
  }

  .mobile-feature-slide > p:last-child {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .mobile-feature-carousel .carousel-arrow {
    top: 178px;
    width: 40px;
    height: 40px;
    color: #8f9aa2;
    font-size: 32px;
  }

  .mobile-feature-carousel .prev {
    left: 4px;
  }

  .mobile-feature-carousel .next {
    right: 4px;
  }

  .pc-section {
    padding: 82px 0 100px;
  }

  .media-carousel {
    width: 100%;
    margin-top: 36px;
  }

  .media-frame {
    width: calc(100vw - 40px);
    border-radius: 3px;
  }

  .pc-section .media-frame {
    margin-top: 0;
  }

  .media-carousel .carousel-arrow {
    top: 50%;
    width: 38px;
    height: 38px;
    font-size: 34px;
  }

  .media-carousel .prev {
    left: 2px;
  }

  .media-carousel .next {
    right: 2px;
  }

  .carousel-caption {
    margin-top: 30px;
    font-size: 18px;
  }

  .dots {
    margin-top: 22px;
  }

  .download-row {
    display: none;
  }

  .browser-section {
    padding: 84px 0 82px;
  }

  .chrome-logo {
    width: 32px;
    height: 32px;
    margin-bottom: 28px;
    border-radius: 9px;
  }

  .browser-section .media-frame {
    width: calc(100vw - 80px);
  }

  .site-footer {
    background: #fafbfc;
  }

  .footer-services {
    min-height: 54px;
    padding: 0 20px;
    gap: 12px;
    font-size: 12px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .footer-main {
    display: block;
    padding: 26px 20px 34px;
    font-size: 12px;
  }

  .footer-links {
    gap: 12px;
    font-size: 12px;
  }

  .language {
    margin: 20px 0 22px;
    text-align: left;
  }

  .language > button {
    font-size: 13px;
  }

  .language-list {
    left: 0;
    right: auto;
    bottom: 28px;
  }
}

@media (max-width: 420px) {
  .section-tabs {
    padding: 0 45px;
  }

  .section-tabs button {
    font-size: 14px;
  }

  .hero-visual img {
    right: -5px;
  }
}
