
/* ============================================
   佑宠出行 · 全局样式
   基于 DESIGN.md v3 设计令牌 + 温暖风格调整
   ============================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 基础色 */
  --bg: #EEF2FF;
  --surface: #FFFFFF;
  --surface-2: #F8FAFF;
  --fg: #1A1F36;
  --muted: #6B7280;
  --border: #E5E7EB;

  /* 品牌蓝 */
  --primary: #2563EB;
  --primary-deep: #1D4ED8;
  --primary-bright: #3B82F6;
  --primary-soft: #DBEAFE;

  /* 宠物橙 */
  --accent: #F59E0B;
  --accent-soft: #FEF3C7;

  /* 状态色 */
  --success: #10B981;
  --danger: #EF4444;

  /* 温暖点缀色（面向女性调整） */
  --coral: #FB7185;
  --coral-soft: #FFE4E6;
  --hero-yellow: #FFE89A;
  --hero-yellow-soft: #FFF3C4;
  --page-bg: #F5F2ED;
  --lavender-soft: #EDE9FE;
  --mint-soft: #D1FAE5;

  /* 字体 */
  --font-display: 'PingFang SC', 'Hiragino Sans GB', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --font-cartoon: 'Marker Felt', 'Comic Sans MS', 'PingFang SC', cursive;

  /* 字号 */
  --fs-h1: 30px;
  --fs-h2: 22px;
  --fs-h3: 16px;
  --fs-body: 15px;
  --fs-meta: 12px;
  --fs-hero: 34px;

  /* 圆角 */
  --radius-card: 28px;
  --radius-button: 18px;
  --radius-pill: 999px;
  --radius-search: 999px;
  --radius-sheet: 38px;
  --radius-icon: 20px;
  --radius-squircle: 30%;

  /* 阴影 */
  --shadow-card: 0 12px 32px -16px rgba(37, 99, 235, 0.18);
  --shadow-card-warm: 0 14px 34px -20px rgba(190, 175, 130, 0.25);
  --shadow-fab: 0 14px 30px -10px rgba(37, 99, 235, 0.55);
  --shadow-fab-warm: 0 14px 30px -10px rgba(245, 158, 11, 0.45);

  /* 布局 */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ---------- 全局重置 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--fg);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-deep);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
}

/* ---------- 通用容器 ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-title h2 {
  font-size: var(--fs-h1);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
  font-size: var(--fs-body);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-button);
  font-size: var(--fs-body);
  font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-fab-warm);
}

.btn-primary:hover {
  background: #E8920A;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(245, 158, 11, 0.55);
  color: #fff;
}

.btn-secondary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-fab);
}

.btn-secondary:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
  border-radius: 22px;
}

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-squircle);
}

.nav-brand .brand-type {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero 首屏 ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 100px;
  background: linear-gradient(160deg, var(--primary-soft) 0%, var(--hero-yellow-soft) 55%, var(--page-bg) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563EB' fill-opacity='0.04'%3E%3Cpath d='M30 30c0-3.3 2.7-6 6-6s6 2.7 6 6-2.7 6-6 6-6-2.7-6-6zm-18 0c0-3.3 2.7-6 6-6s6 2.7 6 6-2.7 6-6 6-6-2.7-6-6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  font-size: var(--fs-meta);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero h1 .highlight-warm {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero-stat .num .unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}

.hero-stat .label {
  font-size: var(--fs-meta);
  color: var(--muted);
  margin-top: 6px;
}

/* Hero 视觉区 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card-warm);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.hero-card:hover {
  transform: rotate(0deg) translateY(-8px);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--accent-soft);
  border-radius: 50%;
  z-index: -1;
}

.hero-card::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 60px;
  height: 60px;
  background: var(--coral-soft);
  border-radius: 50%;
  z-index: -1;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.mock-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-soft), var(--hero-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.mock-user .name {
  font-weight: 700;
  font-size: 15px;
}

.mock-user .status {
  font-size: var(--fs-meta);
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}

.mock-route {
  background: var(--surface-2);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
}

.mock-route-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-route-row + .mock-route-row {
  margin-top: 12px;
}

.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-dot.start {
  background: var(--primary);
}

.mock-dot.end {
  background: var(--accent);
}

.mock-route-text {
  font-size: 14px;
  font-weight: 500;
}

.mock-route-text small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-top: 2px;
}

.mock-line {
  width: 2px;
  height: 20px;
  background: var(--border);
  margin-left: 5px;
}

.mock-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.mock-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}

.mock-price small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.mock-btn {
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
}

/* 浮动装饰 */
.float-deco {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.float-deco-1 {
  width: 50px;
  height: 50px;
  background: var(--coral-soft);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.float-deco-2 {
  width: 30px;
  height: 30px;
  background: var(--primary-soft);
  bottom: 20%;
  left: 10%;
  animation-delay: 1.5s;
}

.float-deco-3 {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  top: 15%;
  right: 8%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ---------- 服务卡片 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-card-warm);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -20px rgba(37, 99, 235, 0.25);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.warm::before {
  background: var(--accent);
}

.service-card.coral::before {
  background: var(--coral);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
}

.service-icon.blue {
  background: var(--primary-soft);
}

.service-icon.warm {
  background: var(--accent-soft);
}

.service-icon.coral {
  background: var(--coral-soft);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-features span {
  padding: 5px 12px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.service-link:hover {
  gap: 10px;
}

/* ---------- 优势区 ---------- */
.advantages {
  background: var(--surface);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.advantage-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-card);
  transition: all 0.3s ease;
}

.advantage-item:hover {
  background: var(--surface-2);
}

.advantage-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.advantage-item h4 {
  font-size: 17px;
  margin-bottom: 10px;
}

.advantage-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 流程区 ---------- */
.steps {
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.step-item h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  padding: 0 10px;
}

/* ---------- 评价区 ---------- */
.testimonials {
  background: linear-gradient(180deg, var(--page-bg) 0%, var(--hero-yellow-soft) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card-warm);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 28px;
  font-size: 60px;
  color: var(--accent-soft);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--fg);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.testimonial-info .name {
  font-weight: 700;
  font-size: 14px;
}

.testimonial-info .meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- CTA 区 ---------- */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  border-radius: 32px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-box h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary {
  background: var(--accent);
}

.cta-box .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta-box .btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

/* ---------- 页脚 ---------- */
.footer {
  background: #1A1F36;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-squircle);
}

.footer-brand .brand-type {
  height: 28px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-qr {
  text-align: center;
}

.footer-qr-box {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 16px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}

.footer-qr p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ---------- 浮动客服 ---------- */
.fab-customer {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-fab-warm);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  animation: fab-bounce 3s ease-in-out infinite;
}

.fab-customer:hover {
  transform: scale(1.1);
  background: #E8920A;
}

@keyframes fab-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- 页面头部（内页） ---------- */
.page-header {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  background: linear-gradient(160deg, var(--primary-soft) 0%, var(--hero-yellow-soft) 60%, var(--page-bg) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-size: 38px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--border);
}

/* ---------- 服务详情页 ---------- */
.service-detail {
  padding: 60px 0;
}

.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail-block.reverse {
  direction: rtl;
}

.service-detail-block.reverse > * {
  direction: ltr;
}

.service-detail-content .tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.service-detail-content h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.service-detail-content > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 28px;
}

.service-detail-list {
  margin-bottom: 32px;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.service-detail-list .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
}

.service-detail-visual {
  position: relative;
}

.service-detail-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card-warm);
  text-align: center;
}

