:root {
  --white: #ffffff;
  --bg: #fafafa;
  --lavender: #eeebff;
  --lavender-deep: #e4dfff;
  --lavender-soft: #f5f3ff;
  --navy: #1a162d;
  --navy-soft: #2a2545;
  --text: #1a162d;
  --muted: #6b6780;
  --purple: #8b7cff;
  --purple-light: #c4b5fd;
  --line: rgba(26, 22, 45, 0.08);
  --shadow: 0 24px 60px rgba(26, 22, 45, 0.08);
  --shadow-hover: 0 32px 70px rgba(26, 22, 45, 0.12);
  --radius-xl: 40px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-pill: 999px;
  --container: 1180px;
  --header-h: 84px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body.is-menu-open {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; }
p { margin: 0; }

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

.eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(167, 139, 250, 0.45), transparent 42%);
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}

.btn:hover::after { opacity: 1; }

.btn--dark {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 30px rgba(26, 22, 45, 0.16);
}

.btn--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease);
}

.btn--dark:hover::before {
  transform: translateX(130%);
}

.btn--dark:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 44px rgba(26, 22, 45, 0.28), 0 0 0 1px rgba(167, 139, 250, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: var(--lavender-soft);
  box-shadow: 0 12px 30px rgba(26, 22, 45, 0.06);
}

.btn--sm {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: transform 0.35s var(--ease);
}

.logo:hover { transform: scale(1.03); }

.logo__img {
  display: block;
  filter: drop-shadow(0 6px 14px rgba(91, 75, 219, 0.22));
  animation: logoPulse 4s ease-in-out infinite;
}

.logo__text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@keyframes logoPulse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2px) rotate(-2deg); }
}

.nav a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a.is-active,
.nav a:hover { color: var(--navy); }

.nav a.is-active::after,
.nav a:hover::after { transform: scaleX(1); }

.nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.nav-mobile.is-open { display: flex; }

.nav-mobile a {
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 12px;
}

.nav-mobile a:hover { color: var(--navy); background: var(--lavender-soft); }

/* Hero */
.hero {
  padding: calc(var(--header-h) + 1.25rem) 0 1rem;
}

.hero__card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--lavender) 0%, #f0edff 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero__shimmer {
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.45), transparent 25%);
  animation: heroShimmer 10s linear infinite;
  opacity: 0.35;
  pointer-events: none;
}

