* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(126, 151, 193, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 151, 193, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8),
    transparent 88%
  );
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  cursor: pointer;
}
button {
  font: inherit;
}
::selection {
  background: #1a79ff;
  color: #ffffff;
}

.section-shell {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.button svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button:active {
  transform: translateY(0) scale(0.98);
}
.button:focus-visible,
.primary-nav a:focus-visible,
.brand:focus-visible,
.menu-toggle:focus-visible,
.faq-item button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.button-large {
  min-height: 52px;
  padding: 0 22px;
  font-size: 14px;
}
.menu-toggle {
  display: none;
  color: var(--ink);
  background: none;
  border: 0;
}
.menu-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}
.menu-lines i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 44px;
  align-items: center;
  min-height: 690px;
  margin-top: -95px;
  padding: 185px 0 128px;
  position: relative;
  overflow: visible;
  background: var(--canvas);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 27px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-positioning {
  display: block;
  margin-bottom: 10px;
  color: #f5f7fb;
  font-size: 17px;
  line-height: 1.55;
}
.hero-description > span {
  display: block;
}

.manifesto h2 span {
  color: #6b6b67;
}
.faq-heading {
  align-items: start;
}
.faq-heading h2 {
  margin-top: 26px;
}
.faq-plus {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
}
.faq-answer p {
  margin: 0;
}

.hero h1,
.manifesto h2,
.how-it-works h2,
.section-heading-row h2,
.trust-card h2,
.trial-cta h2 {
  font-family: var(--font-display);
  text-wrap: balance;
}

.capability-card h3,
.faq-item button {
  font-family: var(--font-display);
}

.trust-list h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.capability-card,
.trust-card,
.trust-list,
.faq-item {
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(76, 127, 240, 0.2);
}
.button-primary:hover {
  background: #396de2;
}
.hero h1,
.manifesto h2,
.how-it-works h2,
.section-heading-row h2,
.trust-card h2 {
  color: var(--ink);
}
.capability-card h3 {
  color: var(--ink);
}

.trial-cta h2 {
  color: #fff;
}
.trial-cta h2 span {
  color: #a8bbdc;
}

/* 動畫 */
.global-pointer-glow {
  position: fixed;
  top: 35vh;
  left: 50vw;
  z-index: 3;
  width: 520px;
  height: 520px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(76, 127, 240, 0.13) 0,
    rgba(76, 127, 240, 0.055) 34%,
    transparent 70%
  );
  mix-blend-mode: screen;
  opacity: 0.72;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}
.hero-product {
  --hero-rotate-x: 0deg;
  --hero-rotate-y: 0deg;
  --hero-lift: 0px;
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 30px 0 20px 10px;
  padding-top: 50px;
  overflow: hidden;
  border-radius: clamp(16px, 1.8vw, 24px);
  perspective: 1400px;
  aspect-ratio: 1576 / 992;
  background: url("assets/hero-dashboard-zh.webp") center / contain no-repeat;
  transform: perspective(1400px) translate3d(0, var(--hero-lift), 0)
    rotateX(var(--hero-rotate-x)) rotateY(var(--hero-rotate-y));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

html[lang="en-US"] .hero-product {
  background-image: url("assets/hero-dashboard-en.webp");
}
.trust-card,
.trust-list {
  position: relative;
  overflow: hidden;
}
.capability-card::before,
.trust-card::before,
.trust-list::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: radial-gradient(
    240px circle at var(--card-x, 50%) var(--card-y, 0%),
    rgba(76, 127, 240, 0.14),
    transparent 70%
  );
  transition: opacity 0.45s ease;
}
.capability-card:hover::before,
.trust-card:hover::before,
.trust-list:hover::before {
  opacity: 1;
}
.capability-card > *,
.trust-card > *,
.trust-list > * {
  position: relative;
  z-index: 1;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease,
    box-shadow 0.35s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(76, 127, 240, 0.18);
}

html.js .hero .eyebrow,
html.js .hero h1,
html.js .hero-description,
html.js .hero-cta-row,
html.js .hero-product,
html.js .proof-rail {
  opacity: 0;
}
html.js.is-ready .hero .eyebrow,
html.js.is-ready .hero h1,
html.js.is-ready .hero-description,
html.js.is-ready .hero-cta-row,
html.js.is-ready .hero-product,
html.js.is-ready .proof-rail {
  opacity: 1;
}
html.js.is-ready .hero .eyebrow {
  animation: native-hero-in 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.05s backwards;
}
html.js.is-ready .hero h1 {
  animation: native-hero-in 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.13s backwards;
}
html.js.is-ready .hero-description {
  animation: native-hero-in 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}
