.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: var(--header-bg);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, background-color 0.2s;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: var(--surface-2);
}

.main-nav .nav-cta-mobile {
  display: none;
}

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

.nav-toggle {
  display: none;
}

.nav-toggle .icon-close {
  display: none;
}

.site-header.is-open .nav-toggle .icon-open {
  display: none;
}

.site-header.is-open .nav-toggle .icon-close {
  display: block;
}

.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 72px) 0 72px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--glass);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pill-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.pill-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--success);
  opacity: 0;
  animation: ping 2s var(--ease) infinite;
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-text {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof .icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  stroke-width: 3;
}

.hero-proof strong {
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 460px;
  perspective: 1400px;
}

.card-dashboard {
  position: relative;
  z-index: 1;
  margin: 64px 0 0 32px;
  padding: 20px;
  border-radius: var(--radius-lg);
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  animation: card-in 1.2s var(--ease) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: rotateY(-18deg) rotateX(10deg) translateY(40px);
  }
}

.cd-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dots {
  display: inline-flex;
  gap: 6px;
}

.dots i,
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.dots i:nth-child(2),
.browser-bar i:nth-child(2) {
  background: #febc2e;
}

.dots i:nth-child(3),
.browser-bar i:nth-child(3) {
  background: #28c840;
}

.cd-title {
  font-weight: 700;
  font-size: 0.92rem;
}

.cd-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
}

.cd-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.4s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.2;
  }
}

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

.cd-kpis div {
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.cd-kpis span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-faint);
}

.cd-kpis strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.cd-kpis div:first-child strong {
  color: var(--success);
}

.cd-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 130px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
}

.cd-chart .bar {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: var(--grad);
  background-size: 100% 130px;
  background-position: bottom;
  transform-origin: bottom;
  animation: bar-grow 1.1s var(--ease) both;
}

.cd-chart .bar:nth-child(1) { --h: 38%; animation-delay: 0.35s; }
.cd-chart .bar:nth-child(2) { --h: 54%; animation-delay: 0.42s; }
.cd-chart .bar:nth-child(3) { --h: 46%; animation-delay: 0.49s; }
.cd-chart .bar:nth-child(4) { --h: 70%; animation-delay: 0.56s; }
.cd-chart .bar:nth-child(5) { --h: 62%; animation-delay: 0.63s; }
.cd-chart .bar:nth-child(6) { --h: 84%; animation-delay: 0.7s; }
.cd-chart .bar:nth-child(7) { --h: 76%; animation-delay: 0.77s; }
.cd-chart .bar:nth-child(8) { --h: 96%; animation-delay: 0.84s; }

@keyframes bar-grow {
  from {
    transform: scaleY(0);
  }
}

.cd-rows {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.cd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.cd-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--brand);
  background: rgba(139, 124, 255, 0.14);
}

.cd-ico .icon {
  width: 16px;
  height: 16px;
}

.cd-line {
  height: 8px;
  border-radius: 8px;
  background: var(--surface-3);
}

.w-55 { width: 55%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }

.cd-tag {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.cd-tag.ok {
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
}

.cd-tag.wait {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.12);
}

.cd-tag.info {
  color: var(--accent);
  background: rgba(34, 211, 238, 0.12);
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  animation: float 6s ease-in-out infinite, fade-in 1s var(--ease) both;
}

.float-card strong {
  display: block;
  font-size: 0.9rem;
}

.float-card span:not(.fc-icon) {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #fff;
}

