/* ==========================================================================
   爱宠日记 (iPet) 备案专属页面全局样式表
   设计风格：暖心米色、珊瑚橙品牌主色、圆角大卡片与全端响应式弹性布局
   ========================================================================== */

/* 1. 全局设计令牌 (CSS 变量) */
:root {
  /* 品牌色彩体系 */
  --brand-primary: #FF7A59;
  --brand-hover: #F16A4A;
  --brand-focus: #E75F42;
  --brand-active: #D85238;
  --brand-light: #FFF0EA;
  --brand-light-hover: #FFE5DC;
  
  /* 功能色彩 */
  --color-success: #4D9E80;
  --color-warning: #E8A82E;
  --color-info: #5B8FF9;
  
  /* 文字色彩 */
  --text-primary: #3A2F2A;
  --text-secondary: #6E615A;
  --text-muted: #A49790;
  --text-disabled: #C9BEB7;
  
  /* 背景与容器表面 */
  --bg-page: #FFF8EC;
  --bg-page-gradient: linear-gradient(180deg, #FFFDF8 0%, #FFF8EC 38%, #FFF4E5 100%);
  --bg-card: #FFFCF6;
  --bg-card-subtle: #FFF9F0;
  --bg-glass: rgba(255, 252, 246, 0.85);
  
  /* 边框与阴影 */
  --border-subtle: rgba(93, 72, 61, 0.08);
  --border-focus: rgba(255, 122, 89, 0.4);
  --shadow-sm: 0 4px 12px rgba(90, 60, 42, 0.04);
  --shadow-card: 0 14px 34px rgba(90, 60, 42, 0.08);
  --shadow-hover: 0 20px 42px rgba(90, 60, 42, 0.12);
  --shadow-float: 0 24px 48px rgba(231, 95, 66, 0.16);

  /* 圆角规范 */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  /* 容器与间距 */
  --container-max-width: 1200px;
  --header-height: 72px;
  --transition-normal: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 2. 基础重置与排版规范 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: var(--bg-page-gradient);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition-normal);
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 2.5. 全局自定义滚动条样式（Webkit 精细定制 + Firefox 兜底适配）
   配色延续品牌珊瑚橙，细杆轨道与圆角滑块，精致克制不喧宾夺主 */

/* 全局页面主滚动条 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #F4A88A 0%, #E75F42 60%, #C8432A 100%);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FF7A59 0%, #D85238 100%);
  box-shadow: 0 0 6px rgba(231, 95, 66, 0.4);
}

::-webkit-scrollbar-thumb:active {
  background: #C0392B;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox 滚动条兜底适配（不支持精细设计，仅设置宽细与品牌颜色）*/
* {
  scrollbar-width: thin;
  scrollbar-color: #E75F42 transparent;
}

/* 弹窗内容区独立滚动条（更纤细，与弹窗深色调融合） */
.modal-body::-webkit-scrollbar {
  width: 4px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(93, 72, 61, 0.05);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #F4A88A 0%, #E75F42 100%);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FF7A59 0%, #D85238 100%);
}


/* 3. 顶部导航栏 (Navbar) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(255, 122, 89, 0.2);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--brand-focus);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

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

/* 按钮通用风格 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-focus) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(231, 95, 66, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-hover) 0%, var(--brand-active) 100%);
  box-shadow: 0 10px 24px rgba(231, 95, 66, 0.38);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--brand-light);
  color: var(--brand-focus);
  border: 1px solid rgba(255, 122, 89, 0.25);
}

.btn-secondary:hover {
  background: var(--brand-light-hover);
  border-color: var(--brand-focus);
  transform: translateY(-2px);
}

/* 移动端汉堡切换按钮 */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  gap: 5px;
}

.mobile-toggle-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.mobile-toggle-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 4. 首屏英雄展区 (Hero Section) */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-light);
  border: 1px solid rgba(255, 122, 89, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-focus);
  margin-bottom: 20px;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--brand-focus);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 580px;
}

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

