:root {
  --bg: #0B0D11;
  --bg-2: #11141A;
  --card: #151920;
  --line: #242a33;
  --line-2: #323a46;
  --text: #F3F4F6;
  --muted: #9AA0A6;
  --gold: #F2C94C;
  --gold-2: #D4A73A;
  --gold-dk: #8A6D2A;
  --green: #4ADE80;
  --red: #F87171;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }
.narrow { max-width: 780px; }
.gold { color: var(--gold); }
.small { font-size: .88rem; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1a1405; }
.btn-gold:hover { background: #ffd866; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold-2); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,13,17,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; }
.brand b { color: var(--gold); }
.links { display: flex; align-items: center; gap: 26px; font-size: .95rem; color: var(--muted); }
.links a:not(.btn):hover { color: var(--text); }
.links .btn { color: #1a1405; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--text); transition: .2s; }

/* hero */
.hero { padding: 72px 0 64px; background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(242,201,76,.10), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--gold-2); border-radius: 99px; color: var(--gold); font-size: .85rem; margin-bottom: 20px; background: rgba(242,201,76,.06); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242,201,76,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(242,201,76,0); } 100% { box-shadow: 0 0 0 0 rgba(242,201,76,0); } }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 560px; margin-bottom: 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: .9rem; }
.trust li::before { content: "✓"; color: var(--gold); margin-right: 7px; }

.ai-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.ai-card-top { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--muted); }
.ai-title { display: flex; align-items: center; gap: 8px; }
.ico { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.live { display: flex; align-items: center; gap: 6px; color: var(--green); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.ai-sym { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 6px; font-weight: 600; }
.sym-note { font-size: .8rem; color: var(--muted); font-weight: 400; }
#chart { width: 100%; height: 190px; display: block; }
.ai-rows { margin-top: 12px; font-size: .88rem; display: grid; gap: 8px; }
.ai-rows > div:not(.bar) { display: flex; justify-content: space-between; color: var(--muted); }
.ai-rows b { color: var(--text); font-weight: 600; }
.ai-rows b.ok { color: var(--green); }
.bar { height: 6px; background: #222831; border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 40%; background: var(--gold); border-radius: 3px; transition: width .8s ease; }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-in div { padding: 26px 10px; }
.stats-in div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: 1.7rem; color: var(--gold); }
.stats span { color: var(--muted); font-size: .9rem; }

/* sections */
.sec { padding: 90px 0; }
.sec-alt { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec-head p { color: var(--muted); }
.kicker { display: inline-block; color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }

.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; position: relative; }
.pipe-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.pipe-step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.1rem; z-index: 1; }
.pipe-step p { color: var(--muted); font-size: .93rem; margin: 0; }
.num { display: block; color: var(--gold); font-weight: 700; font-size: .85rem; margin-bottom: 10px; letter-spacing: .1em; }

.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s; }
.feat-card:hover { border-color: var(--gold-dk); }
.feat-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.ico-lg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { text-align: center; padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.step p { color: var(--muted); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; }

.gold-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.gold-in > div > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 28px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 4px; background: var(--gold); opacity: .9; }
.ticks b { color: var(--text); }
.session-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.session { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.session b { color: var(--text); font-variant-numeric: tabular-nums; }
.session.hot b { color: var(--gold); }
.session-card .small { color: var(--muted); margin: 14px 0 0; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan.best { border-color: var(--gold); background: linear-gradient(180deg, rgba(242,201,76,.07), var(--card) 40%); }
.tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #1a1405; font-size: .76rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.amt { font-size: 2.3rem; font-weight: 700; margin: 4px 0 18px; }
.amt span { font-size: .95rem; color: var(--muted); font-weight: 400; margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--gold); margin-right: 10px; }

.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

.cta { text-align: center; background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(242,201,76,.12), transparent 70%), var(--bg-2); }
.cta p { color: var(--muted); margin-bottom: 26px; }

.foot { border-top: 1px solid var(--line); padding: 34px 0; }
.foot-in { display: grid; gap: 6px; justify-items: center; text-align: center; }
.foot p { margin: 0; }

/* chat widget */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--gold); cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0,0,0,.45); }
.chat-fab svg { width: 26px; height: 26px; fill: #1a1405; }
.chat { position: fixed; right: 22px; bottom: 92px; z-index: 61; width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 120px); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.chat-head div { flex: 1; display: grid; line-height: 1.3; }
.chat-head span { font-size: .78rem; color: var(--green); }
.chat-head button { background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { background: var(--card); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--gold); color: #1a1405; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.team { background: #1d2a22; border: 1px solid #2f4a39; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg small { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 2px; }
.msg.typing { color: var(--muted); font-style: italic; }
.chat-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 12px 10px; }
.chat-quick button { background: transparent; border: 1px solid var(--line-2); color: var(--text); border-radius: 99px; padding: 5px 12px; font-size: .8rem; cursor: pointer; font-family: inherit; }
.chat-quick button:hover { border-color: var(--gold); color: var(--gold); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; background: var(--card); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: .92rem; }
.chat-form input:focus { outline: none; border-color: var(--gold-2); }
.chat-form button { width: 44px; border: 0; border-radius: 10px; background: var(--gold); cursor: pointer; display: grid; place-items: center; }
.chat-form svg { width: 20px; height: 20px; fill: #1a1405; }

/* responsive */
@media (max-width: 960px) {
  .hero-in, .gold-in { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: repeat(2, 1fr); }
  .pipe-step::after { display: none; }
  .feat { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .links { position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none; }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .links .btn { margin-top: 14px; }
  .hero { padding: 44px 0 48px; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stats-in div:nth-child(3) { border-left: 0; }
  .stats-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec { padding: 64px 0; }
  .steps, .feat, .pipe { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .chat { right: 16px; bottom: 86px; height: 70vh; }
  .chat-fab { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .live i { animation: none; }
}
