:root {
  --bg: #070b1a;
  --bg-2: #0b1228;
  --card: rgba(255, 255, 255, 0.045);
  --line: rgba(126, 160, 255, 0.18);
  --line-strong: rgba(140, 170, 255, 0.4);
  --text: #eef2ff;
  --muted: #9ba7c9;
  --violet: #8b5cf6;
  --cyan: #4fe3ff;
  --radius: 18px;
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 520px at 82% -8%, rgba(96, 72, 255, 0.34), transparent 70%),
    radial-gradient(640px 460px at 2% 40%, rgba(30, 190, 255, 0.13), transparent 72%),
    linear-gradient(180deg, #0a1024 0%, #070b1a 60%, #050813 100%);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 4.8vw, 60px); font-weight: 700; }
h2 { font-size: clamp(27px, 3.2vw, 40px); }
h3 { font-size: 19px; }

p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

/* head */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 11, 26, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(126, 160, 255, 0.12);
}

.head-row { display: flex; align-items: center; gap: 24px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 8px 22px rgba(96,72,255,.4); }
.brand-name { font-size: 19px; font-weight: 700; }
.brand-domain { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }

.nav { display: flex; gap: 26px; font-size: 14.5px; color: var(--muted); }
.nav a { padding: 5px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a:focus-visible { color: var(--text); border-color: var(--cyan); }

.head-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  color: #d9e4ff;
  transition: background .2s, color .2s;
}
.head-btn:hover, .head-btn:focus-visible { background: #dbe6ff; color: #0a1024; }

.menu { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: var(--text); cursor: pointer; }
.menu span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: currentColor; }

/* hero */
.hero { padding: 82px 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 52px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: 0.14em; color: var(--cyan); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--cyan); }

