:root {
  --bg: #070b16;
  --surface: #101827;
  --surface-strong: #16233a;
  --text: #f6f8ff;
  --muted: #a9b5c9;
  --line: rgba(154, 174, 211, 0.22);
  --blue: #4f8cff;
  --cyan: #22d3ee;
  --green: #22c55e;
  --lime: #a3e635;
  --violet: #8b5cf6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(34, 211, 238, 0.18), transparent 26rem),
    radial-gradient(circle at 86% 0%, rgba(139, 92, 246, 0.2), transparent 30rem),
    radial-gradient(circle at 72% 50%, rgba(34, 197, 94, 0.1), transparent 24rem),
    linear-gradient(180deg, #08111f 0%, var(--bg) 42%, #0a1020 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.36;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.58'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(154, 174, 211, 0.24);
  border-radius: 24px;
  background: rgba(10, 16, 32, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.logo,
.nav,
.hero-actions,
.telegram-head,
.sheet-head,
.footer {
  display: flex;
  align-items: center;
}

.logo {
  gap: 10px;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 38px;
  height: 38px;
  color: #f6f8ff;
  background: #0a1020;
  border: 1px solid rgba(154, 174, 211, 0.36);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  display: block;
}

.logo-mark::before {
  left: 7px;
  top: 7px;
  width: 17px;
  height: 17px;
  background: var(--lime);
}

.logo-mark::after {
  right: 7px;
  bottom: 7px;
  width: 17px;
  height: 17px;
  background: var(--blue);
  mix-blend-mode: screen;
}

.nav {
  justify-content: center;
  gap: 22px;
  color: #c3ccda;
  font-size: 14px;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--blue);
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-switch button {
  min-width: 40px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch button[aria-pressed="true"] {
  color: #061529;
  background: linear-gradient(135deg, var(--lime), var(--green));
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 16px;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta {
  padding: 0 18px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.btn {
  padding: 0 22px;
  font-size: 15px;
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #061529;
  background: linear-gradient(135deg, var(--lime), var(--green));
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.22);
}

.btn-secondary {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-strong);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 0.92fr);
  gap: 38px;
  align-items: center;
  min-height: 570px;
  padding-top: 44px;
  padding-bottom: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(34px, 3.65vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lead,
.section-head p,
.why-copy p,
.cta-panel p {
  color: var(--muted);
  font-size: 15.5px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}

.quick-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quick-benefits li,
.included-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d4def0;
  padding: 9px 13px;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 400px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(79, 140, 255, 0.18), rgba(34, 211, 238, 0.08)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(154, 174, 211, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-visual::before {
  display: none;
}

.hero-visual::after {
  display: none;
}

.dashboard-card {
  position: absolute;
  z-index: 1;
  border: 0;
  border-radius: 8px;
  background: rgba(13, 22, 38, 0.96);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(154, 174, 211, 0.12);
}

.dashboard-card::after,
.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.62'/%3E%3C/svg%3E"),
    radial-gradient(circle, rgba(255, 255, 255, 0.38) 0 1px, transparent 1px);
  background-size: 140px 140px, 14px 14px;
  mix-blend-mode: soft-light;
}

.telegram-card {
  left: 28px;
  top: 96px;
  width: 272px;
  padding: 16px;
  transform: none;
  z-index: 2;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  color: white;
  border-radius: 6px;
  background: var(--blue);
}

.telegram-head small {
  display: block;
  color: var(--green);
}

.chat-bubble {
  width: fit-content;
  max-width: 92%;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #1b2a43;
  color: #e5edff;
}

.chat-bubble.user {
  margin-left: auto;
  color: white;
  background: var(--blue);
}

.chat-bubble.accent {
  color: #d8ffe4;
  background: rgba(34, 197, 94, 0.18);
}

.sheet-card {
  right: 28px;
  top: 108px;
  width: 292px;
  padding: 16px;
  transform: none;
  z-index: 3;
}

.sheet-head {
  justify-content: space-between;
  margin-bottom: 12px;
}

.sheet-head span,
.sheet-row b {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 12px;
}

.sheet-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(154, 174, 211, 0.18);
  color: #c4ccda;
  font-size: 13px;
}

.floating-badge {
  position: absolute;
  z-index: 3;
  padding: 11px 15px;
  border: 1px solid rgba(154, 174, 211, 0.24);
  border-radius: 8px;
  background: rgba(13, 22, 39, 0.94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
  font-weight: 800;
  animation: float 5s ease-in-out infinite;
}

.badge-top {
  top: 14px;
  right: 62px;
}

.badge-right {
  display: block;
  right: 14px;
  top: 204px;
  z-index: 4;
  animation-delay: -1.5s;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.visual-story {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 8px;
}

.story-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(17, 29, 49, 0.92), rgba(10, 16, 32, 0.86));
  box-shadow: var(--shadow);
  padding: 28px 18px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.story-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: block;
  height: 8px;
  background: var(--yellow);
}

.story-card:nth-child(2)::before {
  background: var(--red);
}

.story-card:nth-child(3)::before {
  background: var(--blue);
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.35);
}

.story-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 8px;
  background: transparent;
}

.story-image svg {
  display: block;
  width: 100%;
  height: auto;
}

.story-card h3,
.story-card p {
  position: relative;
}

.story-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.cards-grid,
.niche-grid,
.pricing-grid,
.case-grid,
.why-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.niche-card,
.price-card,
.case-card,
.why-card,
.contacts-card,
.cta-panel,
.flow,
.faq-list,
.included-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 39, 0.78);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.service-card,
.niche-card,
.case-card,
.why-card {
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.niche-card:hover,
.case-card:hover,
.price-card:hover,
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 10px 10px 0 rgba(79, 140, 255, 0.18);
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: #dbeafe;
  border-radius: 0;
  background: var(--yellow);
  color: #061529;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover .icon {
  transform: translate(5px, -5px);
  box-shadow: -5px 5px 0 rgba(255, 214, 10, 0.18);
}

.service-card p,
.niche-card p,
.case-card p,
.why-card span,
.pricing-note,
.pricing-extra,
.demo-note,
.extra-note {
  color: var(--muted);
}

.audience-section,
.included-section {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 12% 20%, rgba(34, 211, 238, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(13, 22, 39, 0.8), rgba(7, 11, 22, 0.4));
}

.niche-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-section {
  overflow: hidden;
}

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 16px;
}

.flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
}

.flow-step {
  position: relative;
  z-index: 1;
  padding: 16px 14px;
  border-radius: 20px;
  background: #111d31;
  border: 1px solid rgba(154, 174, 211, 0.18);
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: white;
  border-radius: 50%;
  background: var(--blue);
  font-weight: 800;
}

.flow-step p {
  margin-bottom: 0;
  color: #d4def0;
}

.pricing-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.price-card.featured {
  border-color: rgba(37, 99, 235, 0.55);
  background:
    radial-gradient(circle at 78% 12%, rgba(34, 211, 238, 0.18), transparent 16rem),
    linear-gradient(180deg, rgba(22, 35, 58, 0.96), rgba(15, 23, 42, 0.92));
}

.popular {
  position: absolute;
  top: -14px;
  right: 20px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #052e16;
  background: var(--lime);
  font-size: 12px;
  font-weight: 800;
}

.price {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 850;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  color: #c8d2e5;
}

.price-card li {
  position: relative;
  padding-left: 22px;
}

.price-card li:nth-child(n+5) {
  display: none;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.price-card .btn {
  margin-top: auto;
}

.pricing-note,
.pricing-extra,
.demo-note,
.extra-note {
  max-width: 850px;
  margin: 24px auto 0;
  text-align: center;
}

.pricing-extra {
  max-width: 780px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.why-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  align-items: start;
}

.why-grid {
  grid-template-columns: repeat(2, 1fr);
}

.why-card {
  display: grid;
  gap: 8px;
}

.included-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px;
}

.case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.seo-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(154, 174, 211, 0.34);
  background: rgba(16, 24, 39, 0.82);
}

