:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #151923;
  --muted: #5f6878;
  --line: #dfe4ee;
  --brand: #17233d;
  --brand-soft: #eef2fb;
  --accent: #4a63d8;
  --shadow: 0 18px 48px rgba(20, 29, 48, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 228, 238, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 122px;
  height: 34px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a,
.nav-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #2d3444;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 11px 14px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active,
.nav-tab:hover,
.nav-tab:focus,
.nav-tab.active {
  background: var(--brand-soft);
  color: var(--accent);
  text-decoration: none;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 63px);
  overflow: hidden;
  background: #111827;
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 220ms ease, transform 220ms ease;
}

.home-hero[data-product="worldgo"] .home-hero-image {
  transform: scale(1.16);
  transform-origin: 72% 46%;
}

.home-hero.is-changing .home-hero-image,
.home-hero.is-changing .home-hero-content {
  opacity: 0.2;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 21, 0.76) 0%, rgba(6, 10, 21, 0.46) 34%, rgba(6, 10, 21, 0.12) 68%, rgba(6, 10, 21, 0.08) 100%),
    linear-gradient(0deg, rgba(6, 10, 21, 0.32) 0%, rgba(6, 10, 21, 0) 45%);
  pointer-events: none;
}

.home-hero-content {
  position: relative;
  z-index: 1;
  width: min(600px, calc(100% - 48px));
  min-height: calc(100vh - 63px);
  margin-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  padding: 10vh 0 8vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
  transition: opacity 220ms ease;
}

.home-hero-label {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
}

.home-hero-subtitle {
  display: block;
  margin: 18px 0 0;
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.35;
}

.home-hero-intro {
  max-width: 540px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.keyword-list,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.keyword-list span,
.feature-list span {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: fit-content;
  margin-top: 30px;
  padding: 10px 18px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
}

.button.light {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.92);
  color: #121826;
  text-shadow: none;
}

.button:hover,
.button:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.content-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 76px;
}

.page-title {
  padding: 14px 0 10px;
}

.page-title h1 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.14;
  letter-spacing: 0;
}

.page-title p {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section {
  margin-top: 36px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section h2,
.section-heading h2 {
  margin: 0;
  color: var(--brand);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading p,
.section p {
  margin: 0;
  color: #384154;
}

.section-heading p {
  max-width: 540px;
}

.product-card-grid,
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.app-card,
.info-row,
.policy-block {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.product-card {
  display: grid;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(23, 35, 61, 0.07);
}

.product-card:hover,
.product-card:focus {
  text-decoration: none;
  transform: translateY(-2px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
}

.product-card.worldgo-card img {
  aspect-ratio: 16 / 10;
  object-position: center center;
}

.app-card.worldgo-card img {
  aspect-ratio: 16 / 8;
  object-position: center 34%;
}

.product-card div {
  padding: 18px;
}

.product-card h3,
.app-card h2,
.policy-block h2,
.info-row h2 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 20px;
  line-height: 1.35;
}

.product-card p,
.app-card p,
.policy-block p,
.policy-block li,
.info-row p {
  margin: 0;
  color: #455066;
  font-size: 15.5px;
}

.app-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.app-card {
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: var(--shadow);
}

.app-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center center;
}

.app-card-body {
  padding: 24px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
}

.showcase-hero {
  position: relative;
  min-height: calc(100vh - 63px);
  overflow: hidden;
  background: #111827;
}

.showcase-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.worldgo-copy img {
  transform: scale(1.16);
  transform-origin: 72% 46%;
}

.feature-list {
  margin-top: 0;
}

.feature-list span {
  border-color: #d9e0ee;
  background: var(--brand-soft);
  color: var(--brand);
}

.policy {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.policy-block,
.info-row {
  padding: 28px;
}

.policy-block ul,
.section ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

.list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-item {
  padding: 14px 16px;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-item strong {
  display: inline-block;
  min-width: 128px;
  color: var(--brand);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f5f7fb;
  color: #667085;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}

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

.footer-inner a {
  color: #4d596b;
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}

.footer-separator {
  display: inline-block;
  margin: 0 10px;
  color: #98a2b3;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-hero,
  .showcase-hero,
  .home-hero-content {
    min-height: 78vh;
  }

  .home-hero-content {
    justify-content: flex-end;
    padding-bottom: 7vh;
  }

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

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 12px 16px;
  }

  .brand img {
    width: 112px;
    height: 31px;
  }

  .nav-links a,
  .nav-tab {
    padding: 10px 12px;
    font-size: 14px;
  }

  .home-hero,
  .showcase-hero,
  .home-hero-content {
    min-height: 72vh;
  }

  .home-hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-bottom: 34px;
  }

  .home-hero h1 {
    font-size: 40px;
  }

  .home-hero-subtitle {
    font-size: 20px;
  }

  .home-hero-intro {
    font-size: 16px;
  }

  .content-shell {
    padding: 38px 16px 56px;
  }

  .section,
  .policy-block,
  .info-row {
    padding: 22px;
  }

  .product-card-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .contact-item strong {
    display: block;
    min-width: 0;
    margin-bottom: 2px;
  }
}

@media print {
  body {
    background: #ffffff;
    color: #000000;
  }

  .site-header,
  .site-footer,
  .section,
  .policy-block,
  .info-row,
  .product-card,
  .app-card {
    box-shadow: none;
  }
}
