:root {
  --ink: #131a3d;
  --ink-2: #2f3866;
  --body: #545e88;
  --line: #e6eaf8;
  --bg: #ffffff;
  --bg-alt: #f4f7ff;
  --brand: #6372ff;
  --brand-2: #5ca9fb;
  --pop: #ff4d8d;
  --pop-2: #ffb020;
  --mint: #0fd3a3;
  --grad: linear-gradient(100deg, #6372ff 0%, #5ca9fb 100%);
  --grad-hot: linear-gradient(100deg, #7b5cff 0%, #ff4d8d 100%);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(19,26,61,.04), 0 14px 36px -14px rgba(19,26,61,.2);
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 800px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(19,26,61,.5); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; font-size: 1.06rem; }
.brand:hover { text-decoration: none; }
.brand-light { font-weight: 500; opacity: .6; }
.mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--grad-hot); color: #fff; font-weight: 800; font-size: 1rem;
}
.links { display: flex; align-items: center; gap: 22px; }
.links a { color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.links a:hover { color: var(--brand); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad-hot); color: #fff; font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(123,92,255,.95);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); text-decoration: none; color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .92rem; }

.hero {
  position: relative; overflow: hidden; color: #eef1ff;
  background:
    radial-gradient(760px 420px at 12% 4%, rgba(255,176,32,.42), transparent 60%),
    radial-gradient(900px 480px at 88% -8%, rgba(255,77,141,.55), transparent 62%),
    radial-gradient(820px 520px at 60% 110%, rgba(15,211,163,.38), transparent 60%),
    linear-gradient(150deg, #5a4bff 0%, #6372ff 42%, #5ca9fb 100%);
  padding: clamp(48px, 7vw, 82px) 0 clamp(104px, 13vw, 170px);
  text-align: center;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 88px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: .3em; text-shadow: 0 6px 30px rgba(24,16,80,.28); }
.hero .lead { font-size: 1.16rem; color: rgba(255,255,255,.92); max-width: 40em; margin: 0 auto; }
.grad { background: linear-gradient(100deg, #ffe066, #ffa8d4 55%, #6ef0d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34);
  padding: 7px 16px; border-radius: 999px; margin: 0 0 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #38f2b4; box-shadow: 0 0 0 0 rgba(56,242,180,.7); animation: pulse 2s infinite; }
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(56,242,180,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,242,180,0); }
}

.stage {
  position: relative; margin: 34px auto 0; max-width: 960px;
  height: clamp(560px, 62vw, 760px);
  background: #0f1330; border: 1px solid rgba(255,255,255,.4);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 90px -34px rgba(20,12,70,.75), 0 0 0 8px rgba(255,255,255,.14);
}
#chat { width: 100%; height: 100%; }
#chat iframe { width: 100%; height: 100%; border: 0; display: block; }
.note { color: rgba(255,255,255,.85); font-size: .92rem; max-width: 620px; margin: 1.3rem auto 0; }
.note strong { color: #fff; }

.band { padding: clamp(3rem, 7vw, 5.2rem) 0; }
.band.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-head { text-align: center; max-width: 660px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.band-head p { font-size: 1.06rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.step p { margin: 0; font-size: .98rem; }
.num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  color: #fff; font-weight: 800; margin-bottom: 14px; font-size: 1.05rem;
}
.n1 { background: linear-gradient(135deg, #6372ff, #5ca9fb); }
.n2 { background: linear-gradient(135deg, #ff4d8d, #ffb020); }
.n3 { background: linear-gradient(135deg, #0fd3a3, #5ca9fb); }

.feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat li {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px;
  box-shadow: var(--shadow);
}
.feat strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 6px; }
.feat span { font-size: .94rem; line-height: 1.55; display: block; }
.pill { display: inline-block; width: 34px; height: 6px; border-radius: 999px; margin-bottom: 14px; }
.p1 { background: var(--brand); }
.p2 { background: var(--pop); }
.p3 { background: var(--pop-2); }
.p4 { background: var(--mint); }

.faq { max-width: 800px; margin: 0 auto; }
.q { border-top: 1px solid var(--line); padding: 24px 0; }
.q:last-child { border-bottom: 1px solid var(--line); }
.q h3 { margin-bottom: .35em; }
.q p { margin: 0; }

.cta-band {
  text-align: center; padding: clamp(3rem, 7vw, 4.6rem) 0;
  background: var(--grad-hot); color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 34em; margin: 0 auto 26px; }
.cta-band .btn { background: #fff; color: #7b5cff; box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }

.foot { background: #0f1330; color: #98a2cf; padding: 34px 0; font-size: .92rem; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: #c6cdf0; }
.foot nav { display: flex; gap: 20px; }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .feat { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .links { gap: 14px; }
  .links a:not(.btn) { display: none; }
  .feat { grid-template-columns: 1fr; }
  .stage { height: clamp(480px, 128vw, 700px); border-radius: 16px; box-shadow: 0 26px 60px -30px rgba(20,12,70,.7), 0 0 0 5px rgba(255,255,255,.14); }
}