@keyframes heroShimmer {
  to { transform: rotate(360deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
}

.hero__logo {
  display: block;
  margin: 0 auto 0.85rem;
  filter: drop-shadow(0 10px 22px rgba(91, 75, 219, 0.26));
}

.hero__title {
  font-size: clamp(1.875rem, 4.2vw, 3.125rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.hero__text {
  max-width: 460px;
  margin: 0 auto 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero__scene {
  position: relative;
  height: clamp(165px, 24vw, 240px);
  margin-top: 1.5rem;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-visual__glow {
  position: absolute;
  inset: 15% 10% 20%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.42) 0%, transparent 68%);
  filter: blur(18px);
  opacity: 0.8;
}

.hero-visual__orbit {
  position: absolute;
  left: 50%;
  top: 56%;
  border: 1.5px solid rgba(139, 124, 255, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-visual__orbit--1 {
  width: 86%;
  height: 74%;
}

.hero-visual__orbit--2 {
  width: 58%;
  height: 48%;
  border-color: rgba(167, 139, 250, 0.22);
}

.hero-kanban {
  position: absolute;
  left: 6%;
  bottom: 22%;
  display: flex;
  gap: 5px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(26, 22, 45, 0.12);
}

.hero-kanban span {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(145deg, #fef3c7, #fde68a);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.06);
}

.hero-kanban span:nth-child(2) {
  background: linear-gradient(145deg, #ede9fe, #c4b5fd);
}

.hero-kanban span:nth-child(3) {
  background: linear-gradient(145deg, #dbeafe, #93c5fd);
}

.hero-stat {
  position: absolute;
  right: 7%;
  bottom: 28%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(26, 22, 45, 0.1);
}

.hero-stat i {
  display: block;
  width: 8px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #c4b5fd, #8b7cff);
  height: var(--h, 60%);
  box-shadow: 0 4px 10px rgba(139, 124, 255, 0.25);
}

.hero-stat i:nth-child(1) { --h: 55%; }
.hero-stat i:nth-child(2) { --h: 85%; }
.hero-stat i:nth-child(3) { --h: 68%; }

.hero-badge {
  position: absolute;
  right: 22%;
  top: 12%;
  padding: 0.35rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #5b4bdb);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(26, 22, 45, 0.2);
}

.hero-in {
  opacity: 0;
  transform: translateY(18px);
}

.hero__card.is-loaded .hero-in--1 { animation: heroRise 0.75s var(--ease) forwards 0.05s; }
.hero__card.is-loaded .hero-in--2 { animation: heroRise 0.85s var(--ease) forwards 0.15s; }
.hero__card.is-loaded .hero-in--3 { animation: heroRise 0.85s var(--ease) forwards 0.28s; }
.hero__card.is-loaded .hero-in--4 { animation: heroRise 0.85s var(--ease) forwards 0.4s; }

.hero__card.is-loaded .hero__logo {
  animation: heroRise 0.75s var(--ease) forwards 0.05s, logoFloat 4.5s ease-in-out infinite 1s;
}

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

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-3deg); }
}

.btn--pulse {
  box-shadow: 0 10px 30px rgba(26, 22, 45, 0.16), 0 0 0 0 rgba(139, 124, 255, 0.45);
}

.hero__card.is-loaded .btn--pulse {
  animation: btnPulse 2.8s ease-out infinite 1.2s;
}

@keyframes btnPulse {
  0% { box-shadow: 0 10px 30px rgba(26, 22, 45, 0.16), 0 0 0 0 rgba(139, 124, 255, 0.4); }
  70% { box-shadow: 0 10px 30px rgba(26, 22, 45, 0.16), 0 0 0 14px rgba(139, 124, 255, 0); }
  100% { box-shadow: 0 10px 30px rgba(26, 22, 45, 0.16), 0 0 0 0 rgba(139, 124, 255, 0); }
}

.scene__particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.85);
}

.scene__particle--1 { left: 10%; top: 36%; }
.scene__particle--2 { left: 76%; top: 30%; }
.scene__particle--3 { left: 60%; top: 46%; width: 4px; height: 4px; }
.scene__particle--4 { left: 32%; top: 26%; width: 5px; height: 5px; }
.scene__particle--5 { left: 86%; top: 50%; }
.scene__particle--6 { left: 48%; top: 18%; width: 4px; height: 4px; }

.hero-visual.is-live .hero-visual__glow {
  animation: glowPulse 4s ease-in-out infinite;
}

.hero-visual.is-live .hero-visual__orbit--1 {
  animation: orbitSpin 18s linear infinite;
}

.hero-visual.is-live .hero-visual__orbit--2 {
  animation: orbitSpin 24s linear infinite reverse;
}

.hero-visual.is-live .scene__hill--back {
  animation: hillWave 7s ease-in-out infinite 0.35s;
}

.hero-visual.is-live .scene__hill--front {
  animation: hillWave 6s ease-in-out infinite;
}

.hero-visual.is-live .scene__particle {
  animation: particleDrift 5.5s ease-in-out infinite;
}

.hero-visual.is-live .scene__particle--1 { animation-delay: 0s; }
.hero-visual.is-live .scene__particle--2 { animation-delay: 0.7s; }
.hero-visual.is-live .scene__particle--3 { animation-delay: 1.4s; }
.hero-visual.is-live .scene__particle--4 { animation-delay: 2.1s; }
.hero-visual.is-live .scene__particle--5 { animation-delay: 2.8s; }
.hero-visual.is-live .scene__particle--6 { animation-delay: 3.5s; }

.hero-visual.is-live .hero-stat i {
  transform: scaleY(0);
  transform-origin: bottom;
  animation: barGrow 1s var(--ease) forwards;
}

.hero-visual.is-live .hero-stat i:nth-child(1) { animation-delay: 0.35s; }
.hero-visual.is-live .hero-stat i:nth-child(2) { animation-delay: 0.5s; }
.hero-visual.is-live .hero-stat i:nth-child(3) { animation-delay: 0.65s; }

.hero-visual .chip:hover {
  box-shadow: 0 16px 36px rgba(139, 124, 255, 0.35), 0 0 0 1px rgba(167, 139, 250, 0.4);
}

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

@keyframes hillWave {
  0%, 100% { transform: scaleX(1) scaleY(1); }
  50% { transform: scaleX(1.03) scaleY(1.05); }
}

@keyframes particleDrift {
  0% { opacity: 0; transform: translateY(10px); }
  15% { opacity: 1; }
  85% { opacity: 0.65; }
  100% { opacity: 0; transform: translateY(-32px); }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 22px rgba(26, 22, 45, 0.2); }
  50% { transform: scale(1.06); box-shadow: 0 12px 28px rgba(91, 75, 219, 0.35); }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(2deg); }
}

.scene__hill {
  position: absolute;
  left: -5%;
  right: -5%;
  border-radius: 50% 50% 0 0;
  transform-origin: bottom center;
}

.scene__hill--back {
  bottom: 0;
  height: 58%;
  background: linear-gradient(180deg, #ddd6fe 0%, #c4b5fd 100%);
  opacity: 0.55;
}

.scene__hill--front {
  bottom: 0;
  height: 44%;
  background: linear-gradient(180deg, #e9d5ff 0%, #c084fc 55%, #a78bfa 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(145deg, #f5f3ff, #ddd6fe);
  box-shadow: inset -8px -12px 20px rgba(124, 58, 237, 0.15), 0 20px 40px rgba(91, 33, 182, 0.18);
}

.orb--1 {
  left: 16%;
  bottom: 26%;
  width: 56px;
  height: 56px;
}

.orb--2 {
  left: 42%;
  bottom: 34%;
  width: 72px;
  height: 72px;
}

.orb--3 {
  right: 14%;
  bottom: 22%;
  width: 50px;
  height: 50px;
}

.orb--4 {
  left: 68%;
  bottom: 18%;
  width: 36px;
  height: 36px;
  opacity: 0.85;
}

.chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(26, 22, 45, 0.12);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s var(--ease);
}

.chip--crm { left: 26%; bottom: 50%; }
.chip--bot { left: 50%; bottom: 56%; }
.chip--node { right: 20%; bottom: 44%; }
.chip--flow { left: 10%; bottom: 42%; }

/* Intro */
.intro {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}

.intro__left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1.75rem;
}

.intro__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

/* Bento services */
.services {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.bento__card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: visible;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.bento__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

@keyframes ctaSpin {
  to { transform: rotate(360deg); }
}

.bento__card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--lavender);
}

/* Нижний ряд: текст сверху, иллюстрация внизу — как на референсе */
.bento__card--stack {
  display: flex;
  flex-direction: column;
  overflow: visible;
  min-height: 300px;
}

.bento__card--stack .bento__copy {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.bento__card--stack .bento__art {
  flex: 1 1 auto;
  min-height: 188px;
  height: 188px;
  margin-top: auto;
  padding-top: 1.25rem;
  overflow: visible;
}

.bento__card--stack .service-scene {
  overflow: visible;
}

.bento__card--dark {
  background: var(--navy);
  color: #fff;
}

.bento__card--dark p { color: rgba(255, 255, 255, 0.72); }

.bento__card--accent {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--lavender-soft), var(--lavender-deep));
}

