:root {
  --brand: #00c853;
  --brand-dark: #009624;
  --text: #1a1d21;
  --muted: #5f6368;
  --bg: #f8faf9;
  --card: #ffffff;
  --border: #e8ecea;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 15px;
}

nav.main-nav a {
  color: var(--muted);
  text-decoration: none;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--brand-dark);
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.btn-outline {
  background: #fff;
  color: var(--brand-dark);
  border: 2px solid var(--brand);
}

.btn-outline:hover { text-decoration: none; }

.hero {
  background: linear-gradient(160deg, #e8f5e9 0%, #f8faf9 55%, #fff 100%);
  padding: 56px 20px 64px;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 200, 83, 0.06);
  border: 1px solid rgba(0, 200, 83, 0.15);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--brand-dark);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero p.lead {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 32px rgba(0, 200, 83, 0.04);
  border: 1px solid rgba(0, 200, 83, 0.1);
}

.hero-card h3 { margin-bottom: 16px; font-size: 18px; }

.feature-list { list-style: none; }

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.feature-list li:last-child { border-bottom: none; }

.capabilities-block .capabilities-card {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 28px;
}

.capabilities-block .feature-list li {
  padding: 14px 0;
  font-size: 16px;
}

.capabilities-block {
  position: relative;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.cap-item {
  position: relative;
  padding: 22px 18px 24px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 250, 245, 0.9) 100%);
  border: 1px solid rgba(0, 160, 70, 0.12);
  box-shadow: 0 10px 28px rgba(16, 80, 40, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cap-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 160, 70, 0.28);
  box-shadow: 0 14px 32px rgba(16, 80, 40, 0.08);
}

.cap-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  background: rgba(0, 200, 83, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.cap-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.cap-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 960px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero · 实时追踪地图展示 */
.hero-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-map {
  position: relative;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(145deg, #f3faf5 0%, #e7f4eb 45%, #dcefe3 100%);
  border: 1px solid rgba(0, 160, 70, 0.14);
  box-shadow: 0 16px 40px rgba(16, 80, 40, 0.08);
}

.hero-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 120, 60, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 120, 60, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}

.hero-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-route-planned {
  stroke: rgba(37, 99, 235, 0.35);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 8 8;
}

.hero-route-live {
  stroke: #059669;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: heroRouteDraw 2.8s ease-out infinite alternate;
  filter: drop-shadow(0 0 4px rgba(5, 150, 105, 0.45));
}

@keyframes heroRouteDraw {
  to { stroke-dashoffset: 0; }
}

.hero-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.hero-pin-dest {
  top: 18%;
  right: 14%;
}

.hero-pin-tech {
  bottom: 18%;
  left: 14%;
  animation: heroTechPulse 2.4s ease-in-out infinite;
}

@keyframes heroTechPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.18);
}

.hero-tech-car {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.hero-pin-label {
  font-size: 11px;
  font-weight: 700;
  color: #1e3a2f;
  background: rgba(255, 255, 255, 0.92);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 120, 60, 0.12);
  white-space: nowrap;
}

.hero-map-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #047857;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

.hero-map-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: heroLiveDot 1.4s ease-out infinite;
  vertical-align: middle;
}

@keyframes heroLiveDot {
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-map-chat {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(16, 80, 40, 0.18);
  background: #fff;
}

.hero-track-copy {
  padding: 0;
  width: 100%;
}

.hero-track-card {
  margin-top: 14px;
  padding: 14px 16px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 160, 70, 0.12);
  box-shadow: 0 8px 24px rgba(16, 80, 40, 0.06);
}

.hero-track-info {
  width: 100%;
}

.hero-track-copy h3,
.hero-track-info h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: #143528;
  line-height: 1.35;
}

.hero-track-copy p,
.hero-track-info p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-chat-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-track-info p + p {
  margin-top: 8px;
}

.hero-track-sub {
  font-size: 13px !important;
  color: #4b6358 !important;
}

@media (max-width: 480px) {
  .hero-map-chat {
    width: 72px;
    height: 72px;
    right: 8px;
    bottom: 8px;
  }
}

section.block {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px;
}

section.block h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 12px;
}

section.block .sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--brand-dark);
}

