*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1A1A1A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #FAFAFA;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .hero__eyebrow, .btn {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #E8E8E8;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header__logo { font-size: 17px; font-weight: 700; letter-spacing: 0.2px; color: #1A1A1A; }
.header__logo span { color: #6D5EF5; }
.header__nav { display: flex; gap: 28px; }
.header__nav a { font-size: 14px; font-weight: 500; color: #4a4a4a; transition: color 0.2s; }
.header__nav a:hover { color: #6D5EF5; }

.header__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.header__burger span { display: block; width: 22px; height: 2px; background: #1A1A1A; transition: transform 0.3s, opacity 0.3s; }
.header__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 96px; text-align: center;
  background: radial-gradient(ellipse at top, #171248 0%, #0A0A1F 55%, #08081a 100%);
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.hero__orb--1 { width: 420px; height: 420px; background: #6D5EF5; top: -140px; left: -100px; }
.hero__orb--2 { width: 380px; height: 380px; background: #3B82F6; bottom: -160px; right: -80px; animation-delay: -4s; }
.hero__orb--3 { width: 300px; height: 300px; background: #A855F7; top: 40%; left: 55%; animation-delay: -8s; opacity: 0.35; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.65; }
.hero__net-nodes circle.pulse { animation: nodePulse 2.4s ease-in-out infinite; }
@keyframes nodePulse {
  0%, 100% { opacity: 0.6; r: 5; }
  50% { opacity: 1; r: 8; }
}
.hero__grid-layout {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; text-align: left;
}
.hero__content { max-width: 560px; }
.hero__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: #A79BFF; margin-bottom: 20px;
}
.hero h1 { font-size: 44px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: #fff; }
.hero__gradient-text {
  background: linear-gradient(90deg, #A79BFF, #6EC7FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 520px; margin: 0 0 32px; }
.hero__actions { display: flex; gap: 14px; }

/* Hero ring visual */
.hero__visual { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring { position: relative; width: 220px; height: 220px; }
.ring__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 10; }
.ring__progress {
  fill: none; stroke: url(#ringGrad); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 540; stroke-dashoffset: 540;
  animation: ringDraw 2.4s ease-out forwards infinite alternate;
}
@keyframes ringDraw {
  0% { stroke-dashoffset: 540; }
  100% { stroke-dashoffset: 90; }
}
.ring__center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.ring__value { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; color: #fff; }
.ring__caption { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; line-height: 1.4; }
.ring__footnote { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.55); }

/* Platforms row */
.platforms { padding: 48px 0; background: #fff; overflow: hidden; }
.platforms__label { font-size: 13px; color: #6B6B6B; margin-bottom: 18px; text-align: center; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 18s linear infinite; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.platform-chip {
  font-weight: 600; font-size: 14px; color: #3B2E9E; white-space: nowrap;
  background: linear-gradient(135deg, #F0EEFF, #EAF3FF);
  border: 1px solid #E1DBFF; padding: 8px 18px; border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.platform-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(109,94,245,0.18); }

/* Section title */
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; color: #141414; text-align: center; }
.section-lead { font-size: 15px; color: #6B6B6B; text-align: center; max-width: 600px; margin: 0 auto 40px; }

/* Demo case */
.demo { padding: 64px 0; background: #fff; border-top: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8; }
.demo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.demo__stat { background: #FAFAFA; border: 1px solid #E8E8E8; border-radius: 10px; padding: 24px; text-align: center; }
.demo__stat-num {
  font-size: 34px; font-weight: 700;
  background: linear-gradient(135deg, #6D5EF5, #3B82F6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.demo__stat-label { font-size: 13px; color: #6B6B6B; margin-top: 4px; }
.demo__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo__text h3 { font-size: 20px; margin-bottom: 12px; }
.demo__text p { color: #4a4a4a; font-size: 15px; margin-bottom: 10px; }

/* Difference */
.diff { padding: 72px 0; }
.diff__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.diff__card { border-radius: 10px; padding: 28px; border: 1px solid #E8E8E8; }
.diff__card--them { background: #FAFAFA; }
.diff__card--us { background: #F3F5FF; border-color: #6D5EF5; }
.diff__card h3 { font-size: 17px; margin-bottom: 16px; }
.diff__card--us h3 { color: #6D5EF5; }
.diff__card ul { list-style: none; }
.diff__card li { font-size: 14px; color: #4a4a4a; margin-bottom: 10px; padding-left: 22px; position: relative; }
.diff__card--them li::before { content: "—"; position: absolute; left: 0; color: #999; }
.diff__card--us li::before { content: "✓"; position: absolute; left: 0; color: #1F9D6C; font-weight: 700; }

/* Pricing */
.pricing { padding: 72px 0; background: #fff; border-top: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  background: #FAFAFA; border-radius: 10px; padding: 28px;
  border: 1px solid #E8E8E8; display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pcard--popular {
  background: #fff; border: 2px solid transparent; position: relative;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #6D5EF5, #3B82F6);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 12px 36px rgba(109,94,245,0.18);
}
.pcard--popular::before {
  content: "Популярный"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #6D5EF5, #3B82F6); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px;
}
.pcard:hover { box-shadow: 0 8px 28px rgba(20,20,20,0.08); transform: translateY(-4px); }
.pcard--popular:hover { box-shadow: 0 16px 40px rgba(109,94,245,0.28); }
.pcard__name { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pcard__price { font-size: 30px; font-weight: 700; margin-bottom: 4px; color: #141414; }
.pcard__price span { font-size: 14px; font-weight: 400; color: #6B6B6B; }
.pcard__for { font-size: 13px; color: #6B6B6B; margin-bottom: 20px; }
.pcard ul { list-style: none; margin-bottom: 24px; flex: 1; }
.pcard li { font-size: 14px; color: #4a4a4a; margin-bottom: 10px; padding-left: 22px; position: relative; }
.pcard li::before { content: "✓"; position: absolute; left: 0; color: #1F9D6C; font-weight: 700; }

/* Process */
.process { padding: 72px 0; }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #6D5EF5, #3B82F6); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  margin: 0 auto 14px;
  box-shadow: 0 6px 18px rgba(109,94,245,0.35);
}
.step h3 { font-size: 15px; margin-bottom: 8px; }
.step p { font-size: 13px; color: #6B6B6B; }

/* FAQ */
.faq { padding: 72px 0; background: #fff; border-top: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8; }
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid #E8E8E8; padding: 18px 0; }
.faq__item h3 { font-size: 16px; margin-bottom: 8px; }
.faq__item p { font-size: 14px; color: #6B6B6B; }

/* Btn */
.btn {
  display: inline-block; padding: 13px 26px; font-size: 14px; font-weight: 600;
  border-radius: 8px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s; border: none;
}
.btn--primary {
  background: linear-gradient(135deg, #6D5EF5, #3B82F6); color: #fff;
  box-shadow: 0 8px 24px rgba(109,94,245,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(109,94,245,0.45); }
.btn--ghost { background: transparent; border: 1px solid #d0d0d0; color: #1A1A1A; }
.btn--ghost:hover { border-color: #6D5EF5; color: #6D5EF5; }
.btn--ghost-dark { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* Contacts */
.contacts { padding: 72px 0; text-align: center; }
.contacts__inner { max-width: 480px; margin: 0 auto; }
.contacts__form { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; text-align: left; }
.contacts__form input, .contacts__form textarea {
  padding: 12px 14px; border: 1px solid #d0d0d0; border-radius: 6px; font-size: 14px; font-family: inherit;
}
.contacts__form input:focus, .contacts__form textarea:focus { outline: none; border-color: #6D5EF5; }
.contacts__form-note { font-size: 12px; color: #999; }
.contacts__alt { margin-top: 24px; font-size: 14px; color: #6B6B6B; }
.contacts__alt a { color: #6D5EF5; }

/* Footer */
.footer { background: #141414; color: rgba(255,255,255,0.55); padding: 24px 0; text-align: center; }
.footer__inner p { font-size: 13px; }
.footer__inner a { color: rgba(255,255,255,0.8); }

/* Responsive */
@media (max-width: 900px) {
  .demo__grid, .diff__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid-layout { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 100%; margin: 0 auto; }
  .hero p { margin: 0 auto 32px; }
  .hero__actions { justify-content: center; }
  .hero__visual { margin-top: 24px; }
}
@media (max-width: 640px) {
  .header__nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #FAFAFA; flex-direction: column; gap: 0; padding: 8px 20px 16px;
    border-bottom: 1px solid #E8E8E8;
  }
  .header__nav a { padding: 10px 0; }
  .header__nav.open { display: flex; }
  .header__burger { display: flex; }
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero__actions { flex-direction: column; }
  .platforms__grid { gap: 18px; font-size: 14px; }
  .demo__stats { grid-template-columns: 1fr 1fr; }
  .process__grid { grid-template-columns: 1fr; }
}

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__orb, .hero__net-nodes circle.pulse { animation: none; }
}
