:root {
  --bg: #05070d;
  --panel: rgba(10, 16, 30, 0.78);
  --panel-strong: rgba(12, 20, 38, 0.94);
  --border: rgba(96, 124, 170, 0.26);
  --text: #f5f7fa;
  --muted: #93a2bb;
  --accent: #98465f;
  --accent-light: #d06a86;
  --accent-soft: rgba(152, 70, 95, 0.18);
  --cyan: #b86a82;
  --gold: #c28a75;
  --green: #98465f;
  --danger: #ff6b7a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 8%, rgba(152, 70, 95, 0.12), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(194, 138, 117, 0.08), transparent 30%),
    linear-gradient(180deg, #05070d 0%, #07101a 50%, #05070d 100%);
  color: var(--text);
  font-family: Inter, "Noto Sans TC", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.6;
}

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

button {
  font: inherit;
}

.ambient-field {
  background: radial-gradient(circle at 78% 28%, rgba(152, 70, 95, 0.08), transparent 32%),
    radial-gradient(circle at 86% 72%, rgba(194, 138, 117, 0.045), transparent 34%);
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

body::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='960' height='540' viewBox='0 0 960 540'%3E%3Cg fill='none' stroke='%236f8494' stroke-opacity='0.12' stroke-width='1'%3E%3Cpath d='M0 0 C18 140 -18 370 0 540'/%3E%3Cpath d='M80 0 C98 150 62 360 80 540'/%3E%3Cpath d='M160 0 C178 158 142 350 160 540'/%3E%3Cpath d='M240 0 C258 164 222 344 240 540'/%3E%3Cpath d='M320 0 C338 170 302 338 320 540'/%3E%3Cpath d='M400 0 C418 176 382 332 400 540'/%3E%3Cpath d='M480 0 C498 180 462 328 480 540'/%3E%3Cpath d='M560 0 C578 176 542 332 560 540'/%3E%3Cpath d='M640 0 C658 170 622 338 640 540'/%3E%3Cpath d='M720 0 C738 164 702 344 720 540'/%3E%3Cpath d='M800 0 C818 158 782 350 800 540'/%3E%3Cpath d='M880 0 C898 150 862 360 880 540'/%3E%3Cpath d='M960 0 C978 140 942 370 960 540'/%3E%3Cpath d='M0 0 C260 18 700 -18 960 0'/%3E%3Cpath d='M0 72 C260 90 700 54 960 72'/%3E%3Cpath d='M0 144 C260 162 700 126 960 144'/%3E%3Cpath d='M0 216 C260 234 700 198 960 216'/%3E%3Cpath d='M0 288 C260 306 700 270 960 288'/%3E%3Cpath d='M0 360 C260 378 700 342 960 360'/%3E%3Cpath d='M0 432 C260 450 700 414 960 432'/%3E%3Cpath d='M0 504 C260 522 700 486 960 504'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 960px 540px;
  content: "";
  inset: 0;
  opacity: 0.46;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 13, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  left: 0;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand-area,
.language-area {
  position: relative;
}

.brand {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  padding: 0;
}

.language-trigger {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(152, 70, 95, 0.36);
  border-radius: 8px;
  color: var(--cyan);
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  background: rgba(152, 70, 95, 0.18);
  border-color: rgba(208, 106, 134, 0.62);
}

.globe-icon {
  height: 24px;
  width: 24px;
}

.globe-icon circle,
.globe-icon ellipse,
.globe-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.brand-mark,
.card-icon {
  align-items: center;
  background: linear-gradient(135deg, #d06a86, #98465f);
  color: #06101b;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
}

.brand-mark {
  border-radius: 7px;
  height: 36px;
  width: 36px;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 32px);
  justify-content: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.language-menu {
  background: rgba(5, 7, 13, 0.94);
  border: 1px solid rgba(152, 70, 95, 0.36);
  border-radius: 8px;
  box-shadow: var(--shadow);
  right: 0;
  min-width: 148px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 12px);
  z-index: 20;
}

.language-menu[hidden] {
  display: none;
}

.lang-option {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: block;
  font-size: 14px;
  font-weight: 700;
  min-height: 36px;
  padding: 0 10px;
  text-align: left;
  width: 100%;
}

.lang-option:hover,
.lang-option.active {
  background: rgba(152, 70, 95, 0.2);
  color: #f0bac9;
}

.section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 96px clamp(18px, 4vw, 36px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(24px, 4vw, 64px);
  grid-template-columns: minmax(420px, 0.86fr) minmax(520px, 1.14fr);
  min-height: calc(100vh - 76px);
  max-width: 1360px;
  padding-top: 72px;
  position: relative;
}

.hero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='960' height='540' viewBox='0 0 960 540'%3E%3Cg fill='none' stroke='%2398465f' stroke-opacity='0.12' stroke-width='1'%3E%3Cpath d='M0 0 C18 140 -18 370 0 540'/%3E%3Cpath d='M80 0 C98 150 62 360 80 540'/%3E%3Cpath d='M160 0 C178 158 142 350 160 540'/%3E%3Cpath d='M240 0 C258 164 222 344 240 540'/%3E%3Cpath d='M320 0 C338 170 302 338 320 540'/%3E%3Cpath d='M400 0 C418 176 382 332 400 540'/%3E%3Cpath d='M480 0 C498 180 462 328 480 540'/%3E%3Cpath d='M560 0 C578 176 542 332 560 540'/%3E%3Cpath d='M640 0 C658 170 622 338 640 540'/%3E%3Cpath d='M720 0 C738 164 702 344 720 540'/%3E%3Cpath d='M800 0 C818 158 782 350 800 540'/%3E%3Cpath d='M880 0 C898 150 862 360 880 540'/%3E%3Cpath d='M960 0 C978 140 942 370 960 540'/%3E%3Cpath d='M0 0 C260 18 700 -18 960 0'/%3E%3Cpath d='M0 72 C260 90 700 54 960 72'/%3E%3Cpath d='M0 144 C260 162 700 126 960 144'/%3E%3Cpath d='M0 216 C260 234 700 198 960 216'/%3E%3Cpath d='M0 288 C260 306 700 270 960 288'/%3E%3Cpath d='M0 360 C260 378 700 342 960 360'/%3E%3Cpath d='M0 432 C260 450 700 414 960 432'/%3E%3Cpath d='M0 504 C260 522 700 486 960 504'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 960px 540px;
  content: "";
  inset: 0 calc(50% - 50vw);
  opacity: 0.48;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero::after {
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 13, 0.68) 64%, #05070d 100%);
  bottom: -1px;
  content: "";
  height: 180px;
  inset-inline: calc(50% - 50vw);
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-copy {
  position: relative;
  transform: translateX(clamp(-214px, -10.7vw, -96px));
  z-index: 2;
}

.eyebrow {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 72px;
  line-height: 0.96;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
}

.hero-lead {
  color: #e9eef6;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 400;
  line-height: 1.75;
  max-width: none;
  white-space: nowrap;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  max-width: 820px;
}

.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.primary-action {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #16070d;
  box-shadow: 0 14px 40px rgba(152, 70, 95, 0.28);
}

.secondary-action {
  border: 1px solid var(--border);
  color: var(--text);
}

.hero-visual {
  min-height: 620px;
  pointer-events: none;
  position: relative;
}

#hero-trunk {
  bottom: 0;
  height: auto;
  left: 50%;
  opacity: 0.82;
  overflow: hidden;
  position: absolute;
  right: auto;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 0;
}

#hero-trunk canvas {
  mix-blend-mode: lighten;
}