.seo-card h3 {
  margin-bottom: 12px;
}

.seo-card p {
  color: var(--muted);
}

.seo-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--lime);
  font-weight: 800;
}

.service-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
  gap: 44px;
  align-items: center;
  min-height: 560px;
  padding-top: 54px;
}

.service-hero-copy h1 {
  max-width: 780px;
}

.service-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-back:hover {
  color: var(--lime);
  transform: translateX(-3px);
}

.service-stat-row,
.service-process-strip,
.service-fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-stat-row {
  margin-top: 26px;
}

.service-stat-row span,
.service-process-strip span,
.service-fit-tags span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: #dbeafe;
  font-weight: 800;
}

.service-stat-row span {
  padding: 12px 16px;
}

.service-visual {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(79, 140, 255, 0.13), transparent 42%),
    rgba(9, 15, 29, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-visual::before,
.service-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.service-visual::before {
  left: -42px;
  bottom: 36px;
  width: 164px;
  height: 32px;
  background: var(--supreme-yellow);
  transform: rotate(-72deg);
}

.service-visual::after {
  right: -34px;
  top: 52px;
  width: 180px;
  height: 42px;
  background: var(--supreme-red);
  transform: rotate(18deg);
}

.service-visual svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-detail-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(16, 24, 39, 0.72);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-detail-card:hover {
  transform: translateY(-5px);
  border-color: rgba(163, 230, 53, 0.58);
  box-shadow: 12px 12px 0 rgba(79, 140, 255, 0.28);
}

.service-detail-card span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  background: var(--lime);
  color: #061529;
  font-weight: 900;
}

.service-detail-card h2 {
  margin-bottom: 14px;
  font-size: 26px;
}

.service-detail-card p {
  color: var(--muted);
}

.service-process-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.3fr) 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.72);
}

.service-process-panel h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
}

.service-process-strip {
  justify-content: space-between;
}

.service-process-strip span {
  flex: 1 1 130px;
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px 14px;
  text-align: center;
}

.service-fit-tags span {
  padding: 14px 18px;
  color: #061529;
  background: var(--lime);
}

.faq-section {
  max-width: 920px;
}

.faq-list {
  overflow: hidden;
}

details {
  border-bottom: 1px solid var(--line);
}

details:last-child {
  border-bottom: 0;
}

summary {
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 22px;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -8px 24px 22px;
  color: var(--muted);
}

.final-cta {
  width: min(1180px, calc(100% - 32px));
}

.cta-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  padding: 34px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(19, 32, 53, 0.96), rgba(10, 16, 32, 0.92)),
    var(--surface);
}

.lead-form {
  display: grid;
  gap: 14px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #d4def0;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  color-scheme: dark;
  font: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

option {
  color: var(--text);
  background: #111d31;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #7f8da5;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #bbf7d0;
  font-weight: 750;
}

.contacts-section {
  padding-top: 28px;
}

.contacts-card {
  padding: 28px;
}

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

.contacts-grid > * {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-strong);
  color: #d4def0;
}

.footer {
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background: var(--surface-strong);
  }

  .nav.is-open a {
    padding: 10px;
  }

  .lang-switch {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 30px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .services-grid,
  .visual-story,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .niche-grid,
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .flow::before {
    left: 34px;
    right: auto;
    top: 34px;
    bottom: 34px;
    width: 2px;
    height: auto;
  }

  .flow-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: center;
  }

  .flow-step span {
    margin-bottom: 0;
  }

  .why-section,
  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    min-height: 640px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .sheet-card {
    width: 270px;
    top: 108px;
  }

  .telegram-card {
    width: 252px;
    top: 96px;
  }

  .badge-right {
    top: 194px;
  }
}

