/* ===================================================================
   狗狗加速 (Gougou Speed) - 原生极简高效样式表（浅色高雅主题）
   零外部依赖 · 秒开加载 · 全端响应式适配 · 浅色清爽视觉
   =================================================================== */

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-color: #e2e8f0;
  --border-highlight: #3b82f6;
  --border-subtle: #edf2f7;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-bg: #eff6ff;
  --primary-border: #bfdbfe;
  
  --accent-cyan: #0284c7;
  --accent-gold: #d97706;
  --accent-green: #16a34a;
  --accent-purple: #7c3aed;

  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-badge: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08));
  --gradient-popular: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 6px 16px -2px rgba(15, 23, 42, 0.04);
  --shadow-primary: 0 10px 25px -3px rgba(37, 99, 235, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-max: 1200px;
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

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

/* 链接与按钮通用 */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* 顶部导航 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.brand-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  min-height: 46px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 12px 28px -3px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-large {
  padding: 15px 32px;
  font-size: 1.08rem;
  min-height: 52px;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* 主视觉区 (Hero) */
.hero-section {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-primary) 100%);
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--primary-bg);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* 区块通用结构 */
.section {
  padding: 90px 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.section:nth-of-type(even) {
  background: #ffffff;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* 核心优势卡片网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

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

.feature-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 流媒体与 AI 支持专区 */
.unlock-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.unlock-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.unlock-box-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.unlock-box-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-body);
  font-weight: 500;
}

.tag-item.active {
  border-color: var(--primary-border);
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 600;
}

.highlight-banner {
  margin-top: 36px;
  background: linear-gradient(90deg, #eff6ff 0%, #f0fdfa 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.banner-text {
  font-size: 0.98rem;
  color: var(--text-body);
}

.banner-text strong {
  color: var(--text-main);
}

/* 套餐价格对比表 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: #ffffff;
  border: 2px solid var(--primary);
  box-shadow: 0 16px 36px -4px rgba(37, 99, 235, 0.18), 0 4px 12px -2px rgba(37, 99, 235, 0.08);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-popular);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
}

.plan-price {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.price-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.price-cycle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.plan-feature-item strong {
  color: var(--text-main);
}

.plan-feature-item .icon-check {
  color: var(--accent-green);
  font-weight: 800;
  font-size: 1rem;
}

/* 用户评价 */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.author-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.92rem;
}

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

/* 常见问题解答 (FAQ) */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--primary-border);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}

.faq-summary {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  content: "−";
  transform: rotate(0deg);
}

.faq-content {
  padding: 0 24px 20px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 底部 CTA 区域 */
.cta-banner {
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.cta-box {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdfa 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 52px 36px;
  box-shadow: var(--shadow-md);
}

.cta-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* 页脚 (只保留四个指定标题，打开新页面) */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: #f1f5f9;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.footer-link {
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 10px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

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

/* ===================================================================
   独立子页面通用样式 (关于我们、服务条款、隐私政策、网站地图)
   =================================================================== */
.doc-page {
  padding: 60px 0 90px;
  background-color: var(--bg-primary);
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.doc-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.doc-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.doc-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.doc-body {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.8;
}

.doc-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.doc-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 20px 0 8px;
}

.doc-body p {
  margin-bottom: 16px;
}

.doc-body ul, .doc-body ol {
  margin: 0 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-callout {
  background: var(--primary-bg);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
  color: #1e3a8a;
  font-weight: 500;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.back-home-link:hover {
  text-decoration: underline;
}

/* ===================================================================
   响应式适配 (Media Queries - 手机端单栏完美显示与手触优化)
   =================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  /* 导航支持横向滑动菜单，确保各终端均可方便浏览导航目录 */
  .nav-container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    display: flex;
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 0 2px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    font-size: 0.88rem;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    color: var(--text-body);
  }
  
  .navbar {
    padding: 12px 0 10px;
  }

  /* 主视觉 */
  .hero-section {
    padding: 50px 0 40px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 1.02rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 1.05rem;
  }

  /* 统计区块双栏 */
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px 16px;
  }

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

  /* 优势网格转单栏 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  /* 解锁展示转单栏 */
  .unlock-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .unlock-box {
    padding: 24px 20px;
  }

  .highlight-banner {
    flex-direction: column;
    text-align: center;
  }

  /* 价格表转单栏 */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  /* 评价转单栏 */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 页脚链接换行适配 */
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
  }

  .footer-link {
    font-size: 0.9rem;
    padding: 4px 6px;
  }

  /* 文档卡片内边距缩减 */
  .doc-card {
    padding: 28px 20px;
  }

  .doc-title {
    font-size: 1.7rem;
  }

  /* 高科技卡片网格移动端转单栏 */
  .tech-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

/* ===================================================================
   高科技网格卡片 (High-Tech Grid Cards) 布局组件
   =================================================================== */
.tech-grid-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
}

.tech-grid-header {
  margin-bottom: 28px;
}

.tech-grid-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-grid-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 6px;
}

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

.tech-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tech-card-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--primary-bg);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  border-radius: var(--radius-full);
}

.tech-card-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.tech-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tech-card:hover .tech-card-title {
  color: var(--primary);
}

.tech-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.tech-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: auto;
}

.tech-card-time {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.tech-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s ease;
}

.tech-card:hover .tech-card-btn {
  gap: 8px;
}

@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================================================
   首页博美萌宠主视觉卡片 (Hero Mascot Showcase)
   =================================================================== */
.hero-showcase {
  margin: 36px auto 32px;
  max-width: 820px;
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.hero-showcase-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-image-card:hover .hero-showcase-img {
  transform: scale(1.02);
}

.hero-image-glass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 35%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-image-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-border);
}

.hero-image-desc {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
}

@media (max-width: 768px) {
  .hero-showcase {
    margin: 24px auto 20px;
  }
  .hero-showcase-img {
    max-height: 280px;
  }
  .hero-image-glass {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    padding: 10px 14px;
  }
}