.section-heading {
  margin-bottom: 36px;
}

.cycle-section {
  padding-top: 72px;
}

.cycle-statement {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  max-width: none;
  overflow-x: auto;
  padding-bottom: 4px;
  white-space: nowrap;
}

.cycle-statement strong {
  color: #f0bac9;
  font-size: 20px;
  font-weight: 800;
  margin-right: 16px;
}

.cycle-table-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cycle-table th,
.cycle-table td {
  padding: 18px 20px;
  vertical-align: top;
}

.cycle-table tbody tr:hover {
  background: rgba(152, 70, 95, 0.08);
}

.cycle-table td:first-child {
  color: #f0bac9;
  font-weight: 800;
  white-space: nowrap;
}

.product-grid,
.edge-grid,
.risk-grid,
.video-grid,
.steps {
  display: grid;
  gap: 18px;
}

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

.product-bd-note {
  border-left: 2px solid rgba(208, 106, 134, 0.78);
  color: #f0bac9;
  font-size: 15px;
  font-weight: 700;
  margin: 18px 0 0;
  padding-left: 14px;
}

.product-card,
.edge-card,
.video-card,
.chart-shell {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-card,
.edge-card,
.video-card {
  padding: 28px;
}

.product-card {
  min-height: 300px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: rgba(208, 106, 134, 0.72);
  transform: translateY(-5px);
}

.card-icon {
  border-radius: 8px;
  height: 44px;
  margin-bottom: 54px;
  width: 44px;
}

.product-card::after {
  background: linear-gradient(135deg, rgba(208, 106, 134, 0.14), rgba(152, 70, 95, 0.12));
  content: "";
  height: 160px;
  position: absolute;
  right: -54px;
  top: -42px;
  transform: rotate(25deg);
  width: 160px;
}

.product-card p,
.edge-card p,
.risk-grid p,
.steps p,
.video-card p,
.risk-note {
  color: var(--muted);
}

.edge-section {
  max-width: none;
  position: relative;
}

.edge-section .section-heading,
.edge-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1220px;
}

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