html.js.is-ready .hero-cta-row {
  animation: native-hero-in 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.37s backwards;
}
html.js.is-ready .hero-product {
  animation: native-product-in 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.12s
    backwards;
}
html.js.is-ready .proof-rail {
  animation: framer-rail-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

@keyframes native-hero-in {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes native-product-in {
  from {
    opacity: 0;
    transform: perspective(1400px) translate3d(52px, 0, 0) rotateX(3deg)
      rotateY(-8deg) scale(0.975);
  }
  to {
    opacity: 1;
    transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0) rotateY(0)
      scale(1);
  }
}
@keyframes framer-rail-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* 導覽列 */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: block;
  width: 100%;
  height: 95px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1280px, calc(100% - 64px));
  height: 95px;
  margin: 0 auto;
  padding: 16px 0;
  transition:
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    margin-top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled .nav-inner {
  width: min(1072px, calc(100% - 48px));
  height: 62px;
  margin-top: 24px;
  padding: 8px 12px 8px 24px;
  border: 1px solid rgba(126, 151, 193, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 18px;
  justify-self: start;
}
.autoturn-logo {
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 36px;
  color: #aab8ce;
  font-size: 15px;
  font-weight: 500;
}

.primary-nav a:not(.button) {
  padding: 0;
  color: #a6adbb;
  background: transparent;
  transition: color 0.22s ease;
}

.primary-nav a:not(.button):hover,
.primary-nav a:not(.button).is-active {
  color: #fff;
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.lang-selector-wrap {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #c0ccdd;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.lang-globe {
  width: 15px;
  height: 15px;
  color: #9ba9bd;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.lang-btn:hover .lang-globe {
  color: #fff;
}
.lang-chevron {
  width: 10px;
  height: 10px;
  color: #7b8b9e;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.lang-selector-wrap.is-open .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 118px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(14, 20, 32, 0.94);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}
.lang-selector-wrap.is-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: #b0c0d6;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.lang-option.is-active {
  color: #fff;
  background: rgba(76, 127, 240, 0.18);
}
.nav-contact:hover {
  transform: translateY(-2px);
  background: #fff;
}

main {
  position: relative;
  z-index: 1;
  padding-top: 95px;
}

.manifesto,
.capabilities,
.how-it-works,
.trust-section,
.trial-cta,
.faq {
  scroll-margin-top: 110px;
}

.manifesto-copy p:last-child {
  margin-bottom: 0;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 88px;
  align-items: end;
}

.section-heading-row > p {
  max-width: 440px;
  margin: 0 0 7px;
  color: #aebbd0;
}

.trial-cta p {
  margin: 0 0 27px;
  color: #b7c3d7;
}

.faq-list {
  margin-top: 72px;
  border-top: 1px solid #424242;
  border-top-color: rgba(126, 151, 193, 0.26);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  border-bottom-color: rgba(126, 151, 193, 0.16);
}
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 18px;
  min-height: 76px;
  line-height: 1.5;
}
.faq-answer {
  max-width: none;
  padding: 0 52px 0 4px;
  color: #aebbd0;
  display: grid;
  width: 100%;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.24s ease,
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer > p,
.faq-answer > .faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}
.faq-item.is-open .faq-answer > p,
.faq-item.is-open .faq-answer > .faq-answer-inner {
  padding-bottom: 28px;
}
.faq-answer-inner > p {
  margin: 0;
}
.faq-video {
  width: 100%;
  margin-top: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(76, 127, 240, 0.28);
  border-radius: 22px;
  background: #060b15;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}
.faq-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.manifesto,
.how-it-works {
  border-top: 1px solid rgba(126, 151, 193, 0.18);
}

.capability-card::before {
  display: none;
}
.trust-card::before,
.trust-list::before {
  display: none;
}

.capability-card {
  border-top: 1px solid rgba(126, 151, 193, 0.24);
}

.capability-card.violet,
.capability-card.blue,
.capability-card.orange,
.capability-card.pink {
  min-height: 330px;
  padding: 32px;
  border: 1px solid rgba(126, 151, 193, 0.17);
  border-top: 1px solid rgba(126, 151, 193, 0.24);
  border-radius: 22px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.trust-section::after {
  position: absolute;
  right: 44%;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(76, 127, 240, 0.1);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 48px rgba(76, 127, 240, 0.025),
    0 0 0 96px rgba(76, 127, 240, 0.018);
  pointer-events: none;
}

.trust-card {
  border: 0;
  border-top: 1px solid rgba(126, 151, 193, 0.24);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.trust-list {
  border: 0;
  border-top: 1px solid rgba(126, 151, 193, 0.24);
  border-radius: 0;
  box-shadow: none;
}

.trust-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}

.trust-card:hover,
.trust-list:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.trust-card h2 {
  max-width: 600px;
}

.trust-card p {
  max-width: 520px;
  margin: 28px 0 30px;
  color: #b6c2d6;
}

.manifesto .meta-logo,
.how-it-works .meta-logo {
  display: block;
  width: 112px;
  height: auto;
  margin-top: 22px;
  object-fit: contain;
  object-position: left center;
}

.trust-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 44px;
  border-left: 1px solid rgba(126, 151, 193, 0.18);
  background: rgba(7, 13, 24, 0.28);
}

.trust-list div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-content: center;
  width: 100%;
  min-height: 126px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(126, 151, 193, 0.16);
}

.trust-list div:last-child {
  border-bottom: 0;
}

.trust-list span {
  grid-row: 1 / 3;
  margin: 3px 0 0;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.trust-list strong {
  color: #f1f5fb;
}

.trust-list p {
  margin: 8px 0 0;
  color: #9eacc1;
}

.trial-cta {
  position: relative;
  overflow: visible;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 84px 28px;
  border: 1px solid rgba(76, 127, 240, 0.3);
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 115%,
      rgba(76, 127, 240, 0.3),
      transparent 55%
    ),
    linear-gradient(145deg, #111d33, #0b1220);
  border-color: rgba(76, 127, 240, 0.3);
  border-top: 1px solid rgba(76, 127, 240, 0.38);
  border-bottom: 1px solid rgba(76, 127, 240, 0.2);
  z-index: 0;
  margin-bottom: 120px;
  isolation: isolate;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.04),
    0 28px 80px rgba(0, 0, 0, 0.18);
}

.trial-actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

.trial-contact {
  min-width: 140px;
  border-color: rgba(144, 169, 214, 0.34);
  color: #dce6f6;
  background: rgba(12, 20, 34, 0.42);
}

.trial-contact:hover {
  border-color: rgba(118, 160, 255, 0.62);
  color: #fff;
  background: rgba(28, 47, 79, 0.62);
}

/* 頁尾 */

.footer-inner {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0 20px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(150px, 0.55fr) minmax(
      300px,
      0.9fr
    );
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  padding-bottom: 36px;
}

.footer-brand .autoturn-logo {
  width: 130px;
}
.footer-brand p {
  max-width: 360px;
  margin: 16px 0 0;
  color: #9facbf;
  font-size: 15px;
  line-height: 1.7;
}

.footer-label {
  display: block;
  margin-bottom: 14px;
  color: #6680ac;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.footer-links {
  display: grid;
  align-content: start;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #c6d1e2;
  font-size: 14px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-meta {
  min-width: 0;
}
.footer-contact {
  display: grid;
  gap: 16px;
  margin: 0;
  font-style: normal;
}

.footer-contact div {
  display: grid;
  gap: 5px;
}

.footer-contact span {
  color: #6f7f98;
  font-size: 12px;
}

.footer-contact a,
.footer-contact strong {
  color: #dce5f3;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.footer-contact a {
  width: fit-content;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--blue);
}
.footer-contact a:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 0;
  color: #6f7d92;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.035em;
}

