[hidden] { display: none !important; }

:root {
  --bg: #070b16;
  --bg2: #0b1222;
  --panel: rgba(15, 23, 42, .78);
  --line: rgba(148, 163, 184, .16);
  --line-strong: rgba(214, 179, 106, .34);
  --text: #eef2ff;
  --muted: #94a3b8;
  --gold: #d6b36a;
  --gold-2: #f2d79b;
  --green: #34d399;
  --red: #fb7185;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(214, 179, 106, .14), transparent 60%),
    radial-gradient(800px 500px at 92% 8%, rgba(56, 189, 248, .10), transparent 62%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.noise {
  pointer-events: none; position: fixed; inset: 0; z-index: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.nav, main, .footer { position: relative; z-index: 1; }
.nav {
  max-width: 1240px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: #1b1305; font-weight: 900; font-size: 22px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #a77a2c);
  box-shadow: 0 8px 30px rgba(214, 179, 106, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15px; letter-spacing: .04em; }
.brand-text small { color: var(--muted); font-size: 11px; letter-spacing: .18em; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: #c7d2e5; }
.nav-links a:hover { color: var(--gold-2); }
.nav-cta { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--gold-2); background: rgba(214,179,106,.06); }
main { max-width: 1240px; margin: 0 auto; padding: 0 24px 80px; }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; min-height: 640px; padding: 48px 0 64px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--gold-2); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(52,211,153,.10); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(52,211,153,0); } }
.hero h1 { margin: 18px 0 18px; font-size: clamp(44px, 6vw, 78px); line-height: 1.03; letter-spacing: -.045em; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, #fff5d6, var(--gold) 60%, #b8873b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 620px; color: #aebbd1; font-size: 16px; line-height: 1.9; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1px solid transparent; transition: .2s ease; }
.btn-primary { color: #1b1305; background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #b8873b); box-shadow: 0 12px 36px rgba(214,179,106,.26); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(214,179,106,.34); }
.btn-ghost { color: #dbe4f5; border-color: var(--line); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--line-strong); color: var(--gold-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-size: 26px; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: 12px; }
.hero-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-a { width: 340px; height: 340px; background: radial-gradient(circle at 35% 30%, rgba(214,179,106,.28), rgba(214,179,106,.06) 55%, transparent 70%); }
.orb-b { width: 260px; height: 260px; right: 6%; bottom: 6%; background: radial-gradient(circle at 60% 40%, rgba(56,189,248,.18), transparent 68%); }
.phone {
  position: relative; width: min(360px, 90%); border-radius: 30px; padding: 18px;
  background: linear-gradient(180deg, rgba(22,32,54,.96), rgba(9,14,26,.98));
  border: 1px solid rgba(214,179,106,.22); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
}
.phone-top { display: flex; align-items: center; gap: 8px; color: #b9c6dc; font-size: 11px; letter-spacing: .08em; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.phone-top .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.phone-top .live { margin-left: auto; color: var(--gold-2); font-weight: 800; font-size: 10px; }
.bubble { margin-top: 12px; padding: 11px 13px; border-radius: 14px; font-size: 13px; line-height: 1.65; }
.bubble.bot { background: rgba(148,163,184,.10); border: 1px solid var(--line); border-top-left-radius: 4px; color: #dbe4f5; }
.bubble.user { margin-left: 34px; background: linear-gradient(135deg, rgba(214,179,106,.22), rgba(214,179,106,.10)); border: 1px solid rgba(214,179,106,.25); border-top-right-radius: 4px; color: #fff4d6; }
.phone-input { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.phone-input b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1b1305; }
.float-card { position: absolute; padding: 11px 14px; border-radius: 14px; background: rgba(12,19,34,.88); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.35); backdrop-filter: blur(12px); }
.float-card b { display: block; font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.float-card span { font-size: 12px; color: var(--gold-2); font-weight: 700; }
.fc-a { left: -4%; top: 18%; }
.fc-b { right: -2%; bottom: 19%; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 26px 0 22px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.03em; line-height: 1.15; }
.section-head > p { max-width: 360px; color: var(--muted); font-size: 13px; margin: 0; }
.capabilities { padding: 56px 0 48px; border-top: 1px solid var(--line); }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cap-card { padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(20,30,52,.72), rgba(10,16,30,.72)); border: 1px solid var(--line); transition: .2s ease; }
.cap-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.cap-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(214,179,106,.10); border: 1px solid rgba(214,179,106,.18); font-size: 19px; }
.cap-card h3 { margin: 16px 0 6px; font-size: 16px; }
.cap-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.bots { padding: 40px 0 30px; }
.toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 620px; padding: 12px 16px; border-radius: 14px; background: rgba(15,23,42,.62); border: 1px solid var(--line); }
.search span { color: var(--gold); font-size: 18px; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }
.search input::placeholder { color: #6f7f98; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: #b9c6dc; font-size: 12px; transition: .15s ease; }
.chip:hover { border-color: var(--line-strong); color: var(--gold-2); }
.chip.active { background: rgba(214,179,106,.14); border-color: rgba(214,179,106,.42); color: #fff2cc; }
.bot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bot-card { display: flex; flex-direction: column; min-height: 210px; padding: 18px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(18,28,49,.72), rgba(9,15,28,.88)); border: 1px solid var(--line); transition: .2s ease; cursor: pointer; }
.bot-card:hover, .bot-card:focus-visible { transform: translateY(-4px); border-color: rgba(214,179,106,.42); box-shadow: 0 22px 54px rgba(0,0,0,.34); outline: none; }
.bot-head { display: flex; align-items: start; justify-content: space-between; }
.bot-icon { width: 54px; height: 54px; border-radius: 15px; object-fit: cover; background: #111a2c; border: 1px solid rgba(255,255,255,.08); }
.bot-index { font-size: 10px; color: #6f7f98; letter-spacing: .08em; }
.bot-card h3 { margin: 15px 0 7px; font-size: 15px; line-height: 1.35; letter-spacing: -.01em; }
.bot-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bot-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag { font-size: 10px; padding: 4px 8px; border-radius: 999px; color: #d8c59a; background: rgba(214,179,106,.08); border: 1px solid rgba(214,179,106,.16); }
.go { font-size: 11px; color: #cbd5e1; }
.go b { color: var(--gold); }
.empty, .load-error { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.cta-band { margin: 56px 0 20px; padding: 38px; border-radius: 26px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: linear-gradient(135deg, rgba(214,179,106,.14), rgba(56,189,248,.06)); border: 1px solid rgba(214,179,106,.22); }
.cta-band h2 { margin: 8px 0 6px; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.03em; }
.cta-band p { margin: 0; color: var(--muted); font-size: 13px; }
.footer { max-width: 1240px; margin: 0 auto; padding: 38px 24px 56px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { display: block; font-size: 13px; }
.footer-brand small { color: var(--muted); font-size: 11px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0 8px; color: #aebbd1; font-size: 12px; }
.footer-note { color: #6f7f98; font-size: 11px; margin: 0; }
.chat-page { min-height: 100vh; display: flex; flex-direction: column; }
.chat-top { display: flex; align-items: center; gap: 18px; padding: 14px 24px; border-bottom: 1px solid var(--line); background: rgba(7,11,22,.78); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 5; }
.back { color: var(--muted); font-size: 13px; white-space: nowrap; }
.back:hover { color: var(--gold-2); }
.bot-id { display: flex; align-items: center; gap: 11px; min-width: 0; }
.bot-id .bot-icon { width: 42px; height: 42px; border-radius: 12px; }
.bot-id strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bot-id span { display: block; color: var(--muted); font-size: 11px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pill { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: #cbd5e1; font-size: 12px; }
.pill:hover { border-color: var(--line-strong); color: var(--gold-2); }
.pill.ghost { color: var(--muted); }
.chat-shell { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 20px 24px 28px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; min-height: 0; }
.chat-side { display: flex; flex-direction: column; gap: 12px; }
.side-card { padding: 16px; border-radius: 16px; background: rgba(15,23,42,.62); border: 1px solid var(--line); }
.side-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #cbd5e1; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(52,211,153,.10); }
.passcode { margin: 12px 0 4px; font-size: 21px; font-weight: 800; letter-spacing: .04em; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.side-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.side-actions { display: flex; gap: 8px; margin-top: 12px; }
.mini { padding: 6px 12px; border-radius: 9px; border: 1px solid rgba(214,179,106,.28); background: rgba(214,179,106,.10); color: #f4dfb0; font-size: 11px; }
.mini.ghost { border-color: var(--line); background: transparent; color: var(--muted); }
.verify-result { margin: 9px 0 0; font-size: 11px; min-height: 16px; }
.verify-result.ok { color: var(--green); }
.verify-result.bad { color: var(--red); }
.ability-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ability-list li { display: flex; flex-direction: column; gap: 1px; padding-bottom: 9px; border-bottom: 1px solid rgba(148,163,184,.08); }
.ability-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ability-list b { font-size: 12px; color: #dbe4f5; }
.ability-list span { font-size: 11px; color: var(--muted); }
.questions { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.question { text-align: left; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: #c7d2e5; font-size: 11.5px; line-height: 1.5; }
.question:hover { border-color: var(--line-strong); color: var(--gold-2); }
.new-chat { margin-top: auto; padding: 12px; border-radius: 12px; border: 1px dashed var(--line-strong); background: transparent; color: var(--gold-2); font-size: 12px; }
.new-chat:hover { background: rgba(214,179,106,.06); }
.chat-main { display: flex; flex-direction: column; min-height: 0; border-radius: 20px; background: rgba(10,16,29,.58); border: 1px solid var(--line); overflow: hidden; }
.messages { flex: 1; min-height: 420px; max-height: calc(100vh - 290px); overflow-y: auto; padding: 22px 22px 10px; scroll-behavior: smooth; }
.msg { display: flex; gap: 9px; margin-bottom: 14px; align-items: flex-start; }
.msg.user { flex-direction: row-reverse; }
.msg img { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; border: 1px solid rgba(255,255,255,.08); }
.user-avatar { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(214,179,106,.16); color: var(--gold-2); font-size: 11px; font-weight: 800; border: 1px solid rgba(214,179,106,.24); }
.bubble { max-width: min(720px, 82%); padding: 11px 14px; border-radius: 15px; background: rgba(148,163,184,.09); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.75; color: #dfe7f5; }
.msg.user .bubble { background: linear-gradient(135deg, rgba(214,179,106,.18), rgba(214,179,106,.08)); border-color: rgba(214,179,106,.24); color: #fff3d4; }
.bubble-text { white-space: pre-wrap; word-break: break-word; }
.bubble-time { margin-top: 5px; font-size: 9px; color: #64748b; text-align: right; }
.msg-image { display: block; max-width: 240px; max-height: 220px; width: auto; height: auto; object-fit: contain; border-radius: 10px; margin-top: 8px; border: 1px solid var(--line); }
.typing { padding: 8px 22px 12px; color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 5px; }
.typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: bounce 1.1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-4px); opacity: .4; } }
.attach-preview { margin: 0 18px 8px; padding: 8px; display: flex; align-items: center; gap: 10px; border-radius: 12px; border: 1px solid rgba(214,179,106,.25); background: rgba(214,179,106,.06); }
.attach-preview img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.attach-preview div { display: flex; flex-direction: column; line-height: 1.4; }
.attach-preview b { font-size: 11px; color: #f4dfb0; }
.attach-preview span { font-size: 10px; color: var(--muted); }
.attach-preview button { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 16px; line-height: 1; }
.composer { margin: 0 18px; padding: 10px 10px 10px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(15,23,42,.82); display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.composer:focus-within { border-color: rgba(214,179,106,.36); box-shadow: 0 0 0 3px rgba(214,179,106,.06); }
.composer textarea { width: 100%; min-height: 24px; max-height: 140px; resize: none; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13.5px; line-height: 1.6; padding: 4px 0; }
.composer textarea::placeholder { color: #6f7f98; }
.composer-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 15px; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn.recording { border-color: rgba(251,113,133,.55); background: rgba(251,113,133,.12); animation: pulse 1.2s infinite; }
.icon-btn.disabled { opacity: .45; }
.send-btn { height: 34px; padding: 0 14px; border-radius: 10px; border: 0; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1305; font-weight: 800; font-size: 12px; }
.send-btn:disabled { opacity: .55; cursor: default; }
.hint { min-height: 18px; padding: 7px 22px 0; color: var(--gold-2); font-size: 11px; opacity: 0; transition: .2s; }
.hint.show { opacity: 1; }
.chat-foot { padding: 8px 22px 14px; color: #5f6f88; font-size: 10px; }
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 20px; }
  .hero-art { min-height: 460px; order: 2; }
  .cap-grid, .bot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chat-shell { grid-template-columns: 1fr; }
  .chat-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .new-chat { margin-top: 0; }
  .messages { max-height: none; min-height: 55vh; }
}
@media (max-width: 680px) {
  .nav { padding: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  main { padding: 0 16px 56px; }
  .hero h1 { font-size: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-art { min-height: 400px; }
  .float-card { display: none; }
  .section-head { flex-direction: column; align-items: start; }
  .cap-grid, .bot-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: start; padding: 24px; }
  .chat-top { padding: 10px 12px; gap: 10px; flex-wrap: wrap; }
  .top-actions { margin-left: 0; }
  .chat-shell { padding: 12px; gap: 12px; }
  .chat-side { grid-template-columns: 1fr; }
  .messages { padding: 16px 12px 6px; }
  .bubble { max-width: 88%; font-size: 13px; }
  .composer { margin: 0 10px; }
}
