/* ==========================================================================
   上海诚睿思信息科技有限公司 - 产品落地页统一视觉规范
   复用模板: 保持各产品页视觉一致, 通过 CSS 变量切换主题色
   ========================================================================== */

:root {
  --primary: #1e3a5f;          /* 主色(深海军蓝) */
  --primary-soft: rgba(30, 58, 95, 0.08);
  --theme-2: #4ECDC4;          /* 主题色(浅) */
  --theme: #2ecc71;            /* 主题色(深) */
  --theme-soft: rgba(46, 204, 113, 0.12);
  --ai: #FF6B35;               /* AI 标识色(橙) */
  --bg: #eef7f2;               /* 页面背景 */
  --card: #FFFEF7;             /* 卡片背景 */
  --card-border: rgba(30, 58, 95, 0.15);
  --card-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
  --card-shadow-hover: 0 12px 40px rgba(30, 58, 95, 0.16);
  --text: #1a2e2a;             /* 主文字 */
  --muted: rgba(10, 40, 30, 0.72); /* 次要文字 */
  --radius: 16px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--card);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(30, 58, 95, 0.75);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--theme);
  background: var(--theme-soft);
}

.header-cta {
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--theme-2), var(--theme));
  color: #fff;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.26);
}

@media (max-width: 767px) {
  .site-header {
    height: 64px;
  }
  .header-nav {
    display: none;
  }
  .brand-name {
    font-size: 0.85rem;
  }
  .brand-logo {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  background: linear-gradient(135deg, var(--theme-soft), rgba(30, 58, 95, 0.04));
  border-bottom: 1px solid var(--card-border);
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--theme);
  background: var(--theme-soft);
  border: 1px solid rgba(30, 58, 95, 0.18);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero-ai-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ai);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(255, 149, 0, 0.08));
  border: 1px solid rgba(255, 107, 53, 0.3);
  margin-left: 8px;
  margin-bottom: 16px;
  animation: aiBreath 3s ease-in-out infinite;
}

@keyframes aiBreath {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 107, 53, 0.15); }
  50% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.35); }
}

.hero-title {
  display: block;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.hero-subtitle {
  display: block;
  font-size: 1.2rem;
  color: rgba(30, 58, 95, 0.82);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.hero-desc {
  display: block;
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--theme-2), var(--theme));
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.3);
}

.btn-outline {
  background: transparent;
  color: rgba(30, 58, 95, 0.88);
  border: 1.5px solid rgba(30, 58, 95, 0.25);
}

.btn-outline:hover {
  border-color: var(--theme);
  color: var(--theme);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--theme);
}

.hero-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================================================
   通用区块
   ========================================================================== */
.section {
  padding: 64px 0;
}

.section-alt {
  background: rgba(30, 58, 95, 0.04);
}

.sec-head {
  text-align: center;
  margin-bottom: 40px;
}

.sec-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(30, 58, 95, 0.8);
  letter-spacing: 3px;
  margin-bottom: 6px;
}

.sec-title {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.sec-desc {
  display: block;
  max-width: 560px;
  margin: 8px auto 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* 数据概览 */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.28s var(--ease);
}

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

.stat-card .num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--theme);
}

.stat-card .lbl {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.overview-desc {
  font-size: 1rem;
  color: rgba(30, 58, 95, 0.85);
  line-height: 1.9;
}

/* 卡片网格(通用) */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card,
.module-card,
.scenario-card,
.value-card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-2), var(--theme));
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.feature-card:hover,
.module-card:hover,
.scenario-card:hover,
.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 58, 95, 0.32);
  box-shadow: var(--card-shadow-hover);
}

.feature-card:hover::before,
.module-card:hover::before {
  opacity: 1;
}

/* 功能区(带图标/标签) */
.feature-icon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.feature-icon {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--theme-soft);
  border: 1px solid var(--card-border);
  color: var(--theme);
}

.feature-ai-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ai);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 149, 0, 0.06));
  border: 1px solid rgba(255, 107, 53, 0.25);
  letter-spacing: 0.5px;
}

.feature-card .title,
.module-card .title,
.scenario-card .title,
.value-card .title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-card .desc,
.module-card .desc,
.scenario-card .desc,
.value-card .desc {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* 模块卡片的标签列表 */
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.highlight-tag {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--theme);
  background: var(--theme-soft);
  border: 1px solid rgba(30, 58, 95, 0.12);
}