@media (max-width: 900px) {
  .hero-visual {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 48px 0;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.06;
  }

  h2 {
    font-size: 26px;
  }

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

  .hero-visual {
    display: none;
  }

  .telegram-card {
    left: 8px;
    bottom: 18px;
    width: min(270px, calc(100% - 74px));
  }

  .sheet-card {
    right: 8px;
    bottom: 50px;
    width: min(282px, calc(100% - 92px));
  }

  .floating-badge {
    font-size: 12px;
  }

  .badge-top {
    right: 18px;
  }

  .badge-right {
    right: 12px;
    top: 206px;
  }

  .services-grid,
  .seo-grid,
  .visual-story,
  .niche-grid,
  .pricing-grid,
  .case-grid,
  .why-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 22px;
  }

  .footer {
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .site-header,
  .section,
  .final-cta,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 30px;
    line-height: 1.07;
  }

  h2 {
    font-size: 24px;
  }

  .included-list span {
    width: 100%;
  }

  .sheet-card {
    width: calc(100% - 44px);
    bottom: 48px;
  }

  .telegram-card {
    width: calc(100% - 58px);
  }
}

/* Requested cleanup */
:root {
  --yellow: #ffd60a;
  --red: #ff3b30;
  --blue-flat: #4f8cff;
}

body::before {
  opacity: 0.36;
}

.quick-benefits {
  display: none;
}

.story-card {
  border-top: 2px solid var(--line);
  padding-top: 28px;
}

.story-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: block;
  height: 8px;
  background: var(--yellow);
}

.story-card:nth-child(2)::before {
  background: var(--red);
}

.story-card:nth-child(3)::before {
  background: var(--blue-flat);
}

.service-card .icon {
  border-radius: 0;
  background: var(--yellow);
  color: #061529;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover .icon {
  transform: translate(5px, -5px);
  box-shadow: -5px 5px 0 rgba(255, 214, 10, 0.18);
}

details p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0 24px;
  transition: max-height 0.28s ease, opacity 0.22s ease, margin 0.28s ease;
}

details[open] p {
  margin: -8px 24px 22px;
}

/* Rectangular suprematist pass */
:root {
  --radius: 0;
  --supreme-yellow: #ffd60a;
  --supreme-red: #ff3b30;
  --supreme-blue: #4f8cff;
  --supreme-ink: #060b15;
}

body::before {
  z-index: 3;
  opacity: 0.42;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 59, 48, 0.055) 0 64px, transparent 64px),
    linear-gradient(180deg, transparent 0 700px, rgba(79, 140, 255, 0.06) 700px 712px, transparent 712px),
    linear-gradient(90deg, transparent 0 calc(100% - 84px), rgba(255, 214, 10, 0.045) calc(100% - 84px) calc(100% - 70px), transparent calc(100% - 70px));
}

.site-header,
main,
.footer {
  position: relative;
}

.site-header,
main,
.footer,
.nav.is-open {
  z-index: 1;
}

.site-header,
.logo-mark,
.lang-switch,
.lang-switch button,
.lang-switch button[aria-pressed="true"],
.header-cta,
.btn,
.menu-toggle,
.nav.is-open,
.hero-visual,
.dashboard-card,
.avatar,
.chat-bubble,
.sheet-head span,
.sheet-row b,
.floating-badge,
.story-card,
.story-image,
.service-card,
.niche-card,
.price-card,
.case-card,
.why-card,
.contacts-card,
.cta-panel,
.flow,
.flow-step,
.flow-step span,
.faq-list,
.included-list,
.included-list span,
.popular,
input,
select,
textarea,
.contacts-grid > * {
  border-radius: 0;
}

.site-header,
.hero-visual,
.dashboard-card,
.story-card,
.service-card,
.niche-card,
.price-card,
.case-card,
.why-card,
.contacts-card,
.cta-panel,
.flow,
.faq-list,
.included-list,
.contacts-grid > * {
  box-shadow: none;
}

.site-header {
  border-color: rgba(154, 174, 211, 0.32);
  background: rgba(7, 11, 22, 0.86);
}

.header-cta,
.btn-primary,
.btn-secondary {
  box-shadow: none;
}

.btn-primary,
.lang-switch button[aria-pressed="true"] {
  background: linear-gradient(90deg, var(--lime), var(--green));
}

.btn-secondary {
  background: rgba(16, 24, 39, 0.88);
}

