/* 宣传首页 */

.landing {
  background: #fff;
  color: var(--ink);
}

/* ---------- 导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px -18px rgba(15, 23, 42, 0.3); }

.nav-inner { display: flex; align-items: center; height: 66px; gap: 22px; }

.logo { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
  box-shadow: 0 6px 14px -8px rgba(79, 70, 229, 0.9);
}
.logo-mark svg { width: 18px; height: 18px; }
.logo-text { font-size: 16.5px; font-weight: 700; letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-3);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: #f3f4fa; color: var(--ink); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink-3); }
.nav-toggle svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 68px 0 0; overflow: hidden; }
.hero-glow {
  position: absolute;
  top: -260px;
  right: -180px;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.12) 42%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  padding-bottom: 26px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 29px;
  padding: 0 12px;
  border: 1px solid #e4e3ff;
  border-radius: 999px;
  background: #f7f6ff;
  color: #4c46c8;
  font-size: 12px;
  font-weight: 550;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16); }

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 720;
}
.grad {
  background: linear-gradient(100deg, #4f46e5 8%, #8b5cf6 52%, #d946ef 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 20px;
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); }
.hero-points .ok {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--green-soft); position: relative; flex: none;
}
.hero-points .ok::after {
  content: ""; position: absolute; left: 4px; top: 4px;
  width: 7px; height: 4px; border-left: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- 产品截图（纯 CSS） ---------- */

.hero-shot { position: relative; }
.shot-window {
  border-radius: 16px;
  border: 1px solid #e4e7f2;
  background: #fff;
  box-shadow: 0 40px 80px -46px rgba(30, 27, 75, 0.5), 0 2px 8px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transform: perspective(1500px) rotateY(-4deg) rotateX(1.5deg);
  transform-origin: left center;
}
.shot-bar {
  display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 12px;
  background: #fafbff; border-bottom: 1px solid #edeff7;
}
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #dfe3ee; }
.shot-url {
  flex: 1; min-width: 0; height: 23px; padding: 0 10px;
  display: flex; align-items: center;
  border-radius: 6px; background: #fff; border: 1px solid #edeff7;
  font-family: var(--mono); font-size: 10.5px; color: #7c8598;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-url b { color: var(--green); font-weight: 600; }
.shot-live { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--green); }
.shot-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

