:root {
  --bg: #050208;
  --bg-soft: #0d0714;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(196, 135, 255, 0.24);
  --line-strong: rgba(196, 135, 255, 0.42);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.48);
  --violet: #a855f7;
  --violet-soft: #c084fc;
  --purple-deep: #6d28d9;
  --shadow: rgba(168, 85, 247, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(168, 85, 247, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(126, 34, 206, 0.16), transparent 24rem),
    linear-gradient(180deg, #050208 0%, #09040f 45%, #050208 100%);
  color: var(--text);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  min-height: 100vh;
}

.ambient {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(64px);
  opacity: 0.2;
  transform: translateZ(0);
}

.ambient-one {
  width: 120vw;
  height: 18rem;
  top: 4rem;
  left: -10vw;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
  animation: ambientDriftOne 16s ease-in-out infinite alternate;
}

.ambient-two {
  width: 115vw;
  height: 16rem;
  right: -12vw;
  bottom: 10%;
  background: linear-gradient(90deg, transparent, rgba(109, 40, 217, 0.44), transparent);
  animation: ambientDriftTwo 18s ease-in-out infinite alternate;
}

.container-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-pad {
  padding: 96px 0;
}

.section-tight {
  padding: 30px 0;
}

.nav-wrap {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1120px, calc(100% - 24px));
  margin: 14px auto 0;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 4, 13, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(20px);
}

.brand-block {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(196, 135, 255, 0.24), rgba(88, 28, 135, 0.78)),
    #12091d;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name,
.brand-subtitle {
  display: block;
  white-space: nowrap;
}

.brand-name {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
}

.brand-subtitle {
  margin-top: 1px;
  color: var(--faint);
  font-size: 0.76rem;
  font-weight: 500;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-menu button,
.desktop-menu a,
.footer-links button,
.footer-links a {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-menu button,
.desktop-menu a {
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.desktop-menu button:hover,
.desktop-menu a:hover,
.footer-links button:hover,
.footer-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-cta svg,
.btn svg {
  width: 17px;
  height: 17px;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(10, 5, 16, 0.94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu button,
.mobile-menu a {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.hero-section {
  padding-top: 118px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 42px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 740px;
  margin: 18px 0 18px;
  font-size: clamp(2.55rem, 6vw, 5.15rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.16rem);
  line-height: 1.75;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e7d4ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.13);
}

.hero-kicker svg {
  width: 15px;
  height: 15px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.87rem;
  font-weight: 600;
}

.hero-actions,
.telegram-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  max-width: 100%;
  padding: 0 18px;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: skewX(-18deg);
  transition: left 520ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:hover::after {
  left: 125%;
}

.btn-primary {
  border: 1px solid rgba(216, 180, 254, 0.44);
  background: linear-gradient(135deg, #9333ea, #6d28d9);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(109, 40, 217, 0.35);
}

.btn-secondary,
.btn-plan {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.btn-secondary:hover,
.btn-plan:hover {
  border-color: var(--line-strong);
  box-shadow: 0 16px 38px rgba(168, 85, 247, 0.18);
}

.product-preview,
.feature-card,
.pricing-card,
.telegram-panel,
.faq-list {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.product-preview {
  position: relative;
  padding: 18px;
  border-radius: 8px;
  overflow: hidden;
}

.product-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

.preview-topbar,
.metric-grid,
.status-row,
.chat-panel {
  position: relative;
  z-index: 1;
}

.preview-topbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.preview-topbar h2 {
  margin: 6px 0 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.live-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(167, 139, 250, 0.36);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  color: #eadcff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.18);
  animation: statusGlow 2.6s ease-in-out infinite;
}

.live-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d8b4fe;
  box-shadow: 0 0 12px rgba(216, 180, 254, 0.88);
  animation: statusDotPulse 1.6s ease-in-out infinite;
}

.live-pill svg {
  width: 14px;
  height: 14px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-card,
.status-row > div,
.chat-panel,
.stat-card,
.step-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 4, 13, 0.62);
}

.metric-card {
  min-height: 92px;
  padding: 14px;
}

.metric-card span,
.status-row span {
  display: block;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.72rem;
  line-height: 1;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
}

.status-row > div {
  min-height: 74px;
  padding: 13px 12px;
}

.status-card {
  position: relative;
  overflow: hidden;
}

.status-card::after {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.7), transparent);
  opacity: 0;
}

.status-row strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 0.98rem;
  word-break: keep-all;
}

.status-ai strong::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c084fc;
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.8);
  animation: statusDotPulse 1.45s ease-in-out infinite;
}

.status-vn {
  box-shadow: inset 0 0 24px rgba(168, 85, 247, 0.08);
  animation: voiceNoteGlow 2.9s ease-in-out infinite;
}

.status-vn::after {
  opacity: 0.7;
  animation: statusLineSweep 2.9s ease-in-out infinite;
}

.status-api strong,
[data-count] {
  font-variant-numeric: tabular-nums;
}

.chat-panel {
  padding: 14px;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.chat-header span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
}

.chat-header svg {
  width: 15px;
  height: 15px;
}

.chat-header small {
  color: var(--faint);
}

.chat-flow {
  display: grid;
  gap: 10px;
  overflow: hidden;
}

.chat-message {
  max-width: 84%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transform-origin: bottom left;
}

.chat-message span {
  display: block;
  margin-bottom: 4px;
  color: #e8d8ff;
  font-size: 0.74rem;
  font-weight: 700;
}

.chat-message p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.chat-message.left {
  background: rgba(255, 255, 255, 0.065);
}

.chat-message.right {
  margin-left: auto;
  background: rgba(168, 85, 247, 0.16);
  transform-origin: bottom right;
}

.typing-indicator {
  display: none;
  align-items: center;
  gap: 5px;
  width: max-content;
  max-width: 84%;
  min-height: 32px;
  padding: 9px 12px;
  border: 1px solid rgba(216, 180, 254, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.typing-indicator.right {
  margin-left: auto;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(232, 216, 255, 0.86);
  animation: typingBounce 900ms ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 140ms;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 280ms;
}

.chat-ready {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.11);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 700;
}

.chat-ready span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c084fc;
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.82);
}