.footer-bottom::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  background: rgba(126, 151, 193, 0.14);
  transform: translateX(-50%);
  content: "";
}

.footer-bottom strong {
  color: #aab8cc;
  font-weight: 600;
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer-legal button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(143, 162, 192, 0.55);
  color: #aab8cc;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.footer-legal button:hover {
  border-color: var(--blue);
  color: #fff;
}

.footer-legal button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

html.terms-open {
  overflow: hidden;
}

.terms-dialog {
  width: min(860px, calc(100% - 40px));
  max-width: none;
  max-height: min(86dvh, 900px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 151, 193, 0.28);
  border-radius: 24px;
  color: var(--ink);
  background: #0d1625;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.65);
}

.terms-dialog[open] {
  animation: terms-dialog-in 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.terms-dialog::backdrop {
  background: rgba(2, 7, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.terms-dialog-shell {
  display: flex;
  flex-direction: column;
  max-height: min(86dvh, 900px);
}

.terms-dialog-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(126, 151, 193, 0.18);
  background: rgba(13, 22, 37, 0.96);
}

.terms-dialog-header h2 {
  margin: 0;
  color: #f4f7fc;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.terms-dialog-close {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(126, 151, 193, 0.28);
  border-radius: 50%;
  color: #dbe5f5;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.terms-dialog-close span {
  margin: 0;
  color: inherit;
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

.terms-dialog-close:hover {
  border-color: rgba(113, 156, 255, 0.72);
  color: #fff;
  background: rgba(76, 127, 240, 0.14);
  transform: rotate(4deg);
}

.terms-dialog-close:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.terms-dialog-content {
  padding: 28px 32px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(113, 156, 255, 0.55) transparent;
}

.terms-dialog-content section {
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid rgba(126, 151, 193, 0.14);
}

.terms-dialog-content h3 {
  margin: 0 0 12px;
  color: #eef4ff;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.terms-dialog-content p,
.terms-dialog-content li {
  color: #b5c2d5;
  font-size: 14px;
  line-height: 1.85;
}

.terms-dialog-content p {
  margin: 0 0 12px;
}
.terms-dialog-content strong {
  color: #dfe7f4;
  font-weight: 600;
}
.terms-dialog-content ol,
.terms-dialog-content ul {
  margin: 8px 0 16px;
  padding-left: 1.6em;
}
.terms-dialog-content li + li {
  margin-top: 6px;
}
.terms-dialog-content a {
  color: #8bb0ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.terms-dialog-content a:hover {
  color: #fff;
}

.terms-intro {
  padding: 18px 20px;
  border: 1px solid rgba(76, 127, 240, 0.24);
  border-radius: 14px;
  background: rgba(76, 127, 240, 0.07);
  color: #d6e0ef !important;
}

@keyframes terms-dialog-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 640px) {
  .footer-bottom,
.footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    gap: 12px;
  }
  .footer-legal {
    gap: 8px;
  }

  .terms-dialog {
    width: calc(100% - 24px);
    max-height: 90dvh;
    border-radius: 20px;
  }

  .terms-dialog-shell {
    max-height: 90dvh;
  }
  .terms-dialog-header {
    padding: 20px 18px 16px;
  }
  .terms-dialog-content {
    padding: 22px 20px 32px;
  }
  .terms-dialog-content section {
    padding-top: 22px;
    margin-top: 22px;
  }
  .terms-intro {
    padding: 16px;
  }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  letter-spacing: 0.008em;
}

.consult-fab {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(150, 183, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: #1a79ff;
  box-shadow:
    0 12px 32px rgba(20, 61, 151, 0.34),
    0 0 0 5px rgba(76, 127, 240, 0.08);
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.consult-fab svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.consult-fab:hover {
  transform: translateY(-3px);
  background: #5a88f2;
  box-shadow:
    0 16px 38px rgba(20, 61, 151, 0.4),
    0 0 0 6px rgba(76, 127, 240, 0.1);
}

.consult-fab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

p {
  line-height: 1.78;
  letter-spacing: 0.012em;
}

.section-heading-row > p,
.capability-card p,
.trust-card p,
.trust-list p,
.faq-answer {
  letter-spacing: 0.012em;
}
.trust-list strong,
.faq-item button,
.hero-positioning {
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 10px;
  min-width: 0;
}
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.045em;
  width: min(100%, 720px);
}
.hero-accent {
  color: var(--blue);
}
.dynamic-rotater {
  position: relative;
  display: inline-flex;
  vertical-align: bottom;
  overflow: hidden;
}
.dynamic-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 75%, 0);
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.42s ease;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
}
.dynamic-word.is-active {
  position: relative;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.dynamic-word.is-exiting {
  position: absolute;
  opacity: 0;
  transform: translate3d(0, -75%, 0);
}
.hero-description {
  max-width: 570px;
  margin: 31px 0 0;
  color: var(--muted-bright);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.03em;
}
.manifesto h2,
.how-it-works h2,
.section-heading-row h2,
.trust-card h2,
.trial-cta h2 {
  margin: 0;
  font-weight: 500;
}

.mobile-login {
  display: none;
}
.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 88px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f3f3f0;
  color: #151515;
  font-size: 13.5px;
  font-weight: 600;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.2s ease;
  white-space: nowrap;
}

.manifesto,
.how-it-works {
  padding: 48px 56px 56px;
  margin-top: 112px;
  border: 1px solid rgba(112, 145, 205, 0.25);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(76, 127, 240, 0.2),
      transparent 30%
    ),
    linear-gradient(145deg, rgba(20, 33, 56, 0.98), rgba(9, 16, 28, 0.98));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.05),
    0 32px 90px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}
.manifesto::before,
.how-it-works::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(126, 151, 193, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 151, 193, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
}
.manifesto > *,
.how-it-works > * {
  position: relative;
  z-index: 1;
}
.manifesto-message h2 {
  max-width: 620px;
}
.manifesto-copy {
  max-width: 560px;
  padding-top: 0;
  color: #bdc8da;
  letter-spacing: -0.01em;
  margin-top: 28px;
  padding: 0;
}
.manifesto-copy p {
  margin: 0 0 24px;
  margin-bottom: 16px;
}
.automation-loop-column {
  display: flex;
  flex-direction: column;
}
.manifesto-cta-wrap {
  display: none;
  margin-top: 28px;
}
.manifesto-cta {
  display: inline-flex;
}