.module-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--theme-soft);
  color: var(--theme);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* 场景卡片列表 */
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.detail-item {
  position: relative;
  padding-left: 14px;
  font-size: 0.85rem;
  color: var(--primary);
}

.detail-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme);
}

.scenario-icon,
.value-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ==========================================================================
   AI 能力卡片
   ========================================================================== */
.ai-head {
  text-align: center;
  margin-bottom: 40px;
}

.ai-glow {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(255, 149, 0, 0.08));
  border: 1.5px solid rgba(255, 107, 53, 0.3);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ai);
  margin-bottom: 14px;
  animation: aiBreath 3s ease-in-out infinite;
}

.ai-head .title {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.ai-head .desc {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.ai-card {
  padding: 24px;
  background: var(--card);
  border: 1.5px solid rgba(255, 107, 53, 0.15);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.06);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF6B35, #FF9500);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.ai-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15);
}

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

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

.ai-card-icon {
  font-size: 2rem;
  line-height: 1;
}

.ai-card-badge {
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ai);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 149, 0, 0.08));
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.ai-card .title {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.ai-card .desc {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ai-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.ai-flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #FF9500);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255, 107, 53, 0.3);
}

.ai-flow-text {
  font-size: 0.8rem;
  color: rgba(30, 58, 95, 0.75);
  font-weight: 500;
  white-space: nowrap;
}

.ai-flow-arrow {
  font-size: 0.85rem;
  color: rgba(255, 107, 53, 0.5);
  margin: 0 6px;
  font-weight: 700;
}

/* ==========================================================================
   会员套餐 (票账通专用)
   ========================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.plan-card {
  position: relative;
  background: #f7f9fb;
  border: 1px solid #e5e9ef;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 58, 95, 0.1);
}

.plan-card.plan-highlight {
  background: linear-gradient(160deg, var(--primary), #2d5a8a);
  border-color: transparent;
  color: #fff;
}

.plan-recommend {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 14px;
  border-radius: 9999px;
}

.plan-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.plan-highlight .plan-name {
  color: #fff;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 14px;
}

.plan-currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.plan-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 2px;
}

.plan-unit {
  font-size: 0.85rem;
  color: #8a8aa3;
}

.plan-highlight .plan-currency,
.plan-highlight .plan-value {
  color: #fff;
}

.plan-meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.plan-meta-item {
  background: #eef2f6;
  color: #52657e;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 9999px;
}

.plan-highlight .plan-meta-item {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.plan-desc {
  display: block;
  font-size: 0.85rem;
  color: #8a8aa3;
}

.plan-highlight .plan-desc {
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   底部 CTA
   ========================================================================== */
.cta-section {
  padding: 72px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), #2d5a8a);
  color: #fff;
}

.cta-section .title {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section .desc {
  display: block;
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-actions .btn-primary {
  background: linear-gradient(135deg, var(--theme-2), var(--theme));
}

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

.cta-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: var(--bg);
  padding: 56px 0 0;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0 16px;
}

.footer-col {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 28px 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--theme);
}

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

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--theme);
  border-radius: 2px;
}

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

.footer-links a,
.footer-links li {
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.footer-links a:hover,
.footer-links li:hover {
  color: var(--theme);
  background: var(--theme-soft);
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-item .ci {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 16px;
  background: linear-gradient(180deg, #0d1b2a 0%, #1b2a4a 100%);
  text-align: center;
}

.footer-bottom .copyright {
  color: rgba(200, 215, 235, 0.5);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.footer-bottom .icp {
  color: rgba(200, 215, 235, 0.4);
  font-size: 0.75rem;
}

.footer-bottom .icp a {
  color: rgba(138, 180, 248, 0.8);
  transition: color 0.15s ease;
}

.footer-bottom .icp a:hover {
  color: #8ab4f8;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (min-width: 576px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (max-width: 575px) {
  .hero {
    padding: 80px 0 48px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-stats {
    gap: 20px;
  }
  .section {
    padding: 44px 0;
  }
  .sec-title {
    font-size: 1.4rem;
  }
  .ai-head .title {
    font-size: 1.5rem;
  }
  .cta-section .title {
    font-size: 1.5rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   FAQ 常见问题区块（GEO）
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

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

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 20px 18px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}