.service-detail-card .big-icon {
  font-size: 80px;
  margin-bottom: 24px;
}

.service-detail-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-detail-card .price {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin: 20px 0;
}

.service-detail-card .price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- 司机入驻页 ---------- */
.driver-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.driver-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.driver-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.driver-hero h1 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 20px;
}

.driver-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.driver-hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

.driver-hero-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}

.driver-hero-stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.driver-form-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.3);
}

.driver-form-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  text-align: center;
}

.driver-form-card .sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
  background: var(--surface-2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.25s ease;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

/* 司机优势 */
.driver-benefits {
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card-warm);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 关于我们页 ---------- */
.about-story {
  padding: 80px 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-visual {
  position: relative;
}

.about-story-card {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--hero-yellow-soft) 100%);
  border-radius: var(--radius-card);
  padding: 60px 40px;
  text-align: center;
}

.about-story-card .logo-big {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-squircle);
  margin: 0 auto 24px;
}

.about-story-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.about-story-card .slogan {
  color: var(--muted);
  font-size: 15px;
}

.about-story-content h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.about-story-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 20px;
}

.about-values {
  background: var(--surface);
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.value-item {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-card);
  background: var(--surface-2);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.value-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.value-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.about-data {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.data-item .num {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}

.data-item .num .unit {
  font-size: 20px;
  color: var(--accent);
  margin-left: 4px;
}

.data-item .label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

/* ---------- FAQ 页 ---------- */
.faq-section {
  padding: 60px 0 80px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card-warm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 16px 40px -16px rgba(37, 99, 235, 0.25);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 700;
}

.faq-item.open .faq-question .icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.faq-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.faq-cat {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.faq-cat:hover,
.faq-cat.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- 邀请分享模块 ---------- */
.invite-section {
  padding: 80px 0;
  background: var(--surface);
}

.invite-box {
  background: linear-gradient(135deg, var(--coral-soft) 0%, var(--accent-soft) 100%);
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.invite-content h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.invite-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.invite-features {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
}

.invite-feature {
  text-align: center;
}

.invite-feature .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--coral);
}

.invite-feature .label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.invite-visual {
  text-align: center;
}

.invite-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card-warm);
  display: inline-block;
}

.invite-card .emoji {
  font-size: 60px;
  margin-bottom: 16px;
}

.invite-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.invite-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.invite-code {
  display: inline-block;
  padding: 10px 24px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner,
  .driver-hero-inner,
  .about-story-grid,
  .service-detail-block,
  .invite-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .services-grid,
  .testimonials-grid,
  .benefits-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid,
  .steps-grid,
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-h1: 26px;
    --fs-hero: 28px;
  }

  .section {
    padding: 56px 0;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 16px;
    padding: 8px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta .btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat .num {
    font-size: 22px;
  }

  .services-grid,
  .testimonials-grid,
  .benefits-grid,
  .values-grid,
  .advantages-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-box h2 {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .driver-hero h1 {
    font-size: 30px;
  }

  .driver-hero-stats {
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .data-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .data-item .num {
    font-size: 36px;
  }

  .invite-box {
    padding: 36px 24px;
  }

  .fab-customer {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }

  .service-detail-block.reverse {
    direction: ltr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }


/* ============================================
   SVG 图标系统（Soft 预设 · 24 网格 · 2px 描边）
   图标路径/描边参数内置在页面 sprite 的 symbol 中，
   此处仅控制尺寸与对齐
   ============================================ */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
}

.service-detail-card .big-icon .icon {
  width: 64px;
  height: 64px;
}

.invite-card .emoji .icon {
  width: 48px;
  height: 48px;
}

.testimonial-stars .icon {
  width: 14px;
  height: 14px;
}
