:root {
  --navy: #071b52;
  --navy-2: #0b2a6f;
  --blue: #0064d9;
  --cyan: #00b8f5;
  --teal: #14d7c6;
  --ink: #071b52;
  --muted: #526987;
  --line: #b9dcff;
  --surface: #f4fbff;
  --white: #fff;
  color-scheme: light;
  font-family:
    "Inter", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6fbff;
  color: var(--ink);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(4, 12, 40, 0.8), rgba(4, 12, 40, 0));
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(5, 18, 54, 0.92);
  box-shadow: 0 12px 40px rgba(0, 22, 68, 0.18);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 24px rgba(0, 184, 245, 0.38);
}

.nav-links a {
  font-size: 15px;
  font-weight: 700;
  opacity: 0.9;
}

.nav-action {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 92px) 96px;
  color: var(--white);
  isolation: isolate;
}

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

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

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 9, 34, 0.94) 0%, rgba(4, 18, 58, 0.68) 42%, rgba(4, 18, 58, 0.04) 76%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 10, 34, 0.72));
}

.hero-content {
  width: min(720px, 100%);
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 25px);
  color: #e5f8ff;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: #031330;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 44px;
}

.section-heading.compact {
  display: block;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.intro {
  background: var(--white);
}

.intro-grid,
.ability-grid,
.method-list,
.download-actions {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid,
.ability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.intro-grid article,
.ability-card {
  border: 1px solid #d5eaff;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #edf8ff);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 44, 110, 0.08);
}

.metric {
  display: block;
  margin-bottom: 30px;
  color: var(--cyan);
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
}

.ability-grid {
  align-items: stretch;
}

.ability-card {
  min-height: 260px;
}

.ability-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-size: 30px;
  font-weight: 900;
}

.methods {
  background:
    linear-gradient(90deg, rgba(7, 27, 82, 0.96), rgba(0, 100, 217, 0.86)),
    radial-gradient(circle at 80% 20%, rgba(20, 215, 198, 0.3), transparent 28%);
  color: var(--white);
}

.methods .section-kicker,
.methods p {
  color: #dff7ff;
}

.method-list {
  display: grid;
  gap: 18px;
}

.method-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 24px;
}

.method-list span {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #04132e;
  font-size: 28px;
  font-weight: 900;
}

.feature {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.feature.reverse {
  grid-template-columns: minmax(360px, 1.1fr) minmax(300px, 0.9fr);
}

.feature-copy {
  padding: 10px 0;
}

.feature-copy h2 {
  margin-bottom: 22px;
}

.feature-copy > p {
  font-size: 20px;
}

.feature-media,
.wide-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid #c7e5ff;
  border-radius: 8px;
  background: #eaf7ff;
  box-shadow: 0 28px 80px rgba(0, 44, 110, 0.16);
}

.feature-media img,
.wide-media img {
  width: 100%;
  height: auto;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
}

.competition {
  background: #fff;
}

.wide-media {
  max-width: 1180px;
  margin: 0 auto;
}

.split-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.split-options article {
  border-left: 4px solid var(--cyan);
  background: #eef9ff;
  padding: 20px;
}

.downloads {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 1.14fr);
  gap: 40px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 27, 82, 0.98), rgba(0, 100, 217, 0.9)),
    radial-gradient(circle at 88% 20%, rgba(20, 215, 198, 0.42), transparent 30%);
}

.downloads .section-kicker,
.downloads p {
  color: #dff7ff;
}

.download-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: 100%;
}

.download-card {
  display: grid;
  min-height: 190px;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 28px;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.download-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.download-card span {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-card strong {
  font-size: 28px;
}

.download-card small {
  color: #dff7ff;
  font-size: 15px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: #020817;
  color: #dff7ff;
}

.site-footer p {
  margin: 0;
}

.reveal {
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 520ms ease,
    opacity 520ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
  }

  .menu-button span {
    width: 20px;
    height: 2px;
    background: #fff;
  }

  .mobile-nav.is-open {
    position: fixed;
    z-index: 19;
    top: 72px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(5, 18, 54, 0.96);
    padding: 12px;
    color: #fff;
    backdrop-filter: blur(14px);
  }

  .mobile-nav a {
    padding: 12px;
    font-weight: 800;
  }

  .hero {
    min-height: 88vh;
    align-items: end;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 56px);
    line-height: 1.05;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 18, 58, 0.24) 0%, rgba(3, 9, 34, 0.94) 62%),
      rgba(0, 12, 44, 0.2);
  }

  .section-heading,
  .feature,
  .feature.reverse,
  .downloads {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .ability-grid,
  .split-options,
  .download-actions {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .method-list article {
    grid-template-columns: 52px 1fr;
    padding: 20px;
  }

  .method-list span {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
