:root {
  --ink: #13213a;
  --muted: #59677e;
  --line: #d9e4ef;
  --paper: #f7fbff;
  --white: #ffffff;
  --blue: #1266d6;
  --cyan: #15aac0;
  --amber: #f7a928;
  --green: #31a67a;
  --charcoal: #0d1728;
  --shadow: 0 22px 70px rgba(19, 33, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  line-height: 1.65;
  background: var(--white);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: rgba(13, 23, 40, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.nav-links {
  gap: clamp(12px, 2.5vw, 28px);
  font-size: 0.95rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a:hover {
  color: var(--white);
}

.section-pad {
  padding: clamp(72px, 10vw, 124px) clamp(20px, 6vw, 72px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 13, 25, 0.94) 0%, rgba(8, 20, 39, 0.72) 45%, rgba(8, 20, 39, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 13, 25, 0.25) 0%, rgba(6, 13, 25, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-top: 44px;
}

.kicker,
.section-label {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.75rem, 7vw, 5.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.25;
}

.hero-subtitle {
  color: #c4ecff;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg,
.icon-badge svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--charcoal);
  background: var(--amber);
  box-shadow: 0 14px 30px rgba(247, 169, 40, 0.22);
}

.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.secondary.light {
  color: var(--white);
}

.section {
  max-width: 1280px;
  margin: 0 auto;
}

.muted {
  max-width: none;
  background: var(--paper);
}

.muted > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading p:last-child,
.intro-grid p,
.contact-copy p {
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

blockquote {
  margin: 32px 0 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  border-left: 5px solid var(--cyan);
}

.about-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.stat-row span {
  display: grid;
  min-height: 92px;
  align-content: center;
  padding: 20px;
  background: var(--white);
  color: var(--muted);
}

.stat-row strong {
  display: block;
  color: var(--blue);
  font-size: 1.55rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.offer-card p {
  color: var(--muted);
}

.icon-badge {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--blue);
  background: #e8f5ff;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.feature-row.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(280px, 0.78fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 12px;
  color: #925b00;
  background: #fff1d2;
  font-size: 0.85rem;
  font-weight: 900;
}

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

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.text-link::after {
  content: " →";
}

.why-section {
  max-width: none;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 102, 214, 0.95), rgba(13, 23, 40, 0.98)),
    var(--charcoal);
}

.why-section > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-grid div {
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.why-grid strong,
.why-grid span {
  display: block;
}

.why-grid strong {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.why-grid span,
.closing-line {
  color: rgba(255, 255, 255, 0.78);
}

.closing-line {
  margin: 34px auto 0;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 96px;
}

.contact-copy .secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9d7e5;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(21, 170, 192, 0.2);
  border-color: var(--cyan);
}

.form-button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
  padding: 34px clamp(20px, 6vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #0a1220;
}

.footer-brand {
  color: var(--white);
  font-weight: 900;
}

.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.52);
}

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

  .intro-grid,
  .contact-section,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 18px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .offer-grid,
  .why-grid,
  .stat-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .offer-card,
  .why-grid div {
    min-height: auto;
  }
}