/* 自動化流程 */
.automation-loop {
  position: relative;
  display: grid;
  gap: 0;
  padding: 8px 0;
}

.automation-loop::before {
  position: absolute;
  top: 34px;
  right: 3px;
  bottom: 34px;
  width: 1px;
  content: "";
  background: rgba(76, 127, 240, 0.26);
}

.automation-loop article {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 8px;
  gap: 20px;
  align-items: start;
  min-height: 124px;
  padding: 22px 0;
}

.loop-index {
  display: flex;
  align-items: center;
  min-height: 27px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(76, 127, 240, 0.25);
}

.automation-loop article > div {
  min-width: 0;
}
.automation-loop strong {
  display: block;
  color: #f2f6fd;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.005em;
}
.automation-loop article p {
  max-width: 390px;
  margin: 8px 0 0;
  color: #9ba9bd;
  font-size: 14px;
  line-height: 1.75;
}
.automation-loop article i {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 0 0 5px rgba(76, 127, 240, 0.08),
    0 0 18px rgba(76, 127, 240, 0.58);
}

.automation-loop .loop-step-motion {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.56s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.56s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--loop-delay, 0ms);
}

.automation-loop.is-visible .loop-step-motion {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.automation-loop .loop-step-motion .loop-index,
.automation-loop .loop-step-motion strong,
.automation-loop .loop-step-motion i {
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 0.42s ease,
    box-shadow 0.42s ease;
  transition-delay: calc(var(--loop-delay, 0ms) + 70ms);
}

.automation-loop:not(.is-visible) .loop-step-motion .loop-index {
  opacity: 0.28;
  transform: scale(0.88);
  text-shadow: none;
}
.automation-loop:not(.is-visible) .loop-step-motion strong {
  opacity: 0;
  transform: translate3d(-10px, 0, 0);
}
.automation-loop:not(.is-visible) .loop-step-motion i {
  opacity: 0;
  transform: scale(0);
  box-shadow: none;
}

.database {
  padding: 132px 0 96px;
  border-bottom: 0;
}

.cases {
  border-top: 0;
}

.database-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 80px;
  align-items: end;
}

.cases-heading {
  display: grid;
}

.database-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
}

.cases-heading h2 {
  font-family: var(--font-display);
  font-weight: 600;
}

.database-heading > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: #aebbd0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  overflow: visible;
  border: 1px solid rgba(126, 151, 193, 0.2);
  border-radius: 16px;
  background: rgba(18, 19, 23, 0.9);
}

.metrics-grid article {
  position: relative;
  min-width: 0;
  min-height: 144px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  border-right: 1px solid rgba(126, 151, 193, 0.16);
  background: transparent;
  text-align: center;
}

.metrics-grid article:last-child {
  border-right: 0;
}

.metric-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #1a79ff;
  font-family: var(--font-display);
  font-size: clamp(46px, 4.15vw, 60px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(76, 127, 240, 0.16);
}

.metric-value span {
  margin-left: 0;
  color: #7fa5fa;
  font-family: var(--font-display);
  font-size: 0.29em;
  font-weight: 500;
  letter-spacing: 0;
}

.metrics-grid p {
  margin: 0;
  color: #9ca0ab;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.database-source {
  margin: 16px 0 0;
  color: #71809a;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

/* Hero 操作按鈕 */
.hero-cta-block {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 36px;
}
.hero-cta-row {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
}
.hero-cta-primary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 52px;
  min-height: 52px;
  min-width: 226px;
  padding: 0 22px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.hero-cta-primary svg,
.hero-cta-secondary svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-cta-secondary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 10px;
  height: 52px;
  min-height: 52px;
  min-width: 198px;
  padding: 0 22px;
  border: 1px solid rgba(150, 171, 207, 0.24);
  border-radius: 999px;
  color: #c0ccdd;
  background: rgba(16, 23, 35, 0.54);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}
.hero-cta-secondary svg {
  color: #78a0fa;
}
.hero-cta-secondary:hover {
  color: #fff;
  border-color: rgba(118, 160, 255, 0.5);
  background: rgba(30, 48, 78, 0.62);
}
.hero-cta-secondary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.manifesto-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 76px;
  margin-top: 0;
  align-items: center;
}
.section-heading-row h2 {
  margin-top: 0;
}
.manifesto-message h2 span {
  color: var(--blue);
}

/* 系統能力 */
.proof-rail {
  display: block;
  overflow: hidden;
  padding: 22px 0;
  border-color: var(--line);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}
.proof-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: proof-marquee 36s linear infinite;
}
.proof-group {
  display: flex;
  flex: 0 0 auto;
  gap: 44px;
  padding-right: 44px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c0ccdd;
  font-family: var(--font-body);
  font-size: 14px;
  justify-content: center;
  width: auto;
  padding: 0;
  font-weight: 500;
  white-space: nowrap;
}
.proof-icon {
  color: #8fa2c0;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.proof-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.proof-item:hover .proof-icon {
  color: var(--ink);
  transform: scale(1.1);
}
.proof-rail:hover .proof-track {
  animation-play-state: paused;
}

