/* ============================================================
   共享样式 — SaaS 落地页系列
   主色：indigo-600 / blue-600
   ============================================================ */
:root {
  --brand: #4f46e5;
  --brand-2: #2563eb;
  --brand-3: #7c3aed;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #0f172a;
  background: #ffffff;
  overflow-x: hidden;
}

/* 渐变文字 */
.gradient-text {
  background: linear-gradient(120deg, #4f46e5 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 主按钮 */
.btn-primary {
  background: linear-gradient(120deg, #4f46e5, #2563eb);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 35px -8px rgba(79, 70, 229, 0.55);
}

/* 导航栏 */
.navbar {
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

/* 特性卡片 */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -16px rgba(79, 70, 229, 0.22);
  border-color: rgba(79, 70, 229, 0.35);
}
.feature-icon {
  background: linear-gradient(135deg, #eef2ff, #dbeafe);
  color: #4f46e5;
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  color: #ffffff;
  transform: scale(1.06) rotate(-5deg);
}

/* 滚动显现 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* 背景光斑 */
.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}

/* FAQ */
.faq-item {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item.open {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 12px 30px -14px rgba(79, 70, 229, 0.25);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 320px;
  opacity: 1;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* 浮动动画 */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
.float-slow {
  animation: float 6s ease-in-out infinite;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #c7d2fe;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a5b4fc;
}

/* 星级 */
.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}
