*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #111827;
  background: radial-gradient(circle at top, #f3f4f6 0, #f9fafb 40%, #f3f4f6 100%);
  -webkit-font-smoothing: antialiased;
}

/* 轻微背景光斑 */
.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(148, 163, 184, 0.22), transparent 55%),
    radial-gradient(circle at 80% 8%, rgba(191, 219, 254, 0.32), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  z-index: -2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

/* 毛玻璃基础：非常克制 */
.glass {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(20px);
}

/* 顶部导航：高度苹果风 */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-radius: 0 0 18px 18px;
  border-top: none;
  border-left: none;
  border-right: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111827, #4b5563);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 600;
  font-size: 13px;
  margin-right: 10px;
  box-shadow: 0 4px 10px rgba(17, 24, 39, 0.35);
}

.product-name {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #111827;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-center {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: #6b7280;
}

.nav-center a {
  position: relative;
  padding-bottom: 2px;
}

.nav-center a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  border-radius: 999px;
  background: #111827;
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.nav-center a:hover {
  color: #111827;
}

.nav-center a:hover::after {
  width: 70%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 按钮：极简圆角，苹果风 */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-primary {
  background: #111827;
  color: #f9fafb;
  border: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.3);
}

.btn-secondary {
  background: #e5e7eb;
  color: #111827;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #d4d4d8;
}

.btn-outline {
  background: transparent;
  color: #111827;
  border: 1px solid #d1d5db;
}

.btn-outline:hover {
  background: #f3f4f6;
}

.btn-link {
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  color: #4b5563;
}

.btn-link:hover {
  background: rgba(17, 24, 39, 0.06);
}

/* 首屏 Hero */
.hero {
  padding: 52px 0 40px;
  position: relative;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-left {
  flex: 1.15;
}

.hero-right {
  flex: 1;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  color: #111827;
  margin-bottom: 18px;
  background: rgba(249, 250, 251, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.hero h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 10px;
  color: #111827;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 20px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.hero-highlights li + li {
  margin-top: 3px;
}

/* 背景光斑：浅且低调 */
.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.32;
  pointer-events: none;
  mix-blend-mode: normal;
  animation: float 14s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 180px;
  height: 180px;
  background: rgba(148, 163, 184, 0.4);
  top: 8%;
  right: 9%;
}

.hero-orb-2 {
  width: 220px;
  height: 220px;
  background: rgba(191, 219, 254, 0.5);
  bottom: -12%;
  left: 15%;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(12px, -16px, 0);
  }
}

/* Hero 右侧卡片：极简玻璃卡 */
.hero-card {
  padding: 16px 16px 14px;
  border-radius: 22px;
  max-width: 420px;
  margin-left: auto;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
  color: #4b5563;
}

.hero-card-title {
  font-weight: 500;
}

.hero-card-status {
  color: #16a34a;
  font-size: 11px;
}

.hero-card-body {
  background: rgba(249, 250, 251, 0.96);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.chat-bubble {
  max-width: 90%;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 8px;
  box-shadow: 0 6px 18px rgba(148, 163, 184, 0.25);
}

.chat-bubble.user {
  background: #f3f4f6;
  color: #111827;
}

.chat-bubble.ai {
  background: #111827;
  color: #f9fafb;
  margin-left: auto;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: #9ca3af;
}

.hero-tag {
  background: #e5e7eb;
  color: #111827;
  padding: 2px 8px;
  border-radius: 999px;
}

/* 通用 section */
.section {
  padding: 40px 0;
  color: #111827;
}

.section-alt {
  background: rgba(255, 255, 255, 0.9);
}

.section-title {
  text-align: center;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  max-width: 640px;
  margin: 0 auto 24px;
}

/* 核心功能 grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature-item {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  border-color: rgba(156, 163, 175, 0.9);
}

.feature-icon {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-item h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.feature-item p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

/* 左右拆分模块 */
.section-split {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.section-text {
  flex: 1;
}

.section-media {
  flex: 1;
}

.section-text h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 8px;
  color: #111827;
}

.list-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #111827;
  color: #f9fafb;
  font-size: 12px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.section-note {
  font-size: 13px;
  color: #6b7280;
}

.config-card {
  border-radius: 16px;
  padding: 12px 16px;
  background: #111827;
  color: #e5e7eb;
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.config-card h3 {
  font-size: 14px;
  margin: 0 0 8px;
}

.config-card pre {
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  white-space: pre-wrap;
}

/* 数据统计 */
.stats-section {
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.stat-item {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
}

.stat-number {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 12px;
  color: #6b7280;
}

/* 场景 */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.scene-item {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
}

.scene-item h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

.scene-item p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

/* 价格卡片 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.pricing-card {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-highlight {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
  transform: translateY(-3px);
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  margin-bottom: 4px;
}

.pricing-badge.hot {
  background: #111827;
  color: #f9fafb;
}

.pricing-card h3 {
  font-size: 15px;
  margin: 0;
}

.price {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #111827;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 12px;
}

.pricing-list li {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 4px;
}

/* 用户评价 */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.testimonial-item {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  background: #ffffff;
}

.testimonial-text {
  font-size: 13px;
  color: #111827;
  margin-bottom: 8px;
}

.testimonial-author {
  font-size: 12px;
  color: #6b7280;
}

/* FAQ */
.faq-item + .faq-item {
  margin-top: 16px;
}

.faq-item {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  background: #ffffff;
}

.faq-item h3 {
  font-size: 14px;
  margin: 0 0 6px;
  color: #111827;
}

.faq-item p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: #111827;
}

/* 底部 */
.footer {
  background: #f9fafb;
  color: #6b7280;
  padding: 24px 0 12px;
  margin-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo {
  font-weight: 500;
  margin-bottom: 4px;
  color: #111827;
}

.footer-text {
  font-size: 12px;
  color: #6b7280;
  margin: 2px 0;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.footer-right a {
  color: #4b5563;
}

.footer-right a:hover {
  color: #111827;
}

.footer-bottom {
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 8px;
}

/* 进场动画：非常轻微 */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* 卡片轻浮动（Hero 右侧） */
.float-up {
  animation: floatUpCard 7s ease-in-out infinite alternate;
}

@keyframes floatUpCard {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-4px);
  }
}

/* 响应式 */
@media (max-width: 960px) {
  .nav-center {
    display: none;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-right {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-split {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 32px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .feature-grid,
  .stats-grid,
  .scene-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    height: 56px;
  }
}