.hero-visual {
  border-color: rgba(154, 174, 211, 0.34);
  background:
    linear-gradient(90deg, rgba(79, 140, 255, 0.12) 0 26%, transparent 26% 100%),
    linear-gradient(180deg, rgba(22, 35, 58, 0.78), rgba(9, 15, 28, 0.9));
}

.hero-visual::before,
.hero-visual::after {
  display: block;
}

.hero-visual::before {
  left: -20px;
  bottom: -46px;
  width: 28px;
  height: 96px;
  background: var(--supreme-yellow);
  transform: rotate(16deg);
  opacity: 0.72;
}

.hero-visual::after {
  right: 64px;
  top: 34px;
  width: 108px;
  height: 8px;
  background: var(--supreme-red);
  border: 0;
  opacity: 0.76;
}

.dashboard-card {
  border: 1px solid rgba(154, 174, 211, 0.2);
  background: rgba(8, 15, 28, 0.96);
}

.dashboard-card::after,
.story-image::after {
  border-radius: 0;
}

.floating-badge {
  background: #f8fafc;
  color: #152034;
  border-color: rgba(154, 174, 211, 0.45);
}

.badge-right {
  background: rgba(8, 15, 28, 0.96);
  color: var(--text);
}

.story-card,
.service-card,
.niche-card,
.price-card,
.case-card,
.why-card,
.contacts-card,
.cta-panel,
.flow,
.faq-list,
.included-list {
  background: rgba(16, 24, 39, 0.82);
  border-color: rgba(154, 174, 211, 0.34);
  backdrop-filter: none;
}

.story-card::before {
  display: none;
}

.story-card:nth-child(2)::before {
  background: rgba(255, 59, 48, 0.72);
}

.story-card:nth-child(3)::before {
  background: rgba(79, 140, 255, 0.72);
}

.service-card,
.niche-card,
.case-card,
.why-card,
.price-card {
  position: relative;
}

.service-card::after,
.niche-card::after,
.case-card::after,
.why-card::after,
.price-card::after {
  display: none;
}

.service-card:nth-child(3n + 2)::after,
.niche-card:nth-child(3n + 2)::after,
.case-card:nth-child(3n + 2)::after,
.why-card:nth-child(3n + 2)::after,
.price-card:nth-child(3n + 2)::after {
  background: rgba(255, 214, 10, 0.58);
}

.service-card:nth-child(3n)::after,
.niche-card:nth-child(3n)::after,
.case-card:nth-child(3n)::after,
.why-card:nth-child(3n)::after,
.price-card:nth-child(3n)::after {
  background: rgba(255, 59, 48, 0.52);
}

.service-card:hover,
.niche-card:hover,
.case-card:hover,
.price-card:hover,
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.service-card .icon {
  background: var(--supreme-yellow);
}

.price-card.featured {
  background:
    rgba(16, 24, 39, 0.9);
}

.popular,
.price-card li::before {
  border-radius: 0;
}

.included-list span {
  background: rgba(16, 24, 39, 0.74);
}

summary::after {
  color: var(--supreme-yellow);
}

@media (max-width: 900px) {
  body::after {
    background:
      linear-gradient(90deg, rgba(255, 59, 48, 0.045) 0 28px, transparent 28px),
      linear-gradient(180deg, transparent 0 610px, rgba(79, 140, 255, 0.055) 610px 620px, transparent 620px);
  }
}

/* Large parallax background blocks */
body::after {
  display: none;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: var(--parallax-height, 100vh);
  overflow: hidden;
  pointer-events: none;
}

