/* ==========================================================================
   千爱云健康官网 - 全局样式
   品牌色: 蓝 #056CF3 / 浅蓝 #3973F3 / 绿 #1AAB7C / 浅绿 #74BD43
   中性色: 黑 #161616 / 深灰 #454646 / 浅灰 #F6F6F6
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --brand-blue: #056cf3;
  --brand-blue-light: #3973f3;
  --brand-green: #1aab7c;
  --brand-green-light: #74bd43;
  --neutral-black: #161616;
  --neutral-dark: #454646;
  --neutral-light: #f6f6f6;
  --border: #e6e6e6;
  --radius: 0.625rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px rgba(5, 108, 243, 0.3);
  --font-body: "Lato", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Poppins", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-black);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
}

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(5, 108, 243, 0.2);
  color: var(--neutral-black);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--brand-blue), var(--brand-green)); border-radius: 4px; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ---------- 通用工具 ---------- */
.text-gradient {
  background: linear-gradient(to right, var(--brand-blue), var(--brand-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-white { color: #fff; }
.text-brand-blue { color: var(--brand-blue); }
.text-brand-green { color: var(--brand-green); }
.text-red-500 { color: #ef4444; }
.text-orange-500 { color: #f97316; }

.bg-red-100 { background: #fee2e2; }
.bg-orange-100 { background: #ffedd5; }
.bg-brand-blue-10 { background: rgba(5, 108, 243, 0.1); }
.bg-brand-green-10 { background: rgba(26, 171, 124, 0.1); }

.pill {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(5, 108, 243, 0.1);
  color: var(--brand-blue);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.pill-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn svg { width: 1rem; height: 1rem; }

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(to right, var(--brand-blue), var(--brand-blue-light));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border);
  color: var(--neutral-black);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.card-icon svg { width: 1.25rem; height: 1.25rem; }

.glass-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-xl);
}

.card-label { font-size: 0.75rem; color: var(--neutral-dark); }
.card-value { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }

.glass-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 500;
}

.glass-pill svg { width: 1rem; height: 1rem; }

/* ---------- 动画 ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.animate-float { animation: float 4s ease-in-out infinite; }

@keyframes pulse {
  50% { opacity: 0.5; }
}

.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

/* 滚动进入动画（由 main.js 触发） */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-dark);
  transition: color 0.2s;
}

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

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--neutral-black);
}

.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 24rem; }
  .nav-link { padding: 0.875rem 1.5rem; }
  .nav-cta { margin: 0.75rem 1.5rem 1.25rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
}

.hero-blob-blue {
  width: 24rem;
  height: 24rem;
  top: -3rem;
  left: -3rem;
  background: rgba(5, 108, 243, 0.2);
}

.hero-blob-green {
  width: 24rem;
  height: 24rem;
  bottom: -3rem;
  right: -3rem;
  background: rgba(26, 171, 124, 0.2);
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero { padding: 10rem 0 8rem; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.hero-desc {
  font-size: 1.125rem;
  color: var(--neutral-dark);
  max-width: 36rem;
  margin-bottom: 2rem;
  line-height: 1.625;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone {
  width: 16rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 640px) { .hero-phone { width: 20rem; } }
@media (min-width: 1024px) { .hero-phone { width: 24rem; } }

.hero-card-left {
  position: absolute;
  left: -1rem;
  top: 25%;
}

.hero-card-right {
  position: absolute;
  right: -1rem;
  top: 50%;
}

@media (min-width: 640px) {
  .hero-card-left { left: -3rem; }
  .hero-card-right { right: -3rem; }
}

.hero-card-bottom {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 6rem 0;
  position: relative;
}

@media (min-width: 1024px) { .section { padding: 8rem 0; } }

.section-light { background: var(--neutral-light); }

.section-dark {
  background: var(--neutral-black);
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(69, 70, 70, 0.5), var(--neutral-black) 70%);
  pointer-events: none;
}

.section-dark .container { position: relative; }

.section-dark .section-desc { color: rgba(255, 255, 255, 0.6); }

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) { .section-title { font-size: 3rem; } }

.section-desc {
  font-size: 1.125rem;
  color: var(--neutral-dark);
  line-height: 1.625;
}

/* ---------- 关于我们 ---------- */
.about-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.about-img {
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  width: 100%;
  object-fit: cover;
}

.about-text .section-title { margin-top: 0; }
.about-text .section-desc { margin-bottom: 2rem; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.value-item p {
  color: var(--neutral-dark);
  font-size: 0.875rem;
  line-height: 1.625;
}

/* ---------- 数据统计 ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) { .stat-number { font-size: 3.75rem; } }

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ---------- 核心功能 ---------- */
.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  border-color: rgba(5, 108, 243, 0.2);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon svg { width: 1.75rem; height: 1.75rem; }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--neutral-dark);
  font-size: 0.875rem;
  line-height: 1.625;
}

