:root {
  --ink: #08215a;
  --blue: #146bd7;
  --blue-deep: #073a8c;
  --cyan: #12bfd0;
  --green: #6fbd32;
  --mint: #d9fff5;
  --paper: #f8fcff;
  --line: rgba(11, 74, 150, 0.14);
  --shadow: 0 22px 55px rgba(9, 55, 128, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", Arial, sans-serif;
  color: var(--ink);
  background: #eef8ff;
  letter-spacing: 0;
}

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

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

.page-shell {
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 250, 255, 0.96) 34%, rgba(181, 232, 255, 0.86) 58%, rgba(25, 128, 220, 0.94) 100%);
}

.hero {
  position: relative;
  min-height: min(88svh, 820px);
  padding: 34px clamp(20px, 4vw, 72px) 26px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(140deg, transparent 0 52%, rgba(255, 255, 255, 0.2) 52% 58%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 48px);
  opacity: 0.8;
}

.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -50px;
  height: 210px;
  z-index: -1;
  background:
    linear-gradient(174deg, transparent 0 26%, rgba(13, 179, 210, 0.22) 27% 42%, transparent 43%),
    linear-gradient(168deg, transparent 0 42%, rgba(24, 105, 222, 0.28) 43% 58%, transparent 59%);
}

.topbar {
  width: min(1680px, 100%);
  margin: 0 auto 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 8px 16px 8px 8px;
  color: #ffffff;
  background: rgba(6, 70, 150, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(4, 54, 128, 0.18);
  font-size: 15px;
  font-weight: 700;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #073a8c;
  background: linear-gradient(145deg, #ffffff, #9ff4ee);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 15px;
  font-weight: 700;
  color: rgba(8, 33, 90, 0.78);
}

.nav-links a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue-deep);
  border-color: var(--cyan);
}