.bento__copy h3,
.bento__card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.bento__copy p,
.bento__card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.bento__card--dark h3 { color: #fff; }

.bento__art {
  position: relative;
  overflow: visible;
}

.bento__card--wide .bento__art {
  height: 240px;
  min-height: 220px;
}

.crm-scene {
  position: relative;
  width: 100%;
  height: 100%;
}

.crm-scene__glow {
  position: absolute;
  inset: 10% 5% 5%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35) 0%, transparent 68%);
  filter: blur(18px);
}

.crm-scene__orbit {
  position: absolute;
  left: 50%;
  top: 54%;
  border: 2px solid rgba(139, 124, 255, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.crm-scene__orbit--1 {
  width: 88%;
  height: 72%;
  animation: orbitSpin 16s linear infinite;
}

.crm-scene__orbit--2 {
  width: 62%;
  height: 50%;
  border-color: rgba(167, 139, 250, 0.28);
  animation: orbitSpin 22s linear infinite reverse;
}

.crm-panel {
  position: absolute;
  background: linear-gradient(165deg, #fff 0%, #f5f3ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow:
    0 22px 50px rgba(91, 75, 219, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.crm-panel--main,
.crm-panel--side {
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}

.crm-panel--main {
  left: 8%;
  top: 14%;
  width: 52%;
  height: 58%;
  padding: 14px;
  transform: rotate(-4deg);
  transition-delay: 0.12s;
}

.crm-panel--side {
  right: 4%;
  top: 28%;
  width: 38%;
  height: 48%;
  padding: 12px;
  transform: rotate(5deg);
  transition-delay: 0.2s;
}

.crm-panel__top {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.crm-panel__top span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(26, 22, 45, 0.12);
}

.crm-panel__top span:nth-child(1) { background: #fca5a5; }
.crm-panel__top span:nth-child(2) { background: #fde68a; }
.crm-panel__top span:nth-child(3) { background: #86efac; }

.crm-panel__line {
  height: 7px;
  margin-bottom: 7px;
  border-radius: 6px;
  background: rgba(26, 22, 45, 0.07);
}

.crm-panel__line--long { width: 88%; }
.crm-panel__line--short { width: 46%; }

.crm-panel__cards {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.crm-panel__cards i {
  flex: 1;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ede9fe, #ddd6fe);
  box-shadow: inset 0 -3px 0 rgba(91, 75, 219, 0.12);
  list-style: none;
}

.crm-funnel {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

.crm-funnel span {
  display: block;
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, #c4b5fd, #a78bfa);
  box-shadow: 0 4px 12px rgba(139, 124, 255, 0.25);
}

.crm-funnel span:nth-child(1) { width: 100%; }
.crm-funnel span:nth-child(2) { width: 78%; margin-inline: auto; }
.crm-funnel span:nth-child(3) { width: 52%; margin-inline: auto; }

.crm-kanban {
  position: absolute;
  left: 2%;
  bottom: 10%;
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(26, 22, 45, 0.1);
}

.crm-kanban__dot {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fef3c7, #fde68a);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.06);
}

.crm-kanban__dot--violet {
  background: linear-gradient(145deg, #ede9fe, #c4b5fd);
}

.crm-kanban__dot--blue {
  background: linear-gradient(145deg, #dbeafe, #93c5fd);
}

.crm-badge {
  position: absolute;
  right: 16%;
  top: 8%;
  padding: 0.45rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #5b4bdb);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(26, 22, 45, 0.22);
}

.crm-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #8b7cff;
  box-shadow: 0 0 0 6px rgba(139, 124, 255, 0.15);
}

.crm-node--a { left: 46%; top: 18%; }
.crm-node--b { right: 28%; bottom: 16%; }

.crm-sphere {
  position: absolute;
  right: 8%;
  bottom: 6%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #ddd6fe 38%, #a78bfa 100%);
  box-shadow:
    inset -6px -10px 16px rgba(91, 75, 219, 0.22),
    0 18px 36px rgba(91, 75, 219, 0.24);
}

.crm-float {
  opacity: 0;
  transform: translateY(24px) scale(0.94);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.crm-scene.is-live .crm-float {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.crm-scene.is-live .crm-float--1 { transition-delay: 0.05s; }
.crm-scene.is-live .crm-float--2 { transition-delay: 0.12s; }
.crm-scene.is-live .crm-float--3 { transition-delay: 0.2s; }
.crm-scene.is-live .crm-float--4 { transition-delay: 0.28s; }

.crm-scene.is-live .crm-float--1,
.crm-scene.is-live .crm-float--3,
.crm-scene.is-live .crm-float--4 {
  animation: float 5s ease-in-out infinite;
}

.crm-scene.is-live .crm-panel--main {
  animation: panelFloatMain 6s ease-in-out infinite 0.15s;
}

.crm-scene.is-live .crm-panel--side {
  animation: panelFloatSide 5.5s ease-in-out infinite 0.35s;
}

@keyframes panelFloatMain {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-8px); }
}

@keyframes panelFloatSide {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-10px); }
}

.crm-scene.is-live .crm-panel--main,
.crm-scene.is-live .crm-panel--side {
  opacity: 1;
}

@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Shared service scene animations */
.service-scene {
  position: relative;
  width: 100%;
  height: 100%;
}

.scene-piece {
  opacity: 0;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

/* Slide-up только в hero — в bento ломает absolute/transform */
.hero-visual .scene-piece {
  transform: translateY(18px) scale(0.94);
}

.hero-visual.is-live .scene-piece {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-scene .scene-piece {
  opacity: 0;
}

.service-scene.is-live .scene-piece {
  opacity: 1;
}

/* Компактные bento: fade без сброса позиций */
.service-scene.is-live .audit-doc--back.scene-piece {
  transform: rotate(-8deg);
}

.service-scene.is-live .audit-doc--front.scene-piece {
  transform: rotate(4deg);
  animation: docFloat 5.5s ease-in-out infinite 0.2s;
}

.service-scene.is-live .bot-ping.scene-piece {
  transform: none;
}

.service-scene.is-live .landing-stage.scene-piece {
  animation: landingStageFloat 6s ease-in-out infinite 0.2s;
}

@keyframes landingStageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.service-scene.is-live .scene-piece--1 { transition-delay: 0.04s; }
.service-scene.is-live .scene-piece--2 { transition-delay: 0.11s; }
.service-scene.is-live .scene-piece--3 { transition-delay: 0.18s; }
.service-scene.is-live .scene-piece--4 { transition-delay: 0.25s; }
.service-scene.is-live .scene-piece--5 { transition-delay: 0.32s; }
.service-scene.is-live .scene-piece--6 { transition-delay: 0.38s; }

/* Плавное появление без ломания позиций в bento */
.bot-scene.is-live .bot-ping {
  animation: pingPulse 2s ease-in-out infinite;
}

.hero-visual.is-live .orb.scene-piece--1 { animation: float 5.2s ease-in-out infinite 0s; }
.hero-visual.is-live .orb.scene-piece--2 { animation: float 5.6s ease-in-out infinite 0.35s; }
.hero-visual.is-live .orb.scene-piece--3 { animation: float 5s ease-in-out infinite 0.7s; }
.hero-visual.is-live .orb.scene-piece--4 { animation: float 5.4s ease-in-out infinite 1.05s; }

.hero-visual.is-live .chip.scene-piece--2 { animation: chipFloat 4.8s ease-in-out infinite 0.2s; }
.hero-visual.is-live .chip.scene-piece--3 { animation: chipFloat 5.1s ease-in-out infinite 0.55s; }
.hero-visual.is-live .chip.scene-piece--4 { animation: chipFloat 4.6s ease-in-out infinite 0.9s; }
.hero-visual.is-live .chip.scene-piece--5 { animation: chipFloat 5.3s ease-in-out infinite 1.25s; }

.hero-visual.is-live .scene__particle.scene-piece {
  animation: particleDrift 5.5s ease-in-out infinite;
}

.hero-visual.is-live .hero-kanban.scene-piece,
.hero-visual.is-live .hero-stat.scene-piece {
  animation: float 5.5s ease-in-out infinite;
}

.hero-visual.is-live .hero-badge.scene-piece {
  animation: badgePulse 2.4s ease-in-out infinite;
}

.bot-scene__glow,
.landing-scene__glow,
.audit-scene__glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(14px);
}

.bot-scene__glow {
  inset: 8% 10%;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.28) 0%, transparent 70%);
}

.landing-scene__glow {
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(167, 139, 250, 0.24) 0%, transparent 68%);
  filter: blur(12px);
}

.audit-scene__glow {
  inset: 8% 6%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.32) 0%, transparent 70%);
}

.bot-scene__ring,
.audit-scene__orbit {
  z-index: 0;
  pointer-events: none;
}

.bot-avatar,
.bot-bubble,
.bot-ping,
.bot-send,
.landing-chip,
.landing-spark,
.landing-stage,
.landing-cursor,
.audit-doc,
.audit-check,
.audit-badge,
.audit-bar {
  z-index: 1;
}

.bot-scene__ring {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 78%;
  height: 68%;
  border: 1.5px solid rgba(167, 139, 250, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 20s linear infinite;
}

.bot-avatar {
  position: absolute;
  left: 8%;
  top: 14%;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(145deg, #8b7cff, #5b4bdb);
  box-shadow: 0 10px 24px rgba(91, 75, 219, 0.35);
}

.bot-avatar::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  top: 13px;
  left: 11px;
  box-shadow: 12px 0 0 #fff;
}

.bot-avatar::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 10px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
}

.bot-bubble {
  position: absolute;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  display: grid;
  gap: 5px;
}

.bot-bubble span {
  display: block;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
}

.bot-bubble--user {
  left: 22%;
  top: 22%;
  width: 42%;
}

.bot-bubble--user span:nth-child(1) { width: 88%; }
.bot-bubble--user span:nth-child(2) { width: 58%; }

.bot-bubble--bot {
  right: 8%;
  bottom: 18%;
  width: 48%;
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.35), rgba(91, 75, 219, 0.25));
}

.bot-bubble--bot span:nth-child(1) { width: 92%; }
.bot-bubble--bot span:nth-child(2) { width: 72%; }
.bot-bubble--bot span:nth-child(3) { width: 48%; }

.bot-ping {
  position: absolute;
  right: 18%;
  top: 10%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #fff;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.22);
}

.bot-send {
  position: absolute;
  left: 10%;
  bottom: 12%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

@keyframes pingPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* Stack-карточки: иллюстрации в нижней части, фон без обрезки */
.bento__card--stack .bot-scene__glow,
.bento__card--stack .landing-scene__glow,
.bento__card--stack .audit-scene__glow {
  inset: -30% -20% -35% -20%;
}

.bento__card--stack .bot-scene__ring {
  top: 52%;
  width: 115%;
  height: 95%;
}

.bento__card--stack .bot-avatar {
  left: 10%;
  top: 20%;
}

.bento__card--stack .bot-bubble--user {
  left: 24%;
  top: 28%;
  width: 44%;
}

.bento__card--stack .bot-bubble--bot {
  right: 10%;
  bottom: 14%;
  width: 46%;
}

.bento__card--stack .bot-ping {
  right: 20%;
  top: 8%;
}

.bento__card--stack .bot-send {
  left: 8%;
  bottom: 10%;
}

.bento__card--stack .landing-scene__glow {
  background: radial-gradient(circle at 58% 58%, rgba(167, 139, 250, 0.34) 0%, transparent 72%);
}

.bento__card--stack .landing-stage {
  position: absolute;
  inset: 0;
}

.bento__card--stack .landing-chip {
  left: 8%;
  top: 10%;
}

.bento__card--stack .landing-spark {
  left: 20%;
  top: 8%;
  width: 26px;
  height: 26px;
}

.bento__card--stack .landing-browser {
  left: 18%;
  right: 6%;
  top: 22%;
  bottom: 8%;
  transform: rotate(-2deg);
  transform-origin: 65% 75%;
}

.bento__card--stack .audit-scene__orbit {
  top: 52%;
  width: 110%;
  height: 88%;
}

.bento__card--stack .audit-doc--back {
  left: 8%;
  top: auto;
  bottom: 14%;
  width: 38%;
  height: 46%;
}

.bento__card--stack .audit-doc--front {
  right: 10%;
  left: auto;
  top: auto;
  bottom: 18%;
  width: 42%;
  height: 50%;
}

.bento__card--stack .audit-check {
  left: 12%;
  bottom: 12%;
}

.bento__card--stack .audit-badge {
  right: 14%;
  top: 6%;
}

.bento__card--stack .audit-bar {
  left: 38%;
  right: auto;
  bottom: 10%;
  transform: none;
}

/* Landing scene */
.landing-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landing-chip {
  position: absolute;
  left: 8%;
  top: 10%;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.landing-browser {
  position: absolute;
  left: 18%;
  right: 6%;
  top: 22%;
  bottom: 8%;
  padding: 10px;
  transform: rotate(-2deg);
  transform-origin: 65% 75%;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26);
}

.landing-browser__bar {
  display: flex;
  gap: 4px;
  margin-bottom: 7px;
}

.landing-browser__bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.landing-browser__bar i:nth-child(1) { background: #fca5a5; }
.landing-browser__bar i:nth-child(2) { background: #fde68a; }
.landing-browser__bar i:nth-child(3) { background: #86efac; }

.landing-browser__hero {
  height: 42%;
  margin-bottom: 7px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.55), rgba(124, 58, 237, 0.35));
}

.landing-browser__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  height: 32%;
}

.landing-browser__cols span {
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
}

.landing-spark {
  position: absolute;
  left: 20%;
  top: 8%;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(167, 139, 250, 0.5) 55%, transparent 70%);
}

.landing-scene.is-live .landing-spark {
  animation: sparkBlink 2.5s ease-in-out infinite;
}

.landing-cursor {
  position: absolute;
  right: 16%;
  bottom: 30%;
  z-index: 3;
  width: 13px;
  height: 13px;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.landing-scene.is-live .landing-cursor {
  animation: cursorMove 4s ease-in-out infinite;
}

@keyframes cursorMove {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -6px); }
}

@keyframes sparkBlink {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* 1C audit scene */
.audit-scene__orbit {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 70%;
  height: 62%;
  border: 1.5px solid rgba(139, 124, 255, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 18s linear infinite reverse;
}

.audit-doc {
  position: absolute;
  border-radius: 14px;
  background: linear-gradient(165deg, #fff, #f5f3ff);
  box-shadow: 0 14px 32px rgba(91, 75, 219, 0.14);
}

.audit-doc--back {
  left: 14%;
  top: 22%;
  width: 40%;
  height: 48%;
  transform: rotate(-8deg);
  opacity: 0.75;
}

.audit-doc--front {
  right: 12%;
  top: 26%;
  width: 44%;
  height: 52%;
  padding: 9px;
  transform: rotate(4deg);
}

@keyframes docFloat {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-7px); }
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  height: 100%;
}

.audit-grid span {
  border-radius: 6px;
  background: rgba(26, 22, 45, 0.06);
}

.audit-grid span:nth-child(2),
.audit-grid span:nth-child(5) {
  background: rgba(139, 124, 255, 0.18);
}

.audit-check {
  position: absolute;
  left: 16%;
  bottom: 20%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #34d399, #059669);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.28);
}

.audit-badge {
  position: absolute;
  right: 10%;
  top: 10%;
  padding: 0.35rem 0.6rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #5b4bdb);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(26, 22, 45, 0.18);
}

.audit-bar {
  position: absolute;
  left: 12%;
  bottom: 16%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
}

.audit-bar i {
  display: block;
  width: 10px;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #c4b5fd, #8b7cff);
  box-shadow: 0 6px 14px rgba(139, 124, 255, 0.25);
}

.service-scene.is-live .audit-bar i {
  animation: barGrow 1.2s var(--ease) forwards;
}

.service-scene.is-live .audit-bar i:nth-child(1) { animation-delay: 0.3s; }
.service-scene.is-live .audit-bar i:nth-child(2) { animation-delay: 0.45s; }
.service-scene.is-live .audit-bar i:nth-child(3) { animation-delay: 0.6s; }

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

/* Stack bar */
.stack {
  padding: 2rem 0 4rem;
}

.stack__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stack__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.stack__logos {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.stack__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: stackDrift 26s linear infinite;
}

.stack__logos.is-paused .stack__track {
  animation-play-state: paused;
}

.stack__track span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(26, 22, 45, 0.28);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.stack__track span:hover { color: var(--navy); }

@keyframes stackDrift {
  to { transform: translateX(-50%); }
}

/* Cases / process */
.cases {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.cases__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.cases__intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.cases__intro p {
  max-width: 380px;
  color: var(--muted);
  line-height: 1.75;
}

.cases__panel {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 0.85rem;
  position: relative;
  z-index: 2;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--lavender-soft);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.step:hover {
  transform: translateX(6px);
  background: var(--lavender);
}

.step__num {
  font-size: 1.125rem;
  font-weight: 800;
  color: rgba(26, 22, 45, 0.18);
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--muted);
}

.cases__visual {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 180px;
  height: 200px;
  pointer-events: none;
  opacity: 0.9;
}

.tower {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 88px;
  height: 110px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #fff 0%, #ede9fe 100%);
  border-radius: 10px 10px 4px 4px;
  box-shadow: 0 24px 50px rgba(91, 33, 182, 0.18);
}

.tower::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 34px;
  height: 18px;
  transform: translateX(-50%);
  background: #fff;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.tower__base {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 140px;
  height: 48px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #e9d5ff, #c084fc);
}

/* Why */
.why {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why__card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--lavender-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.why__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why__card--dark {
  background: var(--navy);
  color: #fff;
}

.why__card--dark h3 { color: #fff; margin-bottom: 1rem; }

.why__card--dark li {
  margin-bottom: 0.65rem;
  padding-left: 1rem;
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.why__card--dark li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-light);
}

.why__card h3 {
  font-size: 1.35rem;
  margin: 0.5rem 0 0.75rem;
}

.why__card p {
  color: var(--muted);
  line-height: 1.75;
}

/* CTA */
.cta-section {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.cta-card {
  padding: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  background: linear-gradient(180deg, var(--lavender) 0%, var(--lavender-soft) 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(139, 124, 255, 0.18), transparent 30%);
  animation: ctaSpin 8s linear infinite;
  opacity: 0.7;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.cta-card p {
  max-width: 480px;
  margin: 0 auto 1.75rem;
  color: var(--muted);
}

.cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.footer {
  padding: 2rem 0 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Animations */
.float {
  animation: float 5s ease-in-out infinite;
}

.float-delay { animation: float 5.5s ease-in-out infinite 0.4s; }
.float-delay-2 { animation: float 6s ease-in-out infinite 0.8s; }
.float-delay-3 { animation: float 4.8s ease-in-out infinite 1.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

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

.reveal--delay { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.22s; }
.reveal--delay-3 { transition-delay: 0.32s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.steps .step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), background 0.35s var(--ease);
}

.steps.is-visible .step {
  opacity: 1;
  transform: translateY(0);
}

.steps.is-visible .step:nth-child(1) { transition-delay: 0.05s; }
.steps.is-visible .step:nth-child(2) { transition-delay: 0.12s; }
.steps.is-visible .step:nth-child(3) { transition-delay: 0.19s; }
.steps.is-visible .step:nth-child(4) { transition-delay: 0.26s; }

@media (max-width: 980px) {
  :root {
    --header-h: 76px;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }

  .nav,
  .header__inner > .btn--sm { display: none; }

  .burger { display: block; }

  .nav-mobile {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(26, 22, 45, 0.08);
  }

  .nav-mobile a {
    padding: 0.875rem 0.75rem;
    font-size: 1rem;
  }

  .burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .burger[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .intro__grid,
  .cases__grid,
  .why__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .intro__left h2,
  .cases__intro h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .intro__left .btn {
    width: 100%;
    max-width: 320px;
  }

  .bento {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .bento__card {
    padding: 1.35rem;
  }

  .bento__card--wide {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .bento__card--stack {
    min-height: 0;
  }

  .bento__card--stack .bento__art {
    height: 168px;
    min-height: 168px;
    padding-top: 1rem;
  }

  .bento__art {
    height: 190px;
    min-height: 170px;
  }

  .bento__card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }

  .cases__visual {
    opacity: 0.2;
  }

  .step:hover {
    transform: none;
  }

  .why__card:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
    --radius-xl: 28px;
    --radius-lg: 24px;
    --radius-md: 18px;
  }

  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .logo__text {
    font-size: 0.9375rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 0.75rem);
  }

  .hero__card {
    border-radius: var(--radius-xl);
    padding-top: 1.75rem;
  }

  .hero__title {
    font-size: clamp(1.625rem, 8vw, 2rem);
  }

  .hero__text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .hero__content .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero__scene {
    height: 132px;
    margin-top: 0.875rem;
  }

  .hero-kanban,
  .hero-stat {
    transform: scale(0.88);
    transform-origin: bottom center;
  }

  .hero-badge {
    right: 14%;
    top: 8%;
    transform: scale(0.9);
  }

  .chip {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .chip svg {
    width: 16px;
    height: 16px;
  }

  .orb--1 { width: 44px; height: 44px; }
  .orb--2 { width: 56px; height: 56px; }
  .orb--3 { width: 40px; height: 40px; }
  .orb--4 { width: 28px; height: 28px; }

  .intro {
    padding: 3rem 0;
  }

  .intro__left .btn {
    max-width: none;
  }

  .intro__text {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .services {
    padding-bottom: 2.5rem;
  }

  .bento__card {
    padding: 1.15rem;
    border-radius: var(--radius-md);
  }

  .bento__copy h3,
  .bento__card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  .bento__copy p,
  .bento__card p {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .bento__card--stack .bento__art {
    height: 152px;
    min-height: 152px;
  }

  .bento__art {
    height: 170px;
    min-height: 160px;
  }

  .bento__card--stack .landing-browser {
    width: min(74%, 140px);
    height: min(60%, 96px);
  }

  .stack {
    padding-bottom: 2.5rem;
  }

  .stack__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem 0;
  }

  .stack__logos {
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }

  .stack__track span {
    font-size: 0.875rem;
  }

  .cases {
    padding: 3rem 0;
  }

  .cases__panel {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }

  .step {
    gap: 0.75rem;
    padding: 0.875rem;
  }

  .why {
    padding-bottom: 2.5rem;
  }

  .why__card {
    padding: 1.35rem;
  }

  .cta-section {
    padding-bottom: 2.5rem;
  }

  .cta-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .cta-card h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .cta-card p {
    font-size: 0.9375rem;
  }

  .cta-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-card__actions .btn {
    width: 100%;
  }

  .footer {
    padding: 1.5rem 0 2rem;
    text-align: center;
  }

  .footer p {
    font-size: 0.8125rem;
  }
}

@media (max-width: 380px) {
  .hero__scene {
    height: 118px;
  }

  .scene__particle--5,
  .scene__particle--6,
  .chip--flow,
  .orb--4 {
    display: none;
  }

  .bento__card--stack .bot-bubble--user {
    width: 40%;
  }

  .bento__card--stack .bot-bubble--bot {
    width: 42%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .bento__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
  }

  .step:hover {
    transform: translateX(6px);
    background: var(--lavender);
  }

  .why__card:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .fade-in,
  .hero-in,
  .scene-piece {
    opacity: 1;
    transform: none;
  }

.service-scene.is-live .landing-stage.scene-piece {
  transform: none;
}

  .service-scene.is-live .audit-doc--back.scene-piece {
    transform: rotate(-8deg);
  }

  .service-scene.is-live .audit-doc--front.scene-piece {
    transform: rotate(4deg);
  }

  .hero__card.is-loaded .hero-in,
  .hero-visual.is-live .scene-piece {
    opacity: 1;
    transform: none;
  }
}