.fc-icon.tg {
  background: linear-gradient(135deg, #37aee2, #1e96c8);
}

.fc-icon.ok {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.fc-icon .icon {
  width: 18px;
  height: 18px;
}

.fc-telegram {
  top: -8px;
  right: -6px;
  animation-delay: 0s, 0.9s;
}

.fc-code {
  left: -28px;
  bottom: 80px;
  padding: 14px 18px;
  animation-delay: -2s, 1.1s;
}

.fc-code code {
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.c-k {
  color: #c084fc;
}

.c-f {
  color: var(--accent);
}

.fc-deploy {
  right: 12px;
  bottom: -14px;
  animation-delay: -4s, 1.3s;
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.stats-band {
  position: relative;
  z-index: 2;
  margin-top: -8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  position: relative;
  padding: 30px 28px;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--border);
}

.stat-value {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 10px;
  font-weight: 700;
}

.stat-note {
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.marquee {
  margin-top: 56px;
  padding: 18px 0;
  border-block: 1px solid var(--border);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-list {
  display: flex;
  gap: 48px;
  padding-right: 48px;
}

.marquee-list li {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--text-faint);
  white-space: nowrap;
}

.marquee-list li::after {
  content: "✦";
  color: var(--brand);
  opacity: 0.6;
}

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

.section {
  position: relative;
  padding: 110px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.is-center {
  margin-inline: auto;
  text-align: center;
}

.section-head.is-center .eyebrow {
  justify-content: center;
}

.section-title {
  margin-top: 14px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  letter-spacing: -0.04em;
}

.section-text {
  margin-top: 16px;
  font-size: 1.06rem;
  color: var(--text-muted);
}

.spotlight {
  position: relative;
  isolation: isolate;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 124, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
}

.spotlight::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 124, 255, 0.8), rgba(34, 211, 238, 0.4) 35%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.35s;
}

.spotlight:hover::before,
.spotlight:hover::after {
  opacity: 1;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s var(--ease);
}

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

.service-card.is-wide {
  grid-column: span 2;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-soft);
}

.service-card h3 {
  font-size: 1.22rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-glow);
}

.service-icon .icon {
  width: 24px;
  height: 24px;
}

.service-icon-lg {
  width: 68px;
  height: 68px;
  border-radius: 20px;
}

.service-icon-lg .icon {
  width: 32px;
  height: 32px;
}

.service-icon-sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: none;
}

