/* 途景纪官网 — 随行景 */
:root {
  --ink: #1a2332;
  --muted: #5c6b7a;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --accent: #c45c26;
  --accent-soft: rgba(196, 92, 38, 0.12);
  --teal: #0d9488;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(26, 35, 50, 0.08);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), #e8956a);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.95rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-slides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 280px;
}

@media (max-width: 900px) {
  .hero-slides {
    grid-template-columns: 1fr;
    min-height: 220px;
  }
}

.hero-slide {
  position: relative;
  min-height: 200px;
  background-size: cover;
  background-position: center;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 35, 50, 0.75),
    rgba(26, 35, 50, 0.15)
  );
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  margin-top: -140px;
}

@media (max-width: 900px) {
  .hero-overlay {
    margin-top: -100px;
  }
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.75rem 1.5rem;
  max-width: 640px;
}

.hero-card h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Sections */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.25rem 1.25rem;
}

.section.alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 700;
}

.section .sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 4px 20px rgba(26, 35, 50, 0.04);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p,
.card li {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

ul.check {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}
ul.check li {
  margin-bottom: 0.35rem;
  color: var(--ink);
}

/* Product */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }
}

.product-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-visual img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

/* Download */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (max-width: 800px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}

.download-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.download-item h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.qr-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 0.75rem;
  border-radius: 12px;
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fafafa;
}

.qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-placeholder {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.5rem;
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(26, 35, 50, 0.2);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 2rem 1.25rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.88rem;
}

.footer-inner:not(.beian-note) {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.footer-inner:not(.beian-note) .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
}

.footer-inner:not(.beian-note) .footer-links a {
  margin-left: 0;
}

.footer-copy {
  line-height: 1.6;
}

.footer-copy strong {
  color: #fff;
  font-weight: 600;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  margin-left: 1rem;
}
.footer-links a:hover {
  color: #fff;
}

.beian-note {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  justify-content: center;
  text-align: center;
}
