/* 灵创岛官网 — 展示站样式
   调色板沿用业务工作台 v3 Glacier Studio Blue */
:root {
  --brand: #1E4FD7;
  --brand-hover: #2F6BFF;
  --brand-active: #1A45BD;
  --ai-glow: #5B8CFF;
  --bg-main: #F7FAFF;
  --bg-sub: #EEF5FF;
  --surface: #FFFFFF;
  --text-main: #0B1220;
  --text-sub: #64748B;
  --ink-blue: #10233F;
  --border: #D8E2F0;
  --border-subtle: #EEF5FF;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(16, 35, 63, 0.06);
  --shadow-hover: 0 14px 40px rgba(30, 79, 215, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* ===== 顶部导航 ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--text-sub);
}
.nav a {
  position: relative;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--brand); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 79, 215, 0.25);
}
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--border-hover, #C7D2FE);
}
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }

/* ===== 首屏 ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(91, 140, 255, 0.18), transparent 60%),
    radial-gradient(900px 400px at 0% 20%, rgba(30, 79, 215, 0.10), transparent 55%),
    var(--bg-main);
}
.eyebrow {
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}
.hero-lead {
  max-width: 640px;
  font-size: 18px;
  color: var(--text-sub);
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  list-style: none;
  display: flex;
  gap: 48px;
  padding: 0;
  margin: 56px 0 0;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; color: var(--ink-blue); }
.hero-stats span { color: var(--text-sub); font-size: 14px; }

/* ===== 通用 section ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-sub); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: 34px;
  margin: 0 0 12px;
}
.section-lead {
  color: var(--text-sub);
  font-size: 17px;
  margin: 0 auto;
  max-width: 620px;
}

/* ===== 卡片网格 ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-icon {
  font-size: 30px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--bg-sub);
  margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--text-sub); font-size: 15px; }

/* ===== 步骤 ===== */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0;
}
.steps li {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow);
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.steps h3 { margin: 0 0 8px; font-size: 18px; }
.steps p { margin: 0; color: var(--text-sub); font-size: 15px; }

/* ===== 场景 ===== */
.pill-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pill-card:hover { border-color: var(--brand-hover); transform: translateY(-3px); }
.pill-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--brand); }
.pill-card p { margin: 0; color: var(--text-sub); font-size: 15px; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 22px;
  transition: box-shadow 0.2s ease;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--brand);
  font-size: 22px;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--text-sub); }

/* ===== 联系我们 ===== */
.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 32px;
}
.contact-row {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-row:last-child { border-bottom: none; }
.contact-label {
  flex: 0 0 96px;
  color: var(--text-sub);
  font-size: 15px;
}
.contact-value { font-size: 16px; font-weight: 500; }

/* ===== 页脚 ===== */
.footer {
  background: var(--ink-blue);
  color: #C7D6EF;
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand strong { display: block; color: #fff; font-size: 18px; }
.footer-brand span { font-size: 14px; color: #9FB6DA; }
.footer-company { display: flex; flex-direction: column; gap: 6px; font-size: 14px; text-align: right; }
.footer-company strong { color: #fff; font-size: 15px; }

/* ===== 导航「免费体验」按钮 ===== */
.nav-login {
  padding: 6px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
}
.nav-login:hover { background: var(--brand-hover); color: #fff; }

/* ===== 免费体验 / 联系我们 CTA 卡片 ===== */
.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 44px 48px;
}
.cta-text h2 { font-size: 30px; margin: 0 0 14px; }
.cta-text p { margin: 0; color: var(--text-sub); font-size: 17px; }
.cta-contact {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}
.cta-contact .contact-row { padding: 16px 0; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 42px; }
  .nav { display: none; }
  .cta-card { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 56px 0; }
  .hero-stats { gap: 28px; }
  .footer-inner { flex-direction: column; }
  .footer-company { text-align: left; }
  .contact-row { flex-direction: column; gap: 4px; }
}

/* 尊重用户的减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