@keyframes proof-marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* 核心優勢 */
.capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 58px;
}
.capability-card {
  min-height: 430px;
  display: grid;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 151, 193, 0.2);
  border-radius: 18px;
  background: #111a2a;
  position: relative;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(126, 151, 193, 0.16);
  --cap-accent: var(--blue);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
}
.capability-card.violet {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(139, 114, 255, 0.12),
      transparent 42%
    ),
    linear-gradient(145deg, #142034, #0c1320);
  --cap-accent: var(--violet);
}
.capability-card.blue {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(76, 127, 240, 0.13),
      transparent 42%
    ),
    linear-gradient(145deg, #142034, #0c1320);
  --cap-accent: var(--blue);
}
.capability-card.orange {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 138, 86, 0.1), transparent 42%),
    linear-gradient(145deg, #142034, #0c1320);
  --cap-accent: var(--orange);
}
.capability-card.pink {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(223, 104, 222, 0.1),
      transparent 42%
    ),
    linear-gradient(145deg, #142034, #0c1320);
  --cap-accent: var(--pink);
}
.capability-card:nth-child(even) {
  background: #0e1726;
}
.capability-top,
.capability-card > div:not(.capability-visual) {
  grid-column: 1;
  position: relative;
  z-index: 2;
}
.capability-top {
  display: flex;
  justify-content: space-between;
  color: var(--cap-accent);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: start;
  padding: 30px 34px 0;
}
.capability-card > div:not(.capability-visual) {
  align-self: end;
  padding: 26px 34px 34px;
}
.capability-card h3 {
  max-width: 390px;
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.055em;
}
.capability-card p {
  max-width: 390px;
  margin: 0;
  color: #aebbd0;
  font-size: 15px;
  line-height: 1.7;
}
.capability-visual {
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 2vw, 22px);
  opacity: 1;
  position: relative;
  grid-column: 2;
  grid-row: 1 / -1;
  justify-content: center;
  min-height: 430px;
  margin: 0;
  padding: 70px 13% 58px;
  overflow: hidden;
  border-left: 0;
  background-color: transparent;
  isolation: isolate;
}
.capability-card:nth-child(even) .capability-top,
.capability-card:nth-child(even) > div:not(.capability-visual) {
  grid-column: 2;
}
.capability-card:nth-child(even) .capability-visual {
  grid-column: 1;
  border-right: 0;
  border-left: 0;
}
.capability-card:hover {
  border-color: color-mix(in srgb, var(--cap-accent) 52%, var(--line));
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

html,
body {
  overflow-x: hidden;
}

/* 功能特色 */
.capabilities {
  padding: 96px 0 112px;
  border-top: 0;
  position: relative;
  isolation: isolate;
  border-bottom: 0;
}

.capabilities::before {
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  content: "";
  transform: translateX(-50%);
  background: #0b111d;
}

.capabilities .section-heading-row {
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.faq .section-heading-row {
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.capabilities .section-heading-row > div,
.capabilities .section-heading-row > p {
  text-align: center;
}

.faq .section-heading-row > div,
.faq .section-heading-row > p {
  text-align: center;
}

.capabilities .section-heading-row h2,
.capabilities .section-heading-row > p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.faq .section-heading-row h2,
.faq .section-heading-row > p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.capabilities .section-heading-row h2 {
  margin-top: 0;
}

.capabilities .section-heading-row > p {
  margin-bottom: 0;
}

.capabilities .capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 54px;
}

.capabilities .capability-card,
.capabilities .capability-card:nth-child(even) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto;
  column-gap: 64px;
  align-items: stretch;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.capabilities .capability-card .capability-top {
  display: none;
}

.capabilities .capability-card > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: stretch;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 54px 64px;
  background: transparent;
}

.capabilities .capability-card:nth-child(even) > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  grid-row: 1 / -1;
  align-self: stretch;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 54px 64px;
  background: transparent;
  grid-column: 2;
}

.capabilities .capability-card h3 {
  max-width: 430px;
  margin-bottom: 16px;
  letter-spacing: -0.055em;
}

.capabilities .capability-card p {
  max-width: 430px;
  font-size: 16px;
  line-height: 1.8;
}

.capabilities .capability-points li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--blue);
}

.capabilities .capability-points li {
  position: relative;
  padding-left: 18px;
}

.capabilities .capability-card > div:nth-child(2)::after {
  display: none;
  content: none;
}

.capabilities .capability-card > .capability-visual,
.capabilities .capability-card:nth-child(even) > .capability-visual {
  display: flex;
  grid-row: 1;
  align-self: start;
  justify-content: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: 870 / 574;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.capabilities .capability-card > .capability-visual {
  grid-column: 2;
}

.capabilities .capability-card:nth-child(even) > .capability-visual {
  grid-column: 1;
}

.capability-feature-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 870 / 574;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

#why-autoturn {
  margin-bottom: var(--section-transition-gap);
}

#how-it-works {
  margin-bottom: 0;
}

.trust-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 151, 193, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(76, 127, 240, 0.15),
      transparent 36%
    ),
    linear-gradient(145deg, #111d31, #0a111e 70%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  margin-bottom: 72px;
}

.faq {
  padding: 72px 0 96px;
}

/* 文字設定 */
:root {
  --canvas: #080b12;
  --ink: #f5f7fb;
  --muted: #8d9ab0;
  --muted-bright: #bdc8da;
  --line: #26344d;
  --blue: #1a79ff;
  --violet: #8b72ff;
  --orange: #ff8a56;
  --pink: #df68de;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Monaco, "DM Mono", monospace;
  --font-display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang TC",
    "Helvetica Neue", "Noto Sans TC", "Microsoft JhengHei", "Instrument Sans",
    sans-serif;
  --font-body:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC",
    "Helvetica Neue", "Noto Sans TC", "Microsoft JhengHei", "Instrument Sans",
    sans-serif;
  --type-section-title: clamp(36px, 3.35vw, 48px);
  --type-card-title: clamp(24px, 2vw, 28px);
  --type-lead: 16px;
  --type-body: 16px;
  --type-list: 15px;
  --section-transition-gap: 96px;
}