h1 { background: linear-gradient(115deg, #fff 10%, #cdd9ff 55%, #8f8cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lead { margin-top: 24px; max-width: 34em; color: var(--muted); font-size: 16.5px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.btn {
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:not([hidden]) { display: inline-flex; }
.btn-glow { background: linear-gradient(135deg, #7d6bff, #38c6ff); color: #061021; box-shadow: 0 16px 40px rgba(90, 110, 255, 0.38); }
.btn-glow:hover, .btn-glow:focus-visible { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(90, 110, 255, 0.5); }
.btn-line { border: 1px solid var(--line-strong); color: var(--text); }
.btn-line:hover, .btn-line:focus-visible { background: rgba(126, 160, 255, 0.12); }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 32px; font-size: 13px; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.aurora { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(120, 96, 255, .45), rgba(60, 200, 255, .12) 55%, transparent 70%); filter: blur(8px); }

.phone { position: relative; width: 236px; padding: 8px; border-radius: 30px; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.02)); box-shadow: 0 40px 90px rgba(2, 5, 16, .75); }
.phone img { width: 100%; border-radius: 23px; }

.tag-card { position: absolute; left: 0; bottom: 40px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 20, 44, .9); backdrop-filter: blur(12px); box-shadow: 0 24px 50px rgba(2,5,16,.6); }
.tag-label { font-size: 11px; letter-spacing: .12em; color: var(--cyan); }
.tag-card p { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* sections */
.section { padding: 88px 0; border-top: 1px solid rgba(126, 160, 255, .1); scroll-margin-top: 90px; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.index { font-size: 12px; letter-spacing: .16em; color: var(--cyan); margin-bottom: 14px; }
.sec-head > p:last-child { margin-top: 16px; color: var(--muted); }

.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.role-card { padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.role-no { font-size: 12px; letter-spacing: .1em; color: var(--violet); }
.role-card h3 { margin: 16px 0 10px; }
.role-card p { font-size: 14px; color: var(--muted); }

.role-note { margin-top: 18px; padding: 18px 24px; border-left: 2px solid var(--cyan); background: rgba(79, 227, 255, .05); font-size: 13.5px; color: var(--muted); }

/* chat */
.section-dark { background: rgba(10, 16, 36, .55); }
.chat-grid { display: grid; grid-template-columns: 1fr 0.86fr; gap: 64px; align-items: center; }
.chat-copy > p:not(.index) { margin-top: 18px; color: var(--muted); }

.chat-list { margin-top: 30px; }
.chat-list > div { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(126,160,255,.16); }
.chat-list dt { font-size: 14.5px; color: #cfd9ff; }
.chat-list dd { font-size: 13.5px; color: var(--muted); }

.chat-mock { padding: 22px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(43, 40, 92, .55), rgba(10, 16, 36, .9)); box-shadow: 0 30px 70px rgba(2,5,16,.5); }
.mock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.mock-time { margin-left: auto; font-size: 11px; color: var(--muted); }

.msg { max-width: 84%; margin-top: 12px; padding: 11px 14px; border-radius: 13px; font-size: 13px; line-height: 1.65; }
.msg-in { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.08); color: #e6ecff; }
.msg-out { margin-left: auto; background: linear-gradient(135deg, #6f66ff, #3f8cff); color: #fff; }
.msg-voice { width: 72px; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.1); font-size: 12px; color: #dbe4ff; }
.mock-input { margin-top: 16px; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: rgba(155,167,201,.8); }

/* inbox */
.inbox { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(10, 16, 36, .65); }
.inbox-head { display: flex; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.inbox-row { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid rgba(126,160,255,.1); }
.inbox-row:last-child { border-bottom: 0; }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.avatar-a { background: linear-gradient(140deg, #ff9ec7, #7a5cff); }
.avatar-b { background: linear-gradient(140deg, #7ce8ff, #4d6bff); }
.avatar-c { background: linear-gradient(140deg, #ffd489, #c05cff); }
.avatar-d { background: linear-gradient(140deg, #9dffd8, #3f8cff); }
.avatar-e { background: linear-gradient(140deg, #d3a7ff, #5b3ddb); }
.inbox-main { min-width: 0; }
.inbox-name { font-size: 14px; color: var(--text); }
.inbox-name em { font-style: normal; font-size: 10.5px; color: var(--cyan); border: 1px solid rgba(79,227,255,.35); border-radius: 999px; padding: 2px 8px; margin-left: 8px; }
.inbox-text { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-time { margin-left: auto; font-size: 11.5px; color: rgba(155,167,201,.7); }

/* create */
.create-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 64px; align-items: center; }
.create-copy > p:not(.index) { margin-top: 18px; color: var(--muted); }
.steps { margin-top: 28px; }
.steps li { display: flex; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(126,160,255,.16); font-size: 14px; color: #d5ddff; }
.steps li span { color: var(--violet); font-size: 12px; letter-spacing: .08em; padding-top: 3px; }

.create-card { padding: 28px 30px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(165deg, rgba(78, 62, 150, .4), rgba(10, 16, 36, .85)); }
.card-kicker { font-size: 11.5px; letter-spacing: .1em; color: var(--cyan); }
.card-name { margin-top: 18px; font-size: 30px; font-weight: 600; }
.card-meta { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.card-lines { display: grid; gap: 10px; margin-top: 26px; }
.card-lines span { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); }
.card-lines span:nth-child(2) { width: 78%; }
.card-lines span:nth-child(3) { width: 56%; }
.card-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, rgba(38, 48, 96, .5), rgba(8, 12, 28, .8)); }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #060a18; }
.gallery img { width: 100%; height: auto; }

/* download */
.download { background: linear-gradient(180deg, rgba(79, 227, 255, .05), transparent 70%); }
.dl-head { max-width: 620px; margin-bottom: 38px; }
.dl-head > p:last-child { margin-top: 16px; color: var(--muted); }

.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.channel:not([hidden]) { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12, 19, 42, .9); transition: border-color .2s, transform .2s, background .2s; }
.channel:not([hidden]):hover, .channel:not([hidden]):focus-visible { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(23, 33, 66, .95); }
.ch-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 11px; background: rgba(126, 160, 255, .14); color: #bcd0ff; }
.ch-text { display: flex; flex-direction: column; gap: 3px; }
.ch-text strong { font-size: 15.5px; font-weight: 500; }
.ch-text small { font-size: 12px; color: var(--muted); }
.ch-arrow { margin-left: auto; color: var(--cyan); }

/* faq */
.faq-wrap { max-width: 820px; }
.faq-wrap details { border-bottom: 1px solid var(--line); }
.faq-wrap summary { position: relative; padding: 22px 40px 22px 0; cursor: pointer; font-size: 16px; list-style: none; }
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after { content: "+"; position: absolute; right: 4px; top: 19px; font-size: 20px; color: var(--cyan); }
.faq-wrap details[open] summary::after { content: "−"; }
.faq-wrap details p { padding: 0 40px 22px 0; font-size: 14px; color: var(--muted); }

/* footer */
.site-foot { border-top: 1px solid rgba(126,160,255,.12); padding: 38px 0; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.foot-brand img { width: 32px; height: 32px; border-radius: 8px; }
.foot-brand div { display: flex; flex-direction: column; line-height: 1.4; }
.foot-brand strong { font-size: 15px; }
.foot-brand span { font-size: 12px; color: var(--muted); }
.foot-nav { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.foot-nav a:hover, .foot-nav a:focus-visible { color: var(--text); }
.foot-copy { font-size: 12px; color: rgba(155,167,201,.7); }

/* 404 */
.error-main { min-height: 100vh; display: flex; align-items: center; padding: 60px 0; }
.error-brand { margin-bottom: 54px; }
.error-code { font-size: 12px; letter-spacing: .3em; color: var(--cyan); margin-bottom: 12px; }
.error-text { max-width: 30em; margin: 18px 0 30px; color: var(--muted); text-wrap: pretty; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr 0.85fr; gap: 30px; }
  .chat-grid { grid-template-columns: 1fr; gap: 36px; }
  .create-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .create-card { max-width: 480px; }
}

@media (max-width: 820px) {
  .hero { padding: 58px 0 66px; }
  .role-grid { grid-template-columns: 1fr; }
  .inbox-text { max-width: 46vw; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .head-row { height: 64px; gap: 12px; }
  .brand img { width: 34px; height: 34px; }
  .brand-domain { display: none; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px 18px 16px; background: rgba(7,11,26,.98); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(126,160,255,.12); }
  .head-btn { padding: 8px 16px; font-size: 13px; }
  .menu { display: block; }

  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .tag-card { left: 8px; bottom: 24px; }
  .section { padding: 62px 0; }
  .sec-head { margin-bottom: 30px; }

  .gallery { display: flex; overflow-x: auto; gap: 12px; padding: 14px; scroll-snap-type: x mandatory; }
  .gallery figure { flex: 0 0 196px; scroll-snap-align: start; }

  .inbox-row { padding: 13px 16px; }
  .inbox-head { padding: 13px 16px; }
  .avatar { width: 40px; height: 40px; }
  .inbox-text { max-width: 42vw; }

  .channels { grid-template-columns: 1fr; }
  .chat-list > div { grid-template-columns: 1fr; gap: 4px; }
  .foot-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 420px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .phone { width: 210px; }
  .tag-card { display: none; }
}