.card p { color: var(--muted); font-size: 15px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  text-align: center;
  padding: 20px 12px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.product-showcase {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.showcase-item {
  background: var(--bg);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
}

.showcase-item h4 { margin-bottom: 8px; }

.showcase-item ul {
  margin-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.page-main h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.page-main .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--brand-dark);
}

.legal-content p,
.legal-content li {
  color: #333;
  margin-bottom: 12px;
  font-size: 15px;
}

.legal-content ul {
  margin: 0 0 16px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

footer.site-footer {
  background: #1a1d21;
  color: #b0b4b8;
  padding: 40px 20px 24px;
  font-size: 14px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-grid a { color: #b0b4b8; }
.footer-grid a:hover { color: #fff; }

.footer-phone {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.footer-phone a[aria-label="WhatsApp"] {
  display: inline-flex; align-items: center; line-height: 0; flex-shrink: 0;
}
.footer-phone .whatsapp-icon {
  width: 16px; height: 16px; max-width: 16px; max-height: 16px;
  object-fit: contain; vertical-align: middle; display: block;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  line-height: 1.8;
}

/* App Download Card */
.app-download-card {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 480px;
}

.app-download-qr-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.app-download-qr-link:hover {
  transform: scale(1.05);
}

.app-download-qr {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 83, 0.1);
  background: #fff;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.04);
  display: block;
}

.app-download-info {
  flex: 1;
}

.app-download-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-download-badge {
  font-size: 10px;
  background: rgba(0, 200, 83, 0.1);
  color: var(--brand-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.app-download-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.lead-more-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-dark);
  margin-left: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.lead-more-link:hover {
  color: var(--brand);
  text-decoration: none;
  transform: translateX(3px);
}

.app-download-actions {
  margin-top: 8px;
}

.btn-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-link:hover {
  text-decoration: none;
  color: var(--brand);
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .hero-inner,
  .grid-3,
  .steps,
  .showcase-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  nav.main-nav { display: none; }

  .header-inner .btn { font-size: 13px; padding: 10px 16px; }

  .app-download-card {
    margin-top: 24px;
    gap: 16px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .app-download-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Download Page */
.download-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  min-height: calc(100vh - 180px);
  background: radial-gradient(circle at 10% 20%, rgba(0, 200, 83, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(0, 150, 36, 0.03) 0%, transparent 50%);
}

.download-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 150, 36, 0.05);
  text-align: center;
}

.download-brand {
  margin-bottom: 32px;
}

.download-logo {
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 200, 83, 0.15);
  margin-bottom: 16px;
}

.download-brand h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.download-slogan {
  font-size: 14px;
  color: var(--muted);
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: left;
}

.download-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  border-color: var(--brand);
}

.download-btn .btn-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-btn .btn-text {
  display: flex;
  flex-direction: column;
}

.download-btn .btn-subtext {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.download-btn .btn-maintext {
  font-size: 16px;
  font-weight: 700;
}

.download-btn.btn-ios {
  background: #111;
  color: #fff;
  border-color: #111;
}

.download-btn.btn-ios:hover {
  background: #222;
  border-color: #222;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.download-btn.btn-ios .btn-subtext {
  color: #aaa;
}

.download-btn.btn-google {
  background: #fdfdfd;
}

.download-btn.btn-apk {
  background: rgba(0, 200, 83, 0.06);
  border-color: rgba(0, 200, 83, 0.2);
  color: var(--brand-dark);
}

.download-btn.btn-apk:hover {
  background: rgba(0, 200, 83, 0.1);
  border-color: var(--brand);
  box-shadow: 0 6px 16px rgba(0, 200, 83, 0.1);
}

.download-tip {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .download-page {
    padding: 40px 16px;
  }
  .download-container {
    padding: 32px 20px;
  }
}

/* Linktree Style Download Page */
.linktree-body {
  background: linear-gradient(180deg, #ebf1f5 0%, #f5f8fa 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.linktree-container {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.linktree-profile {
  text-align: center;
  margin-bottom: 32px;
}

.linktree-avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: #00c853;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.linktree-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.linktree-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.linktree-subtitle {
  font-size: 14px;
  color: #000;
  font-weight: 500;
  line-height: 1.5;
  padding: 0 16px;
}

.linktree-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.linktree-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.linktree-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000000;
}

.linktree-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.03);
}

.linktree-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.linktree-card-text {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  padding: 0 12px;
}

.linktree-card-dots {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 20px;
  align-items: center;
  opacity: 0.3;
}

.linktree-card-dots span {
  width: 4px;
  height: 4px;
  background-color: #000;
  border-radius: 50%;
}

.linktree-card-apk {
  background: #e8f5e9;
  border-color: rgba(0, 200, 83, 0.15);
  color: #1b5e20;
}

.linktree-card-apk:hover {
  border-color: #00c853;
  background: #c8e6c9;
  color: #1b5e20;
}

.linktree-card-apk .linktree-card-dots span {
  background-color: #1b5e20;
}

.linktree-footer {
  text-align: center;
  color: #666;
  font-size: 13px;
}
