/* === OmniFuse 品牌官网 样式表 === */
/* 品牌色：深蓝 #1a237e + 金色 #ffd700 + 白色 #ffffff */

:root {
  --primary: #1a237e;
  --primary-light: #283593;
  --primary-dark: #0d1642;
  --accent: #ffd700;
  --accent-hover: #ffc107;
  --text: #1a1a2e;
  --text-light: #555;
  --text-muted: #888;
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --bg-dark: #0d1642;
  --border: #e0e0e0;
  --success: #2e7d32;
  --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* === 导航栏 === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 700; color: var(--primary);
  text-decoration: none;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px; font-weight: 800;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text); font-size: 15px;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.nav-cta:hover { background: var(--primary-light); transform: translateY(-1px); }

/* === Hero 区域 === */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #f0f2ff 0%, #fff 100%);
}
.hero-badge {
  display: inline-block; padding: 6px 16px;
  background: rgba(26,35,126,0.08); color: var(--primary);
  border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 48px; font-weight: 800; line-height: 1.2;
  color: var(--text); max-width: 700px; margin: 0 auto 16px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), #5c6bc0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px; color: var(--text-light); max-width: 560px;
  margin: 0 auto 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; background: var(--primary);
  color: #fff; border-radius: var(--radius-sm); font-size: 16px;
  font-weight: 600; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(26,35,126,0.3); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; background: #fff; color: var(--primary);
  border: 2px solid var(--primary); border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { background: #f0f2ff; transform: translateY(-2px); }

/* === 功能卡片 === */
.section { padding: 80px 0; }
.section-title {
  font-size: 32px; font-weight: 700; text-align: center;
  margin-bottom: 12px; color: var(--text);
}
.section-subtitle {
  font-size: 16px; color: var(--text-light); text-align: center;
  margin-bottom: 48px; max-width: 500px; margin-left: auto; margin-right: auto;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  padding: 32px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border);
  transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.feature-icon.blue { background: #e8eaf6; color: var(--primary); }
.feature-icon.gold { background: #fff8e1; color: #f9a825; }
.feature-icon.green { background: #e8f5e9; color: #2e7d32; }
.feature-icon.purple { background: #f3e5f5; color: #7b1fa2; }
.feature-icon.orange { background: #fff3e0; color: #e65100; }
.feature-icon.teal { background: #e0f2f1; color: #00695c; }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* === AI 能力专区 === */
.ai-section { background: var(--bg-alt); }
.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ai-card {
  display: flex; gap: 16px; padding: 24px;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
}
.ai-card .ai-badge {
  flex-shrink: 0; width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), #5c6bc0);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
}
.ai-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.ai-card p { font-size: 13px; color: var(--text-muted); }

/* === 定价表 === */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-card {
  padding: 32px 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border);
  text-align: center; transition: all 0.3s;
  position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured::before {
  content: '推荐'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px; background: var(--primary);
  color: #fff; border-radius: 12px; font-size: 12px; font-weight: 600;
}
.pricing-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.pricing-price span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-features li {
  padding: 6px 0; font-size: 13px; color: var(--text-light);
  display: flex; align-items: center; gap: 8px;
}
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }
.pricing-btn {
  display: block; width: 100%; padding: 12px;
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius-sm); font-size: 15px;
  font-weight: 600; cursor: pointer; text-decoration: none;
  transition: all 0.2s;
}
.pricing-btn:hover { background: var(--primary-light); }
.pricing-btn.outline {
  background: #fff; color: var(--primary); border: 2px solid var(--primary);
}
.pricing-btn.outline:hover { background: #f0f2ff; }

/* === 客户案例 === */
.testimonials { background: var(--bg-alt); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  padding: 24px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.testimonial-card .quote { font-size: 14px; color: var(--text-light); font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.testimonial-card .author { display: flex; align-items: center; gap: 10px; }
.testimonial-card .author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.testimonial-card .author-name { font-size: 14px; font-weight: 600; }
.testimonial-card .author-role { font-size: 12px; color: var(--text-muted); }

/* === CTA 区域 === */
.cta-section {
  padding: 80px 0; text-align: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}
.cta-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cta-section p { font-size: 16px; opacity: 0.85; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary {
  background: var(--accent); color: var(--primary-dark);
}
.cta-section .btn-primary:hover { background: var(--accent-hover); }

/* === Footer === */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand h3 { font-size: 20px; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; line-height: 1.6; }
.footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 12px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; display: flex; justify-content: space-between;
  align-items: center; font-size: 12px;
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .navbar .container { height: 56px; }
  .hero { padding: 100px 0 56px; }
}

/* === 产品页特有 === */
.product-hero { background: linear-gradient(180deg, #e8eaf6 0%, #fff 100%); }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.module-card {
  padding: 24px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); display: flex; gap: 16px;
}
.module-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.module-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.module-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.module-features { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.module-features span {
  padding: 3px 10px; background: var(--bg-alt);
  border-radius: 12px; font-size: 12px; color: var(--text-light);
}

/* === 关于页 === */
.about-hero { background: linear-gradient(180deg, #e8eaf6 0%, #fff 100%); }
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; }
.about-content p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.eco-card {
  padding: 20px; text-align: center; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--border);
}
.eco-card .eco-icon { font-size: 32px; margin-bottom: 8px; }
.eco-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.eco-card p { font-size: 12px; color: var(--text-muted); }

/* === 页面通用 Hero === */
.page-hero {
  padding: 120px 0 64px; text-align: center;
}
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: var(--text-light); max-width: 500px; margin: 0 auto; }

/* === FAQ === */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.faq-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; cursor: pointer; }
.faq-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* === 响应式增强 === */
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; }
  .hero-badge { font-size: 12px; padding: 4px 12px; }
  .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 14px; }
  .section-header h2 { font-size: 22px; }
  .pricing-card { padding: 24px 16px; }
  .feature-card { padding: 24px 16px; }
  .ai-card { padding: 20px 16px; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .testimonial-card { padding: 20px 16px; }
  .page-hero h1 { font-size: 28px; }
}

/* === 动画 === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === 移动端导航 === */
.mobile-menu-btn {
  display: none;
  width: 36px; height: 36px;
  cursor: pointer;
  border: none; background: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  z-index: 1001;
}
.mobile-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,22,66,0.95);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-overlay a {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-overlay a:hover {
  color: var(--accent);
}
.mobile-overlay .close-btn {
  position: absolute;
  top: 20px; right: 24px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
}

/* === 表单增强 === */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
  color: var(--text);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}
.form-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(211,47,47,0.1);
}
.form-error {
  color: var(--error);
  font-size: 13px;
  margin-top: 4px;
  display: none;
}
.form-error.visible {
  display: block;
}

.btn-primary.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn-primary.loading::after {
  content: '';
  position: absolute;
  top: calc(50% - 10px);
  left: calc(50% - 10px);
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* === FAQ 折叠 === */
.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 0;
  margin: 0;
  user-select: none;
}
.faq-question:hover {
  color: var(--primary);
}
.faq-arrow {
  transition: transform 0.3s;
  font-size: 14px;
  color: var(--text-muted);
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 16px;
}
.faq-answer p {
  margin: 0;
}

/* === Sticky CTA (移动端落地页) === */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 900;
  display: none;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .sticky-cta { display: flex; }
}
.sticky-cta .sticky-text {
  flex: 1;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.sticky-cta .btn-primary {
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
}

/* === Toast 增强 === */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
  from { transform: translateX(100px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* === Hero 打字动画 === */
.typing-text::after {
  content: '|';
  animation: blink 0.8s step-end infinite;
  color: var(--primary);
}
@keyframes blink {
  50% { opacity: 0; }
}

/* === 合作伙伴 Logo 墙 === */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 60px;
  padding: 20px 0;
}
.partner-item {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  opacity: 0.6;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.partner-item:hover {
  opacity: 1;
}

/* === 功能图标渐变色 === */
.feature-card .feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-card .feature-icon.blue { background: linear-gradient(135deg, #e8eaf6, #c5cae9); color: var(--primary); }
.feature-card .feature-icon.gold { background: linear-gradient(135deg, #fff8e1, #ffecb3); color: #f9a825; }
.feature-card .feature-icon.green { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #2e7d32; }
.feature-card .feature-icon.purple { background: linear-gradient(135deg, #f3e5f5, #e1bee7); color: #7b1fa2; }
.feature-card .feature-icon.orange { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100; }
.feature-card .feature-icon.teal { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); color: #00695c; }