/* 區塊標題 */
.manifesto h2,
.how-it-works h2,
.section-heading-row h2,
.database-heading h2,
.trust-card h2,
.trial-cta h2 {
  font-size: var(--type-section-title);
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.trust-card h2 span {
  color: var(--blue);
}

/* 區塊副標與說明 */
.section-heading-row > p,
.database-heading > p,
.faq-heading > p {
  font-size: var(--type-lead);
  line-height: 1.8;
}

/* 區塊內文 */
.manifesto-copy,
.trust-card p,
.trust-list p,
.faq-answer,
.trial-cta p {
  font-size: var(--type-body);
  line-height: 1.8;
}

/* 卡片標題與清單 */
.capabilities .capability-card h3,
.trust-list strong {
  font-size: var(--type-card-title);
  line-height: 1.3;
}

.capabilities .capability-points {
  max-width: 430px;
  margin-top: 22px;
  padding-left: 0;
  list-style: none;
  color: #9ba9bd;
  font-size: var(--type-list);
  line-height: 1.9;
}

/* 響應式 */
@media (max-width: 1100px) {
  :root {
    --section-transition-gap: 96px;
  }

  .hero-product {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    padding-left: 0;
  }

  .manifesto-copy,
.section-heading-row > p {
    max-width: 560px;
  }

  .manifesto-content {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .manifesto,
.how-it-works {
    padding: 120px 44px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .eyebrow {
    justify-content: center;
  }
  .hero h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
  }
  .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-positioning {
    text-align: center;
  }

  .database-heading,
.cases-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics-grid article:nth-child(2) {
    border-right: 0;
  }
  .metrics-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(126, 151, 193, 0.16);
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .manifesto-content {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
  }
  .manifesto-message h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.25;
  }
  .manifesto-copy {
    font-size: 15px;
    margin-top: 18px;
  }
  .automation-loop {
    width: 100%;
    max-width: 100%;
  }
  .automation-loop article {
    min-height: 110px;
    padding: 16px 0;
  }

  .database-heading h2,
.cases-heading h2,
.database-heading > p,
.cases-heading > p {
    max-width: 760px;
  }
}
@media (max-width: 980px) {
  :root {
    --section-transition-gap: 96px;
  }
}
@media (max-width: 900px) {
  .section-shell {
    width: min(100% - 32px, 540px);
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }
  .hero {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: auto;
    margin-top: -72px;
    padding-top: 147px;
    padding-bottom: 78px;
  }
  .hero-copy,
.hero-product {
    width: min(100% - 32px, 540px);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-description {
    margin-top: 25px;
    font-size: 16px;
  }
  .hero-product {
    margin-top: 24px;
  }
  .proof-group {
    gap: 28px;
    padding-right: 28px;
  }
  .proof-item {
    font-size: 13px;
  }
  .manifesto,
.how-it-works {
    padding: 100px 40px 112px;
  }
  .manifesto h2,
.how-it-works h2,
.section-heading-row h2,
.trust-card h2 {
    font-size: 44px;
  }
  .capabilities {
    padding-bottom: 110px;
  }
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .capability-card {
    min-height: 290px;
  }
  .trust-card,
.trust-list {
    padding: 26px;
  }
  .trust-card h2 {
    margin-top: 43px;
  }
  .trial-cta {
    min-height: 390px;
    padding: 50px 18px;
  }
  .trial-cta h2 {
    font-size: 42px;
  }
  .trial-cta p {
    font-size: 15px;
  }
  .faq-list {
    margin-top: 48px;
  }
  .faq-item button {
    padding: 20px 0;
    font-size: 16px;
  }
  .faq-answer {
    padding-right: 20px;
    font-size: 14px;
  }

  .capabilities .capability-card,
.capabilities .capability-card:nth-child(even) {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .capabilities .capability-card > div:nth-child(2),
.capabilities .capability-card:nth-child(even) > div:nth-child(2) {
    order: 3;
    width: 100%;
    padding: 36px 28px;
  }

  .capabilities .capability-card > .capability-top {
    order: 2;
  }

  .capabilities .capability-card > .capability-visual,
.capabilities .capability-card:nth-child(even) > .capability-visual {
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 870 / 574;
  }
}
@media (max-width: 760px) {
  :root {
    --section-transition-gap: 48px;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 64px;
    overflow: hidden;
  }

  .hero-product {
    width: min(100% - 48px, 500px);
    margin: 18px auto 0;
    padding: 0;
    aspect-ratio: 1576 / 992;
    order: -1;
    transform: none;
    transition: none;
  }

  .hero-copy {
    order: 1;
  }

  body::before {
    position: fixed;
    inset: 0;
    z-index: 40;
    content: "";
    background: rgba(5, 9, 18, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease;
  }

  html.menu-open body::before {
    opacity: 1;
    visibility: visible;
  }

  .site-header {
    height: 72px;
  }

  .nav-inner {
    display: flex;
    position: relative;
    width: calc(100% - 40px);
    height: 72px;
    padding: 0;
  }

  .site-header.is-scrolled .nav-inner {
    width: calc(100% - 40px);
    height: 56px;
    margin-top: 8px;
    padding: 0 12px;
    border-radius: 999px;
  }

  .autoturn-logo {
    width: 104px;
  }
  .nav-contact {
    display: none;
  }

  .nav-actions {
    position: absolute;
    top: 50%;
    right: 52px;
    order: 2;
    margin: 0;
    transform: translateY(-50%);
  }

  .primary-nav {
    background: rgba(9, 16, 28, 0.92);
    position: absolute;
    top: calc(100% + 8px);
    right: auto;
    left: 50%;
    width: calc(100vw - 24px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 14px 14px;
    border: 1px solid rgba(104, 137, 195, 0.28);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -10px) scale(0.98);
    transform-origin: top center;
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }
  .primary-nav a:not(.button) {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid rgba(126, 151, 193, 0.16);
    border-radius: 10px;
    font-size: 16px;
    transition:
      color 0.2s ease,
      background-color 0.2s ease;
  }

  .primary-nav a:not(.button):hover,
.primary-nav a:not(.button).is-active {
    color: #fff;
    background: rgba(76, 127, 240, 0.1);
  }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    top: 50%;
    right: 0;
    order: 3;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(20, 33, 55, 0.46);
    transform: translateY(-50%);
  }

  .menu-lines i {
    transition: transform 0.25s ease;
  }
  .menu-toggle[aria-expanded="true"] .menu-lines i:first-child {
    transform: translateY(2.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-lines i:last-child {
    transform: translateY(-2.5px) rotate(-45deg);
  }

  html.menu-open {
    overflow: hidden;
  }

  html.menu-open .consult-fab {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.9);
  }

  main {
    padding-top: 72px;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-list {
    margin-top: 48px;
  }
  .faq-item button {
    min-height: 70px;
    font-size: 17px;
  }
  .faq-answer {
    padding-right: 24px;
    font-size: 15px;
  }
  .faq-video {
    margin-top: 18px;
    border-radius: 16px;
  }

  .trust-card,
.trust-list {
    border-radius: 0;
  }

  .trust-card {
    padding: 36px 26px 40px;
  }
  .trust-card h2 {
    margin-top: 0;
  }
  .trust-card p {
    margin: 22px 0 26px;
    font-size: 15px;
  }
  .trust-list {
    padding: 8px 26px 16px;
    border-top: 1px solid rgba(126, 151, 193, 0.18);
    border-left: 0;
  }
  .trust-list div {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 112px;
    padding: 20px 0;
  }
  .trial-cta {
    min-height: 390px;
    padding: 64px 22px;
    border-radius: 22px;
    margin-bottom: 72px;
  }
  .trial-actions {
    width: 100%;
    max-width: 320px;
    flex-direction: column;
  }
  .trial-actions .button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 64px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-inner {
    width: min(100% - 40px, 560px);
    padding: 40px 0 20px;
  }

  .consult-fab {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
    padding: 0;
  }

  .manifesto-cta-wrap {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .manifesto-cta {
    width: auto;
    max-width: 100%;
    padding: 0 28px;
    justify-content: center;
  }

  .manifesto h2,
.how-it-works h2,
.section-heading-row h2,
.trust-card h2,
.trial-cta h2 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.32;
    letter-spacing: -0.006em;
  }
  .hero-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }
  .eyebrow {
    justify-content: center;
  }

  .hero-positioning {
    text-align: center;
  }
  .hero-cta-block,
.hero-cta-row {
    width: 100%;
    justify-content: center;
  }
  .hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -0.012em;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }
  .primary-nav a.mobile-login {
    justify-content: center;
    margin-top: 10px;
    border: 0;
    border-radius: 999px;
    background: #f3f3f0;
    color: #101522;
    font-weight: 600;
    display: flex;
    align-items: center;
    min-height: 46px;
  }
  .manifesto,
.how-it-works {
    margin-top: 24px;
    padding: 24px 20px 28px;
    border-radius: 22px;
  }

  #why-autoturn {
    margin-bottom: 24px;
  }
  .capabilities {
    padding: 40px 0 28px;
  }
  .capabilities .capability-grid {
    margin-top: 32px;
    gap: 12px;
  }

  .global-pointer-glow {
    animation: none !important;
  }

  .proof-track {
    animation: none;
    transform: none;
  }

  .site-header.is-scrolled .nav-inner,
.primary-nav,
.lang-dropdown {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .manifesto-copy {
    font-size: 16px;
    margin-top: 22px;
  }

  .database,
.cases {
    padding: 64px 0;
  }

  .database-heading h2,
.cases-heading h2 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.32;
  }

  .metrics-grid {
    margin-top: 46px;
  }
  .metrics-grid article {
    min-height: 144px;
    padding: 24px 18px;
  }

  .metric-value {
    font-size: clamp(40px, 11vw, 52px);
  }
  .metrics-grid p {
    font-size: 14px;
  }

  .case-stories {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 44px;
  }

  .capability-grid {
    gap: 14px;
    margin-top: 42px;
  }
  .capability-card {
    min-height: 0;
    padding: 26px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
  }
  .capability-top,
.capability-card > div:not(.capability-visual),
.capability-card:nth-child(even) .capability-top,
.capability-card:nth-child(even) > div:not(.capability-visual) {
    order: 3;
    width: 100%;
    grid-column: auto;
  }
  .capability-top {
    padding: 24px 24px 0;
  }
  .capability-card > div:not(.capability-visual) {
    padding: 20px 24px 26px;
  }
  .capability-card h3 {
    font-size: 30px;
  }
  .capability-visual,
.capability-card:nth-child(even) .capability-visual {
    order: 1;
    min-height: 250px;
    width: 100%;
    padding: 46px 24% 34px;
    border-top: 0;
    border-right: 0;
    border-left: 0;
  }

  .trust-section {
    grid-template-columns: 1fr;
    border-radius: 24px;
    margin-bottom: 56px;
  }

  .faq {
    padding: 64px 0 80px;
  }

  .manifesto-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 34px;
  }

  :root {
    --type-section-title: 34px;
    --type-card-title: 22px;
    --type-lead: 16px;
    --type-body: 16px;
    --type-list: 15px;
  }
}
@media (max-width: 639px) {
  .capabilities .capability-card h3 {
    font-size: 22px;
  }

  .capabilities .capability-card p {
    font-size: 15px;
  }
}
@media (max-width: 560px) {
  .automation-loop article {
    grid-template-columns: 42px minmax(0, 1fr) 7px;
    gap: 14px;
    min-height: 116px;
    padding: 18px 0;
  }
  .loop-index {
    min-height: 22px;
    font-size: 22px;
  }
  .automation-loop strong {
    font-size: 16px;
  }
  .automation-loop article p {
    font-size: 13px;
  }

  .hero-cta-block,
.hero-cta-row {
    width: 100%;
  }
  .hero-cta-block {
    margin-top: 30px;
  }
  .hero-cta-row {
    flex-direction: column;
  }
  .hero-cta-primary,
.hero-cta-secondary {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 430px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid article,
.metrics-grid article:nth-child(2) {
    min-height: 136px;
    border-right: 0;
    border-bottom: 1px solid rgba(126, 151, 193, 0.16);
  }

  .metrics-grid article:last-child {
    border-bottom: 0;
  }
}
@media (pointer: coarse) {
  .global-pointer-glow {
    display: none;
  }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .proof-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
*::before,
*::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }

  .reveal,
.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .global-pointer-glow {
    display: none;
  }
  html.js .hero .eyebrow,
html.js .hero h1,
html.js .hero-description,
html.js .hero-cta-row,
html.js .hero-product,
html.js .proof-rail {
    opacity: 1;
    animation: none;
  }
  .automation-loop .loop-step-motion,
.automation-loop:not(.is-visible) .loop-step-motion .loop-index,
.automation-loop:not(.is-visible) .loop-step-motion strong,
.automation-loop:not(.is-visible) .loop-step-motion i {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-inner {
    transition: none;
  }

  .consult-fab {
    transition: none;
  }
  .consult-fab:hover {
    transform: none;
  }

  .faq-answer,
.faq-answer > p,
.faq-answer > .faq-answer-inner {
    transition: none;
  }

  .proof-rail {
    mask-image: none;
  }
  .proof-track {
    width: 100%;
    animation: none;
  }
  .proof-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }
  .proof-group[aria-hidden="true"] {
    display: none;
  }
  .proof-item {
    width: auto;
    padding: 0 12px;
    white-space: normal;
  }

  .capability-card:hover {
    transform: none;
  }
}

/* 客戶案例 */
.cases {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 112px max(32px, calc((100% - 1280px) / 2)) 120px;
  overflow: hidden;
  color: var(--ink);
  background: var(--canvas);
}

.cases-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.cases-heading {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 80px;
  align-items: end;
}
.cases-heading h2 {
  margin: 22px 0 0;
  color: #f3f6fb;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.cases-heading > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: #aebbd0;
  font-size: 16px;
  line-height: 1.8;
}
.cases-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 34px 0 20px;
}
.cases-controls {
  display: flex;
  gap: 10px;
}
.cases-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(126, 151, 193, 0.28);
  border-radius: 50%;
  color: #dbe5f5;
  background: #141f31;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}