html.js .chat-panel[data-chat-sequence] .chat-message,
html.js .chat-panel[data-chat-sequence] .chat-ready {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

html.js .chat-panel[data-chat-sequence] .typing-indicator {
  display: inline-flex;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

html.js .chat-panel[data-chat-sequence] .typing-indicator.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 180ms ease, transform 180ms ease;
}

html.js .chat-panel[data-chat-sequence] .chat-message.is-visible,
html.js .chat-panel[data-chat-sequence] .chat-ready.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 320ms ease, transform 320ms ease;
}

html.js:not(.chat-control-ready) .chat-panel[data-chat-sequence] .chat-message,
html.js:not(.chat-control-ready) .chat-panel[data-chat-sequence] .chat-ready {
  animation: chatFallbackShow 1ms linear 3.2s forwards;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  min-height: 120px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.stat-card strong {
  display: block;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
}

.section-heading {
  width: min(740px, calc(100% - 32px));
  margin: 0 auto 34px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.section-heading h2,
.telegram-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 800;
}

.section-heading p,
.telegram-panel p {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.pricing-card {
  position: relative;
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.pricing-card:hover,
.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 80px rgba(168, 85, 247, 0.18);
}

.feature-card {
  min-height: 230px;
  padding: 18px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.13);
  color: #f0e4ff;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3,
.step-card h3 {
  margin: 18px 0 10px;
  font-size: 1.04rem;
  font-weight: 800;
}

.feature-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.62;
}

.how-section {
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.05), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  min-height: 222px;
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.13);
  color: #f2e8ff;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 20px;
}

.pricing-card.featured {
  border-color: rgba(216, 180, 254, 0.64);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: 0 26px 90px rgba(109, 40, 217, 0.26);
}

.pricing-label {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.16);
  color: #f1e7ff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pricing-head h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.pricing-head strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.pricing-card li [data-count] {
  display: inline-block;
  min-width: 8ch;
}

.pricing-card li svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: #d8b4fe;
}

.btn-plan {
  width: 100%;
  margin-top: auto;
}

.telegram-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 8px;
}

.telegram-panel p {
  max-width: 760px;
  margin-left: 0;
}

.telegram-actions {
  justify-content: flex-end;
}

.faq-list {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.faq-question svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  transition: transform 220ms ease;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 34px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
}

.footer p {
  margin: 8px 0 0;
  color: var(--faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links button,
.footer-links a {
  padding: 10px 12px;
  border-radius: 8px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ambientDriftOne {
  from {
    transform: translate3d(0, 0, 0) skewY(-7deg);
  }
  to {
    transform: translate3d(42px, 52px, 0) skewY(-3deg);
  }
}

@keyframes ambientDriftTwo {
  from {
    transform: translate3d(0, 0, 0) skewY(6deg);
  }
  to {
    transform: translate3d(-38px, -46px, 0) skewY(3deg);
  }
}

@keyframes statusGlow {
  0%,
  100% {
    border-color: rgba(167, 139, 250, 0.3);
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.14);
  }
  50% {
    border-color: rgba(216, 180, 254, 0.58);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.28);
  }
}

@keyframes statusDotPulse {
  0%,
  100% {
    transform: scale(0.84);
    opacity: 0.72;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes voiceNoteGlow {
  0%,
  100% {
    box-shadow: inset 0 0 18px rgba(168, 85, 247, 0.07);
  }
  50% {
    box-shadow: inset 0 0 28px rgba(168, 85, 247, 0.16), 0 0 18px rgba(168, 85, 247, 0.1);
  }
}

@keyframes statusLineSweep {
  0%,
  100% {
    transform: translateX(-22%);
    opacity: 0.26;
  }
  50% {
    transform: translateX(22%);
    opacity: 0.76;
  }
}

@keyframes typingBounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes chatFallbackShow {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .desktop-menu,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .product-preview {
    max-width: 680px;
    margin: 0 auto;
  }

  .feature-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .telegram-panel {
    grid-template-columns: 1fr;
  }

  .telegram-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container-grid,
  .section-heading,
  .faq-list {
    width: min(100% - 24px, 1120px);
  }

  .nav-wrap {
    top: 8px;
    width: min(100% - 16px, 1120px);
    margin-top: 8px;
  }

  .nav-panel {
    min-height: 64px;
    padding: 9px 10px;
  }

  .brand-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .section-pad {
    padding: 72px 0;
  }

  .section-tight {
    padding: 20px 0;
  }

  .hero-section {
    padding-top: 92px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 14vw, 3.65rem);
  }

  .hero-actions,
  .telegram-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .telegram-actions .btn {
    width: 100%;
  }

  .stats-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .status-row {
    grid-template-columns: 1fr;
  }

  .chat-header {
    flex-direction: column;
    gap: 4px;
  }

  .pricing-card {
    min-height: auto;
  }

  .telegram-panel {
    padding: 22px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .brand-block {
    gap: 9px;
  }

  .brand-name {
    max-width: 172px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-preview {
    padding: 14px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
