:root {
  --ink: #172033;
  --muted: #5b667a;
  --line: #d9e1ec;
  --soft: #f5f8fb;
  --white: #ffffff;
  --green: #1fa567;
  --green-dark: #11784a;
  --blue: #2167d6;
  --amber: #f2a01f;
  --red: #e94b5a;
  --shadow: 0 18px 45px rgba(21, 36, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.7;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 6vw;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 225, 236, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 116px 6vw 72px;
  color: var(--white);
  background-image: url("assets/dashboard-map.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 22, 42, 0.92), rgba(9, 22, 42, 0.64) 46%, rgba(9, 22, 42, 0.16));
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #6ef0ad;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 58px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 38px;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn-form {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(31, 165, 103, 0.24);
}

.btn-primary:hover,
.btn-form:hover {
  background: var(--green-dark);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats dt {
  font-size: 26px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding: 88px 6vw;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.section-heading p,
.driver-copy p,
.newsletter-layout p,
.showcase-copy p {
  color: var(--muted);
}

.service-section,
.partner-section {
  background: var(--white);
}

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

.service-card,
.partner-card,
.driver-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(21, 36, 61, 0.06);
}

.service-card {
  min-height: 238px;
  padding: 24px;
}

.service-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-weight: 900;
}

.service-card p,
.partner-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.platform-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 260px minmax(260px, 0.7fr);
  gap: 22px;
  align-items: center;
  margin-top: 44px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbf9;
}

.preview-main,
.preview-phone {
  margin: 0;
}

.preview-main img,
.preview-phone img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(21, 36, 61, 0.1);
}

.preview-main img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top center;
}

.preview-phone img {
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top center;
}

.preview-copy p {
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 28px;
  align-items: center;
  margin-top: 48px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.process-figure {
  margin: 0;
}

.process-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.driver-section {
  background: #f0f5f7;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.driver-copy {
  position: sticky;
  top: 110px;
}

.benefit-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(21, 36, 61, 0.06);
}

.benefit-list span {
  color: var(--muted);
}

.driver-form {
  padding: 28px;
}

.form-heading {
  margin-bottom: 22px;
}

.form-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 165, 103, 0.12);
}

.full-field,
.checkbox-field {
  margin-top: 16px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.checkbox-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 5px;
}

.btn-form {
  width: 100%;
  margin-top: 22px;
}

.form-status {
  min-height: 28px;
  margin: 12px 0 0;
  color: var(--green-dark);
  font-weight: 800;
}

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

.partner-card {
  min-height: 218px;
  padding: 24px;
}

.partner-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.partner-strip div {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  border: 1px dashed #bdc8d8;
  border-radius: 8px;
  background: #fbfdff;
  font-weight: 900;
  text-align: center;
}

.newsletter-section {
  color: var(--white);
  background: #172033;
}

.newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.newsletter-layout p {
  color: rgba(255, 255, 255, 0.72);
}

.newsletter-form {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.newsletter-form label {
  color: var(--white);
}

.newsletter-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 6vw;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .service-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase,
  .platform-preview,
  .two-column,
  .newsletter-layout {
    grid-template-columns: 1fr;
  }

  .driver-copy {
    position: static;
  }

  h1 {
    font-size: 46px;
  }
}

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

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 86vh;
    padding: 104px 20px 50px;
    background-position: center top;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(9, 22, 42, 0.88), rgba(9, 22, 42, 0.7));
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-stats,
  .service-grid,
  .partner-grid,
  .partner-strip,
  .field-grid,
  .newsletter-input-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 20px;
  }

  .showcase,
  .driver-form,
  .newsletter-form {
    padding: 22px;
  }

  .site-footer {
    display: grid;
    padding: 22px 20px;
  }
}
