/* ========== GEO优化 站点样式 ========== */
:root {
  --primary: #1a5276;
  --primary-dark: #0f2b3f;
  --accent: #e67e22;
  --accent-light: #f39c12;
  --text: #2c3e50;
  --text-light: #5a6c7e;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --bg-dark: #1a1a2e;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-hover: 0 4px 20px rgba(0,0,0,.12);
  --max-w: 1200px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

/* ========== Header ========== */
.header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .5px;
}
.brand-name span { color: var(--accent-light); }

.nav a {
  color: rgba(255,255,255,.85);
  margin-left: 1.5rem;
  font-size: .9rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.nav a:hover, .nav a.active {
  color: #fff;
  border-bottom-color: var(--accent-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ========== Hero ========== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--accent-light); }

.hero-sub {
  font-size: 1.1rem;
  opacity: .9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .25s;
  border: 2px solid var(--accent);
}
.hero-cta:hover {
  background: #d35400;
  border-color: #d35400;
  color: #fff;
  transform: translateY(-1px);
}
.hero-cta-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.5);
}
.hero-cta-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

/* ========== Sections ========== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ========== Page Hero ========== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: .5rem; }
.page-hero p { opacity: .85; font-size: 1rem; }

.page-body { padding: 50px 0; }
.page-body h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 2rem 0 1rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-alt);
}
.page-body h2:first-child { margin-top: 0; }
.page-body p { margin-bottom: 1rem; color: var(--text-light); line-height: 1.8; }

.text-center { text-align: center; }

/* ========== Routes Grid ========== */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.route-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
}
.route-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--accent-light);
}

.route-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .75rem;
  margin-bottom: 10px;
  align-self: flex-start;
}

.route-name { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.route-info { font-size: .85rem; color: var(--text-light); margin-bottom: 8px; }
.route-desc { font-size: .9rem; color: var(--text-light); flex: 1; margin-bottom: 12px; }
.route-link { font-weight: 600; color: var(--primary); align-self: flex-start; }
.route-link:hover { color: var(--accent); }

/* ========== Route Filters ========== */
.route-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text-light);
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== Route Detail ========== */
.route-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.route-meta-item {
  background: var(--bg-alt);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
}
.route-meta-item strong { display: block; font-size: .8rem; color: var(--text-light); margin-bottom: 4px; }
.route-meta-item span { font-size: 1rem; font-weight: 600; color: var(--primary); }

.schedule { display: flex; flex-direction: column; gap: 8px; margin: 1rem 0; }
.schedule-day {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.day-num { font-weight: 700; color: var(--primary); min-width: 60px; }
.day-desc { color: var(--text); }

.geo-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 1rem 0; }
.geo-tag {
  padding: 6px 14px;
  background: #eaf4fb;
  color: var(--primary);
  border-radius: 16px;
  font-size: .85rem;
  font-weight: 500;
}

.advantage-list { list-style: none; padding: 0; }
.advantage-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-alt);
  color: var(--text-light);
}
.advantage-list li:last-child { border-bottom: none; }
.advantage-list li strong { color: var(--text); }

.route-cta {
  text-align: center;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-top: 2rem;
}
.route-cta p { margin-bottom: 1rem; font-size: 1.05rem; }

/* ========== FAQ ========== */
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid #e8ecf0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s;
}
.faq-item:hover { border-color: var(--primary); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  background: #fff;
  transition: background .2s;
}
.faq-q:hover { background: #f8f9fa; }
.faq-icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 20px;
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 20px 16px;
}

/* ========== About ========== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.advantage-card {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: all .2s;
}
.advantage-card:hover { box-shadow: var(--shadow); }
.advantage-card h3 { color: var(--primary); margin-bottom: 8px; font-size: 1.05rem; }
.advantage-card p { color: var(--text-light); font-size: .9rem; margin: 0; }

/* ========== Stats ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: .85rem; color: var(--text-light); margin-top: 4px; }

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.contact-info h3 { color: var(--primary); margin-bottom: 1rem; }
.contact-info p { margin-bottom: 8px; color: var(--text-light); }

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  text-align: center;
}
.contact-cta p { margin-bottom: 1rem; font-size: 1rem; }

/* ========== Footer ========== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  padding: 50px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-col p { font-size: .85rem; opacity: .8; margin-bottom: 4px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: .85rem; }
.footer-col ul li a:hover { color: var(--accent-light); }

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p { font-size: .8rem; opacity: .6; }

/* ========== About Summary ========== */
.about-summary {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1rem;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .routes-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 50px 0; }

  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 99;
  }
  .nav.open { display: flex; }
  .nav a { margin: 0; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav a:last-child { border-bottom: none; }

  .routes-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-body { padding: 30px 0; }
  .route-meta { grid-template-columns: 1fr 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.4rem; }
  .hero-cta { width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; }
  .route-meta { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* License Image */
.license-img-wrap { text-align: center; margin: 2rem 0; }
.license-img { max-width: 100%; max-height: 600px; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }

.license-label { text-align: center; margin-top: 8px; color: #666; font-size: 14px; }