.cases-arrow:hover:not(:disabled) {
  border-color: var(--blue);
  color: #ffffff;
  background: #1a79ff;
}
.cases-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.cases-arrow:disabled {
  cursor: default;
  opacity: 0.35;
}
.cases-arrow:focus-visible {
  outline: 2px solid #1769e0;
  outline-offset: 3px;
}
.case-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  margin-right: -1px;
  padding: 0 0 14px;
  cursor: grab;
  scrollbar-width: none;
  scroll-behavior: smooth;
  touch-action: pan-y;
  user-select: none;
}
.case-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.case-viewport::-webkit-scrollbar {
  display: none;
}
.case-stories {
  display: flex;
  gap: 24px;
  width: max-content;
  margin: 0;
  padding: 0;
}
.case-card {
  display: flex;
  flex: 0 0 clamp(300px, 29vw, 372px);
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(126, 151, 193, 0.2);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(20, 31, 52, 0.94),
    rgba(10, 17, 29, 0.98)
  );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    0 16px 34px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.05),
    0 20px 42px rgba(0, 0, 0, 0.3);
}
.case-card-media {
  aspect-ratio: 4 / 3;
  margin: 12px 12px 0;
  overflow: hidden;
  border-radius: 16px;
  background: #101a2b;
  clip-path: inset(0 round 16px);
}
.case-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  clip-path: inset(0 round 16px);
  transform: scale(1.08);
  transition: transform 0.45s ease;
}
.case-card:hover .case-card-media img {
  transform: scale(1.1);
}
.case-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
  color: #aebbd0;
  background: transparent;
  font-weight: 400;
}
.case-card-index {
  display: none;
  color: #1769e0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.case-card h3 {
  margin: 0;
  color: #f3f6fb;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.case-card p {
  margin: 12px 0 0;
  color: #aebbd0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.72;
}
.cases-progress {
  width: 100%;
  height: 2px;
  margin-top: 24px;
  background: rgba(126, 151, 193, 0.2);
}
.cases-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: #1769e0;
  transition: width 0.2s ease;
}
.cases-note {
  max-width: 920px;
  margin: 20px 0 0;
  color: #71809a;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .cases {
    padding: 80px 20px 88px;
  }
  .cases-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cases-heading > p {
    max-width: 600px;
  }
  .cases-toolbar {
    margin-top: 30px;
  }
  .case-card {
    flex-basis: min(78vw, 360px);
  }
}