.edge-card {
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.edge-card::before {
  background: linear-gradient(90deg, rgba(208, 106, 134, 0.84), rgba(152, 70, 95, 0.72));
  content: "";
  height: 2px;
  left: 28px;
  position: absolute;
  right: 28px;
  top: 0;
}

.edge-card::after {
  background: radial-gradient(circle, rgba(152, 70, 95, 0.18), transparent 68%);
  content: "";
  height: 220px;
  position: absolute;
  right: -86px;
  top: -86px;
  width: 220px;
}

.edge-card span {
  color: rgba(208, 106, 134, 0.28);
  display: block;
  font-size: 76px;
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 34px;
}

.chart-shell {
  padding: 22px;
}

.chart-shell {
  min-height: 500px;
}

#yield-chart {
  height: 360px;
  max-height: 360px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 10px;
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

td {
  color: #e8edf5;
  font-size: 14px;
}

.risk-note {
  border-left: 3px solid var(--gold);
  margin: 22px 0 0;
  padding-left: 12px;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.steps article {
  min-height: 240px;
}

.steps span {
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 46px;
}

.media-section {
  max-width: none;
}

.media-section .section-heading,
.media-section .video-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1220px;
}

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

.video-thumb {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(208, 106, 134, 0.18), rgba(152, 70, 95, 0.16)),
    linear-gradient(180deg, rgba(8, 17, 34, 0.96), rgba(4, 8, 16, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.video-thumb img,
.video-thumb iframe,
.video-thumb video {
  border: 0;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.video-thumb img {
  filter: saturate(0.94) contrast(1.05);
  transition: transform 0.24s ease, filter 0.24s ease;
}

.video-thumb::after {
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.02), rgba(5, 7, 13, 0.3));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.video-thumb span,
.video-play {
  align-items: center;
  background: rgba(152, 70, 95, 0.18);
  border: 1px solid rgba(208, 106, 134, 0.46);
  border-radius: 50%;
  color: #f0bac9;
  display: flex;
  height: 58px;
  justify-content: center;
  padding-left: 4px;
  width: 58px;
}

.video-play {
  backdrop-filter: blur(10px);
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.video-card.is-linked {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-card.is-linked .video-thumb {
  cursor: pointer;
}

.video-card.is-linked:hover {
  border-color: rgba(208, 106, 134, 0.68);
  transform: translateY(-4px);
}

.video-card.is-linked:hover .video-thumb img {
  filter: saturate(1.02) contrast(1.12);
  transform: scale(1.035);
}

.risk-grid {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  gap: 0;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.risk-grid article {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: auto;
  padding: 26px 30px;
}

.risk-grid article:last-child {
  border-bottom: 0;
}

.risk-grid article h3 {
  margin-bottom: 10px;
}

.risk-grid article h3,
.risk-grid article p {
  margin-bottom: 0;
}

.mainland-notice {
  background: rgba(255, 107, 122, 0.1);
  border: 1px solid rgba(255, 107, 122, 0.36);
  border-radius: 8px;
  margin-top: 18px;
  padding: 24px;
}

.mainland-notice strong {
  color: #ffd5da;
  display: block;
  margin-bottom: 10px;
}

.mainland-notice p {
  color: #f0b7bf;
  margin: 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 64px);
}

.footer-brand,
.footer-contact {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-contact a {
  color: #f0bac9;
  font-weight: 700;
}

.footer-contact a:hover {
  color: #ffd0dc;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    display: none;
  }

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

  .hero-copy {
    transform: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    margin: 0 auto;
    max-width: 620px;
    min-height: 460px;
    width: 100%;
  }

  #hero-trunk {
    bottom: 0;
    height: auto;
    left: 50%;
    right: auto;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;
  }

  .product-grid,
  .edge-grid,
  .steps,
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    min-height: 68px;
    padding: 12px 18px 10px;
  }

  .brand-area {
    grid-column: 1;
    grid-row: 1;
  }

  .language-area {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .brand span:last-child {
    display: inline;
    font-size: 15px;
  }

  .site-nav {
    display: flex;
    gap: 18px;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .site-nav::-webkit-scrollbar,
  .cycle-statement::-webkit-scrollbar,
  .cycle-table-wrap::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 13px;
    flex: 0 0 auto;
  }

  .language-menu {
    min-width: 136px;
  }

  .section {
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 70px;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 70px;
  }

  .hero {
    min-height: calc(100vh - 104px);
    padding-top: 34px;
    row-gap: 18px;
  }

  h1 {
    font-size: 46px;
    line-height: 0.98;
    margin-bottom: 16px;
  }

  h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  h3 {
    font-size: 19px;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.7;
    max-width: 100%;
    white-space: normal;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading p {
    font-size: 15px;
    max-width: 100%;
  }

  .cycle-statement {
    font-size: 14px;
    line-height: 1.75;
    overflow: visible;
    white-space: normal;
  }

  .cycle-statement strong {
    display: block;
    font-size: 17px;
    margin: 0 0 8px;
  }

  .product-grid,
  .edge-grid,
  .steps,
  .video-grid,
  .risk-grid {
    grid-template-columns: 1fr;
  }

  .cycle-table-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .cycle-table {
    display: block;
    min-width: 0;
  }

  .cycle-table thead {
    display: none;
  }

  .cycle-table tbody {
    display: grid;
    gap: 14px;
  }

  .cycle-table tr {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: block;
    overflow: hidden;
    padding: 18px;
  }

  .cycle-table th,
  .cycle-table td {
    border-bottom: 0;
    display: block;
    padding: 0;
  }

  .cycle-table td + td {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cycle-table td::before {
    color: rgba(240, 186, 201, 0.74);
    content: attr(data-mobile-label);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 5px;
  }

  .cycle-table td:first-child {
    font-size: 18px;
    white-space: normal;
  }

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

  #hero-trunk {
    height: auto;
    left: 50%;
    right: auto;
    top: 0;
  }

  .chart-shell {
    min-height: 390px;
    padding: 16px;
  }

  #yield-chart {
    height: 300px;
    max-height: 300px;
  }

  .product-card,
  .edge-card,
  .video-card {
    min-height: auto;
    padding: 22px;
  }

  .card-icon {
    margin-bottom: 34px;
  }

  .edge-card span {
    font-size: 58px;
    margin-bottom: 26px;
  }

  .risk-grid article {
    padding: 22px;
  }

  .mainland-notice {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-contact {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }

  .footer-contact a + a::before {
    color: rgba(240, 186, 201, 0.48);
    content: "/";
    margin-right: 10px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .hero {
    min-height: calc(100vh - 96px);
  }

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

  .product-bd-note {
    font-size: 14px;
  }
}