.service-icon-sm .icon {
  width: 19px;
  height: 19px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list li {
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.tag-list-lg {
  margin-top: 22px;
}

.tag-list-lg li {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
}

.service-more .icon {
  transition: transform 0.3s var(--ease);
}

.service-card:hover .service-more .icon {
  transform: translateX(4px);
}

.projects-featured {
  display: grid;
  gap: 28px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.project-card.is-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
}

.project-card.is-featured.is-reverse .media {
  order: 2;
}

.project-card.is-featured .media {
  margin: 20px;
  border-radius: 18px;
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
}

.project-card.is-featured .project-body {
  padding: 36px 40px 36px 20px;
}

.project-card.is-featured.is-reverse .project-body {
  padding: 36px 20px 36px 40px;
}

.project-category {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-title {
  font-size: 1.4rem;
}

.project-card.is-featured .project-title {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.project-title span {
  display: block;
  margin-top: 6px;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-muted);
}

.project-text {
  color: var(--text-muted);
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.project-metrics li {
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.project-metrics strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.project-card.is-featured .project-metrics strong {
  font-size: 1.25rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.project-metrics span {
  font-size: 0.76rem;
  color: var(--text-faint);
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stack-list li {
  padding: 3px 9px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 4px;
  font-weight: 700;
  color: var(--brand);
}

.link-arrow .icon {
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover .icon {
  transform: translate(3px, -3px);
}

.media {
  position: relative;
  overflow: hidden;
}

.media-browser {
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.project-card.is-featured .media-browser {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.browser-bar span {
  flex: 1;
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  background: var(--surface-2);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-browser img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s var(--ease);
}

.project-card:hover .media-browser img {
  transform: scale(1.03);
}

.media-phone,
.media-illustration {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10.4;
  background: var(--grad-soft), var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.phone-frame {
  width: 38%;
  max-width: 170px;
  margin-top: 18%;
  padding: 6px;
  border-radius: 26px;
  background: #0b0d18;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.6s var(--ease);
}

.phone-frame img {
  border-radius: 20px;
}

.project-card:hover .phone-frame {
  transform: translateY(-10%);
}

.weather-widget {
  width: 72%;
  padding: 18px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(160deg, #3b6fd8, #1b2c64 70%);
  box-shadow: var(--shadow);
  transition: transform 0.6s var(--ease);
}

.project-card:hover .weather-widget {
  transform: translateY(-6px) rotate(-1deg);
}

.weather-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.weather-icon {
  width: 44px;
  height: 44px;
  color: #fde68a;
}

.weather-city {
  font-weight: 800;
  font-size: 1.05rem;
}

.weather-caption {
  font-size: 0.75rem;
  opacity: 0.75;
}

.weather-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.weather-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  opacity: 0.9;
}

.weather-bar {
  width: 8px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.weather-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--h);
  border-radius: 8px;
  background: linear-gradient(#fde68a, #fb923c);
}

.weather-bar-1 { --h: 70%; }
.weather-bar-2 { --h: 55%; }
.weather-bar-3 { --h: 80%; }
.weather-bar-4 { --h: 45%; }
.weather-bar-5 { --h: 65%; }

.weather-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.weather-chips span {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.66rem;
  background: rgba(255, 255, 255, 0.14);
}

.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.check-list .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--grad);
  stroke-width: 3;
}

.product-preview {
  position: relative;
}

.product-preview .media-browser {
  border-radius: 20px;
  box-shadow: var(--shadow), var(--shadow-glow);
}

.iframe-wrap {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #f5f7fb;
}

.iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 166.667%;
  max-width: none;
  height: 166.667%;
  border: 0;
  transform: scale(0.6);
  transform-origin: 0 0;
  pointer-events: none;
}

.demo-note {
  position: absolute;
  right: 18px;
  bottom: -14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

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

.industry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.industry:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.industry .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  color: var(--brand);
  background: rgba(139, 124, 255, 0.12);
}

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

.advantage {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.advantage-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.advantage-icon .icon {
  width: 22px;
  height: 22px;
}

.advantage h3 {
  margin-top: 20px;
  font-size: 1.18rem;
}

.advantage p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}

.process::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.35;
}

.process-step {
  position: relative;
}

.process-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-glow);
}

.process-step h3 {
  margin-top: 20px;
  font-size: 1.12rem;
}

.process-step p {
  margin-top: 8px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.faq-side {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 32px;
}

.faq-side .section-head {
  margin-bottom: 0;
}

.faq-cta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--grad-soft), var(--surface);
  border: 1px solid var(--border);
}

.faq-cta strong {
  display: block;
  font-size: 1.05rem;
}

.faq-cta p {
  margin-top: 4px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.faq-cta .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--brand);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease), background-color 0.3s;
}

.faq-plus .icon {
  width: 16px;
  height: 16px;
}

.faq-item[open] .faq-plus {
  transform: rotate(0deg);
  background: rgba(139, 124, 255, 0.14);
}

.faq-item p {
  padding: 0 22px 22px;
  color: var(--text-muted);
}

.contact {
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -200px;
  top: 10%;
  border-radius: 50%;
  background: #6d5cff;
  filter: blur(140px);
  opacity: calc(var(--blob-opacity) * 0.45);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contact-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-muted);
}

.contact-points .icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  color: var(--brand);
  background: rgba(139, 124, 255, 0.12);
}

.contact-points span {
  padding-top: 8px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-links a,
.contact-links span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.contact-links .icon {
  color: var(--brand);
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.phone-prefix {
  font-weight: 700;
  color: var(--text-muted);
}

.phone-input input {
  flex: 1;
  min-width: 0;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-input input:focus {
  box-shadow: none;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: all 0.2s;
}

.chip:hover span {
  color: var(--text);
  border-color: var(--brand);
}

.chip input:checked + span {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.form-status {
  font-weight: 700;
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.form-status.is-error {
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--danger);
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  text-align: center;
}

.site-footer {
  position: relative;
  padding-top: 72px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--grad);
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col h3 {
  font-size: 0.8rem;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.footer-col a,
.footer-col li {
  font-size: 0.93rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-faint);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--text-muted);
}

.to-top .icon {
  transform: rotate(-90deg);
}

.tg-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #37aee2, #1e96c8);
  box-shadow: 0 14px 34px -10px rgba(30, 150, 200, 0.7);
  transition: transform 0.3s var(--ease);
}

.tg-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #37aee2;
  animation: ping 2.4s var(--ease) infinite;
}

.tg-float:hover {
  transform: scale(1.08);
}

.tg-float .icon {
  width: 28px;
  height: 28px;
  margin-left: -2px;
}

.page-hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 56px) 0 80px;
  overflow: hidden;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-inner .hero-text {
  max-width: 720px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--text);
}