/* ---------- 服务项目 ---------- */
.services-featured {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.service-photo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-photo-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-photo-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.service-photo-body { padding: 2rem; }

.service-photo-body h3,
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.service-tag {
  color: var(--brand-blue);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.service-desc,
.service-card p:last-child {
  color: var(--neutral-dark);
  font-size: 0.875rem;
  line-height: 1.625;
}

.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  border-color: rgba(5, 108, 243, 0.2);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* ---------- 用户评价 ---------- */
.testimonials-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  border-color: rgba(5, 108, 243, 0.2);
  box-shadow: var(--shadow-xl);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: #facc15;
}

.testimonial-text {
  color: var(--neutral-dark);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-user img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
}

.user-name { font-weight: 600; font-size: 0.875rem; }
.user-role { color: var(--neutral-dark); font-size: 0.75rem; }

/* ---------- APP 下载 ---------- */
.section-download {
  background: linear-gradient(to bottom right, var(--brand-blue), var(--brand-green));
  overflow: hidden;
}

.section-download .section-desc { color: rgba(255, 255, 255, 0.8); }

.download-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .download-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.qr-box {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-xl);
}

.qr-img {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-dark);
}

.qr-img svg { width: 3rem; height: 3rem; }
.qr-img img { width: 100%; height: 100%; object-fit: contain; }

/* 点击下载按钮图标 */
.qr-img-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, var(--brand-blue), var(--brand-green));
  color: #fff;
  transition: transform 0.3s;
}

.qr-img-btn svg { width: 1.5rem; height: 1.5rem; }

.qr-box:hover .qr-img-btn { transform: scale(1.1); }

.qr-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--neutral-black);
}

.qr-sub { font-size: 0.875rem; color: var(--neutral-dark); }

.download-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) { .download-visual { justify-content: flex-end; } }

.download-phone {
  width: 16rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 640px) { .download-phone { width: 20rem; } }

.download-badge {
  position: absolute;
  right: 0;
  bottom: 25%;
}

@media (min-width: 1024px) { .download-badge { right: -1rem; } }

.badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--brand-green);
  color: #fff;
  flex-shrink: 0;
}

.badge-check svg { width: 1rem; height: 1rem; }

/* ---------- 联系我们 ---------- */
.contact-info {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) { .contact-info { grid-template-columns: repeat(2, 1fr); } }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s;
}

.contact-item:hover { box-shadow: var(--shadow-lg); }

.contact-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--neutral-dark);
  font-size: 0.875rem;
}

.contact-item a:hover { color: var(--brand-blue); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--neutral-black);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

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

.footer-brand .brand-name { color: #fff; }

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.625;
  margin: 1rem 0 1.5rem;
  max-width: 20rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--brand-blue);
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  padding: 0.375rem 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

.footer-bottom-plain { border-top: none; }

.footer-beian { margin-top: 0.5rem; }

.footer-beian a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-beian a:hover { color: #fff; }

/* ---------- 页尾资质展示 ---------- */
.footer-certs {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

.footer-certs-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
}

.footer-certs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cert-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  transition: all 0.3s;
  width: 10rem;
}

.cert-thumb:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.cert-thumb img {
  width: 100%;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.375rem;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.cert-thumb:hover img { filter: grayscale(0); }

.cert-thumb span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  line-height: 1.4;
}

.cert-thumb:hover span { color: #fff; }

/* ---------- 资质详情页 ---------- */
.cert-page { padding-top: 10rem; }

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.cert-card {
  display: grid;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.cert-card:hover { box-shadow: var(--shadow-xl); }

@media (min-width: 768px) {
  .cert-card { grid-template-columns: 1.2fr 1fr; }
  .cert-card:nth-child(even) .cert-card-img { order: 2; }
}

.cert-card-img img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.cert-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.cert-card-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.cert-card-body p {
  color: var(--neutral-dark);
  font-size: 0.875rem;
  line-height: 1.625;
}

/* ---------- 资质图片灯箱（点击放大 / 再点击缩回） ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.open .lightbox-img { transform: scale(1); }

/* ---------- 下载中间页 ---------- */
.download-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, rgba(5, 108, 243, 0.08), rgba(26, 171, 124, 0.08));
  padding: 2rem 1rem;
}

.dl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  padding: 3rem 2rem;
  max-width: 26rem;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dl-brand { margin-bottom: 1.5rem; }

.dl-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* 系统支持醒目提示 */
.dl-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 1rem;
  padding: 0.875rem 1rem;
  margin-bottom: 2rem;
  text-align: left;
}

.dl-notice svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #f97316;
  flex-shrink: 0;
}

.dl-notice-main {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #c2410c;
}

.dl-notice-sub {
  font-size: 0.8125rem;
  color: #9a3412;
}

.dl-ring-wrap {
  position: relative;
  width: 8rem;
  height: 8rem;
  margin-bottom: 1.5rem;
}

.dl-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dl-ring circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.dl-ring-bg { stroke: var(--neutral-light); }

.dl-ring-progress {
  stroke: var(--brand-blue);
  transition: stroke-dashoffset 1s linear;
}

.dl-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.dl-seconds {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
}

.dl-unit {
  font-size: 0.875rem;
  color: var(--neutral-dark);
}

.dl-tip {
  color: var(--neutral-dark);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.dl-count {
  font-size: 0.875rem;
  color: var(--neutral-dark);
  margin-bottom: 1.5rem;
}

.dl-count strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brand-green);
  margin: 0 0.25rem;
}

.dl-manual { margin-bottom: 1rem; }

.dl-back {
  font-size: 0.875rem;
  color: var(--neutral-dark);
  transition: color 0.2s;
}

.dl-back:hover { color: var(--brand-blue); }
