:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: #a8b5ca;
  --line: rgba(173, 201, 255, 0.15);
  --panel: rgba(11, 25, 55, 0.72);
  --blue: #23c7ff;
  --violet: #8d5cff;
  --deep: #050b1c;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--deep);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 2%, rgba(35, 199, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(141, 92, 255, 0.19), transparent 32rem),
    linear-gradient(180deg, #07112a 0%, #050b1c 58%, #070d20 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 11, 28, 0.74);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
  font-size: 1.08rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(127, 204, 255, .24);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(82, 114, 255, .28);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links > a:not(.button) {
  color: #c7d2e5;
  text-decoration: none;
  font-size: .94rem;
  transition: color .2s ease;
}

.nav-links > a:hover { color: white; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: white;
  background: rgba(255,255,255,.04);
}

.menu-button svg { width: 22px; }

.button {
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #06101f;
  background: linear-gradient(135deg, #34d2ff, #9d79ff);
  box-shadow: 0 14px 34px rgba(56, 161, 255, .22);
  text-decoration: none;
  font-weight: 760;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(71, 159, 255, .34); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(81, 208, 255, .55); outline-offset: 3px; }
.button svg { width: 20px; height: 20px; }
.button-small { min-height: 42px; padding-inline: 17px; border-radius: 13px; font-size: .92rem; }
.button-secondary { color: #e9f3ff; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.13); box-shadow: none; }
.button-secondary:hover { background: rgba(255,255,255,.09); box-shadow: none; }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
  padding-block: 74px 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(94, 212, 255, .19);
  border-radius: 999px;
  color: #c9f3ff;
  background: rgba(25, 182, 245, .08);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #49e2c2;
  box-shadow: 0 0 14px #49e2c2;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin: 22px 0 24px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .96;
  letter-spacing: -.065em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(96deg, #69dfff 5%, #d0beff 86%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy > p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-note { margin-top: 20px; color: #7f8da6; font-size: .86rem; }

.hero-visual {
  position: relative;
  width: min(100%, 560px);
  justify-self: end;
}
.hero-orbit {
  position: absolute;
  inset: -7%;
  border: 1px solid rgba(105, 202, 255, .13);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.hero-orbit::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 7%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 26px var(--violet);
}

.hero-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 14px;
  border: 1px solid rgba(158, 194, 255, .18);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(17, 38, 79, .85), rgba(11, 18, 43, .75));
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  overflow: hidden;
}

.hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
}

.float-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  color: #eaf8ff;
  background: rgba(9, 19, 45, .84);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 35px rgba(0,0,0,.25);
  font-size: .83rem;
  font-weight: 700;
}
.float-pill svg { width: 18px; }
.float-one { left: -7%; bottom: 17%; }
.float-two { right: -6%; top: 15%; }