.hero-layout {
  width: min(1680px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(440px, 0.9fr) minmax(620px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.hero-copy {
  padding-bottom: 16px;
}

.eyebrow {
  position: relative;
  margin: 0 0 12px;
  padding-left: 76px;
  color: #0b8792;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  transform: translateY(-50%);
}

h1 {
  margin: 0;
  color: #0b3f99;
  font-size: clamp(44px, 4.7vw, 92px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 12px 28px rgba(12, 74, 150, 0.16);
}

.hero-subtitle {
  margin: 24px 0 30px;
  color: #0b2f77;
  font-size: clamp(20px, 1.7vw, 32px);
  line-height: 1.5;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 160px;
  padding: 20px 14px 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(24, 101, 178, 0.14);
  backdrop-filter: blur(8px);
}

.feature-card h2 {
  margin: 14px 0 6px;
  font-size: clamp(17px, 1.15vw, 22px);
  color: #0a3c92;
}

.feature-card p {
  margin: 0;
  color: #225285;
  font-size: clamp(13px, 0.9vw, 16px);
  line-height: 1.45;
  font-weight: 700;
}

.feature-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f7ffff, #d7f7ff);
  box-shadow: inset 0 0 0 2px rgba(19, 116, 215, 0.14);
}

.icon-pos::before {
  content: "";
  width: 34px;
  height: 26px;
  border: 4px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 16px 0 -10px var(--blue);
}

.icon-stock::before {
  content: "";
  width: 32px;
  height: 28px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.65) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(255, 255, 255, 0.65) 48% 52%, transparent 53%),
    linear-gradient(145deg, #12c7b7, #189bd1);
  box-shadow: 13px 13px 0 -3px #69c943;
}

.icon-chart::before {
  content: "";
  width: 36px;
  height: 34px;
  background:
    linear-gradient(var(--blue), var(--blue)) 3px 22px / 7px 12px no-repeat,
    linear-gradient(#25b7e4, #25b7e4) 15px 15px / 7px 19px no-repeat,
    linear-gradient(#62bd3b, #62bd3b) 27px 7px / 7px 27px no-repeat;
}

.icon-store::before {
  content: "";
  width: 38px;
  height: 30px;
  border-radius: 4px 4px 9px 9px;
  background:
    linear-gradient(90deg, #e5fbff 0 20%, #12bfd0 20% 40%, #e5fbff 40% 60%, #12bfd0 60% 80%, #e5fbff 80%),
    linear-gradient(#0e79c9, #0e79c9);
  background-size: 100% 12px, 100% 100%;
  background-repeat: no-repeat;
  background-position: top, center;
}

.solution-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  margin-top: 30px;
  padding: 13px 24px 13px 16px;
  color: #ffffff;
  background: linear-gradient(90deg, #165fd0, #12a9c4, #50b950);
  border-radius: 999px;
  box-shadow: 0 18px 32px rgba(7, 78, 170, 0.2);
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 800;
}

.shield-mark {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 18px 18px 22px 22px;
}

.shield-mark::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  width: 11px;
  height: 18px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(42deg);
}

.hero-visual {
  position: relative;
  min-height: clamp(500px, 43vw, 660px);
}

.monitor {
  position: absolute;
  top: 7%;
  right: 5%;
  width: min(790px, 74%);
  padding: 16px 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background: linear-gradient(145deg, #102d65, #061a3e);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
}

.monitor::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: -78px;
  width: 170px;
  height: 78px;
  border-radius: 0 0 38px 38px;
  background: linear-gradient(90deg, #7d98c5, #edf5ff 50%, #7892bd);
  box-shadow: 0 18px 30px rgba(15, 54, 130, 0.18);
  transform: skewX(-9deg);
}

.monitor::before {
  content: "";
  position: absolute;
  left: 35%;
  bottom: -95px;
  width: 300px;
  height: 28px;
  border-radius: 50%;
  background: rgba(13, 60, 142, 0.22);
  filter: blur(1px);
}

.monitor-bar {
  display: flex;
  gap: 7px;
  margin: 0 0 10px;
}

.monitor-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #72e4f1;
}

.monitor img {
  width: 100%;
  height: clamp(220px, 22vw, 350px);
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.floating-panel {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(6, 59, 136, 0.2);
}

.floating-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sales-panel {
  left: 3%;
  bottom: 17%;
  width: min(380px, 40%);
  aspect-ratio: 1.55;
}

.count-panel {
  right: 0;
  bottom: 10%;
  width: min(310px, 31%);
  aspect-ratio: 1.45;
}

.metric-card {
  position: absolute;
  left: 13%;
  top: 8%;
  width: 210px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 32px rgba(10, 72, 156, 0.16);
}

.metric-card span,
.metric-card small {
  display: block;
  color: #496f96;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin: 5px 0;
  color: #0b3f99;
  font-size: 30px;
}

.store-node {
  position: absolute;
  filter: drop-shadow(0 18px 24px rgba(6, 53, 130, 0.24));
}

.store-sign {
  position: relative;
  z-index: 2;
  min-width: 118px;
  padding: 8px 16px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(90deg, #15bac6, #0e65c6);
  border-radius: 8px 8px 0 0;
  font-weight: 900;
}

.store-body {
  width: 150px;
  height: 92px;
  border-radius: 0 0 12px 12px;
  background:
    linear-gradient(90deg, #f7ffff 0 12%, #15bac6 12% 22%, #f7ffff 22% 34%, #15bac6 34% 46%, #f7ffff 46% 58%, #15bac6 58% 70%, #f7ffff 70% 82%, #15bac6 82% 94%, #f7ffff 94%) 0 0 / 100% 30px no-repeat,
    linear-gradient(90deg, #a9eefa, #ffffff 48%, #9fd7ff);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.store-body::after {
  content: "";
  display: block;
  width: 54px;
  height: 52px;
  margin: 34px auto 0;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(#dff9ff, #58aadd);
}

.store-small {
  right: 4%;
  top: 5%;
  transform: scale(0.72);
  transform-origin: top right;
}

.store-large {
  right: 2%;
  bottom: 0;
}

.betel-cluster {
  position: absolute;
  left: 3%;
  bottom: -2%;
  width: 280px;
  height: 150px;
}

.nut,
.leaf {
  position: absolute;
  display: block;
}

.nut {
  width: 88px;
  height: 72px;
  border-radius: 48% 52% 46% 54%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 36%),
    linear-gradient(145deg, #d8d638 0%, #6aa325 58%, #34771c 100%);
  box-shadow: inset -13px -12px 18px rgba(32, 82, 15, 0.35), 0 14px 22px rgba(28, 93, 54, 0.18);
}

.nut-a {
  left: 28px;
  top: 46px;
  transform: rotate(-14deg);
}

.nut-b {
  left: 93px;
  top: 28px;
  transform: rotate(12deg);
}

.nut-c {
  left: 143px;
  top: 62px;
  transform: rotate(-5deg);
}

.nut-d {
  left: 76px;
  top: 78px;
  transform: rotate(20deg);
}

.leaf {
  left: 132px;
  top: 8px;
  width: 128px;
  height: 68px;
  border-radius: 4% 92% 6% 92%;
  background: linear-gradient(135deg, #aee979, #2f8931);
  transform: rotate(18deg);
}

.leaf::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  width: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
  transform: rotate(-18deg);
}

.module-band,
.screen-band,
.contact-band {
  padding: clamp(42px, 6vw, 86px) clamp(20px, 4vw, 72px);
}

.module-band {
  background: linear-gradient(180deg, #ffffff, #eef9ff);
}

.screen-band {
  background: #f7fcff;
}

.section-heading {
  width: min(1320px, 100%);
  margin: 0 auto 28px;
}

.section-heading p {
  margin: 0 0 8px;
  color: #0b8792;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: #0a3c92;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.18;
}

.module-grid,
.screen-grid {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card,
.screen-grid figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(19, 78, 148, 0.1);
}

.module-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.module-card div {
  padding: 18px 20px 20px;
}

.module-card h3 {
  margin: 0 0 7px;
  color: #0a3c92;
  font-size: 22px;
}

.module-card p {
  margin: 0;
  color: #466985;
  line-height: 1.55;
  font-weight: 700;
}

.screen-grid figure {
  margin: 0;
}

.screen-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top center;
}

.screen-grid figcaption {
  padding: 14px 18px 18px;
  color: #0a3c92;
  font-size: 18px;
  font-weight: 900;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(5, 50, 130, 0.98), rgba(6, 137, 178, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px);
}

.contact-band > div {
  width: min(960px, 100%);
}

.contact-band p {
  margin: 0 0 8px;
  color: #b8fbff;
  font-weight: 900;
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.28;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 270px;
  min-height: 52px;
  padding: 14px 24px;
  color: #06357f;
  background: #ffffff;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.16);
}

.mobile-contact {
  display: none;
}

@media (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 850px;
  }

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

  .monitor {
    right: 8%;
    width: min(760px, 82%);
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
  }

  .feature-grid,
  .module-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    min-height: 136px;
  }

  .solution-pill {
    align-items: flex-start;
    border-radius: 24px;
    line-height: 1.45;
  }

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

  .monitor {
    top: 5%;
    right: auto;
    left: 50%;
    width: min(640px, 94%);
    transform: translateX(-50%) perspective(900px) rotateY(-4deg);
  }

  .sales-panel {
    left: 0;
    bottom: 20%;
    width: 52%;
  }

  .count-panel {
    right: 0;
    bottom: 16%;
    width: 45%;
  }

  .metric-card {
    left: 5%;
    top: 52%;
    width: min(220px, 48%);
  }

  .store-small {
    display: none;
  }

  .store-large {
    right: 0;
    bottom: -2px;
    transform: scale(0.82);
    transform-origin: bottom right;
  }

  .betel-cluster {
    left: -18px;
    transform: scale(0.78);
    transform-origin: bottom left;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-button {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 20px 16px 22px;
  }

  .brand-mark {
    max-width: 100%;
    font-size: 14px;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  h1 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero-subtitle {
    margin: 18px 0 20px;
    font-size: 18px;
  }

  .eyebrow {
    padding-left: 58px;
    font-size: 15px;
  }

  .eyebrow::before {
    width: 42px;
  }

  .feature-grid {
    gap: 10px;
  }

  .feature-card {
    padding: 16px 10px 14px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  .solution-pill {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
  }

  .hero-visual {
    min-height: 470px;
    margin-top: 10px;
  }

  .monitor {
    width: 100%;
    padding: 11px 11px 15px;
    border-radius: 18px;
  }

  .monitor::before,
  .monitor::after {
    display: none;
  }

  .monitor img {
    height: 168px;
  }

  .sales-panel {
    bottom: 28%;
    width: 60%;
  }

  .count-panel {
    bottom: 26%;
    width: 50%;
  }

  .metric-card {
    top: 50%;
    width: 178px;
    padding: 12px 14px;
  }

  .metric-card strong {
    font-size: 24px;
  }

  .store-large {
    transform: scale(0.68);
  }

  .betel-cluster {
    transform: scale(0.62);
  }

  .module-card img,
  .screen-grid img {
    height: 190px;
  }

  .desktop-contact {
    display: none;
  }

  .mobile-contact {
    display: inline;
  }

  .contact-button {
    width: 100%;
    font-size: 16px;
  }
}