.hero-stats-row {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px dashed rgba(93, 72, 61, 0.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-focus);
  font-family: 'DIN Alternate', -apple-system, sans-serif;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 英雄视觉卡片 */
.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.hero-visual-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.hero-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.floating-text-primary {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.floating-text-secondary {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 5. 通用区块头部 (Section Header) */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-focus);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 6. 四大核心特色矩阵 (Feature Cards Grid) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 122, 89, 0.3);
}

.feature-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card-subtle);
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-img {
  transform: scale(1.04);
}

.feature-tag-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--brand-focus);
  box-shadow: var(--shadow-sm);
}

.feature-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-points li {
  font-size: 0.88rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-points li::before {
  content: '✓';
  font-weight: 800;
  color: var(--color-success);
}

/* 7. 服务矩阵与科学陪伴 (Services & Highlights) */
.services-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.service-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 89, 0.4);
  box-shadow: var(--shadow-card);
}

.service-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 8. 安全合规与技术特性 (Security & Trust) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-light);
  color: var(--brand-focus);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.trust-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.trust-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 9. 小程序体验引导卡片 (CTA Section) */
.cta-banner {
  background: linear-gradient(135deg, #FF7A59 0%, #E75F42 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  box-shadow: 0 20px 48px rgba(231, 95, 66, 0.32);
}

.cta-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-content p {
  font-size: 1.05rem;
  opacity: 0.92;
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-steps {
  display: flex;
  gap: 24px;
}

.cta-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.cta-step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.cta-preview-wrap {
  display: flex;
  justify-content: center;
}

.cta-qr-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  color: var(--text-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  max-width: 240px;
}

.cta-qr-box {
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  background: var(--brand-light);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--brand-primary);
  padding: 12px;
}

.cta-qr-icon {
  font-size: 2.5rem;
  margin-bottom: 6px;
}

.cta-qr-box span {
  font-size: 0.8rem;
  color: var(--brand-focus);
  font-weight: 600;
}

.cta-qr-tip {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* 10. 页脚与备案信息专区 (Footer & ICP Compliance) */
.site-footer {
  background: #2D2420;
  color: #E2D9D3;
  padding: 64px 0 36px;
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.footer-desc {
  font-size: 0.88rem;
  color: #B5A8A0;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 320px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a,
.footer-link-item button {
  font-size: 0.88rem;
  color: #B5A8A0;
  transition: var(--transition-normal);
  text-align: left;
}

.footer-link-item a:hover,
.footer-link-item button:hover {
  color: #FF7A59;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: #B5A8A0;
}

.contact-info-list span {
  color: #FFFFFF;
  font-weight: 600;
}

/* 页脚客服扫码专用高对比度按钮 */
.footer-contact-btn {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-focus) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(255, 122, 89, 0.35);
  border: none;
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  transition: var(--transition-normal);
}

.footer-contact-btn span {
  color: #FFFFFF !important;
  font-weight: 600;
}

.footer-contact-btn:hover {
  background: linear-gradient(135deg, var(--brand-hover) 0%, var(--brand-active) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 122, 89, 0.45);
}

/* 备案核心合规专区 */
.compliance-bar {
  padding: 32px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.filing-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  font-size: 0.88rem;
  color: #B5A8A0;
}

.filing-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #B5A8A0;
  transition: var(--transition-normal);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.filing-link:hover {
  color: #FFFFFF;
  background: rgba(255, 122, 89, 0.2);
}

.icp-badge-icon,
.police-badge-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}

.copyright-text {
  font-size: 0.82rem;
  color: #8C8078;
  margin-top: 4px;
}

.entity-statement {
  font-size: 0.78rem;
  color: #7A6F68;
}

/* 11. 模态弹窗 (User Agreement & Privacy Policy Modals) */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(45, 36, 32, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-card);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card-subtle);
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(93, 72, 61, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.modal-close-btn:hover {
  background: var(--brand-light);
  color: var(--brand-focus);
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.modal-body h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin: 18px 0 8px;
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  background: var(--bg-card-subtle);
}

/* 返回顶部浮动按钮 */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(231, 95, 66, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transition-normal);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-active);
  transform: translateY(-3px);
}

/* ==========================================================================
   12. 响应式断点适配 (Responsive Media Queries)
   ========================================================================== */