.bg-shape {
  position: absolute;
  display: block;
  left: var(--shape-left);
  top: var(--shape-top);
  width: var(--shape-width);
  height: var(--shape-height);
  background: var(--shape-color);
  opacity: var(--shape-opacity);
  rotate: var(--rect-rotate, 0deg);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.bg-circle {
  border-radius: 50%;
}

.story-card::before,
.service-card::after,
.niche-card::after,
.case-card::after,
.why-card::after,
.price-card::after,
.hero-visual::before,
.hero-visual::after {
  display: none;
}

.story-card {
  padding-top: 18px;
}

@media (max-width: 900px) {
  .bg-shape {
    opacity: calc(var(--shape-opacity) * 0.72);
  }

  .service-page-hero,
  .service-process-panel {
    grid-template-columns: 1fr;
  }

  .service-page-hero {
    min-height: auto;
    gap: 30px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-visual {
    max-width: 560px;
  }

  .service-process-strip span {
    flex-basis: 45%;
  }
}

/* Balanced hero dashboard after browser mockup removal */
.hero-visual {
  min-height: 420px;
}

.hero-visual .telegram-card {
  left: 42px;
  top: 62px;
  width: 300px;
  min-height: 244px;
  z-index: 2;
}

.hero-visual .sheet-card {
  right: 34px;
  top: 144px;
  width: 292px;
  min-height: 0;
  z-index: 3;
  background: rgba(8, 15, 28, 0.66);
  border-color: rgba(154, 174, 211, 0.2);
}

.hero-visual .badge-top {
  top: 58px;
  right: 56px;
  z-index: 5;
}

.hero-visual .badge-right {
  top: 250px;
  right: 18px;
  z-index: 6;
}

.hero-visual .telegram-card::before,
.hero-visual .sheet-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background: var(--supreme-blue);
}

.hero-visual .telegram-card::before {
  left: -34px;
  bottom: -42px;
  width: 138px;
  height: 26px;
  rotate: -10deg;
  background: var(--supreme-yellow);
}

.hero-visual .sheet-card::before {
  display: none;
}

/* Smooth lift shadow for interactive cards */
.service-card,
.niche-card,
.case-card,
.price-card,
.why-card {
  isolation: isolate;
}

.service-card::before,
.niche-card::before,
.case-card::before,
.price-card::before,
.why-card::before {
  content: "";
  position: absolute;
  left: -5px;
  right: 5px;
  top: 5px;
  bottom: -5px;
  z-index: -1;
  opacity: 0;
  background: rgba(79, 140, 255, 0.1);
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.service-card:hover::before,
.niche-card:hover::before,
.case-card:hover::before,
.price-card:hover::before,
.why-card:hover::before {
  opacity: 1;
}

.service-card:hover,
.niche-card:hover,
.case-card:hover,
.price-card:hover,
.why-card:hover {
  box-shadow: none;
}

/* Even included chips and left-aligned notes */
.included-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.included-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  text-align: center;
}

.pricing-note,
.pricing-extra,
.demo-note,
.extra-note {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

select {
  appearance: none;
  padding-right: 58px;
  background-color: rgba(255, 255, 255, 0.06);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 7L9 12L14 7' stroke='%23f6f8ff' stroke-width='2.2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E"),
    linear-gradient(180deg, transparent 0 10px, rgba(154, 174, 211, 0.28) 10px 38px, transparent 38px);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 50px) 50%;
  background-repeat: no-repeat;
  background-size: 18px 18px, 1px 48px;
}

select:hover {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 7L9 12L14 7' stroke='%23a3e635' stroke-width='2.2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E"),
    linear-gradient(180deg, transparent 0 10px, rgba(163, 230, 53, 0.36) 10px 38px, transparent 38px);
}

@media (min-width: 901px) and (max-width: 1080px) {
  .hero-visual .telegram-card {
    left: 24px;
    top: 66px;
    width: 270px;
  }

  .hero-visual .sheet-card {
    right: 20px;
    top: 144px;
    width: 270px;
  }

  .hero-visual .badge-top {
    top: 58px;
    right: 32px;
  }

  .hero-visual .badge-right {
    right: 8px;
    top: 248px;
  }
}

@media (max-width: 390px) {
  .sheet-card,
  .telegram-card {
    top: auto;
  }

  .service-page-hero {
    width: min(1180px, calc(100% - 20px));
    padding-top: 32px;
  }

  .service-detail-card,
  .service-process-panel {
    padding: 22px;
  }

  .service-process-strip span,
  .service-fit-tags span {
    flex-basis: 100%;
  }
}