@media (max-width: 560px) {
  .cases {
    padding-top: 68px;
  }
  .cases-heading h2 {
    font-size: clamp(32px, 10vw, 40px);
  }
  .cases-heading > p {
    font-size: 15px;
    line-height: 1.7;
  }
  .cases-toolbar {
    justify-content: flex-start;
    margin: 26px 0 16px;
  }
  .case-stories {
    gap: 14px;
  }
  .case-card {
    flex-basis: calc(100vw - 64px);
    border-radius: 15px;
  }
  .case-card-body {
    padding: 20px 20px 22px;
  }
  .case-card h3 {
    font-size: 21px;
  }
  .case-card p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-card,
.case-card-media img,
.cases-arrow {
    transition: none;
  }
  .case-viewport {
    scroll-behavior: auto;
  }
}

@media (max-width: 900px) {
  /* 手機導覽列 */
  .nav-inner {
    border: 0;
    background: rgba(9, 16, 28, 0.74);
    box-shadow: none;
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
  }

  .site-header.is-scrolled .nav-inner {
    border: 1px solid rgba(126, 151, 193, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
  }

  .lang-btn {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
  }

  .lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .lang-btn .lang-globe,
  .lang-btn:hover .lang-globe,
  .lang-btn .lang-chevron {
    color: #fff;
  }

  .menu-toggle {
    background: transparent;
  }

  .capabilities .capability-card > div:nth-child(2),
.capabilities .capability-card:nth-child(even) > div:nth-child(2) {
    min-height: 0;
  }

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

  .menu-lines {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
  }

  .menu-lines i {
    position: absolute;
    top: 4px;
    left: 0;
    width: 18px;
    height: 2px;
    transform-origin: center;
  }

  .menu-lines i:last-child {
    position: absolute;
    top: 12px;
    left: 0;
    width: 18px;
    height: 2px;
    transform-origin: center;
  }

  .menu-toggle[aria-expanded="true"] .menu-lines i:first-child,
.menu-toggle[aria-expanded="true"] .menu-lines i:last-child {
    top: 8px;
  }
  .menu-toggle[aria-expanded="true"] .menu-lines i:first-child {
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-lines i:last-child {
    transform: rotate(-45deg);
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .proof-track {
    width: max-content;
    animation: proof-marquee 36s linear infinite;
    transform: none;
  }
}

@media (max-width: 900px) {
  html[lang="en-US"] .hero h1 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.22;
  }

  html[lang="en-US"] .dynamic-rotater {
    display: flex;
    width: 100%;
    min-height: 2.44em;
    justify-content: center;
  }

  html[lang="en-US"] .dynamic-word {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
