:root {
  --bg: #f6efe7;
  --bg-alt: #fffaf5;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #fff6ee;
  --text: #1d1e22;
  --muted: #5d5f68;
  --line: rgba(29, 30, 34, 0.1);
  --accent: #f36f45;
  --accent-dark: #d95731;
  --accent-soft: #ffd7c9;
  --shadow: 0 24px 70px rgba(28, 25, 23, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(243, 111, 69, 0.22), transparent 26%),
    radial-gradient(circle at top right, rgba(27, 153, 139, 0.14), transparent 20%),
    linear-gradient(180deg, #fff7ef 0%, #f5eee6 48%, #fff9f3 100%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.site-header,
.hero,
.problem,
.benefits,
.gallery,
.scenes,
.feature-band,
.specs,
.video,
.faq,
.cta,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  backdrop-filter: blur(18px);
}

.brand,
.top-nav a,
.site-footer p,
.video-card a {
  text-decoration: none;
  color: inherit;
}

.brand {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.6rem;
  font-weight: 700;
}

.top-nav {
  display: flex;
  gap: 26px;
  font-size: 0.95rem;
}

.top-nav a {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(243, 111, 69, 0.28);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 20px 36px rgba(217, 87, 49, 0.32);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 42px 0 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.25rem;
}

.hero-text,
.problem-grid p,
.benefit-list p,
.scene-grid p,
.feature-band p,
.video-card p,
.faq p,
.cta p,
dd {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

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

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.trust-bar li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-xl);
}

.hero-card-backdrop {
  inset: 70px 24px 0 0;
  background: linear-gradient(180deg, #ffe3d6 0%, #fff9f4 100%);
  box-shadow: var(--shadow);
}

.hero-card-device {
  inset: 0 68px 80px 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.hero-card-device img {
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 38px rgba(29, 30, 34, 0.16));
}

.hero-card-floating {
  right: 0;
  bottom: 78px;
  padding: 22px 24px;
  background: rgba(29, 30, 34, 0.92);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-card-floating p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-card-floating strong {
  font-size: 1.4rem;
}

section {
  padding: 48px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.problem-grid article,
.scene-grid article,
.spec-card,
.video-card,
.faq-list details,
.cta,
.gallery-shell,
.feature-band,
.benefit-showcase {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.problem-grid article,
.scene-grid article,
.spec-card,
.video-card,
.faq-list details {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.benefit-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(29, 30, 34, 0.08);
}

.benefit-list span {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
}

.benefit-showcase {
  display: grid;
  place-items: center;
  border-radius: var(--radius-xl);
  padding: 28px;
}

.benefit-showcase img,
.feature-band-visual img,
.gallery-feature img {
  border-radius: 24px;
}

.gallery-shell {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.gallery-feature {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
}

.gallery-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.thumb.is-active,
.thumb:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-xl);
  align-items: center;
}

.spec-card dl {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.spec-card div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.spec-card dt {
  font-weight: 700;
}

.spec-card dd {
  margin: 0;
  text-align: right;
}

.video-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.video-card a {
  font-weight: 700;
  color: var(--accent-dark);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding-right: 24px;
  position: relative;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent-dark);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 16px 0 0;
}

.cta {
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  margin-bottom: 64px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 36px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

@media (max-width: 1080px) {
  .hero,
  .benefit-layout,
  .feature-band,
  .problem-grid,
  .scene-grid,
  .spec-grid,
  .cta,
  .site-footer,
  .video-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    gap: 24px;
  }

  .hero-visual {
    min-height: 520px;
    width: 100%;
  }

  .hero-card-backdrop {
    inset: 40px 14px 0 0;
  }

  .hero-card-device {
    inset: 0 40px 50px 0;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    padding: 20px 0 10px;
  }

  .top-nav {
    display: none;
  }

  .site-header,
  .hero,
  .problem,
  .benefits,
  .gallery,
  .scenes,
  .feature-band,
  .specs,
  .video,
  .faq,
  .cta,
  .site-footer {
    width: min(100vw - 28px, 1180px);
  }

  section {
    padding: 36px 0;
  }

  .hero {
    padding-top: 18px;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 3.8rem);
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-card-device {
    inset: 0 18px 36px 0;
    padding: 16px;
  }

  .hero-card-floating {
    right: 0;
    left: auto;
    bottom: 0;
    padding: 18px;
  }

  .problem-grid,
  .scene-grid,
  .spec-grid,
  .gallery-thumbs {
    grid-template-columns: 1fr;
  }

  .benefit-list article {
    grid-template-columns: 1fr;
  }

  .benefit-list span {
    width: 52px;
    height: 52px;
  }

  .gallery-feature img {
    aspect-ratio: 4 / 5;
  }

  .cta {
    padding: 26px;
    margin-bottom: 42px;
  }

  .site-footer {
    padding-bottom: 28px;
  }
}