.section { padding-block: 110px; }
.section-kicker { color: #62d7ff; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .76rem; }
.section-title { max-width: 760px; margin: 12px 0 18px; font-size: clamp(2.1rem, 4.5vw, 4rem); line-height: 1.06; letter-spacing: -.045em; }
.section-lead { max-width: 680px; color: var(--muted); font-size: 1.08rem; }

.steps {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step, .feature, .price-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

.step { min-height: 250px; padding: 28px; border-radius: 24px; }
.step-number { color: transparent; -webkit-text-stroke: 1px rgba(117, 214, 255, .52); font-size: 3.1rem; font-weight: 800; letter-spacing: -.08em; }
.step h3 { margin: 25px 0 9px; font-size: 1.22rem; }
.step p { color: var(--muted); margin-bottom: 0; }

.demo-section { position: relative; }
.demo-section::before { content: ""; position: absolute; inset: 15% -10% 5%; z-index: -1; background: radial-gradient(circle, rgba(72, 92, 255, .15), transparent 67%); }
.demo-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }

.chat-stage {
  position: relative;
  min-height: 510px;
  border: 1px solid rgba(155, 193, 255, .17);
  border-radius: 34px;
  background: rgba(7, 16, 40, .74);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-stage::before { content: ""; position: absolute; width: 300px; height: 300px; left: 30%; top: 20%; border-radius: 50%; background: rgba(73, 121, 255, .19); filter: blur(80px); }
.messenger { position: absolute; width: 66%; padding: 19px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(15, 31, 67, .92); box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.messenger.telegram { left: 7%; top: 10%; transform: rotate(-3deg); }
.messenger.max { right: 6%; bottom: 9%; transform: rotate(3deg); }
.messenger-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .85rem; font-weight: 760; }
.messenger-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: linear-gradient(145deg, #28bfff, #1685ea); }
.max .messenger-icon { background: linear-gradient(145deg, #3e70ff, #a137ff); }
.messenger-icon svg { width: 20px; }
.bubble { width: 88%; margin-left: auto; padding: 13px 15px; border-radius: 16px 16px 5px 16px; background: linear-gradient(135deg, rgba(39, 185, 239, .24), rgba(70, 117, 255, .25)); color: #e8f8ff; font-size: .88rem; }
.max .bubble { margin: 0; border-radius: 16px 16px 16px 5px; background: linear-gradient(135deg, rgba(80, 106, 255, .29), rgba(157, 55, 255, .24)); }
.bridge-line { position: absolute; left: 48%; top: 45%; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; color: #071126; background: linear-gradient(135deg, var(--blue), #c0a5ff); box-shadow: 0 0 45px rgba(70, 176, 255, .45); }
.bridge-line svg { width: 30px; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 32px; }
.feature { padding: 20px; border-radius: 18px; }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 12px; color: #8ee6ff; background: rgba(35, 199, 255, .09); }
.feature-icon svg { width: 20px; }
.feature strong { display: block; margin-bottom: 4px; }
.feature span { color: var(--muted); font-size: .88rem; }

.pricing-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.included { max-width: 330px; color: #c7d2e5; font-size: .95rem; }
.included strong { color: white; }
.prices { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { position: relative; padding: 30px; border-radius: 26px; }
.price-card.featured { border-color: rgba(77, 206, 255, .38); background: linear-gradient(145deg, rgba(21, 58, 103, .82), rgba(25, 20, 72, .78)); transform: translateY(-8px); }
.price-badge { position: absolute; top: 16px; right: 16px; padding: 6px 9px; border-radius: 99px; color: #bdf1ff; background: rgba(61, 197, 255, .12); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.price-term { color: #b7c4d8; font-weight: 700; }
.price { margin: 15px 0 12px; font-size: 2.65rem; font-weight: 800; letter-spacing: -.06em; }
.price small { color: #8998b0; font-size: .9rem; letter-spacing: 0; font-weight: 500; }
.price-card p { min-height: 48px; color: var(--muted); font-size: .9rem; }
.price-card .button { width: 100%; margin-top: 14px; }
.extra { margin-top: 18px; padding: 19px 22px; display: flex; justify-content: space-between; gap: 20px; border: 1px dashed rgba(174, 196, 255, .24); border-radius: 19px; color: #c9d5e7; }

.cta { padding-bottom: 110px; }
.cta-box { position: relative; padding: clamp(34px, 7vw, 76px); border: 1px solid rgba(126, 200, 255, .2); border-radius: 34px; overflow: hidden; text-align: center; background: linear-gradient(145deg, rgba(18, 62, 108, .82), rgba(45, 22, 104, .76)); box-shadow: var(--shadow); }
.cta-box::before, .cta-box::after { content: ""; position: absolute; width: 250px; height: 250px; border-radius: 50%; filter: blur(70px); }
.cta-box::before { top: -150px; left: -60px; background: rgba(35, 199, 255, .35); }
.cta-box::after { right: -80px; bottom: -180px; background: rgba(167, 71, 255, .4); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { margin-bottom: 16px; font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1; letter-spacing: -.055em; }
.cta-box p { max-width: 600px; margin-inline: auto; color: #bdcbe0; }
.cta-box .button { margin-top: 20px; }

footer { padding-block: 26px 40px; border-top: 1px solid var(--line); color: #7e8ca4; font-size: .85rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 64px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-note { text-align: center; }
  .hero-visual { max-width: 560px; margin: 16px auto 0; justify-self: center; }
  .steps, .prices { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .price-card.featured { transform: none; }
  .demo-grid { grid-template-columns: 1fr; }
  .chat-stage { order: 2; }
  .pricing-head { align-items: start; flex-direction: column; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 26px, 1160px); }
  .nav { min-height: 64px; }
  .menu-button { display: grid; place-items: center; }
  .nav-links { position: absolute; top: calc(100% + 1px); left: 13px; right: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; display: none; align-items: stretch; flex-direction: column; gap: 8px; background: rgba(7, 16, 38, .97); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.button) { padding: 10px; }
  .hero { padding-block: 55px 68px; }
  h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .hero-actions .button { width: 100%; }
  .float-pill { display: none; }
  .section { padding-block: 78px; }
  .steps { margin-top: 35px; }
  .demo-grid { gap: 38px; }
  .chat-stage { min-height: 430px; }
  .messenger { width: 78%; }
  .bridge-line { left: 42%; top: 44%; }
  .feature-list { grid-template-columns: 1fr; }
  .prices { margin-top: 34px; }
  .extra, .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