.shot-body { display: grid; grid-template-columns: 37% 1fr; min-height: 322px; }
.shot-chat { padding: 14px 12px; background: #fcfcff; border-right: 1px solid #eff1f8; display: flex; flex-direction: column; gap: 9px; }
.bubble {
  padding: 8px 10px; border-radius: 9px; font-size: 10.5px; line-height: 1.6;
}
.bubble.user { align-self: flex-end; background: #4f46e5; color: #fff; border-bottom-right-radius: 3px; max-width: 94%; }
.bubble.ai { background: #fff; border: 1px solid #e9ecf6; color: #4b5568; border-bottom-left-radius: 3px; }
.think-line { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #8a91a5; padding-left: 2px; }
.spin {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.6px solid #d9ddf0; border-top-color: #6366f1;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mini-tools { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.mini-tools span {
  padding: 2px 6px; border-radius: 5px; background: #f1f3fb;
  font-family: var(--mono); font-size: 9px; color: #6f7891;
  white-space: nowrap;
}

.shot-site { padding: 16px; background: #fff; }
.mini-nav { display: flex; align-items: center; gap: 9px; font-size: 8.5px; color: #8b93a7; margin-bottom: 16px; }
.mini-nav b { margin-right: auto; font-size: 10.5px; color: #2f3546; }
.mini-hero {
  padding: 18px 16px 16px;
  border-radius: 10px;
  background: linear-gradient(150deg, #fff7ed, #fdf2f8 60%, #eef2ff);
}
.mini-hero h4 { font-size: 15px; line-height: 1.4; color: #2d2438; letter-spacing: -0.01em; }
.mini-hero .line { height: 4px; border-radius: 2px; background: rgba(120, 113, 108, 0.16); margin-top: 9px; width: 76%; }
.mini-hero .line.short { width: 52%; margin-top: 5px; }
.mini-btn {
  display: inline-block; margin-top: 12px; padding: 5px 12px;
  border-radius: 6px; background: #b45309; color: #fff; font-size: 8.5px;
}
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.mini-grid i {
  height: 46px; border-radius: 7px; background: linear-gradient(160deg, #f8fafc, #eef2f9);
  border: 1px solid #eff1f8;
}
.mini-grid i:nth-child(2) { background: linear-gradient(160deg, #fff7ed, #ffedd5); }
.mini-grid i:nth-child(3) { background: linear-gradient(160deg, #eef2ff, #e0e7ff); }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 13px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #ebedf6;
  box-shadow: 0 18px 40px -24px rgba(30, 27, 75, 0.5);
  animation: floaty 5s ease-in-out infinite;
}
.float-card.credit { left: -18px; bottom: -22px; flex-direction: column; align-items: flex-start; gap: 1px; }
.fc-label { font-size: 9.5px; color: var(--faint); }
.float-card.credit strong { font-size: 17px; letter-spacing: -0.02em; }
.float-card.credit strong small { font-size: 10px; font-weight: 500; color: var(--muted); }
.float-card.ssl { right: -12px; top: 44px; animation-delay: 1.2s; }
.ssl-icon {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
}
.ssl-icon svg { width: 14px; height: 14px; }
.float-card.ssl strong { display: block; font-size: 11px; }
.float-card.ssl small { font-size: 9.5px; color: var(--faint); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.trust {
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center;
  margin-top: 42px; padding: 20px 0 26px;
  border-top: 1px solid var(--line-soft);
  color: #98a0b0; font-size: 12px;
}
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #d2d7e4; }

/* ---------- 通用 section ---------- */

.section { padding: 86px 0; }
.section-alt { background: linear-gradient(180deg, #fafbff, #f6f7fc); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 620px; margin: 0 auto 46px; text-align: center; }
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: 0.08em;
}
.section-head h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -0.02em; }
.section-head p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ---------- 功能 ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-3px); border-color: #dcdff0; box-shadow: 0 20px 40px -30px rgba(30, 27, 75, 0.42); }
.f-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; margin-bottom: 15px; }
.f-icon svg { width: 19px; height: 19px; }
.i-blue { background: #eef2ff; color: #4f46e5; }
.i-violet { background: #f5f0ff; color: #7c3aed; }
.i-green { background: #ecfdf5; color: #059669; }
.i-amber { background: #fff7ed; color: #c2410c; }
.i-pink { background: #fdf2f8; color: #be185d; }
.i-slate { background: #f1f5f9; color: #475569; }
.feature h3 { font-size: 15px; margin-bottom: 8px; }
.feature p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.feature code { padding: 1px 5px; border-radius: 4px; background: #f1f3fa; font-family: var(--mono); font-size: 11.5px; color: #4b5568; }

/* ---------- 流程 ---------- */

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow li {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -10px;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, #d8dced, transparent);
}
.step-no {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.06em;
}
.flow h3 { font-size: 15.5px; margin-bottom: 8px; }
.flow p { font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- 价格 ---------- */

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.price-card.is-hot {
  border-color: #c7c4fb;
  box-shadow: 0 26px 60px -40px rgba(79, 70, 229, 0.6);
}
.hot-tag {
  position: absolute; top: -10px; left: 24px;
  padding: 3px 9px; border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
  color: #fff; font-size: 10.5px; font-weight: 600;
}
.price-card h3 { font-size: 15px; }
.price-desc { margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 3px; margin: 18px 0 4px; }
.price .cur { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.price strong { font-size: 38px; letter-spacing: -0.03em; line-height: 1; }
.price .unit { font-size: 12px; color: var(--muted); margin-left: 3px; }
.price-note { font-size: 12px; color: var(--faint); }
.price-card ul { margin: 20px 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.price-card li { position: relative; padding-left: 20px; font-size: 12.8px; color: var(--ink-3); line-height: 1.6; }
.price-card li::before {
  content: ""; position: absolute; left: 3px; top: 7px;
  width: 5px; height: 9px;
  border-right: 1.6px solid #10b981; border-bottom: 1.6px solid #10b981;
  transform: rotate(40deg);
}
.price-card .btn { margin-top: auto; }
.price-foot { margin-top: 20px; text-align: center; font-size: 12px; color: var(--faint); }

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 780px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px;
  font-size: 13.8px; font-weight: 550;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  font-size: 18px; font-weight: 400; color: var(--faint);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 18px 16px; font-size: 13px; line-height: 1.85; color: var(--muted); }
.faq details code { padding: 1px 5px; border-radius: 4px; background: #f1f3fa; font-family: var(--mono); font-size: 11.5px; }

/* ---------- CTA / footer ---------- */

.cta { padding: 20px 0 90px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 40px 40px;
  border-radius: 20px;
  background: linear-gradient(120deg, #312e81, #4f46e5 46%, #7c3aed);
  color: #fff;
  box-shadow: 0 30px 70px -40px rgba(49, 46, 129, 0.8);
}
.cta-inner h2 { font-size: clamp(22px, 2.4vw, 28px); }
.cta-inner p { margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }
.cta-inner .btn-primary { background: #fff; color: #4338ca; box-shadow: none; }
.cta-inner .btn-primary:hover { background: #f5f4ff; }

.footer { border-top: 1px solid var(--line); background: #fbfcff; padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { margin-top: 12px; font-size: 12.5px; color: var(--faint); }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 { font-size: 12px; color: var(--ink-3); margin-bottom: 12px; }
.footer-cols a { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 9px; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px; color: var(--faint);
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero { padding-top: 46px; }
  .hero-shot { max-width: 620px; }
  .shot-window { transform: none; }
  .float-card.credit { left: 8px; bottom: -14px; }
  .float-card.ssl { right: 8px; top: -16px; }
  .feature-grid, .flow, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .flow li:nth-child(2)::after { display: none; }
  .price-card.is-hot { transform: none; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 16px 16px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(15, 23, 42, 0.4);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 12px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-actions .btn-ghost { display: none; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .feature-grid, .flow, .price-grid { grid-template-columns: 1fr; }
  .flow li::after { display: none !important; }
  .cta-inner { padding: 28px 24px; }
  .footer-cols { gap: 40px; }
}
