:root {
  color-scheme: light;
  --ink: #182024;
  --muted: #5f6f74;
  --paper: #f7f8f2;
  --line: #dfe5e2;
  --white: #ffffff;
  --teal: #0f766e;
  --deep: #102426;
  --coral: #d85f4a;
  --mustard: #d5a11e;
  --blue: #2d5f87;
  --orange: #ff5533;
  --shadow: 0 18px 42px rgba(21, 32, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(16, 36, 38, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-avatar {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  font-size: 15px;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
}

.nav a:hover {
  color: var(--white);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
}

.language-switch a.active {
  background: var(--white);
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(22px, 7vw, 92px) 84px;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 14, 16, 0.9) 0%, rgba(10, 36, 38, 0.76) 48%, rgba(216, 95, 74, 0.2) 100%),
    linear-gradient(180deg, rgba(8, 14, 16, 0.12), rgba(8, 14, 16, 0.42));
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(32px, 9vw, 130px);
  top: 150px;
  width: min(34vw, 430px);
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.hero-content {
  max-width: 740px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--coral);
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.button.primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 380px;
  margin-top: 52px;
}

.hero-stats div {
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.section {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
}

.wide-title p:last-child {
  max-width: 860px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.about-grid > p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.9;
}

.about-panel {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.about-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.facts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}

.platform-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.gyg-platform {
  color: var(--orange);
}

.kkday-platform {
  color: var(--blue);
}

.platform-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
}

.kkday-logo {
  width: 16px;
  height: 16px;
}

.destination-filter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(21, 32, 36, 0.08);
}

.filter-button {
  min-width: 76px;
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  background: var(--deep);
  color: var(--white);
}

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

.product-card.is-hidden {
  display: none;
}

.product-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dde5e1;
  border-bottom: 1px solid var(--line);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.product-platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.product-platform img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 3px;
}

.product-platform.klook {
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
}

.product-platform.gyg {
  background: rgba(255, 85, 51, 0.12);
  color: var(--orange);
}

.product-platform.kkday {
  background: rgba(45, 95, 135, 0.12);
  color: var(--blue);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.product-index {
  color: var(--mustard);
  font-size: 13px;
  font-weight: 900;
}

.product-sales {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.product-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.product-card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--teal);
  font-weight: 900;
}

.contact {
  padding-bottom: 60px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: var(--deep);
  color: var(--white);
  border-radius: 8px;
}

.contact-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 38px);
}

.contact-panel p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
}

.contact-links a {
  padding: 10px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  font-weight: 800;
}

.footer {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero::after {
    display: none;
  }
}

@media (max-width: 780px) {
  .site-header {
    flex-wrap: wrap;
    padding: 12px 18px;
  }

  .nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 12px;
    font-size: 14px;
  }

  .language-switch a {
    min-width: 30px;
    height: 26px;
    padding: 0 7px;
    font-size: 12px;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 20px 56px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 14, 16, 0.82) 0%, rgba(8, 14, 16, 0.66) 52%, rgba(8, 14, 16, 0.44) 100%);
  }

  .section {
    padding: 58px 0;
  }

  .about-grid,
  .contact-panel {
    display: block;
  }

  .about-panel,
  .facts,
  .contact-links {
    margin-top: 22px;
  }

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

  .product-card {
    min-height: 0;
  }

  .contact-links {
    justify-content: start;
  }
}

@media (max-width: 430px) {
  .brand {
    max-width: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .site-header {
    gap: 10px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .platform-badge {
    width: 100%;
    justify-content: center;
  }

  .destination-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 8px;
  }

  .filter-button:first-child {
    grid-column: 1 / -1;
  }
}
