:root {
  --bg: #0f1225;
  --bg-2: #141834;
  --surface: #191d3d;
  --line: #2a2f55;
  --text: #eef1ff;
  --muted: #a8afd6;
  --cyan: #54d1ff;
  --violet: #7b5cff;
  --grad: linear-gradient(105deg, #54d1ff, #7b5cff);
  --radius: 16px;
  --maxw: 1040px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(123,92,255,.28), transparent 60%),
    radial-gradient(800px 460px at 5% 0%, rgba(84,209,255,.20), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.top { border-bottom: 1px solid var(--line); background: rgba(15,18,37,.7); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.1rem; }
.mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 800; }
.links { display: flex; gap: 1.4rem; }
.links a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.links a:hover { color: var(--text); }

.hero { padding: clamp(1rem, 3vw, 1.8rem) 0 clamp(2rem, 5vw, 3.5rem); text-align: center; }
.tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: .6rem;
}
.hero h1 { margin-bottom: .4rem; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 0 auto 1.4rem; }

.stage {
  max-width: 940px; margin: 0 auto; height: clamp(560px, 62vw, 746px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7);
}
#chat { width: 100%; height: 100%; }
#chat iframe { width: 100%; height: 100%; border: 0; display: block; }

.note { color: var(--muted); font-size: .9rem; max-width: 560px; margin: 1.4rem auto 0; }

.band { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(20,24,52,.5); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 1rem; }
.step p { color: var(--muted); margin: 0; }

.faq { padding: clamp(3rem, 7vw, 5rem) 20px; max-width: 760px; }
.faq h2 { text-align: center; margin-bottom: 2rem; }
.q { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.q:last-child { border-bottom: 1px solid var(--line); }
.q p { color: var(--muted); margin: 0; }

.foot { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.foot nav { display: flex; gap: 1.2rem; }
.foot a:hover { color: var(--text); }

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .links { display: none; }
}