.page-title {
  max-width: 900px;
  margin-top: 26px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.045em;
}

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

.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.feature-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--brand);
}

.feature h3 {
  margin-top: 14px;
  font-size: 1.15rem;
}

.feature p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.split-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.split-card.is-accent {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
}

.split-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
}

.split-card h2 .icon {
  color: var(--brand);
}

.split-card .check-list {
  margin-top: 22px;
}

.mini-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.mini-service:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.mini-arrow {
  margin-left: auto;
  color: var(--text-faint);
  transition: transform 0.3s var(--ease), color 0.3s;
}

.mini-service:hover .mini-arrow {
  color: var(--brand);
  transform: translateX(3px);
}

.error-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 72vh;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
  text-align: center;
}

.error-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.error-code {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.error-inner h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.error-inner p {
  max-width: 460px;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }

  .process::before {
    display: none;
  }

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

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

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

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 24px var(--gutter) 40px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .site-header.is-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav a {
    padding: 16px 12px;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    background: transparent;
  }

  .main-nav .nav-cta-mobile {
    display: inline-flex;
    margin-top: 20px;
    padding: 16px;
    border-radius: 16px;
    border-bottom: 0;
    color: #fff;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .header-cta {
    display: none;
  }

  .services-grid,
  .advantages,
  .features,
  .mini-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card.is-featured {
    grid-template-columns: 1fr;
  }

  .project-card.is-featured.is-reverse .media {
    order: 0;
  }

  .project-card.is-featured .project-body,
  .project-card.is-featured.is-reverse .project-body {
    padding: 8px 28px 30px;
  }

  .faq-wrap,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-side {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .section-head {
    margin-bottom: 40px;
  }

  .hero {
    padding: calc(var(--header-h) + 40px) 0 48px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-visual {
    min-height: 0;
  }

  .card-dashboard {
    margin: 76px 0 0;
    padding: 14px;
    transform: none;
  }

  .cd-kpis strong {
    font-size: 1rem;
  }

  .cd-chart {
    height: 100px;
  }

  .fc-telegram {
    top: 0;
    right: -4px;
  }

  .fc-code {
    display: none;
  }

  .fc-deploy {
    right: auto;
    left: -4px;
    bottom: -22px;
  }

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

  .stat {
    padding: 22px 20px;
  }

  .stat + .stat::before {
    display: none;
  }

  .stat + .stat {
    border-top: 1px solid var(--border);
  }

  .services-grid,
  .advantages,
  .features,
  .mini-services,
  .projects-grid,
  .industries,
  .split,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-card.is-wide {
    grid-column: auto;
  }

  .service-card,
  .advantage,
  .feature,
  .split-card {
    padding: 24px;
  }

  .project-card.is-featured .media {
    margin: 12px;
  }

  .project-card.is-featured .project-body,
  .project-card.is-featured.is-reverse .project-body {
    padding: 8px 20px 24px;
  }

  .project-metrics {
    gap: 8px;
  }

  .project-metrics li {
    padding: 10px 8px;
  }

  .project-metrics strong,
  .project-card.is-featured .project-metrics strong {
    font-size: 0.98rem;
    white-space: nowrap;
  }

  .chip span {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    padding-bottom: 28px;
  }

  .process-step::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 60px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(var(--brand), var(--accent));
    opacity: 0.3;
  }

  .process-step:last-child::before {
    display: none;
  }

  .process-num {
    grid-row: span 2;
  }

  .process-step h3 {
    margin-top: 14px;
  }

  .contact-form {
    padding: 22px;
  }

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

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

  .tg-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}
