:root {
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1180px, 100% - 32px); margin: 0 auto; }
.container.narrow { max-width: 820px; }
.center-text { text-align: center; }

/* 标签 / 标题 */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.tag.small { font-size: 12px; }
h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; }
.grad {
  background: linear-gradient(90deg, var(--primary), #2563eb 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: var(--muted); font-size: 17px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: all .2s ease; white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(8, 145, 178, .3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-1px); }
.btn.block { width: 100%; margin-top: 20px; }
.link { color: var(--primary); font-weight: 600; font-size: 14px; }
.link:hover { text-decoration: underline; }

/* 导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #2563eb); color: #fff; font-size: 17px;
}
.nav-links { display: flex; gap: 28px; font-size: 15px; color: #334155; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; font-size: 22px; padding: 4px 8px; }

/* Hero */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(8, 145, 178, .14), transparent 60%),
    radial-gradient(500px 350px at 90% 30%, rgba(249, 115, 22, .12), transparent 60%),
    radial-gradient(500px 400px at 70% 90%, rgba(124, 58, 237, .10), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-copy .lead { margin: 22px 0 30px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: 14px; }

.hero-visual { position: relative; min-height: 420px; }
.mock-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.mock-main { padding: 18px; width: 100%; max-width: 480px; margin-left: auto; }
.mock-head { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mock-head .dot:nth-child(1) { background: #fca5a5; }
.mock-head .dot:nth-child(2) { background: #fde68a; }
.mock-head .dot:nth-child(3) { background: #86efac; }
.mock-head em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); }
.mock-chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; }
.bubble.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { align-self: flex-start; background: var(--bg-alt); border-bottom-left-radius: 4px; }
.bubble.typing { display: flex; gap: 5px; padding: 14px 16px; }
.bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: blink 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .2s; }
.bubble.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.mock-float { position: absolute; padding: 14px 18px; animation: float 5s ease-in-out infinite; }
.mock-price { left: -10px; bottom: 40px; display: flex; flex-direction: column; }
.mock-price small { color: var(--muted); font-size: 12px; }
.mock-price strong { font-size: 22px; }
.mock-price .up { color: #16a34a; font-size: 12px; }
.mock-avatar { right: -10px; top: -20px; display: flex; align-items: center; gap: 12px; animation-delay: 1.5s; }
.mock-avatar small { display: block; color: var(--muted); font-size: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f97316 60%, #ec4899);
  position: relative;
}
.avatar::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Section 通用 */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .25s ease; display: flex; flex-direction: column; gap: 10px;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.bento-item.span-2 { grid-column: span 2; }
.bento-item p { color: var(--muted); font-size: 15px; flex: 1; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: rgba(8, 145, 178, .08); margin-bottom: 6px; }

/* 特性交错 */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-text h3 { font-size: 28px; margin-bottom: 18px; }
.check li { position: relative; padding-left: 28px; margin-bottom: 10px; color: #334155; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.feature-text .btn { margin-top: 20px; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 20px; }
.panel-title { font-weight: 700; margin-bottom: 14px; }
.panel-title.center { text-align: center; }
.house { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; }
.house:hover { background: var(--bg-alt); }
.house .thumb { width: 64px; height: 48px; border-radius: 8px; flex-shrink: 0; }
.thumb.t1 { background: linear-gradient(135deg, #93c5fd, #2563eb); }
.thumb.t2 { background: linear-gradient(135deg, #fdba74, #f97316); }
.thumb.t3 { background: linear-gradient(135deg, #c4b5fd, #2563eb); }
.house b { display: block; font-size: 14px; }
.house span { font-size: 12px; color: var(--muted); }
.house em { margin-left: auto; font-style: normal; font-size: 12px; color: #16a34a; font-weight: 700; background: rgba(22, 163, 74, .1); padding: 3px 8px; border-radius: 999px; }
.script { font-size: 14px; color: #334155; line-height: 1.8; background: var(--bg-alt); padding: 14px; border-radius: 10px; }
.chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chips span { font-size: 12px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.chips span:first-child { background: var(--primary); color: #fff; border-color: var(--primary); }
.avatar-panel { display: flex; flex-direction: column; align-items: center; position: relative; padding: 36px 20px; }
.avatar.big { width: 120px; height: 120px; margin-bottom: 16px; }
.avatar.big::after { width: 22px; height: 22px; border-width: 3px; }
.live-badge { position: absolute; top: 16px; left: 16px; background: #ef4444; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.wave { display: flex; gap: 4px; align-items: flex-end; height: 32px; }
.wave i { width: 5px; background: var(--primary); border-radius: 3px; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(odd) { height: 12px; }
.wave i:nth-child(even) { height: 26px; animation-delay: .25s; }
.wave i:nth-child(4) { height: 32px; animation-delay: .5s; }
@keyframes wave { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }

/* 卡片网格 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: all .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 18px; margin: 6px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); position: relative; }
.step .num { font-size: 40px; font-weight: 900; color: rgba(8, 145, 178, .15); line-height: 1; display: block; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* 价格 */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); transform: scale(1.03); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.price { margin: 14px 0 20px; }
.price b { font-size: 40px; font-weight: 900; }
.price span { color: var(--muted); }
.price-card ul { flex: 1; }
.price-card li { padding: 8px 0; border-top: 1px dashed var(--border); font-size: 14.5px; color: #334155; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* 关于 */
#about .lead { margin-top: 18px; }

/* CTA */
.cta { padding: 80px 0; text-align: center; color: #fff; background: linear-gradient(120deg, var(--primary), #2563eb 70%, #db2777); }
.cta h2 { color: #fff; }
.cta p { opacity: .85; margin: 12px 0 28px; }

/* 页脚 */
.footer { background: #0f172a; color: #cbd5e1; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer-brand p { margin-top: 12px; color: #94a3b8; font-size: 14px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 15px; }
.footer-grid a, .footer-grid .link, .footer-grid span { display: block; color: #94a3b8; font-size: 14px; margin-bottom: 8px; font-weight: 400; }
.footer-grid span .link { display: inline; margin: 0; }
.footer-grid a:hover, .footer-grid .link:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: #94a3b8;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, .92); color: #fff; padding: 12px 22px; border-radius: 10px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 响应式 */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 30px; }
  .mock-main { margin: 0 auto; }
  .mock-price { left: 0; }
  .mock-avatar { right: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item.span-2 { grid-column: span 2; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.reverse .feature-text { order: 0; }
  .steps, .pricing { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-top: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .nav-actions .btn-ghost { display: none; }
  .hero { padding: 56px 0 40px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .section { padding: 60px 0; }
  .bento, .grid-4 { grid-template-columns: 1fr; }
  .bento-item.span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== 智小鲨 专属组件 ===== */
.avatar.shark { background: linear-gradient(135deg, #22d3ee, #0891b2 60%, #2563eb); }
.studio { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.studio-stage { position: relative; background: var(--bg-alt); border-radius: 12px; padding: 30px 12px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.studio-stage .avatar.big { width: 96px; height: 96px; margin: 0; }
.studio-stage .live-badge { background: var(--primary); }
.studio-script { display: flex; flex-direction: column; gap: 8px; }
.studio-script small { color: var(--muted); font-size: 12px; }
.studio-script p { font-size: 13px; line-height: 1.6; color: #334155; background: var(--bg-alt); padding: 10px; border-radius: 8px; flex: 1; }
.studio .chips { margin-top: 0; }
.studio .chips span { font-size: 11px; padding: 3px 8px; }

.marquee-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.marquee { overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span { font-weight: 700; color: #94a3b8; font-size: 15px; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g { aspect-ratio: 3 / 4; border-radius: 14px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 12px; color: #fff; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); }
.g::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; top: 18%; left: 20%; background: rgba(255, 255, 255, .35); }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .45)); }
.g span { position: relative; z-index: 1; }
.g1 { background: linear-gradient(160deg, #22d3ee, #0e7490); }
.g2 { background: linear-gradient(160deg, #a78bfa, #5b21b6); }
.g3 { background: linear-gradient(160deg, #fb7185, #be123c); }
.g4 { background: linear-gradient(160deg, #fbbf24, #b45309); }
.g5 { background: linear-gradient(160deg, #60a5fa, #1e40af); }
.g6 { background: #fff; border: 2px dashed var(--border); color: var(--muted); justify-content: center; align-items: center; box-shadow: none; }
.g6::before, .g6::after { display: none; }

.voice-list { display: flex; flex-direction: column; }
.voice { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; }
.voice:hover { background: var(--bg-alt); }
.voice .play { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; flex-shrink: 0; }
.voice b { display: block; font-size: 14px; }
.voice span { font-size: 12px; color: var(--muted); }
.voice em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--primary); font-weight: 700; background: rgba(8, 145, 178, .1); padding: 3px 8px; border-radius: 999px; }
.mixer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.mixer label { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.mixer input { accent-color: var(--primary); width: 100%; }

.timeline { display: flex; flex-direction: column; gap: 10px; }
.tl-long { height: 44px; border-radius: 8px; background: linear-gradient(90deg, #cbd5e1, #94a3b8); display: flex; align-items: center; padding: 0 12px; font-size: 12px; color: #fff; font-weight: 600; }
.tl-arrow { text-align: center; font-size: 12px; color: var(--primary); font-weight: 700; }
.tl-clips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.clip { aspect-ratio: 9 / 14; border-radius: 8px; background: linear-gradient(160deg, #22d3ee, #0891b2); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 8px; font-size: 11px; }
.clip b { font-size: 13px; }
.clip.more { background: var(--bg-alt); color: var(--muted); align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }

.pub { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; }
.pub:hover { background: var(--bg-alt); }
.pub i { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.pub .p1 { background: #111; } .pub .p2 { background: #07c160; } .pub .p3 { background: #ff2442; } .pub .p4 { background: #ff0000; }
.pub b { display: block; font-size: 14px; }
.pub span { font-size: 12px; color: var(--muted); }
.pub em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); background: var(--bg-alt); padding: 3px 8px; border-radius: 999px; }
.pub em.ok { color: #16a34a; background: rgba(22, 163, 74, .1); font-weight: 700; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.quote p { font-size: 15px; color: #334155; line-height: 1.7; flex: 1; }
.who { display: flex; align-items: center; gap: 12px; }
.who i { width: 40px; height: 40px; border-radius: 50%; }
.who .a1 { background: linear-gradient(135deg, #a78bfa, #5b21b6); }
.who .a2 { background: linear-gradient(135deg, #fb7185, #be123c); }
.who .a3 { background: linear-gradient(135deg, #fbbf24, #b45309); }
.who b { display: block; font-size: 14px; }
.who span { font-size: 12px; color: var(--muted); }

@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .studio { grid-template-columns: 1fr; } .gallery { gap: 8px; } .mixer { grid-template-columns: 1fr 1fr 1fr; } }