/* 平板端 (Tablet, 最大宽度 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual-card {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 32px;
  }
  
  .cta-steps {
    justify-content: center;
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* 手机移动端 (Mobile, 最大宽度 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  /* 容器边距收紧，提升窄屏利用率 */
  .container {
    padding: 0 16px;
  }

  /* 顶部导航栏精细排版 */
  .brand-logo-link {
    gap: 10px;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 1.15rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
  }

  .brand-tagline {
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-primary {
    padding: 6px 13px;
    font-size: 0.82rem;
    box-shadow: 0 4px 12px rgba(231, 95, 66, 0.22);
  }

  .mobile-toggle-btn {
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .mobile-toggle-btn span {
    width: 18px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow-card);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* 首屏英雄展区移动端流式排版 */
  .hero-section {
    padding: 24px 0 40px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-tag-badge {
    font-size: 0.78rem;
    padding: 4px 12px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 1.95rem;
    line-height: 1.3;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
  }

  .hero-description {
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-secondary);
  }

  /* 按钮组合在移动端采用更易触控的块级弹性布局 */
  .hero-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 28px;
  }

  .hero-btn-group .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
    justify-content: center;
  }

  /* 核心指标均分平铺且禁止换行 */
  .hero-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-top: 18px;
    margin-top: 20px;
  }

  .stat-item {
    flex: 1;
    text-align: center;
    align-items: center;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* 首屏插画展示卡片移动端适配 */
  .hero-visual-card {
    max-width: 100%;
    padding: 10px;
    border-radius: 20px;
    margin: 0 auto;
  }

  .hero-main-img {
    height: 230px;
    border-radius: 14px;
  }

  .hero-floating-badge {
    position: static;
    margin-top: 12px;
    padding: 10px 14px;
    gap: 10px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    animation: none;
  }

  .floating-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  .floating-text-primary {
    font-size: 0.85rem;
  }

  .floating-text-secondary {
    font-size: 0.75rem;
  }

  /* 通用区块与标题 */
  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-subtitle {
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .section-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* 四大核心功能单列展示 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    border-radius: 20px;
  }

  .feature-img-wrap {
    height: 180px;
  }

  .feature-body {
    padding: 20px 18px;
  }

  .feature-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .feature-text {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .feature-points li {
    font-size: 0.82rem;
  }

  /* 养宠服务在移动端采用 2x2 网格，紧凑易读 */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card {
    padding: 16px 10px;
    border-radius: 16px;
  }

  .service-avatar {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
  }

  .service-title {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .service-desc {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  /* 安全信任卡片 */
  .trust-grid {
    gap: 12px;
  }

  .trust-item {
    padding: 16px;
    border-radius: 16px;
    gap: 12px;
  }

  .trust-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 10px;
  }

  .trust-content h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .trust-content p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  /* 体验引导卡片 */
  .cta-banner {
    padding: 28px 18px;
    border-radius: 20px;
    gap: 24px;
    text-align: center;
  }

  .cta-content h3 {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .cta-content p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .cta-steps {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .cta-step-item {
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    border-radius: 10px;
    justify-content: flex-start;
  }

  .cta-qr-card {
    max-width: 220px;
    width: 100%;
    padding: 16px;
    border-radius: 16px;
  }

  /* 页脚与备案信息 */
  .site-footer {
    padding: 40px 0 24px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-top: 8px;
  }

  .contact-info-list {
    font-size: 0.82rem;
    gap: 8px;
  }

  .compliance-bar {
    padding: 20px 0 8px;
    gap: 12px;
  }

  .filing-row {
    flex-direction: column;
    gap: 10px;
  }

  .filing-link {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .entity-statement {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .copyright-text {
    font-size: 0.72rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  /* 移动端弹窗适配 */
  .modal-dialog {
    max-height: 82vh;
    border-radius: 20px;
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-header h3 {
    font-size: 1.1rem;
  }

  .modal-body {
    padding: 18px 20px;
    font-size: 0.86rem;
    line-height: 1.7;
  }

  .modal-footer {
    padding: 12px 20px;
  }
}

/* 超窄屏手机进一步防溢出适配 (小于 360px) */
@media (max-width: 360px) {
  .brand-tagline {
    display: none;
  }

  .hero-title {
    font-size: 1.75rem;
  }
}
