:root {
  color-scheme: dark;
  --color-bg: #0b0c10;
  --color-text: #e5e5e5;
  --color-muted: #9a9aa3;
  --color-dark: #050509;
  --color-panel-light: #111015;
  --color-panel-dark: radial-gradient(circle at top, #231036, #050510 55%, #020208 100%);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-accent: #6a0dad;
  --color-accent-strong: #8a2be2;
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.6);
  --bg-dark: #0a0a0f;
  --accent-violet: #9d00ff;
  --accent-violet-bright: #e27bff;
  --accent-cyan: #00d2ff;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #181329 0, #050509 55%, #020208 100%);
  color: var(--color-text);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

@media (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(1320px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  background: rgba(14, 14, 18, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-island {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-violet-bright);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-violet-bright);
  transform: translateX(-50%);
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.header-right .glow-btn {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 10px 25px;
  transition: color 0.3s;
}

.header-right .glow-btn::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-violet-bright);
  transform: translateX(-50%);
  transition: 0.3s;
}

.header-right .glow-btn:hover,
.header-right .glow-btn:focus-visible {
  color: var(--accent-violet-bright);
}

.header-right .glow-btn:hover::after,
.header-right .glow-btn:focus-visible::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  display: inline-flex;
  gap: 0.25rem;
}

.site-header .logo {
  filter: brightness(1.15) contrast(1.15);
}

.site-header .logo:hover {
  filter: brightness(1.25) contrast(1.2);
}

.logo img {
  height: 40px;
  width: auto;
}

.site-footer .logo img {
  height: 80px;
}

.logo span:last-child {
  color: var(--color-accent);
}

.main-nav {
  position: relative;
}

.inline-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.25rem;
  position: relative;
  z-index: 1;
}

.inline-logo img {
  height: 1em;
  width: auto;
}
 
#about .inline-logo {
  padding: 0.04em 0.12em;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

#about .inline-logo::before {
  content: none;
}

#about .inline-logo::after {
  content: none;
}

#about .inline-logo img {
  height: 2em;
}

#cases .inline-logo img,
#industries .inline-logo img {
  height: 2em;
}

.logo-glow {
  filter:
    drop-shadow(0 0 10px rgba(0, 210, 255, 0.3))
    drop-shadow(0 0 20px rgba(157, 0, 255, 0.2));
  transition: filter 0.4s ease-in-out;
  animation: neon-breath 3s infinite alternate;
}

.logo-glow:hover {
  filter:
    drop-shadow(0 0 15px rgba(0, 210, 255, 0.6))
    drop-shadow(0 0 30px rgba(157, 0, 255, 0.5));
}

/* Эффект яркого мигающего неона для логотипа */
.neon-logo {
  filter:
    drop-shadow(0 0 5px rgba(0, 210, 255, 0.6))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
  animation: neon-flicker 4s infinite linear;
}

/* В блоке "О компании" логотип статичный, без мигания */
#about .neon-logo {
  animation: none;
}

#about .about-header .neon-logo {
  animation: neon-flicker 4s infinite linear;
}

@keyframes neon-flicker {
  0% {
    filter:
      drop-shadow(0 0 10px rgba(0, 210, 255, 0.8))
      drop-shadow(0 0 20px rgba(0, 210, 255, 0.4))
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
  }

  25% {
    filter:
      drop-shadow(0 0 8px rgba(157, 0, 255, 0.7))
      drop-shadow(0 0 15px rgba(157, 0, 255, 0.3))
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
  }

  48% {
    filter:
      drop-shadow(0 0 25px rgba(200, 150, 255, 1))
      drop-shadow(0 0 50px rgba(157, 0, 255, 0.8))
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
  }

  50% {
    filter:
      drop-shadow(0 0 2px rgba(157, 0, 255, 0.3))
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
  }

  52% {
    filter:
      drop-shadow(0 0 25px rgba(100, 230, 255, 1))
      drop-shadow(0 0 50px rgba(0, 210, 255, 0.8))
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
  }

  75% {
    filter:
      drop-shadow(0 0 12px rgba(157, 0, 255, 0.8))
      drop-shadow(0 0 25px rgba(157, 0, 255, 0.4))
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
  }

  100% {
    filter:
      drop-shadow(0 0 10px rgba(0, 210, 255, 0.8))
      drop-shadow(0 0 20px rgba(0, 210, 255, 0.4))
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
  }
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.15rem;
  color: var(--color-muted);
  transition: color 0.3s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-strong));
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.22s ease-out, opacity 0.22s ease-out;
}

.main-nav a.is-active {
  color: var(--color-text);
  font-weight: 600;
}

.main-nav a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 21px;
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 21px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 3, 8, 0.9);
  color: var(--color-muted);
  font-size: 0.8rem;
  cursor: pointer;
}

.lang-toggle__item.is-active {
  color: #ffffff;
  font-weight: 500;
}

.lang-toggle__divider {
  color: rgba(255, 255, 255, 0.24);
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  background: transparent;
  position: relative;
  cursor: pointer;
}

.icon-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-text);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.icon-button span::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 2px;
  background: var(--color-text);
  right: -6px;
  bottom: -1px;
  transform: rotate(45deg);
  border-radius: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  font-size: 0.95rem;
}

.btn--primary {
  background: linear-gradient(90deg, rgba(157, 0, 255, 0.8), rgba(157, 0, 255, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.5s ease;
}

.btn--primary:hover::before,
.btn--primary:focus-visible::before {
  left: 100%;
}

.btn--link {
  background: transparent;
  color: var(--color-accent);
  border: none;
  padding-inline: 0.25rem;
}

#hero .cta-row .btn--link {
  color: var(--accent-violet-bright);
}

#hero .cta-row .btn--link:hover,
#hero .cta-row .btn--link:focus-visible {
  color: var(--accent-violet-bright);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(79, 93, 255, 0.4);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(90deg, #9d00ff, #bc55ff);
  box-shadow: 0 0 30px rgba(157, 0, 255, 0.5);
}

.btn--link:hover,
.btn--link:focus-visible {
  transform: none;
  box-shadow: none;
  text-decoration: underline;
}

.panel {
  padding: clamp(5rem, 12vw, 8rem) 0;
  position: relative;
}

.form-glow-bg {
  position: absolute;
  top: 50%;
  right: 10%; /* Под формой справа */
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(157, 0, 255, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.panel--neutral {
  background: #15151f;
}

.panel--dark {
  color: #fff;
  background: var(--color-panel-dark);
  text-align: center;
}

#hero {
  position: relative;
  overflow: hidden;
  background: #050510;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 16, 0.18) 0%,
      rgba(5, 5, 16, 0.35) 35%,
      rgba(5, 5, 16, 0.78) 80%,
      rgba(5, 5, 16, 0.9) 100%
    );
  z-index: 1;
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.1);
}

#hero .panel__content {
  position: relative;
  z-index: 2;
}

#about {
  position: relative;
  overflow: hidden;
}

#about h2,
#about h3,
#about p,
#about .eyebrow {
  text-shadow: none;
}

#about h2,
#about h3 {
  color: var(--text-main);
}

#about p {
  color: var(--text-muted);
}

/* snow effect for #about removed */

.about-section {
  background-color: var(--bg-dark);
  padding: clamp(5rem, 10vw, 7rem) 0;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.about-section .shell {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.bg-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(157, 0, 255, 0.15) 0%, rgba(10, 10, 15, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.about-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4.5rem auto;
}

.about-header .kicker {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 1.25rem;
}

.about-header .title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 1.75rem;
  font-weight: 800;
}

.about-header .subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-card {
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 40px;
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 0;
}

.bento-card--violet::after {
  background: radial-gradient(circle at 20% 0%, rgba(157, 0, 255, 0.6) 0%, transparent 55%);
}

.bento-card--cyan::after {
  background: radial-gradient(circle at 20% 0%, rgba(0, 210, 255, 0.6) 0%, transparent 55%);
}

.bento-card--violet::after,
.bento-card--cyan::after {
  opacity: 0.55;
}

.bento-card--violet:hover::after,
.bento-card--cyan:hover::after {
  opacity: 1;
  transform: scale(1.05);
}

.bento-card > * {
  position: relative;
  z-index: 1;
}

.bento-card:last-child {
  border-right: none;
}

.bento-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.icon-box {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
}

.icon-box.violet {
  border-color: rgba(157, 0, 255, 0.5);
  box-shadow:
    0 0 20px rgba(157, 0, 255, 0.3),
    inset 0 0 10px rgba(157, 0, 255, 0.1);
  color: var(--accent-violet);
}

.icon-box.cyan {
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow:
    0 0 20px rgba(0, 210, 255, 0.3),
    inset 0 0 10px rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
}

.icon-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 1;
  transform: scale(1) rotate(45deg);
  transition: all 0.5s ease;
  z-index: 0;
}

.icon-box.violet::before {
  background: radial-gradient(circle, rgba(157, 0, 255, 0.4) 0%, transparent 60%);
}

.icon-box.cyan::before {
  background: radial-gradient(circle, rgba(0, 210, 255, 0.4) 0%, transparent 60%);
}

.icon-box svg {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  overflow: visible;
  transition: transform 0.3s, filter 0.3s;
}

.icon-box.violet svg {
  filter: drop-shadow(0 0 5px rgba(157, 0, 255, 0.5));
}

.icon-box.cyan svg {
  filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.5));
}

.bento-card:hover .icon-box.violet {
  border-color: var(--accent-violet);
  box-shadow:
    0 0 30px rgba(157, 0, 255, 0.7),
    inset 0 0 16px rgba(157, 0, 255, 0.4);
  transform: translateY(-3px) scale(1.05);
}

.bento-card:hover .icon-box.cyan {
  border-color: var(--accent-cyan);
  box-shadow:
    0 0 30px rgba(0, 210, 255, 0.7),
    inset 0 0 16px rgba(0, 210, 255, 0.4);
  transform: translateY(-3px) scale(1.05);
}

.bento-card:hover .icon-box.violet::before {
  transform: scale(1.15) rotate(60deg);
  background: radial-gradient(circle, rgba(157, 0, 255, 0.7) 0%, transparent 60%);
}

.bento-card:hover .icon-box.cyan::before {
  transform: scale(1.15) rotate(60deg);
  background: radial-gradient(circle, rgba(0, 210, 255, 0.7) 0%, transparent 60%);
}

.bento-card:hover .icon-box svg {
  transform: scale(1.1);
}

.bento-card:hover .icon-box.violet svg {
  filter: drop-shadow(0 0 12px rgba(157, 0, 255, 0.95));
}

.bento-card:hover .icon-box.cyan svg {
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.95));
}

.bento-card h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.bento-card p {
  color: #888888;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card:nth-child(2) {
    border-right: none;
  }

  .bento-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.highlight-card {
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .about-section {
    padding: 4rem 0;
  }

  .about-header {
    margin-bottom: 3rem;
  }

  .about-header .title {
    font-size: 2.2rem;
  }
}

.panel--light {
  background: var(--color-panel-light);
  text-align: center;
}

.panel--tiles {
  background: transparent;
  text-align: center;
}

.panel__content {
  max-width: 940px;
  margin: 0 auto;
}

#industries .panel__content {
  max-width: 1120px;
  margin: 0 auto;
}

.service-slider {
  background: #050509;
  padding: clamp(5rem, 10vw, 7rem) 0;
  position: relative;
  text-align: left;
}

.service-slider__header {
  text-align: center;
  margin: -0.75rem auto 2.5rem;
}

.service-slider__section-title {
  font-size: clamp(2.1rem, 3.5vw, 2.8rem);
  letter-spacing: 0.02em;
  color: #ffffff;
}

.service-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(124, 58, 237, 0.45), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.service-slider__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 3rem 3.5rem;
  align-items: stretch;
}

.service-slider__visual {
  position: relative;
}

.service-slider__card {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(145deg, #7c3aed, #1e0b3a);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.9);
  min-height: 380px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-slider__image {
  flex: 1 1 auto;
  min-height: 220px;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(196, 181, 253, 0.45), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.3), transparent 55%);
  background-color: #0b0b1a;
}

.service-slider__card-body {
  padding: 1rem 1.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-slider__project-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.7);
  margin: 0 0 0.1rem;
}

.service-slider__project-title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.3;
}

.service-slider__project-subtitle {
  margin: 0.1rem 0 0;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.8);
}

.service-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #f9f5ff;
  box-shadow: none;
  transition: transform 0.12s ease-out, opacity 0.22s ease-out;
  animation: none;
}

.service-slider__nav span {
  font-size: 1rem;
  line-height: 1;
}

.service-slider__nav-icon {
  width: 36px;
  height: 36px;
  display: block;
  filter:
    drop-shadow(0 0 4px rgba(168, 85, 247, 0.6))
    drop-shadow(0 0 10px rgba(192, 132, 252, 0.7));
  animation: arrowIconPulse 2.8s ease-in-out infinite;
}

.service-slider__nav-icon--prev {
  transform: rotate(180deg);
}

.service-slider__nav--prev {
  left: -5.5rem;
}

.service-slider__nav--next {
  right: -5.5rem;
}

.service-slider__nav:hover,
.service-slider__nav:focus-visible {
  transform: translateY(-50%) scale(1.05);
  opacity: 1;
}

@keyframes arrowIconPulse {
  0% {
    filter:
      drop-shadow(0 0 2px rgba(168, 85, 247, 0.5))
      drop-shadow(0 0 6px rgba(192, 132, 252, 0.5));
    opacity: 0.85;
  }

  50% {
    filter:
      drop-shadow(0 0 6px rgba(216, 180, 254, 0.9))
      drop-shadow(0 0 16px rgba(192, 132, 252, 1));
    opacity: 1;
  }

  100% {
    filter:
      drop-shadow(0 0 3px rgba(168, 85, 247, 0.55))
      drop-shadow(0 0 10px rgba(192, 132, 252, 0.7));
    opacity: 0.9;
  }
}

.service-slider__content {
  align-self: center;
}

.service-slider__eyebrow {
  margin-bottom: 0.8rem;
}

.service-slider__title {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
}

.service-slider__description {
  display: grid;
  gap: 0.75rem;
  color: #a0a0b4;
  font-size: 0.98rem;
  line-height: 1.7;
}

.service-slider__description p {
  margin: 0;
}

.service-slider__tags {
  margin-top: 2.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-slider__tag {
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(124, 58, 237, 0.6);
  background: rgba(20, 20, 40, 0.9);
  font-size: 0.78rem;
  color: #e5e7eb;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  cursor: default;
  transition: background 0.18s ease-out, box-shadow 0.18s ease-out, transform 0.12s ease-out;
}

.service-slider__tag:hover {
  background: rgba(124, 58, 237, 0.28);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.7);
  transform: translateY(-1px);
  cursor: pointer;
}

.service-slider__types {
  margin-top: 1.9rem;
  display: none;
}

.service-slider__types-label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #9f9fc0;
}

.service-slider__types-list {
  margin: 0;
  font-size: 0.95rem;
  color: #c7c7e0;
  line-height: 1.6;
}

.why-section {
  position: relative;
  padding: 6rem 0 6rem;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(124, 58, 237, 0.25), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

.why-layout {
  max-width: 1120px;
}

.why-header {
  text-align: left;
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.why-title,
.why-subtitle {
  max-width: 720px;
  margin: 0 auto 0 0;
}

.why-subtitle {
  color: #9c9cad;
}

.why-overline {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #9c9cad;
}

.panel__split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

/* Ограничиваем ширину текстового блока в CTA, чтобы абзац не уходил слишком далеко вправо */
#cta .panel__split > div:first-child {
  max-width: 32rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.panel--dark .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.75rem;
}

.intro {
  color: var(--color-muted);
  font-size: 1.125rem;
  margin: 0 auto 1.5rem;
  max-width: 760px;
}

.panel--dark .intro {
  color: rgba(255, 255, 255, 0.75);
}

.cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.cta-note {
  color: var(--color-muted);
}

.trust-line {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-orb {
  width: min(420px, 70vw);
  aspect-ratio: 1 / 1;
  margin: 3rem auto 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(138, 43, 226, 0.8), rgba(5, 5, 10, 0.2));
  position: relative;
  overflow: hidden;
  box-shadow: 0 50px 90px rgba(0, 0, 0, 0.85);
}

.hero-orb span {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: orbPulse 8s infinite;
}

@keyframes orbPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.chip-cloud span {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.chip-cloud span:nth-child(odd) {
  background: rgba(255, 255, 255, 0.06);
}

.chip-cloud span:nth-child(even) {
  background: rgba(255, 255, 255, 0.04);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}


/* =========================================
   Mobile Menu (Premium Glass Overlay)
   ========================================= */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 5, 20, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  justify-content: flex-end; /* Menu comes from right */
  align-items: flex-start;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: relative;
  width: 100%;
  max-width: 400px; /* Max width 400px or 90% */
  height: 100dvh; /* Full height */
  margin-right: 0; /* Aligned to right */
  
  background: rgba(20, 10, 40, 0.95); /* Fallback for no backdrop-filter */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    -10px 0 40px rgba(0, 0, 0, 0.5),
    inset 1px 0 0 rgba(255, 255, 255, 0.1);
    
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical Center */
  align-items: center;     /* Horizontal Center */
  text-align: center;
  padding: 40px 30px;
  overflow-y: auto;
  
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.is-open .mobile-menu-panel {
  transform: translateX(0);
}

/* Liquid Glass Effect Customization */
@supports (backdrop-filter: blur(20px)) {
  .mobile-menu-panel {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 
      0 8px 32px rgba(130, 70, 230, 0.2),
      0 0 60px rgba(130, 70, 230, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

/* Header inside menu */
.mobile-menu-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  flex-shrink: 0;
  width: 100%;
}

.mobile-menu-logo {
  display: block;
  width: 180px; /* Fixed width to prevent squashing */
}

.mobile-menu-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.4));
  animation: neon-flicker 4s infinite linear; /* Added Animation */
}

.mobile-menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10;
  
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-violet-bright);
  box-shadow: 0 0 15px rgba(157, 0, 255, 0.4);
}

.mobile-menu-close svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

/* Menu List */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center Items */
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.mobile-menu-link {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Keep border but maybe shorter? */
  width: 100%; /* Full width lines look clean centered */
  transition: color 0.3s, text-shadow 0.3s;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
  color: #fff;
  text-shadow: 0 0 10px rgba(157, 0, 255, 0.6);
  border-color: rgba(157, 0, 255, 0.3);
}

/* CTA Button in Menu - Transformed to Link Style */
.mobile-menu-cta {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  transition: color 0.3s, text-shadow 0.3s;
  
  /* Reset previous button styles */
  background: none;
  box-shadow: none;
  border-radius: 0;
  margin-top: 0;
  text-align: center;
}

.mobile-menu-cta:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(157, 0, 255, 0.6);
  border-color: rgba(157, 0, 255, 0.3);
  background: none;
  transform: none;
  box-shadow: none;
}

/* Hamburger Trigger - Make sure it overrides existing if needed */
.nav-toggle {
  display: none; /* Default hidden on desktop */
  z-index: 2001; /* Above everything if we want it to morph, but design says close btn inside panel */
}


/* Hamburger Neon Glow */
.nav-toggle:hover span {
  background: var(--accent-violet-bright);
  box-shadow: 0 0 8px var(--accent-violet-bright), 0 0 16px var(--accent-violet);
}

@media (max-width: 1024px) {
  .nav-island, 
  .header-right {
    display: none; /* Hide default nav items */
  }
  
  .nav-toggle {
    display: flex; /* Show burger */
  }
  
  .header-container {
    padding-right: 15px; /* Adjust padding for burger */
  }
}


@media (max-width: 360px) {
  .mobile-menu-panel {
    padding: 24px 20px;
  }
  .mobile-menu-link {
    font-size: 16px;
  }
}

.cards-grid article {
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--color-border);
  background: #151521;
  text-align: left;
  box-shadow: var(--shadow-card);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  text-align: left;
}

.why-card {
  position: relative;
  border-radius: 24px;
  padding: 1.75rem 1.75rem 2rem;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 55%),
    #05050b;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s ease-out;
}

.why-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.why-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.why-card__icon span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.why-card__icon--data span {
  border-radius: 3px;
  border-style: solid;
  border-width: 0 0 1px 0;
  border-color: rgba(209, 213, 219, 0.9);
  box-shadow:
    0 -4px 0 0 rgba(209, 213, 219, 0.7),
    0 -8px 0 0 rgba(209, 213, 219, 0.4);
}

.why-card__icon--ai span {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(209, 213, 219, 0.8);
}

.why-card__icon--layers span {
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(209, 213, 219, 0.9),
    0 3px 0 0 rgba(148, 163, 184, 0.7);
}

.why-card__icon--shield span {
  border-radius: 999px 999px 6px 6px;
}

.why-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.7rem;
  border-radius: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9c9cad;
  background: transparent;
  margin-bottom: 0.35rem;
}

.why-card__title {
  font-size: 1.1rem;
  margin: 0.35rem 0 0.3rem;
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.why-card__text {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #9ca3af;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 30px 80px rgba(124, 58, 237, 0.45);
}

.why-card.reveal {
  transition-delay: 0.04s;
}

.why-card.reveal:nth-child(2) {
  transition-delay: 0.14s;
}

.why-card.reveal:nth-child(3) {
  transition-delay: 0.24s;
}

.why-card.reveal:nth-child(4) {
  transition-delay: 0.34s;
}

.bitrix-page .hero-bitrix {
  text-align: left;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-bitrix__content {
  position: relative;
  z-index: 2;
}

.hero-bitrix__visual {
  position: relative;
  min-height: 280px;
}

.hero-bitrix__halo {
  position: absolute;
  inset: 10%;
  border-radius: 32px;
  background: radial-gradient(circle at 30% 30%, rgba(108, 128, 255, 0.6), rgba(5, 5, 10, 0.1));
  opacity: 0.8;
}

.hero-bitrix__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pain-cards article h3 {
  margin-bottom: 0.5rem;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  gap: 2rem;
}

.timeline li {
  position: relative;
  padding-left: 2.5rem;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 8px rgba(79, 93, 255, 0.1);
}

.timeline li::after {
  content: '';
  position: absolute;
  left: 1.3rem;
  top: 1.5rem;
  bottom: -2rem;
  width: 2px;
  background: rgba(0, 0, 0, 0.08);
}

.timeline li:last-child::after {
  display: none;
}

.feature-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-grid article {
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid var(--color-border);
  background: #151521;
  text-align: left;
  box-shadow: var(--shadow-card);
}

.bitrix-cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 2.5rem 0 1rem;
}

.step-card {
  background: #151521;
  border-radius: 24px;
  padding: 2rem;
  width: min(320px, 90vw);
  box-shadow: var(--shadow-card);
}

.step-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 1100px) {
  #services .panel__content {
    max-width: 1240px;
  }

  .services-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 1.25rem;
  }
}

.service-card {
  position: relative;
  background: #151521;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  text-align: left;
  overflow: hidden;
}

.service-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.service-card::after {
  content: '';
  position: absolute;
  inset-inline: -30%;
  bottom: -40%;
  height: 60%;
  background: radial-gradient(circle at top, rgba(138, 43, 226, 0.35), transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

.nano-services {
  padding: clamp(4.5rem, 8vw, 6rem) 0;
  background: #050509;
  color: #ffffff;
}

.nano-services .shell {
  max-width: 1200px;
  margin: 0 auto;
}

.nano-services .section-title {
  font-size: clamp(2rem, 3.1vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 2.5rem;
  color: #ffffff;
  text-align: center;
}

.nano-services .section-subtitle {
  max-width: 880px;
  margin: 0 auto 0.75rem;
  color: #9ca3af;
  text-align: center;
}

.nano-services .section-subtitle:last-of-type {
  margin-bottom: 2.5rem;
}

.nano-services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.nano-services .service-card {
  position: relative;
  background: #111015;
  border-radius: 24px;
  padding: 30px 25px;
  min-height: 420px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.85);
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s ease-out,
    background 0.22s ease-out;
  cursor: pointer;
}
.nano-services .service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.8;
  box-shadow:
    0 0 0 1px rgba(157, 0, 255, 0.7),
    0 0 12px rgba(157, 0, 255, 0.45),
    0 0 22px rgba(0, 210, 255, 0.3);
  animation: nanoNeonBorder 4.5s ease-in-out infinite;
}
.nano-services .service-card::after {
  content: none;
}

.nano-services .card-icon {
  display: none;
}

.nano-services .card-title {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.95rem;
  min-height: 60px;
}

.nano-services .card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #9ca3af;
  margin: 0 0 20px;
  flex-grow: 1;
}

.nano-services .card-text,
.nano-services .card-link {
  transition: opacity 0.25s ease-out;
}

.nano-services .card-link {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e5e5e5;
  text-decoration: none;
}

.nano-services .arrow {
  font-size: 1.1rem;
  transition: transform 0.22s ease-out;
}

.nano-services .service-card:not(.service-card--ai-staff):hover {
  transform: translateY(-8px);
  border-color: rgba(138, 43, 226, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.nano-services .service-card:not(.service-card--ai-staff):hover .card-link {
  color: #ffffff;
}

.nano-services .service-card:not(.service-card--ai-staff):hover .arrow {
  transform: translateX(4px);
}

.nano-services .service-card:hover .card-text {
  opacity: 0;
  pointer-events: none;
}

.nano-services .service-card:hover .card-link {
  animation: nanoCardLinkBlink 1.4s ease-in-out infinite;
}

.nano-services .service-card--ai-staff {
  background:
    linear-gradient(180deg, rgba(5, 5, 15, 0.78), rgba(5, 5, 15, 0.96)),
    url('../../IMAGES/1.jpg');
  background-size: 115% 115%;
  background-position: center;
  background-repeat: no-repeat;
}

.services-split-section {
  padding: 100px 0;
  background: #0a0a0f;
}

.services-split-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-split-section .section-title {
  text-align: center;
  margin: 0 0 64px;
}

.services-split-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  min-height: 500px;
  align-items: center;
}

.services-split-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.services-split-list .service-item {
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.services-split-list .service-item:hover,
.services-split-list .service-item.active {
  background: linear-gradient(90deg, rgba(157, 0, 255, 0.1), transparent);
  border-left: 4px solid var(--accent-violet);
  padding-left: 36px;
}

.services-split-list .s-num {
  color: #555;
  font-family: monospace;
  margin-right: 20px;
  font-size: 14px;
}

.services-split-list .service-item.active .s-num {
  color: var(--accent-cyan);
}

.services-split-list .service-item h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #aaa;
  font-weight: 500;
  transition: 0.3s;
}

.services-split-list .service-item h3 a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.services-split-list .service-item.active h3 {
  color: #fff;
  font-weight: 700;
}

.services-split-list .s-arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.3s;
  color: var(--accent-cyan);
}

.services-split-list .service-item.active .s-arrow {
  opacity: 1;
  transform: translateX(0);
}

.services-preview {
  position: relative;
  min-height: 600px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px;
  background: radial-gradient(circle at top, rgba(12, 10, 25, 0.95), rgba(5, 5, 15, 0.98));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
}

.services-preview .preview-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../IMAGES/1.jpg');
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
  transform: scale(1) translateY(0);
  filter: brightness(0.5);
  will-change: transform, filter;
}

.services-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0.12),
      transparent
    );
  transform: skewX(-20deg);
  transition: 0.5s;
  z-index: 1;
  pointer-events: none;
}

.services-preview:hover::before {
  left: 150%;
  transition: 0.7s;
}

.services-preview:hover .preview-bg {
  transform: scale(1.1) translateY(-10px) rotate(1deg);
  filter: brightness(0.9);
}

.services-preview .preview-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.services-preview .preview-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.1;
}

.services-preview .preview-content p {
  color: #ddd;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.services-preview .preview-btn {
  display: inline-block;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s,
    border-color 0.25s;
}

.services-preview .preview-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.5s ease;
}

.services-preview .preview-btn:hover,
.services-preview .preview-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(79, 93, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

.services-preview .preview-btn:hover::before,
.services-preview .preview-btn:focus-visible::before {
  left: 100%;
}

@media (max-width: 900px) {
  .services-split-wrapper {
    grid-template-columns: 1fr;
  }

  .services-preview {
    height: 400px;
    order: -1;
  }
}

@keyframes nanoCardLinkBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

@keyframes nanoNeonBorder {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(157, 0, 255, 0.6),
      0 0 10px rgba(157, 0, 255, 0.35),
      0 0 18px rgba(0, 210, 255, 0.22);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(157, 0, 255, 0.9),
      0 0 16px rgba(157, 0, 255, 0.5),
      0 0 26px rgba(0, 210, 255, 0.35);
  }
}

.nano-services .service-card--content {
  background:
    linear-gradient(180deg, rgba(5, 5, 15, 0.78), rgba(5, 5, 15, 0.96)),
    url('../../IMAGES/2.jpg');
  background-size: 115% 115%;
  background-position: center;
  background-repeat: no-repeat;
}

.nano-services .service-card--consulting {
  background:
    linear-gradient(180deg, rgba(5, 5, 15, 0.78), rgba(5, 5, 15, 0.96)),
    url('../../IMAGES/3.jpg');
  background-size: 115% 115%;
  background-position: center;
  background-repeat: no-repeat;
}

.nano-services .service-card--crm {
  background:
    linear-gradient(180deg, rgba(5, 5, 15, 0.78), rgba(5, 5, 15, 0.96)),
    url('../../IMAGES/4.jpg');
  background-size: 115% 115%;
  background-position: center;
  background-repeat: no-repeat;
}

.nano-services .service-card--marketing {
  background:
    linear-gradient(180deg, rgba(5, 5, 15, 0.78), rgba(5, 5, 15, 0.96)),
    url('../../IMAGES/5.jpg');
  background-size: 115% 115%;
  background-position: center;
  background-repeat: no-repeat;
}

.nano-services .service-card--sales {
  background:
    linear-gradient(180deg, rgba(5, 5, 15, 0.78), rgba(5, 5, 15, 0.96)),
    url('../../IMAGES/6.jpg');
  background-size: 115% 115%;
  background-position: center;
  background-repeat: no-repeat;
}

.nano-services .service-card--hr {
  background:
    linear-gradient(180deg, rgba(5, 5, 15, 0.78), rgba(5, 5, 15, 0.96)),
    url('../../IMAGES/7.jpg');
  background-size: 115% 115%;
  background-position: center;
  background-repeat: no-repeat;
}

.nano-services .service-card--sites {
  background:
    linear-gradient(180deg, rgba(5, 5, 15, 0.78), rgba(5, 5, 15, 0.96)),
    url('../../IMAGES/8.jpg');
  background-size: 115% 115%;
  background-position: center;
  background-repeat: no-repeat;
}

.nano-services .service-card--custom {
  background:
    linear-gradient(180deg, rgba(5, 5, 15, 0.78), rgba(5, 5, 15, 0.96)),
    url('../../IMAGES/9.jpg');
  background-size: 115% 115%;
  background-position: center;
  background-repeat: no-repeat;
}

.nano-services .service-card--ai-staff .card-text,
.nano-services .service-card--ai-staff .card-link {
  transition: opacity 0.25s ease-out;
}

.nano-services .service-card--ai-staff .card-text {
  color: rgba(249, 250, 251, 0.9);
}

.nano-services .service-card--ai-staff:hover {
  background: url('../../IMAGES/1.jpg') center center / 115% 115% no-repeat;
  animation: aiStaffZoom 8s ease-in-out infinite alternate;
  transform: translateY(-8px);
  border-color: rgba(138, 43, 226, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.nano-services .service-card--ai-staff:hover .card-text {
  opacity: 0;
  pointer-events: none;
}

.nano-services .service-card--ai-staff:hover .card-link {
  color: #ffffff;
}

.nano-services .service-card--ai-staff:hover .arrow {
  transform: translateX(4px);
}

.nano-services .service-card--content:hover {
  background: url('../../IMAGES/2.jpg') center center / 115% 115% no-repeat;
  animation: aiStaffZoom 8s ease-in-out infinite alternate;
}

.nano-services .service-card--consulting:hover {
  background: url('../../IMAGES/3.jpg') center center / 115% 115% no-repeat;
  animation: aiStaffZoom 8s ease-in-out infinite alternate;
}

.nano-services .service-card--crm:hover {
  background: url('../../IMAGES/4.jpg') center center / 115% 115% no-repeat;
  animation: aiStaffZoom 8s ease-in-out infinite alternate;
}

.nano-services .service-card--marketing:hover {
  background: url('../../IMAGES/5.jpg') center center / 115% 115% no-repeat;
  animation: aiStaffZoom 8s ease-in-out infinite alternate;
}

.nano-services .service-card--sales:hover {
  background: url('../../IMAGES/6.jpg') center center / 115% 115% no-repeat;
  animation: aiStaffZoom 8s ease-in-out infinite alternate;
}

.nano-services .service-card--hr:hover {
  background: url('../../IMAGES/7.jpg') center center / 115% 115% no-repeat;
  animation: aiStaffZoom 8s ease-in-out infinite alternate;
}

.nano-services .service-card--sites:hover {
  background: url('../../IMAGES/8.jpg') center center / 115% 115% no-repeat;
  animation: aiStaffZoom 8s ease-in-out infinite alternate;
}

.nano-services .service-card--custom:hover {
  background: url('../../IMAGES/9.jpg') center center / 115% 115% no-repeat;
  animation: aiStaffZoom 8s ease-in-out infinite alternate;
}

@keyframes aiStaffZoom {
  0% {
    background-size: 115% 115%;
  }

  50% {
    background-size: 125% 125%;
  }

  100% {
    background-size: 115% 115%;
  }
}

@media (max-width: 1024px) {
  .nano-services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nano-services .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nano-services .section-title {
    font-size: 2rem;
  }
}

.integrations-section {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
}

.integrations-header {
  max-width: 780px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.integrations-section .section-title {
  font-size: clamp(2.1rem, 3.3vw, 2.7rem);
  margin-bottom: 0.75rem;
  background: linear-gradient(120deg, #ffffff, #e5e7eb);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.integrations-section .section-subtitle {
  margin: 0;
  font-size: 1rem;
  color: var(--color-muted);
}

.integrations-hub {
  position: relative;
  max-width: 1120px;
  margin: 0 auto 3.5rem;
}

.integrations-grid {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

.int-card {
  position: relative;
  width: min(190px, 100%);
  min-height: 150px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 1) 60%, rgba(15, 23, 42, 1) 100%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 20px;
  padding: 1.4rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
  transition: transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
    background 0.28s ease,
    border-color 0.28s ease;
  border-bottom: 2px solid transparent;
  opacity: 0;
  animation: int-card-in 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.int-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.int-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 72%;
  max-height: 72%;
  opacity: 1;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.int-name {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.int-card:nth-child(1) {
  animation-delay: 0.05s;
}

.int-card:nth-child(2) {
  animation-delay: 0.15s;
}

.int-card:nth-child(3) {
  animation-delay: 0.25s;
}

.int-card:nth-child(4) {
  animation-delay: 0.35s;
}

.int-card:nth-child(5) {
  animation-delay: 0.45s;
}

.int-card:hover {
  transform: translateY(-8px) scale(1.04);
  background: rgba(15, 23, 42, 0.98);
  border-color: var(--brand-color);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.9),
    0 0 32px var(--brand-color);
}

.int-card:hover .int-icon {
  transform: none;
}

.int-card:hover .int-name {
  color: #ffffff;
}

.int-card:hover .int-icon img {
  transform: scale(1.18);
}

.int-card--active {
  transform: translateY(-8px) scale(1.04);
  background: rgba(15, 23, 42, 0.98);
  border-color: var(--brand-color);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.9),
    0 0 32px var(--brand-color);
}

.int-card--active .int-name {
  color: #ffffff;
}

.int-card--active .int-icon img {
  transform: scale(1.18);
}

.int-card.openai {
  border-bottom-color: #10a37f;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.95),
    0 16px 50px -10px rgba(16, 163, 127, 0.55);
}

.int-card.anthropic {
  border-bottom-color: #f97316;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.95),
    0 16px 50px -10px rgba(249, 115, 22, 0.6);
}

.int-card.anthropic .int-icon {
  background: rgba(15, 23, 42, 0.95);
}

.int-card.anthropic .int-icon img {
  filter: grayscale(0%);
  opacity: 1;
}

.int-card.deepseek {
  border-bottom-color: #4d6bfe;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.95),
    0 16px 50px -10px rgba(77, 107, 254, 0.55);
}

.int-card.yandex {
  border-bottom-color: #a855f7;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.95),
    0 16px 50px -10px rgba(168, 85, 247, 0.6);
}

.int-card.gigachat {
  border-bottom-color: #21a038;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.95),
    0 16px 50px -10px rgba(33, 160, 56, 0.55);
}

.int-card.gigachat .int-icon img {
  filter: grayscale(0%);
  opacity: 1;
}

.int-card.gemini {
  border-bottom-color: #38bdf8;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.95),
    0 16px 50px -10px rgba(56, 189, 248, 0.6);
}

@media (min-width: 1024px) {
  .integrations-grid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}

@keyframes int-card-in {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.85);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes core-pulse {}
@keyframes orbit-rotate {}
@keyframes orbit-signals {}
@keyframes signal-move {}

.integrations-section .features-row {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.integrations-section .feature-box {
  position: relative;
  flex: 1 1 0;
  max-width: 520px;
  min-height: 260px;
  padding: 30px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.25rem;
  box-shadow: 0 26px 70px rgba(7, 10, 20, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(148, 163, 184, 0.14), transparent 55%),
    radial-gradient(circle at bottom right, rgba(30, 64, 175, 0.16), transparent 55%),
    rgba(7, 11, 25, 0.96);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.integrations-section .feature-box:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 90px rgba(7, 10, 20, 1),
    0 0 40px rgba(129, 140, 248, 0.8);
}

.integrations-section .feature-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.25s ease-out;
}

.integrations-section .feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.integrations-section .feature-text h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.integrations-section .feature-text p {
  margin: 0;
  font-size: 0.875rem;
  color: #9ca3af;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.feature-list li {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 8px;
  text-align: center;
}

.integrations-section .feature-box--onprem {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 56%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(9, 9, 18, 0.98));
}

.integrations-section .feature-box--finetune {
  background:
    radial-gradient(circle at top left, rgba(147, 51, 234, 0.2), transparent 56%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.14), transparent 55%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(9, 9, 18, 0.98));
}

.integrations-section .feature-box--onprem .feature-icon {
  background: transparent;
}

.integrations-section .feature-box--finetune .feature-icon {
  background: transparent;
}

.integrations-section .feature-box--onprem:hover .feature-icon,
.integrations-section .feature-box--finetune:hover .feature-icon {
  box-shadow: none;
}

@media (max-width: 768px) {
  .integrations-section .features-row {
    flex-direction: column;
    align-items: center;
  }
  
  .integrations-section .feature-box {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .integrations-hub {
    max-width: 760px;
  }

  .integrations-orbit {
    inset: 12% 10%;
  }
}

@media (max-width: 900px) {
  .integrations-hub {
    aspect-ratio: auto;
    min-height: auto;
    padding-top: 0;
  }

  .integrations-orbit {
    display: none;
  }

  .integrations-lines {
    display: none;
  }

  .integrations-core {
    position: static;
    transform: none;
    margin: 0 auto 2.5rem;
  }

  .integrations-grid {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .int-card {
    position: static;
    width: min(46%, 190px);
    height: 120px;
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 640px) {
  .integrations-section .feature-box {
    width: 100%;
  }
}

  .panel--tiles .tiles {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

.tile {
  border-radius: 32px;
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: left;
  min-height: 320px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.tile__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.tile__link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-weight: 500;
}

.tile__link::after {
  content: '›';
  font-size: 1.2rem;
}

.tile--bitrix {
  background: linear-gradient(150deg, #13151f, #2d2f6d);
}

.tile--ai-staff {
  background: linear-gradient(150deg, #111822, #364675);
}

.tile--automation {
  background: linear-gradient(150deg, #141619, #3c3f46);
}

.tile--web {
  background: linear-gradient(150deg, #141021, #5437a0);
}

.tile--marketing {
  background: linear-gradient(150deg, #101c2a, #2856c0);
}

.tile--custom {
  background: linear-gradient(150deg, #141a1f, #2b5fd6);
}

.tile:hover {
  transform: translateY(-6px);
  transition: transform 0.4s;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.about-cta__btn {
  border: none;
  font-size: 1.1rem;
  padding: 0.9rem 2.4rem;
}

/* Кнопка "Подробнее о компании" по центру колонки списка преимуществ */
#about .about-list .btn--link {
  align-self: center;
  font-size: 1.15rem;
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
}

.about-list > div {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}

.about-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: none;
  margin-bottom: 0;
  margin-right: 0.6rem;
  font-size: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}

.about-list__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-list__icon--puzzle img {
  filter: hue-rotate(310deg) saturate(220%) brightness(1.05);
}

.about-list h3 {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0.4rem;
}

#about .card-container__subheading {
  color: var(--color-muted);
}

.gradient-shine-text {
  color: #ffffff;
  background: linear-gradient(90deg, #ffffff 0%, #00d2ff 25%, #9d00ff 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: #ffffff;
  transition: all 0.3s ease;
  cursor: default;
}

.card-container:hover .gradient-shine-text,
.card-container.is-active .gradient-shine-text {
  -webkit-text-fill-color: #ffffff;
  animation: neon-flicker 20s linear infinite;
}

.card-container:hover .about-list__icon img,
.card-container.is-active .about-list__icon img {
  animation: neon-flicker 20s linear infinite;
}

.card-container:hover .card-container__subheading,
.card-container.is-active .card-container__subheading {
  color: #ffffff;
  animation: neon-flicker 20s linear infinite;
}

/* Иконка пазла сохраняет розовый оттенок при подсветке */
.card-container:hover .about-list__icon--puzzle img,
.card-container.is-active .about-list__icon--puzzle img {
  animation: none;
  filter: hue-rotate(310deg) saturate(220%) brightness(1.05);
}

@keyframes shine-move {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes aboutIconPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(138, 43, 226, 0.4);
    opacity: 0.9;
  }
}

@keyframes inlineLogoSparkle {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.65;
  }
}

@keyframes inlineLogoTwinkle {
  0%,
  100% {
    opacity: 0.15;
  }

  40% {
    opacity: 0.7;
  }

  60% {
    opacity: 0.4;
  }
}

@keyframes neon-breath {
  0% {
    filter:
      drop-shadow(0 0 8px rgba(0, 210, 255, 0.2))
      drop-shadow(0 0 15px rgba(157, 0, 255, 0.1));
  }

  100% {
    filter:
      drop-shadow(0 0 12px rgba(0, 210, 255, 0.4))
      drop-shadow(0 0 25px rgba(157, 0, 255, 0.3));
  }
}

.logo-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0 3rem;
  color: var(--color-muted);
  font-weight: 500;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.cases-grid article {
  border-radius: 28px;
  padding: 2rem;
  background: #151521;
  border: 1px solid var(--color-border);
}

.case__industry {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.panel--dark .panel__split {
  text-align: left;
}

.cta-form {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.cta-form input,
.cta-form select {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 1rem;
}

select {
  color-scheme: dark;
}

select option,
select optgroup {
  background-color: #ffffff !important;
  color: #0b0c10 !important;
}

.cta-form input:focus,
.cta-form select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-form button {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.5rem;
  font-size: 0.9rem;
}

.form-status--success {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.form-status__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-status__icon img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.checkbox {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.checkbox input {
  width: auto;
  margin-top: 0.1rem;
}

.checkbox label {
  margin-left: 0.5rem;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Контейнер формы (Жидкое Стекло) */
.contact-form {
  /* База */
  background: rgba(255, 255, 255, 0.03); /* Почти прозрачный */
  backdrop-filter: blur(20px);           /* Сильное размытие фона */
  -webkit-backdrop-filter: blur(20px);
  
  /* Границы и тени */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* Сверху светлее (блик) */
  border-radius: 24px;
  padding: 40px;
  
  /* Внутренняя тень для объема */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* "Жидкое пятно" света внутри формы (нужно добавить в HTML или псевдоэлементом) */
.contact-form::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(157, 0, 255, 0.2) 0%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

.modern-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.modern-form .input-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.modern-form .input-group label {
  font-size: 0.85rem;
  color: rgba(249, 250, 251, 0.9);
}

.modern-form input,
.modern-form select,
.modern-form textarea {
  background: rgba(0, 0, 0, 0.2); /* Темнее фона формы */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  color: #ffffff;
  font-size: 1rem;
  transition: 0.3s;
  
  /* Внутренняя тень (эффект вдавливания) */
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 4px rgba(157, 0, 255, 0.1); /* Внешнее свечение при фокусе */
  outline: none;
}

.modern-form textarea {
  min-height: 120px;
  resize: vertical;
}

.modern-form .input-with-icon {
  position: relative;
}

.modern-form .input-with-icon input {
  padding-left: 2.6rem;
}

.modern-form .input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: transparent;
  border: none;
  opacity: 0.6; /* Иконки делаем полупрозрачными */
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.modern-form .input-group:focus-within .input-icon {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(157, 0, 255, 0.7));
}

.modern-form .input-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modern-form .file-icon img {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
  filter: hue-rotate(285deg) saturate(4) brightness(1.35);
}

.modern-form .form-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.modern-form .file-upload {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(226, 232, 240, 0.4);
  background: rgba(15, 23, 42, 0.4);
  cursor: pointer;
  color: #cbd5f5;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.15s ease;
}

.modern-form .file-upload:hover {
  border-color: #ffffff;
  background: rgba(15, 23, 42, 0.75);
  transform: translateY(-1px);
}

.modern-form .file-upload input {
  display: none;
}

.modern-form .submit-btn {
  border: none;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-strong));
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.9rem 1.5rem;
  box-shadow: 0 18px 40px rgba(106, 13, 173, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modern-form .submit-btn:hover,
.modern-form .submit-btn:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(79, 93, 255, 0.8);
}

.modern-form .privacy-check {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(209, 213, 219, 0.9);
}

.modern-form .privacy-check input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-accent-strong);
  margin: 0;
}

.modern-form .form-status {
  min-height: 1.5rem;
  font-size: 0.85rem;
}

.modern-form .file-list {
  margin-top: 0.4rem;
  list-style: none;
  padding: 0;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.9);
  max-height: 6rem;
  overflow-y: auto;
  display: none;
}

.modern-form .file-list.file-list--visible {
  display: block;
}

.modern-form .file-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.modern-form .file-list__name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modern-form .file-list__remove {
  border: none;
  background: transparent;
  color: rgba(148, 163, 184, 0.9);
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1;
}

.modern-form .file-list__remove:hover,
.modern-form .file-list__remove:focus-visible {
  color: #f97373;
}

@media (max-width: 720px) {
  .modern-form {
    padding: 1.5rem 1.25rem;
  }

  .modern-form .form-row {
    grid-template-columns: 1fr;
  }

  .modern-form .form-footer {
    grid-template-columns: 1fr;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  text-align: left;
  margin-top: 3rem;
}

.blog-grid article {
  background: #151521;
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  transition: transform 0.3s;
}

.blog-grid article:hover {
  transform: translateY(-6px);
}

/* Интерактивный список статей на главной (секция #blog на index.html) */

#blog .blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 2.75rem;
}

#blog .blog-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 40px 24px 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #ffffff;
  position: relative;
  cursor: pointer;
  overflow: visible;
}

#blog .blog-item:last-child {
  border-bottom: none;
}

#blog .blog-meta {
  width: 150px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #9ca3af;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

#blog .blog-meta .tag {
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  align-self: flex-start;
}

#blog .blog-content {
  flex: 1;
  padding: 0 40px;
  min-width: 0;
  z-index: 2;
}

.blog-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.35rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-desc {
  font-size: 0.98rem;
  color: #9ca3af;
  margin: 0.15rem 0 0;
  opacity: 1;
  transform: none;
  height: auto;
}

.blog-arrow {
  font-size: 2rem;
  flex: 0 0 auto;
  text-align: right;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hover-img {
  position: absolute;
  right: 14%;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  width: 280px;
  height: 170px;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
  filter: brightness(0.75);
}

/* На главной странице отключаем всплывающую картинку превью, чтобы не мешала верстке блока блога */
#blog .hover-img {
  display: none;
}

.blog-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Описание теперь всегда видно, отдельная hover-анимация не нужна */

.blog-item:hover .blog-title {
  color: #a78bfa;
}

.blog-item:hover .blog-meta {
  color: #e5e7eb;
}

.blog-item:hover .blog-arrow {
  transform: translateX(10px);
  color: #a78bfa;
}

.blog-item:hover .hover-img {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(-2deg);
  right: 18%;
}

@media (max-width: 900px) {
  .blog-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .blog-meta,
  .blog-content,
  .blog-arrow {
    width: 100%;
  }

  .hover-img {
    display: none;
  }
}

.site-footer {
  background: #050507;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem 0 2rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
  justify-items: center;
}

.site-footer h4 {
  color: #ffffff;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer__social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.brand-col .logo {
  margin-bottom: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
  background: linear-gradient(90deg, #A78BFA, #60A5FA);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 300px;
}

.footer-col {
  text-align: left;
}

.brand-col {
  text-align: center;
}

.brand-col .footer-desc {
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.social-icon:hover {
  background: #fff;
  color: #000;
}

.footer-title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #A78BFA;
}

.footer-cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.footer-cta-btn:hover {
  background: #fff;
  color: #000;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.legal-links a:hover {
  color: #fff;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-col {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    order: -1;
    margin-right: auto;
  }

  .header-container {
    padding: 10px 20px;
  }

  /* Backdrop overlay with strong darkening */
  .nav-island {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
  }

  .nav-island.open {
    display: flex;
  }

  /* Glass popup wrapper */
  .nav-island > * {
    position: relative;
    z-index: 10;
  }

  /* Create glass container background */
  .nav-island::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    height: auto;
    min-height: 450px;
    max-height: 85vh;
    background: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      0 0 45px rgba(157, 0, 255, 0.8),
      0 20px 50px rgba(0, 0, 0, 0.5),
      inset 0 0 30px rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 1;
  }

  /* Glow effects */
  .nav-island::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.35) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 2;
  }

  .nav-island .nav-link {
    position: relative;
    z-index: 10;
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 1.1rem 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 0.4rem auto;
    text-decoration: none;
  }

  .nav-island .nav-link:hover,
  .nav-island .nav-link:focus {
    color: #ffffff;
    background: rgba(157, 0, 255, 0.2);
    transform: translateX(8px);
  }

  .nav-island .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet));
    border-radius: 2px;
    transition: height 0.3s ease;
  }

  .nav-island .nav-link:hover::before {
    height: 75%;
  }

  @media (max-width: 550px) {
    .nav-island::before {
      width: 95%;
      min-height: 400px;
    }

    .nav-island .nav-link {
      font-size: 1.25rem;
      padding: 1rem 1.5rem;
    }
  }

  .header-right .glow-btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  .header__actions .btn {
    display: none;
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile {
    min-height: 240px;
  }

  .panel--dark,
  .panel--light {
    text-align: left;
  }

  .timeline li {
    padding-left: 1.5rem;
  }

  .timeline li::before {
    left: 0;
  }

  .timeline li::after {
    left: 0.55rem;
  }

  .cta-row {
    justify-content: flex-start;
  }
}

/* Отрасли, награды, куки-баннер */

.industries-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: flex-start;
  text-align: left;
}

.industries-grid > div:first-child {
  align-self: center;
  transform: translateY(20px);
}

#industries h2 {
  text-align: center;
  margin-top: 0.75rem;
}

#industries .intro {
  text-align: center;
  margin-top: 1.25rem;
}

#industries .eyebrow {
  text-align: center;
}

.industries-more {
  margin-top: 2.75rem;
  color: #ffffff;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.industry-tag {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: default;
}

.industry-tag__count {
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(106, 13, 173, 0.24);
  color: #fff;
  font-size: 0.75rem;
}

.clients-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-start;
  align-items: center;
  color: var(--color-muted);
}

.clients-line span {
  opacity: 0.65;
  transition: opacity 0.25s, transform 0.25s;
}

.clients-line span:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.gallery-container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  perspective: 1000px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.75rem;
  transform: rotateX(10deg) rotateY(-14deg);
  transform-style: preserve-3d;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050509;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) grayscale(0.2);
  transition: filter 0.3s ease, transform 0.5s ease;
}

.gallery-label {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  z-index: 2;
  pointer-events: none;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(156, 81, 255, 0.4), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}

.gallery-item:hover {
  transform: translateY(-6px) translateZ(24px);
  border-color: #9d00ff;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(157, 0, 255, 0.7);
}

.gallery-item:hover img {
  filter: brightness(1) grayscale(0);
  transform: scale(1.08);
}

.gallery-item--active {
  transform: translateY(-6px) translateZ(24px);
  border-color: #9d00ff;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(157, 0, 255, 0.7);
}

.gallery-item--active img {
  filter: brightness(1) grayscale(0);
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .gallery-container {
    max-width: 100%;
    margin: 2rem auto 0;
  }

  .gallery-grid {
    transform: none;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  
  .gallery-label {
    font-size: 0.85rem;
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
}

@media (max-width: 400px) {
  .gallery-grid {
    gap: 0.4rem;
  }
  
  .gallery-label {
    font-size: 0.75rem;
  }
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.award-card {
  position: relative;
  padding: 1.8rem 1.6rem 1.9rem;
  border-radius: 1.9rem;
  border: 1px solid var(--color-border);
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 55%),
    #151521;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out,
    background 0.25s ease-out;
  overflow: hidden;
}

.award-card::before {
  content: '';
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 25% 0%, rgba(138, 43, 226, 0.7) 0%, transparent 60%);
  opacity: 0.55;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.award-card .sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.award-card .spark {
  position: absolute;
  background: #ffffff;
  width: 2px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: twinkle 3s infinite ease-in-out;
}

.award-card .spark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 2px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1) rotate(45deg);
  }

  100% {
    opacity: 0;
    transform: scale(0) rotate(90deg);
  }
}

.award-card .spark.s1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.award-card .spark.s2 {
  top: 70%;
  left: 80%;
  animation-delay: 1.5s;
}

.award-card .spark.s3 {
  top: 30%;
  left: 70%;
  transform: scale(0.6);
  animation-delay: 2.5s;
}

.award-card__visual,
.award-card p {
  position: relative;
  z-index: 2;
}

.award-card__number {
  font-size: clamp(2.7rem, 4vw, 3.4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-accent-strong), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.award-card__visual {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 1rem;
}

.award-card__ring {
  width: 100%;
  height: 100%;
}

.award-card__ring-bg {
  fill: transparent;
  stroke: transparent;
  stroke-width: 0;
}

.award-card__ring-progress {
  fill: transparent;
  stroke: transparent;
  stroke-width: 0;
  stroke-linecap: round;
  stroke-dasharray: 301;
  stroke-dashoffset: 301;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

@media (max-width: 1024px) {
  .awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .awards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.award-card__number-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.award-card__suffix {
  font-size: 1.3rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-accent-strong), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.award-card p {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  color: #f9fafb;
}

.award-card__tooltip {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #f9fafb;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.25s ease-out, max-height 0.25s ease-out;
}

.award-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(138, 43, 226, 0.88);
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.32), transparent 55%),
    #181829;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.9);
}

.award-card:hover::before {
  opacity: 1;
  transform: scale(1.04);
}

.award-card:hover .award-card__number {
  text-shadow: 0 0 22px rgba(129, 140, 248, 0.9);
}

.award-card:hover .award-card__tooltip {
  opacity: 1;
  max-height: 120px;
}

.award-card.is-active .award-card__ring-progress {
  animation: awardRingFill 1.2s ease-out forwards;
}

@keyframes awardRingFill {
  to {
    stroke-dashoffset: calc(301 * (1 - var(--ring-value, 1)));
  }
}

.cookie-banner {
  position: fixed;
  inset-inline: 1.5rem;
  bottom: 1.5rem;
  z-index: 10001;
  max-width: 520px;
  padding: 1.25rem 1.5rem;
  border-radius: 999px;
  background: rgba(8, 8, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.cookie-banner__text {
  flex: 1 1 220px;
  color: var(--color-muted);
}

.cookie-banner__link {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-banner__btn {
  flex: 0 0 auto;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-strong));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cookie-banner__btn:hover {
  opacity: 0.9;
}

.cookie-banner--hidden {
  display: none !important;
}

@media (max-width: 600px) {
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .industries-grid > div:first-child {
    transform: none;
  }
  
  .industries-grid h2 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .industries-grid .intro {
    font-size: 0.95rem;
  }

  .cookie-banner {
    border-radius: 20px;
    inset-inline: 1rem;
  }

  .service-slider {
    padding-top: 4.5rem;
  }

  .service-slider__card {
    border-radius: 26px;
  }

  .service-slider__nav--prev {
    left: 0.5rem;
  }

  .service-slider__nav--next {
    right: 0.5rem;
  }
}

.service-slider__visual.reveal {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.service-slider__visual.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.service-slider__content.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.28s ease-out, transform 0.28s ease-out;
  transition-delay: 0.08s;
}

.service-slider__content.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.service-slider.is-fading .service-slider__visual,
.service-slider.is-fading .service-slider__content {
  opacity: 0;
  transform: translateY(6px);
}


@media (max-width: 600px) {
  .step-card {
    padding: 1.5rem;
  }

  .tile {
    padding: 1.75rem;
  }

  .cta-form {
    grid-template-columns: 1fr;
  }
}

.blog-page {
  background: #050509;
  color: #f5f5f7;
}

.blog-page .panel {
  background: transparent;
}

.blog-hero-panel {
  padding-top: clamp(5.5rem, 9vw, 6.5rem);
  padding-bottom: 2.5rem;
}

.blog-hero {
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.blog-hero h1 {
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.blog-hero__subtitle {
  max-width: 720px;
  color: #9c9cad;
  font-size: 1.05rem;
  line-height: 1.6;
}

.blog-categories-panel {
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
  background: #050509;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.blog-categories {
  overflow-x: auto;
}

.blog-tabs {
  position: relative;
  display: inline-flex;
  gap: 0.75rem;
  min-width: min(100%, max-content);
  padding: 0.25rem 0 0.75rem;
}

.blog-tabs__indicator {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-strong));
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
  transition: transform 0.22s ease-out, width 0.22s ease-out, height 0.22s ease-out;
  z-index: 0;
}

.blog-tab {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--color-muted);
  border-radius: 999px;
  padding: 0.45rem 1.4rem;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease-out, border-color 0.2s ease-out, background 0.2s ease-out,
    box-shadow 0.2s ease-out, transform 0.12s ease-out;
}

.blog-tab:hover,
.blog-tab:focus-visible {
  color: #f5f5f7;
  border-color: rgba(124, 58, 237, 0.7);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.4);
}

.blog-tab:active {
  transform: scale(0.97);
}

.blog-tab.is-active {
  color: #ffffff;
}

.blog-list-panel {
  padding-top: 2.5rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.blog-list--cases {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3rem;
}

.blog-list.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.blog-list__actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.blog-load-more.is-hidden {
  display: none;
}

.blog-card {
  position: relative;
  background: #0b0b12;
  border-radius: 18px;
  border: 1px solid #1a1a22;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s ease-out,
    background 0.22s ease-out, opacity 0.18s ease-out;
  cursor: pointer;
}

.blog-card--case {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.blog-card--case .blog-card__link {
  padding: 0;
}

.blog-card--case .blog-card__image {
  border-radius: 24px;
  margin-bottom: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
}

.blog-card--case .blog-card__badge {
  margin-bottom: 0.4rem;
}

.blog-card--case .blog-card__title {
  font-size: 1.2rem;
}

.blog-card--case .blog-card__excerpt {
  max-width: 32rem;
}

.blog-card--featured {
  grid-column: span 3;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
  border-color: rgba(124, 58, 237, 0.7);
  background: #11111a;
}

.blog-card:active {
  transform: translateY(0) scale(0.98);
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 1.1rem 1.3rem;
  height: 100%;
  text-align: left;
}

.blog-card__image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #1c1c24;
  aspect-ratio: 16 / 9;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 0% 0%,
      rgba(124, 58, 237, 0.6),
      transparent 50%
    ),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 255, 0.4), transparent 55%);
  background-color: #1c1c24;
  color: #9c9cad;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
    'Courier New', monospace;
}

.blog-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #ede9fe;
  background: rgba(139, 92, 255, 0.16);
}

.blog-card__title {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0.25rem 0 0.1rem;
  color: #f9fafb;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-card__title {
  color: var(--color-accent-strong);
}

.blog-card__excerpt {
  margin: 0.1rem 0 0.35rem;
  font-size: 0.9rem;
  color: #9c9cad;
  line-height: 1.6;
}

.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.blog-card__tag {
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.7rem;
  color: #e5e7eb;
}

.blog-card__meta {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #a1a1aa;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-telegram-panel {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.blog-telegram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2rem 2.25rem;
  border-radius: 24px;
  background: radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.4), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.9), #050509);
  border: 1px solid rgba(139, 92, 255, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.blog-telegram__content h2 {
  margin-bottom: 0.4rem;
}

.blog-telegram__content p {
  margin: 0;
  color: #e5e7eb;
}

.blog-telegram__button {
  flex-shrink: 0;
}

.blog-cta-panel {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.blog-cta {
  padding: 2.5rem 2.75rem;
  border-radius: 32px;
  background: radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.32), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.98), #050509);
  border: 1px solid rgba(124, 58, 237, 0.5);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.95);
}

.blog-cta__content {
  max-width: 720px;
}

.blog-cta__content p {
  color: #e5e7eb;
}

.blog-cta__actions {
  margin-top: 1.5rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-cta .btn--link {
  color: #e5e7eb;
}

@media (max-width: 1199px) {
  .blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .blog-hero-panel {
    padding-top: 4.75rem;
  }

  .blog-hero h1 {
    font-size: 2.1rem;
  }

  .blog-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-card--featured {
    grid-column: span 1;
  }

  .blog-telegram,
  .blog-cta {
    padding: 1.75rem 1.6rem;
  }
}

@media (max-width: 480px) {
  .blog-tabs {
    gap: 0.5rem;
  }

  .blog-tab {
    padding-inline: 1rem;
  }

  .blog-hero__subtitle {
    font-size: 0.98rem;
  }
}

:root {
  --bg-main: #0a0a0f;
  --neon-purple: #9d00ff;
  --neon-cyan: #00d2ff;
  --text-muted: #a0a0a0;
  --glass: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);
}

.cases-section {
  background-color: var(--bg-main);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cases-section .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.cases-section .section-title {
  text-align: center;
  margin: 0 0 8px;
}

.cases-link {
  display: block;
  text-align: center;
  margin: 40px 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.cases-link:hover,
.cases-link:focus-visible {
  color: #ffffff;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.fade {
  animation: fadeAnim 0.6s ease-in-out;
}

@keyframes fadeAnim {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 500px;
}

.visual-col {
  height: 450px;
  width: 100%;
  background-color: #1a1a20;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s;
}

.visual-col:hover {
  transform: scale(1.02);
  border-color: var(--neon-purple);
}

.info-col {
  padding-right: 40px;
}

.kicker {
  display: block;
  color: var(--neon-cyan);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.case-title {
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 24px 0;
  font-weight: 700;
}

.case-metric {
  display: inline-flex;
  flex-direction: column;
  border-left: 4px solid var(--neon-purple);
  padding-left: 20px;
  margin-bottom: 30px;
}

.metric-val {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
}

.metric-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.case-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 30px;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tags span {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--glass);
  font-size: 14px;
  color: #fff;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev-btn {
  left: -80px;
}

.next-btn {
  right: -80px;
}

/* Стрелки слайдера в блоке "Портфолио" — круглые и дальше от слайда */
.cases-section .nav-btn {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
}

.cases-section .prev-btn {
  left: -110px;
}

.cases-section .next-btn {
  right: -110px;
}

/* Навигационные стрелки слайдера кейсов: кнопка не двигается, анимируется только иконка */
.cases-section .nav-btn:hover,
.cases-section .nav-btn:focus-visible {
  transform: translateY(-50%);
}

.cases-section .nav-btn svg {
  transition: transform 0.3s ease;
}

.cases-section .prev-btn:hover svg,
.cases-section .prev-btn:focus-visible svg {
  transform: translateX(-4px);
}

.cases-section .next-btn:hover svg,
.cases-section .next-btn:focus-visible svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .nav-btn {
    display: none;
  }

  .slide-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .visual-col {
    height: 250px;
  }

  .case-title {
    font-size: 32px;
  }

  .info-col {
    padding-right: 0;
  }
}

.comparison-section {
  background-color: var(--bg-main);
  padding: 100px 20px;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
}

.comparison-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.comp-header {
  text-align: center;
  margin-bottom: 60px;
}

.comp-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 20px 0;
}

.vs-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 1.5rem;
  color: #777777;
  vertical-align: middle;
  margin: 0 14px;
}

/* ГРАДИЕНТ ДЛЯ ТЕКСТА (Более светлый и неоновый) */
.text-gradient {
  /* Градиент от яркого фиолетового к светло-голубому */
  background: linear-gradient(90deg, #b24dff 0%, #00eaff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  /* Добавляем свечение, чтобы буквы "горели" */
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.comp-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.comparison-table {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 10px;
  transition: all 0.3s ease;
}

.comp-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.comp-col {
  padding: 28px;
  border-radius: 16px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.comp-col.old {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.comp-row:hover .comp-col.old {
  opacity: 0.4;
}

.comp-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  flex-shrink: 0;
}

.comp-icon.cross {
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.12);
}

.comp-col.new {
  background: linear-gradient(90deg, rgba(157, 0, 255, 0.05) 0%, rgba(0, 210, 255, 0.05) 100%);
  border: 1px solid rgba(157, 0, 255, 0.18);
}

.comp-icon.check {
  color: var(--neon-cyan);
  background: rgba(0, 210, 255, 0.16);
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.4);
}

.comp-content h3 {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.comp-content p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #b0b0b0;
}

/* MINIMAL VALUES SECTION */
.minimal-values-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: transparent;
}

.minimal-values-section .container {
  position: relative;
  z-index: 1;
}

.star-dust {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.star-dust i {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: twinkleStar 4s infinite ease-in-out;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

@keyframes twinkleStar {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

/* Группа 1: Фиолетовые (Accent Violet) */
.star-dust i:nth-child(1) { top: 10%; left: 5%; width: 2px; height: 2px; background: #9d00ff; box-shadow: 0 0 6px #9d00ff; animation-delay: 0s; }
.star-dust i:nth-child(2) { top: 30%; left: 20%; width: 3px; height: 3px; background: #9d00ff; box-shadow: 0 0 8px #9d00ff; animation-delay: 1.5s; }
.star-dust i:nth-child(3) { top: 80%; left: 85%; width: 2px; height: 2px; background: #9d00ff; box-shadow: 0 0 6px #9d00ff; animation-delay: 3s; }
.star-dust i:nth-child(4) { top: 50%; left: 50%; width: 4px; height: 4px; background: #9d00ff; box-shadow: 0 0 10px #9d00ff; animation-delay: 0.5s; }

/* Группа 2: Голубые (Cyan) */
.star-dust i:nth-child(5) { top: 15%; left: 80%; width: 3px; height: 3px; background: #00d2ff; box-shadow: 0 0 8px #00d2ff; animation-delay: 2s; }
.star-dust i:nth-child(6) { top: 60%; left: 10%; width: 2px; height: 2px; background: #00d2ff; box-shadow: 0 0 6px #00d2ff; animation-delay: 0.8s; }
.star-dust i:nth-child(7) { top: 90%; left: 40%; width: 3px; height: 3px; background: #00d2ff; box-shadow: 0 0 8px #00d2ff; animation-delay: 2.5s; }

/* Группа 3: Белые (White) */
.star-dust i:nth-child(8) { top: 25%; left: 95%; width: 2px; height: 2px; animation-delay: 1.2s; }
.star-dust i:nth-child(9) { top: 70%; left: 30%; width: 2px; height: 2px; animation-delay: 3.5s; }
.star-dust i:nth-child(10) { top: 40%; left: 60%; width: 1px; height: 1px; animation-delay: 0.2s; }

/* Остальные рандомно */
.star-dust i:nth-child(11) { top: 5%; left: 40%; width: 2px; height: 2px; background: #9d00ff; box-shadow: 0 0 6px #9d00ff; animation-delay: 1.8s; }
.star-dust i:nth-child(12) { top: 85%; left: 15%; width: 3px; height: 3px; background: #00d2ff; box-shadow: 0 0 8px #00d2ff; animation-delay: 2.2s; }
.star-dust i:nth-child(13) { top: 55%; left: 75%; width: 2px; height: 2px; background: white; box-shadow: 0 0 5px white; animation-delay: 0.7s; }
.star-dust i:nth-child(14) { top: 20%; left: 65%; width: 2px; height: 2px; background: #9d00ff; box-shadow: 0 0 6px #9d00ff; animation-delay: 3.2s; }
.star-dust i:nth-child(15) { top: 75%; left: 55%; width: 3px; height: 3px; background: #00d2ff; box-shadow: 0 0 8px #00d2ff; animation-delay: 1s; }
.star-dust i:nth-child(16) { top: 35%; left: 90%; width: 2px; height: 2px; background: white; box-shadow: 0 0 5px white; animation-delay: 2.8s; }
.star-dust i:nth-child(17) { top: 65%; left: 25%; width: 2px; height: 2px; background: #9d00ff; box-shadow: 0 0 6px #9d00ff; animation-delay: 0.3s; }
.star-dust i:nth-child(18) { top: 45%; left: 8%; width: 3px; height: 3px; background: #00d2ff; box-shadow: 0 0 8px #00d2ff; animation-delay: 1.7s; }
.star-dust i:nth-child(19) { top: 12%; left: 48%; width: 2px; height: 2px; background: white; box-shadow: 0 0 5px white; animation-delay: 2.3s; }
.star-dust i:nth-child(20) { top: 88%; left: 70%; width: 2px; height: 2px; background: #9d00ff; box-shadow: 0 0 6px #9d00ff; animation-delay: 0.9s; }

.minimal-subtitle {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #9ca3af;
  text-align: center;
}

.section-header-center {
  text-align: center;
  margin-bottom: 60px;
}

.title-clean {
  font-size: 2.5rem;
  color: #ffffff;
  font-weight: 700;
}

.clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
 }

.clean-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* ОБНОВЛЕННЫЙ СТИЛЬ ДЛЯ ИКОНОК */
.clean-icon {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;

  /* Эффект стекла */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(157, 0, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden; /* Чтобы свет не вылезал за края */
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.3), inset 0 0 10px rgba(157, 0, 255, 0.1);
}

/* Внутреннее свечение (Glow Blob) */
.clean-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(157, 0, 255, 0.4) 0%, transparent 60%);
  opacity: 1;
  transform: scale(1) rotate(45deg);
  transition: all 0.5s ease;
  z-index: 0;
}

/* Сама SVG иконка */
.clean-icon svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  overflow: visible;
  filter: drop-shadow(0 0 5px rgba(157, 0, 255, 0.5)); /* Свечение линий */
  transition: transform 0.3s;
}

/* HOVER ЭФФЕКТЫ */
.clean-item:hover .clean-icon {
  border-color: var(--accent-violet);
  box-shadow: 0 0 30px rgba(157, 0, 255, 0.7), inset 0 0 16px rgba(157, 0, 255, 0.4);
  transform: translateY(-3px) scale(1.03);
}

.clean-item:hover .clean-icon::before {
  opacity: 1;
  transform: scale(1.15) rotate(60deg); /* Свет вращается при наведении */
  background: radial-gradient(circle, rgba(157, 0, 255, 0.7) 0%, transparent 60%);
}

.clean-item:hover .clean-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(157, 0, 255, 0.95)); /* Линии и свечение становятся ярко-фиолетовыми */
}

.clean-text h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.clean-text p {
  color: #888888;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .clean-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .comp-title {
    font-size: 2.2rem;
  }

  .comparison-section {
    padding: 72px 16px;
  }
}

@media (max-width: 768px) {
  .comp-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .comp-col.old {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px 16px 0 0;
  }

  .comp-col.new {
    border-radius: 0 0 16px 16px;
  }

  .vs-badge {
    display: none;
  }
}

@media (max-width: 600px) {
  .clean-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clean-item {
    align-items: flex-start;
  }
}

/* DARK GLASS URGENCY SECTION (Liquid Glass / Dark Glass Obelisk) */
.glass-urgency-section {
  background: #050505;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.glass-urgency-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Жидкий фон (размытое пятно) */
.liquid-bg {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(157, 0, 255, 0.15) 0%, transparent 60%);
  filter: blur(100px);
  z-index: 0;
  animation: floatBg 10s infinite alternate;
}

@keyframes floatBg {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.urgency-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* LEFT SIDE */
.urgency-left-glass {
  position: sticky;
  top: 150px;
}

.alert-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  border-radius: 50px;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.pulse-dot-white {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffffff;
  animation: pulseWhite 2s infinite;
}

@keyframes pulseWhite {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.4;
  }
}

.glass-title {
  font-size: 4.5rem;
  line-height: 0.95;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.glass-quote {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.quote-line {
  width: 2px;
  background: linear-gradient(to bottom, #ffffff, transparent);
}

.glass-quote p {
  color: #cccccc;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.4;
}

/* LIQUID BUTTON */
.glass-btn {
  position: relative;
  display: inline-block;
  padding: 20px 40px;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: 0.3s;
}

.liquid-hover {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.glass-btn:hover {
  border-color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.glass-btn:hover .liquid-hover {
  left: 100%;
}

/* RIGHT SIDE (TIMELINE) */
.glass-timeline {
  position: relative;
  padding-left: 40px;
}

/* Стеклянная трубка */
.timeline-line {
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to bottom, #9d00ff, transparent);
  box-shadow: 0 0 15px #9d00ff;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  margin-bottom: 30px;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s, border-color 0.4s, background 0.4s;
}

.glass-card:hover {
  transform: translateX(10px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.card-number {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 20px;
  right: 30px;
  line-height: 1;
}

.glass-card:hover .card-number {
  color: rgba(157, 0, 255, 0.2);
  transition: 0.3s;
}

.card-body h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0 0 15px 0;
  font-weight: 600;
}

.card-body p {
  color: #aaaaaa;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 90%;
}

@media (max-width: 900px) {
  .urgency-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .urgency-left-glass {
    position: static;
  }

  .glass-title {
    font-size: 3rem;
    -webkit-text-stroke: 0;
    color: #ffffff;
  }

  .glass-timeline {
    padding-left: 20px;
  }

  .timeline-line {
    display: none;
  }
}

/* NEON LINE DIVIDER SECTION ("Neon Line Message") */
.divider-section {
  padding: 80px 0;
  background: #050507;
  position: relative;
}

.divider-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.divider-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: left;
  position: relative;
}

.time-icon {
  color: #ffffff;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  animation: divider-spin 10s linear infinite;
}

@keyframes divider-spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ЗАГОЛОВОК С ПРАВИЛЬНЫМ ГРАДИЕНТОМ */
.divider-title {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  letter-spacing: -1px;
  color: #ffffff;
}

/* GLITCH EFFECT при наведении на заголовок */
.divider-title:hover .text-gradient {
  animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
  color: #00d2ff;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

.divider-text {
  font-size: 1.1rem;
  color: #a0a0a0;
  max-width: 400px;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 20px;
}

.divider-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  opacity: 0.7;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .divider-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .divider-title {
    white-space: normal;
  }

  .divider-text {
    border-left: none;
    padding-left: 0;
  }
}

/* --- CTA GLASS FORM (ЖИДКОЕ СТЕКЛО) --- */
/* Убираем старый фон контейнера, если был */
.glass-form-container {
  position: relative;
  margin-top: 60px;
}

.glass-form-container::before {
  content: none;
}

.glass-form-container::after {
  content: none;
}

.glass-form-container .form-background-glow {
  display: none;
}

.glass-form-container > * {
  position: relative;
  z-index: 1;
}

.urgency-section {
  padding: 4rem 0;
  background: var(--bg-dark);
}

.urgency-section .shell {
  max-width: 960px;
}

.urgency-container {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 2.5rem;
  row-gap: 0.5rem;
  align-items: center;
  justify-content: center;
  text-align: left;
  width: 100%;
}

.urgency-header {
  display: contents;
}

.urgency-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  grid-column: 1;
  grid-row: 1;
  color: #fff;
}

.urgency-highlight {
  color: #fff;
}

.urgency-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 600px;
  text-align: left;
  grid-column: 1;
  grid-row: 2;
}

.urgency-action {
  margin-top: 0;
  align-self: center;
  transform: none;
}

.urgency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.urgency-btn svg {
  display: block;
}

@media (max-width: 768px) {
  .urgency-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .urgency-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .urgency-description {
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .urgency-section {
    padding: 3rem 0;
  }
}

/* Сама форма - КУСОК СТЕКЛА */
.glass-form {
  position: relative;
  z-index: 10;

  /* 1. База: почти прозрачная */
  background: rgba(20, 20, 30, 0.4);

  /* 2. Мощное размытие (Frosted Glass) */
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);

  /* 3. Границы: Сверху светлее (блик), снизу темнее */
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.2);

  /* 4. Тени: Создают объем и глубину */
  box-shadow:
    0 0 45px rgba(157, 0, 255, 0.8),
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 0 30px rgba(255, 255, 255, 0.02);

  padding: 50px;
  overflow: hidden; /* Чтобы блики не вылезали */
}

/* 5. Жидкое пятно света ВНУТРИ формы (Ambiance) */
.glass-form::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(157, 0, 255, 0.25) 0%, transparent 60%);
  filter: blur(80px); /* Мягкое свечение */
  pointer-events: none;
  z-index: -1;
}

/* 6. Еще одно пятно (Циан) снизу слева для перелива */
.glass-form::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(157, 0, 255, 0.25) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.glass-form .input-group {
  margin-bottom: 25px;
}

.glass-form .input-group label {
  display: block;
  color: #ffffff;
  font-size: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.glass-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px;
  padding: 16px 20px;
  color: #ffffff;
  font-size: 16px;
  transition: 0.3s;
  /* Внутренняя тень создаёт эффект вдавливания */
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.glass-input:focus {
  background: rgba(0, 0, 0, 0.5) !important;
  border-color: var(--accent-violet) !important;
  box-shadow: 0 0 15px rgba(157, 0, 255, 0.2), inset 0 2px 5px rgba(0, 0, 0, 0.5);
  outline: none;
}

.glass-input.textarea {
  min-height: 120px;
  resize: vertical;
}

.glass-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.glass-form .form-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.glass-form .attach-btn {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: #aaa;
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
}

.glass-form .attach-btn:hover {
  border-color: var(--accent-violet);
  color: var(--accent-violet);
  background: rgba(157, 0, 255, 0.08);
}

.submit-glass-btn {
  background: linear-gradient(90deg, rgba(157, 0, 255, 0.8), rgba(157, 0, 255, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  white-space: nowrap;
  text-align: center;
}

.submit-glass-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.5s ease;
}

.submit-glass-btn:hover {
  background: linear-gradient(90deg, #9d00ff, #bc55ff);
  box-shadow: 0 0 30px rgba(157, 0, 255, 0.5);
  transform: translateY(-2px);
}

.submit-glass-btn:hover::before {
  left: 100%;
}

.glass-form .checkbox-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #ffffff;
}

.glass-form .checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #00d2ff; /* Ярко-голубая галочка */
  cursor: pointer;
}

.glass-form .checkbox-row label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  cursor: pointer;
}

@media (max-width: 600px) {
  .glass-form .form-row,
  .glass-form .form-footer {
    grid-template-columns: 1fr;
  }
}

.site-footer-horizontal {
  background: #050507;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  margin-top: 80px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo svg {
  height: 40px;
  width: auto;
  display: block;
}

.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.copyright {
  color: #555;
  font-size: 12px;
  margin-top: 8px;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-mini a {
  color: #229ED9;
  text-decoration: none;
  font-size: 14px;
  margin-right: 10px;
}

.social-mini a:hover {
  color: #3bc0ff;
}

.btn-footer {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-footer:hover {
  background: var(--accent-violet);
  border-color: var(--accent-violet);
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
}

.contacts-page {
  min-height: 100vh;
  padding: 10rem 0 6rem;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.contacts-page::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(
    circle,
    rgba(157, 0, 255, 0.15) 0%,
    rgba(0, 210, 255, 0.1) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 8s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.contacts-page .shell {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.business-card {
  position: relative;
  padding: 2.6rem 3rem 2.2rem;
  border-radius: 32px;
  background: #000000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: card-in 0.8s ease-out;
}

.business-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(157, 0, 255, 0.5) 0%,
    rgba(0, 210, 255, 0.5) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.business-card:hover::before {
  opacity: 1;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
 
.card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  margin-left: 0;
}

.card-logo {
  text-align: center;
  margin-bottom: 0;
  margin-left: 0;
  margin-top: -0.25rem;
}

.card-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 70px;
  margin: 0;
}

@keyframes logo-glow {
  0%,
  100% {
    filter:
      drop-shadow(0 0 10px rgba(157, 0, 255, 0.5))
      drop-shadow(0 0 20px rgba(0, 210, 255, 0.3));
  }
  50% {
    filter:
      drop-shadow(0 0 20px rgba(157, 0, 255, 0.8))
      drop-shadow(0 0 40px rgba(0, 210, 255, 0.6));
  }
}

.card-header {
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0;
  border-bottom: none;
}

.card-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-tagline {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.card-tagline-line {
  display: block;
  white-space: nowrap;
}

.card-contacts {
  display: flex;
  flex-direction: row;
  gap: 0;
  margin-bottom: 2rem;
  border-radius: 16px;
  overflow: hidden;
  background: #050505;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0;
  background: transparent;
  border-bottom: none;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  flex: 1 1 0;
}

.contact-item:last-child {
  border-right: none;
}

.contact-item:not(.contact-item--static):hover {
  background: rgba(255, 255, 255, 0.04);
  border-right-color: rgba(157, 0, 255, 0.5);
}

.contact-item--primary {
  background: rgba(157, 0, 255, 0.08);
  border: 1px solid rgba(157, 0, 255, 0.3);
  border-radius: 16px;
  margin-bottom: 0.5rem;
}

.contact-item--primary:hover {
  background: rgba(157, 0, 255, 0.15);
  border-color: rgba(157, 0, 255, 0.5);
  box-shadow: 0 10px 30px rgba(157, 0, 255, 0.3);
}

.contact-item--static {
  cursor: default;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: all 0.3s ease;
}

.contact-item--primary .contact-icon {
  color: var(--accent-violet);
  background: rgba(157, 0, 255, 0.1);
  border-color: rgba(157, 0, 255, 0.3);
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
}

.contact-item--primary:hover .contact-icon {
  box-shadow: 0 5px 15px rgba(157, 0, 255, 0.5);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-value {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 500;
}

.card-details {
  padding: 1.5rem 1.5rem 1.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.details-column {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.details-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.85rem;
  gap: 0.5rem;
  min-height: 2.8em;
}

.details-label {
  color: var(--text-muted);
  font-weight: 600;
  min-width: 120px;
  text-align: left;
  line-height: 1.4;
}

.details-value {
  color: var(--text-main);
  text-align: left;
  flex: 1;
  line-height: 1.4;
}

.card-cta {
  text-align: center;
}

.glow-btn--large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.glow-btn--large svg {
  transition: transform 0.3s ease;
}

.glow-btn--large:hover svg {
  transform: translateX(4px);
}

.contacts-footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contacts-footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contacts-page {
    padding: 8rem 0 4rem;
  }

  .business-card {
    padding: 2.5rem 2rem 2rem;
    border-radius: 24px;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .card-tagline {
    font-size: 1rem;
  }

  .card-top {
    margin-left: 0;
  }

  .card-logo {
    margin-left: 0;
  }

  .card-logo img {
    height: auto;
    max-height: 50px;
  }

  .contact-item {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-value {
    font-size: 1rem;
  }

  .card-details {
    flex-direction: column;
    gap: 1rem;
  }

  .details-column {
    width: 100%;
  }

  .details-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .details-value {
    text-align: left;
    font-size: 0.8rem;
  }

  .glow-btn--large {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .card-contacts {
    flex-direction: column;
    border-radius: 16px;
  }

  .contact-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .contact-item:last-child {
    border-bottom: none;
  }
}

/* ============================================
   TELEGRAM CTA СЕКЦИЯ
   ============================================ */

.telegram-cta-section {
  padding: 4rem 0;
  margin-top: -3rem;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* Фоновое свечение */
.telegram-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(42, 171, 238, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 8s ease-in-out infinite;
}

.telegram-cta-section .shell {
  position: relative;
  z-index: 1;
}

/* ============================================
   КОНТЕЙНЕР
   ============================================ */

.telegram-cta-container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;

  padding: 2.25rem 2.5rem;
  border-radius: 32px;

  /* Glassmorphism фон */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ============================================
   ЛЕВАЯ ЧАСТЬ: ИКОНКА TELEGRAM
   ============================================ */

.telegram-icon-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Свечение под иконкой */
.telegram-icon-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(42, 171, 238, 0.6) 0%,
    rgba(34, 158, 217, 0.3) 40%,
    transparent 70%
  );
  filter: blur(50px);
  animation: telegram-glow-pulse 4s ease-in-out infinite;
}

@keyframes telegram-glow-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* 3D иконка */
.telegram-icon-3d {
  position: relative;
  z-index: 2;
  animation: telegram-float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(42, 171, 238, 0.5));
  transition: transform 0.3s ease;
}

.telegram-icon-3d:hover {
  transform: scale(1.1) rotate(5deg);
}

@keyframes telegram-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Плавающие частицы */
.telegram-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  box-shadow: 0 0 20px rgba(42, 171, 238, 0.8);
  animation: particle-float 4s ease-in-out infinite;
}

.particle-1 {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.particle-2 {
  top: 70%;
  left: 10%;
  animation-delay: 1s;
}

.particle-3 {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.particle-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
}

@keyframes particle-float {
  0%, 100% {
    transform: translateY(0px);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-30px);
    opacity: 1;
  }
}

/* ============================================
   ПРАВАЯ ЧАСТЬ: КОНТЕНТ
   ============================================ */

.telegram-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Бейдж */
.telegram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;

  background: rgba(42, 171, 238, 0.15);
  border: 1px solid rgba(42, 171, 238, 0.3);
  color: #2AABEE;
}

.telegram-badge svg {
  color: #2AABEE;
}

/* Заголовок */
.telegram-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

/* Описание */
.telegram-description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.telegram-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ============================================
   КНОПКА
   ============================================ */

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;

  /* Градиент Telegram */
  position: relative;
  overflow: hidden;
}

/* Блик на кнопке */
.telegram-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.telegram-btn:hover::before {
  left: 100%;
}

.btn-icon,
.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.telegram-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================
   СТАТИСТИКА
   ============================================ */

.telegram-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);

  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(42, 171, 238, 0.1);
  border-color: rgba(42, 171, 238, 0.3);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 1024px) {
  .telegram-cta-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }

  .telegram-icon-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }

  .telegram-content {
    text-align: center;
    align-items: center;
  }

  .telegram-badge {
    margin: 0 auto;
  }

  .telegram-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .telegram-cta-section {
    padding: 4rem 0;
    margin-top: 0;
  }

  .telegram-cta-container {
    padding: 2rem 1.5rem;
  }

  .telegram-title {
    font-size: 1.5rem;
  }

  .telegram-description {
    font-size: 0.9rem;
  }

  .telegram-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-item {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .stat-icon {
    font-size: 1.5rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }
}

/* ============================================
   BRIEF SECTION
   ============================================ */

.brief-section {
  padding: 6rem 0;
  background: #0b0b0f;
}

.brief-section .section-header {
  margin-top: 1.5rem;
}

.brief-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.brief-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3rem;
}

/* ============================================
   CONTAINER (GLASS)
   ============================================ */

.brief-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.brief-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(157, 0, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.brief-progress {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #9d00ff, #00d2ff);
  border-radius: 10px;
  transition: width 0.4s ease;
  box-shadow: 
    0 0 10px rgba(157, 0, 255, 0.5),
    0 0 20px rgba(0, 210, 255, 0.3),
    0 0 30px rgba(157, 0, 255, 0.2);
  animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
  0% {
    box-shadow: 
      0 0 10px rgba(157, 0, 255, 0.5),
      0 0 20px rgba(0, 210, 255, 0.3),
      0 0 30px rgba(157, 0, 255, 0.2);
  }
  100% {
    box-shadow: 
      0 0 15px rgba(157, 0, 255, 0.8),
      0 0 30px rgba(0, 210, 255, 0.5),
      0 0 45px rgba(157, 0, 255, 0.4);
  }
}

.progress-text {
  text-align: right;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   STEPS & FORM
   ============================================ */

.brief-form {
  position: relative;
  z-index: 2;
  min-height: 300px;
}

.brief-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.brief-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-question {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.step-hint {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* ============================================
   OPTIONS (BUTTONS)
   ============================================ */

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.options-grid--simple {
  grid-template-columns: repeat(2, 1fr);
}

.option-card input[type='radio'] {
  display: none;
}

.option-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option-icon {
  font-size: 1.5rem;
}

.option-title {
  font-weight: 600;
  color: #fff;
}

.option-content:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.option-card input[type='radio']:checked + .option-content {
  background: rgba(157, 0, 255, 0.2);
  border-color: #9d00ff;
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.2);
}

/* ============================================
   INPUTS & TEXTAREA
   ============================================ */

.input-wrapper textarea,
.inputs-row input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-wrapper textarea {
  height: 120px;
  resize: vertical;
}

.input-wrapper textarea:focus,
.inputs-row input:focus {
  outline: none;
  border-color: #00d2ff;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* ============================================
   NAVIGATION & BUTTONS
   ============================================ */

.brief-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.brief-navigation .nav-btn {
  position: static;
  top: auto;
  transform: none;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brief-navigation .nav-btn--prev:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.submit-brief-btn {
  width: 100%;
  font-weight: 700;
  font-size: 1.1rem;
}

.privacy-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .brief-container {
    padding: 1.5rem;
  }

  .options-grid,
  .inputs-row {
    grid-template-columns: 1fr;
  }
}

.brief-section .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.brief-section .full-width {
  grid-column: 1 / -1;
}

.brief-section .input-group label {
  display: block;
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.brief-section .input-group input,
.brief-section .input-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
  color: #fff;
  font-size: 0.95rem;
}

.brief-section .input-group textarea {
  height: 100px;
  resize: vertical;
}

.brief-section .input-group input:focus,
.brief-section .input-group textarea:focus {
  border-color: #9d00ff;
  outline: none;
  background: rgba(0, 0, 0, 0.5);
}

.brief-section .section-label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #fff;
}

.brief-section .checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.brief-section .checkbox-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.brief-section .checkbox-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.brief-section .checkbox-card input {
  margin-right: 10px;
  accent-color: #9d00ff;
  width: 18px;
  height: 18px;
}

.brief-section .checkbox-card span {
  color: #fff;
  font-size: 0.9rem;
}

.brief-section .step-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.brief-section .subsection-title {
  grid-column: 1 / -1;
  font-size: 1.2rem;
  color: #a78bfa;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.brief-section .mt-4 {
  margin-top: 2rem;
}

.brief-section .contacts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.brief-section .contact-block h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: #fff;
}

.brief-section .contact-block.secondary h4 {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .brief-section .form-grid {
    grid-template-columns: 1fr;
  }
}

.modules-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.modules-section .section-header {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 880px;
}

.modules-section .section-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.modules-section .section-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.modules-section .modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.modules-section .module-card {
  position: relative;
  padding: 26px 26px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.modules-section .module-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.35);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(157, 0, 255, 0.16), 0 0 42px rgba(0, 210, 255, 0.12);
}

.modules-section .card-glow {
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(0, 210, 255, 0.22), transparent 60%),
    radial-gradient(520px 220px at 80% 20%, rgba(157, 0, 255, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 0;
}

.modules-section .module-card:hover .card-glow {
  opacity: 1;
}

.modules-section .icon-box {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.18);
  box-shadow: 0 10px 28px rgba(0, 210, 255, 0.10);
  margin-bottom: 14px;
}

.modules-section .module-card:hover .icon-box {
  color: var(--primary);
  border-color: rgba(157, 0, 255, 0.35);
  background: rgba(157, 0, 255, 0.10);
  box-shadow: 0 10px 30px rgba(157, 0, 255, 0.16);
}

.modules-section .module-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.2px;
}

.modules-section .module-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.modules-section .module-list {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.modules-section .module-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.modules-section .module-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.25);
}

@media (max-width: 1024px) {
  .modules-section .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .modules-section {
    padding: 70px 0;
  }

  .modules-section .modules-grid {
    grid-template-columns: 1fr;
  }

  .modules-section .module-card {
    padding: 22px 18px 18px;
  }
}

 .btn--glass {
   background: rgba(255, 255, 255, 0.06);
   border: 1px solid rgba(255, 255, 255, 0.18);
   color: rgba(255, 255, 255, 0.92);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
 }

 .btn--glass:hover,
 .btn--glass:focus-visible {
   box-shadow: 0 0 0 1px rgba(0, 210, 255, 0.18), 0 18px 34px rgba(0, 210, 255, 0.22);
 }

 .btn--cyber {
   background: linear-gradient(90deg, rgba(0, 210, 255, 0.85), rgba(157, 0, 255, 0.75));
   border: 1px solid rgba(255, 255, 255, 0.22);
   color: #ffffff;
   box-shadow: 0 14px 36px rgba(0, 210, 255, 0.18);
 }

 .btn--cyber:hover,
 .btn--cyber:focus-visible {
   background: linear-gradient(90deg, rgba(0, 210, 255, 1), rgba(157, 0, 255, 1));
   box-shadow: 0 0 30px rgba(0, 210, 255, 0.35), 0 0 40px rgba(157, 0, 255, 0.25);
 }

 .mobile-hero {
   overflow: hidden;
   text-align: left;
 }

 .mobile-hero .star-dust {
   opacity: 0.7;
 }

 .mobile-hero__grid {
   position: relative;
   z-index: 1;
   width: min(1320px, 92vw);
   margin: 0 auto;
   display: grid;
   grid-template-columns: 1.15fr 0.85fr;
   gap: 3.25rem;
   align-items: center;
 }

 .mobile-hero__content h1 {
   max-width: 18ch;
 }

 .mobile-hero__content .intro {
   max-width: 60ch;
   margin-inline: 0;
 }

 .mobile-hero__content .cta-row {
   justify-content: flex-start;
 }

 .mobile-hero__visual {
   position: relative;
   min-height: 520px;
   border-radius: 28px;
   border: 1px solid rgba(255, 255, 255, 0.14);
   background:
     radial-gradient(circle at 30% 20%, rgba(0, 210, 255, 0.16), transparent 55%),
     radial-gradient(circle at 70% 70%, rgba(157, 0, 255, 0.16), transparent 58%),
     rgba(255, 255, 255, 0.02);
   backdrop-filter: blur(14px);
   -webkit-backdrop-filter: blur(14px);
   box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
   overflow: hidden;
 }

 .mobile-hero__cover {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center;
   display: block;
 }

 .mobile-hero__visual::before {
   content: '';
   position: absolute;
   inset: -40%;
   background: conic-gradient(
     from 140deg,
     rgba(0, 210, 255, 0),
     rgba(0, 210, 255, 0.24),
     rgba(157, 0, 255, 0.24),
     rgba(0, 210, 255, 0)
   );
   filter: blur(28px);
   opacity: 0.7;
   animation: mobileHeroSpin 10s linear infinite;
   pointer-events: none;
 }

 .mobile-hero__visual-grid {
   position: absolute;
   inset: 0;
   background-image:
     linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
     linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
   background-size: 40px 40px;
   transform: perspective(900px) rotateX(60deg);
   transform-origin: center;
   opacity: 0.45;
 }

 .mobile-hero__visual-charts {
   position: absolute;
   inset: 14% 8% 20% 8%;
   border-radius: 22px;
   border: 1px solid rgba(255, 255, 255, 0.12);
   background: rgba(0, 0, 0, 0.22);
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   opacity: 0.75;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .mobile-hero__visual-charts svg {
   width: 100%;
   height: 100%;
   padding: 18px;
 }

 .mobile-hero__phone {
   position: absolute;
   right: -6%;
   bottom: -10%;
   width: min(380px, 62%);
   transform: perspective(1000px) rotateY(-22deg) rotateX(12deg) translateZ(20px);
   filter:
     drop-shadow(0 0 18px rgba(0, 210, 255, 0.28))
     drop-shadow(0 0 34px rgba(157, 0, 255, 0.22))
     drop-shadow(0 30px 80px rgba(0, 0, 0, 0.6));
   opacity: 0.92;
 }

 @keyframes mobileHeroSpin {
   0% {
     transform: rotate(0deg);
   }
   100% {
     transform: rotate(360deg);
   }
 }

 .mobile-stack {
   text-align: left;
 }

 .mobile-pipeline {
   text-align: left;
 }

 .pipeline {
   position: relative;
   margin-top: 3rem;
   display: grid;
   gap: 1.25rem;
 }

 .pipeline-step {
   position: relative;
   width: 100%;
   padding-left: 3.25rem;
   border: 1px solid rgba(255, 255, 255, 0.08);
 }

 .pipeline-step::before {
   content: '';
   position: absolute;
   left: 1.2rem;
   top: 2.1rem;
   width: 14px;
   height: 14px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.14);
   box-shadow: 0 0 0 10px rgba(0, 210, 255, 0.08);
   transition: background 0.3s ease, box-shadow 0.3s ease;
 }

 .pipeline-step::after {
   content: '';
   position: absolute;
   left: 1.86rem;
   top: 2.8rem;
   bottom: -1.25rem;
   width: 2px;
   background: linear-gradient(180deg, rgba(0, 210, 255, 0.12), rgba(157, 0, 255, 0.12));
 }

 .pipeline-step:last-child::after {
   display: none;
 }

 .pipeline-step.reveal.is-visible::before {
   background: linear-gradient(90deg, rgba(0, 210, 255, 0.95), rgba(157, 0, 255, 0.95));
   box-shadow: 0 0 0 10px rgba(0, 210, 255, 0.14), 0 0 24px rgba(157, 0, 255, 0.22);
 }

 .pipeline-step__num {
   display: inline-flex;
   font-weight: 900;
   letter-spacing: 0.18em;
   font-size: 0.78rem;
   color: rgba(255, 255, 255, 0.55);
   text-transform: uppercase;
 }

 .pipeline-step__title {
   margin: 0.35rem 0 0.6rem;
 }

 .pipeline-step__text {
   margin: 0;
   color: rgba(255, 255, 255, 0.74);
   line-height: 1.7;
 }

 .workflow-section {
   padding: 5rem 0;
   background: var(--bg-dark);
   position: relative;
   overflow: hidden;
 }

 .workflow-section::before {
   content: '';
   position: absolute;
   top: 20%;
   left: 50%;
   transform: translateX(-50%);
   width: 800px;
   height: 800px;
   background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
   pointer-events: none;
   z-index: 0;
 }

 .workflow-section .shell {
   position: relative;
   z-index: 1;
   max-width: 900px;
 }

 .workflow-section .section-header {
   text-align: center;
   max-width: 720px;
   margin: 0 auto 3.5rem;
 }

 .workflow-section .section-header h2 {
   font-size: clamp(2.2rem, 4vw, 3rem);
   color: var(--text-main);
   margin-bottom: 1rem;
 }

 .workflow-section .section-header .intro {
   font-size: 1.1rem;
   color: var(--text-muted);
   line-height: 1.7;
 }

 .workflow-steps-compact {
   position: relative;
   display: flex;
   flex-direction: column;
   gap: 2rem;
 }

 .step-compact {
   display: flex;
   gap: 2rem;
   align-items: flex-start;
   position: relative;
 }

 .step-icon-wrapper {
   position: relative;
   flex-shrink: 0;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 0.75rem;
 }

 .step-icon {
   width: 80px;
   height: 80px;
   border-radius: 16px;
   background: rgba(255, 255, 255, 0.03);
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
   transition: all 0.3s ease;
 }

 .step-icon img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 12px;
   display: block;
 }

 .step-icon--violet {
   color: var(--accent-violet);
   border-color: rgba(157, 0, 255, 0.3);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(157, 0, 255, 0.3);
 }

 .step-icon--cyan {
   color: var(--accent-cyan);
   border-color: rgba(0, 210, 255, 0.3);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.3);
 }

 .step-compact:hover .step-icon,
 .step-compact.is-auto .step-icon {
   transform: scale(1.1) rotate(5deg);
   background: rgba(255, 255, 255, 0.06);
 }

 .step-compact:hover .step-icon--violet,
 .step-compact.is-auto .step-icon--violet {
   border-color: var(--accent-violet);
   box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(157, 0, 255, 0.6);
 }

 .step-compact:hover .step-icon--cyan,
 .step-compact.is-auto .step-icon--cyan {
   border-color: var(--accent-cyan);
   box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 210, 255, 0.6);
 }

 .step-text h3 {
   font-size: 1.5rem;
   font-weight: 700;
   color: var(--text-main);
   margin: 0 0 0.75rem;
   line-height: 1.2;
 }

 .step-text p {
   font-size: 0.95rem;
   line-height: 1.7;
   color: var(--text-muted);
   margin: 0;
 }

 .step-compact.reveal {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.6s ease, transform 0.6s ease;
 }

 .step-compact.reveal.is-visible {
   opacity: 1;
   transform: translateY(0);
 }

 .step-compact.reveal:nth-child(1) {
   transition-delay: 0.1s;
 }
 .step-compact.reveal:nth-child(2) {
   transition-delay: 0.2s;
 }
 .step-compact.reveal:nth-child(3) {
   transition-delay: 0.3s;
 }
 .step-compact.reveal:nth-child(4) {
   transition-delay: 0.4s;
 }

 @media (max-width: 768px) {
   .workflow-section {
     padding: 4rem 0;
   }

   .workflow-section .section-header {
     margin-bottom: 2.5rem;
   }

   .workflow-steps-compact {
     gap: 1.5rem;
     padding-left: 1.5rem;
   }

   .step-compact {
     flex-direction: column;
     gap: 1rem;
   }

   .step-icon-wrapper {
     flex-direction: row;
     gap: 1rem;
   }

   .step-icon {
     width: 64px;
     height: 64px;
   }

   .step-text h3 {
     font-size: 1.25rem;
   }

   .step-text p {
     font-size: 0.9rem;
   }
 }

 .mobile-tech {
   text-align: left;
 }

 .tech-radar {
   margin-top: 2.5rem;
   display: grid;
   gap: 1.75rem;
 }

 .tech-group {
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: 24px;
   background:
     radial-gradient(circle at 10% 0%, rgba(124, 58, 237, 0.12), transparent 50%),
     rgba(255, 255, 255, 0.02);
   padding: 1.75rem;
 }

 .tech-group h3 {
   margin: 0 0 1rem;
   font-size: 1.25rem;
 }

 .tech-logos {
   display: flex;
   flex-wrap: wrap;
   gap: 0.75rem;
 }

 .tech-logo {
   display: inline-flex;
   align-items: center;
   padding: 0.6rem 0.9rem;
   border-radius: 999px;
   border: 1px solid rgba(255, 255, 255, 0.14);
   background: rgba(0, 0, 0, 0.18);
   color: rgba(255, 255, 255, 0.62);
   font-size: 0.92rem;
   transition: color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
 }

 .tech-logo:hover,
 .tech-logo:focus-visible {
   color: var(--tech-color, rgba(255, 255, 255, 0.92));
   border-color: var(--tech-color, rgba(0, 210, 255, 0.8));
   box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 28px rgba(0, 210, 255, 0.22);
   transform: translateY(-2px);
 }

 .mobile-cta {
   text-align: left;
 }

 .mobile-cta-form {
   padding: 40px;
 }

 .mobile-cta-form__row {
   display: grid;
   grid-template-columns: 1fr 1fr minmax(220px, 0.9fr);
   gap: 18px;
   align-items: end;
 }

 .mobile-cta-form__row .submit-glass-btn {
   width: 100%;
   height: 54px;
 }

 @media (max-width: 960px) {
   .mobile-hero__grid {
     grid-template-columns: 1fr;
     gap: 2.25rem;
   }

   .mobile-hero__visual {
     min-height: 440px;
   }

   .mobile-cta-form__row {
     grid-template-columns: 1fr;
   }
 }

 @media (max-width: 640px) {
   .mobile-hero__visual {
     min-height: 320px;
   }

   .mobile-cta-form {
     padding: 28px;
   }
 }

 #outcomes {
   position: relative;
 }

 #outcomes .outcomes-grid {
   display: grid;
   grid-template-columns: repeat(12, minmax(0, 1fr));
   gap: 18px;
   margin-top: 28px;
 }

 #outcomes .outcome-card {
  --card-overlay: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.06), transparent 55%);
  --hover-glow: rgba(0, 210, 255, 0.18);
  --chip-accent: rgba(255, 255, 255, 0.4);
  --badge-glow: rgba(0, 210, 255, 0.45);
  --icon-border-color: rgba(255, 255, 255, 0.2);
  --icon-glow: 0 0 18px rgba(0, 0, 0, 0.5);
  --icon-glow-strong: 0 0 28px rgba(0, 210, 255, 0.35);
  --icon-active-color: var(--text-main);
  position: relative;
  isolation: isolate;
  padding: 24px 24px 22px;
  background-color: #14141b;
  background-image:
    var(--card-overlay),
    radial-gradient(circle at 88% 92%, rgba(255, 255, 255, 0.04), transparent 60%);
  background-size: auto, auto;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: screen, screen;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(.2,.9,.2,1),
    background 0.35s cubic-bezier(.2,.9,.2,1),
    box-shadow 0.35s cubic-bezier(.2,.9,.2,1);
}

#outcomes .outcome-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(0, 210, 255, 0.2), rgba(157, 0, 255, 0.2));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.2;
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
}

#outcomes .outcome-card::after {
   content: '';
   position: absolute;
   inset: -2px;
   border-radius: inherit;
   background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    var(--hover-glow),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

#outcomes .outcome-card:hover::after {
  opacity: 1;
}

#outcomes .outcome-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.7);
}

#outcomes .outcome-card--quality {
  --card-overlay: radial-gradient(circle at 0% 0%, rgba(157, 0, 255, 0.35), transparent 55%);
  --hover-glow: rgba(157, 0, 255, 0.28);
  --chip-accent: rgba(226, 123, 255, 0.8);
  --badge-glow: rgba(157, 0, 255, 0.7);
  --icon-border-color: rgba(157, 0, 255, 0.55);
  --icon-ring: linear-gradient(135deg, rgba(157, 0, 255, 0.85), rgba(226, 123, 255, 0.32));
  --icon-glow: 0 0 22px rgba(157, 0, 255, 0.35);
  --icon-glow-strong: 0 0 30px rgba(157, 0, 255, 0.48);
  --icon-active-color: var(--accent-violet);
}

#outcomes .outcome-card--reports {
  --card-overlay: radial-gradient(circle at 100% 0%, rgba(0, 210, 255, 0.3), transparent 55%);
  --hover-glow: rgba(0, 210, 255, 0.26);
  --chip-accent: rgba(0, 210, 255, 0.85);
  --badge-glow: rgba(0, 210, 255, 0.72);
  --icon-border-color: rgba(0, 210, 255, 0.55);
  --icon-ring: linear-gradient(135deg, rgba(0, 210, 255, 0.85), rgba(157, 0, 255, 0.25));
  --icon-glow: 0 0 22px rgba(0, 210, 255, 0.32);
  --icon-glow-strong: 0 0 32px rgba(0, 210, 255, 0.45);
  --icon-active-color: var(--accent-cyan);
}

#outcomes .outcome-card--security {
  --card-overlay: radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.12), transparent 55%);
  --hover-glow: rgba(255, 255, 255, 0.22);
  --chip-accent: rgba(255, 255, 255, 0.65);
  --badge-glow: rgba(255, 255, 255, 0.5);
  --icon-border-color: rgba(255, 255, 255, 0.35);
  --icon-ring: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(148, 167, 191, 0.35));
  --icon-glow: 0 0 20px rgba(255, 255, 255, 0.18);
  --icon-glow-strong: 0 0 26px rgba(255, 255, 255, 0.35);
  --icon-active-color: rgba(255, 255, 255, 0.95);
}

#outcomes .outcome-card--system {
  --card-overlay: radial-gradient(circle at 100% 0%, rgba(157, 0, 255, 0.3), transparent 55%), radial-gradient(circle at 0% 100%, rgba(0, 210, 255, 0.24), transparent 55%);
  --hover-glow: rgba(226, 123, 255, 0.22);
  --chip-accent: rgba(157, 0, 255, 0.65);
  --badge-glow: rgba(226, 123, 255, 0.58);
  --icon-border-color: rgba(157, 0, 255, 0.45);
  --icon-ring: linear-gradient(135deg, rgba(157, 0, 255, 0.7), rgba(0, 210, 255, 0.6));
  --icon-glow: 0 0 22px rgba(157, 0, 255, 0.28), 0 0 18px rgba(0, 210, 255, 0.22);
  --icon-glow-strong: 0 0 30px rgba(157, 0, 255, 0.46), 0 0 22px rgba(0, 210, 255, 0.32);
  --icon-active-color: rgba(194, 233, 255, 0.95);
}

#outcomes .outcome-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

#outcomes .outcome-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 46px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 12px;
  overflow: hidden;
  clip-path: inset(0 round 999px);
  transition: color 0.2s ease, border-color 0.2s ease;
}

#outcomes .outcome-chip::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--badge-glow);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#outcomes .outcome-card:hover .outcome-chip {
  color: var(--chip-accent);
  border-color: rgba(255, 255, 255, 0.16);
}

#outcomes .outcome-card:hover .outcome-chip::after {
  opacity: 1;
  transform: scaleX(1);
}

#outcomes .outcome-title {
  position: relative;
  z-index: 2;
   font-size: 22px;
   line-height: 1.25;
   font-weight: 800;
   color: var(--text-main);
   margin: 0 0 10px;
 }

 #outcomes .outcome-text {
  position: relative;
  z-index: 2;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

 #outcomes .outcome-card {
   grid-column: span 6;
 }

 #outcomes .outcome-card--wide {
   grid-column: span 12;
 }

 #outcomes .outcome-card--r24 {
   border-radius: 24px;
 }

 #outcomes .outcome-card--r26 {
   border-radius: 26px;
 }

 #outcomes .outcome-card--r28 {
   border-radius: 28px;
 }

 #outcomes .outcome-card--r24alt {
   border-radius: 24px 24px 28px 24px;
 }

 #outcomes .outcome-card.reveal {
   opacity: 0;
   transform: translateY(22px);
   filter: blur(12px);
   transition:
     opacity 0.85s cubic-bezier(.2,.9,.2,1),
     transform 0.85s cubic-bezier(.2,.9,.2,1),
     filter 0.85s cubic-bezier(.2,.9,.2,1);
 }

 #outcomes .outcome-card.reveal.is-visible {
   opacity: 1;
   transform: translateY(0);
   filter: blur(0);
 }

 #outcomes .outcome-card.reveal:nth-child(1) {
   transition-delay: 0.12s;
 }

 #outcomes .outcome-card.reveal:nth-child(2) {
   transition-delay: 0.26s;
 }

 #outcomes .outcome-card.reveal:nth-child(3) {
   transition-delay: 0.40s;
 }

 #outcomes .outcome-card.reveal:nth-child(4) {
   transition-delay: 0.54s;
 }

 @media (max-width: 900px) {
   #outcomes .outcome-card {
     grid-column: span 12;
   }
 }

 .about-brief .split-header {
   display: grid;
   grid-template-columns: minmax(0, 2.2fr) minmax(0, 2.8fr);
   gap: 56px;
   align-items: center;
 }

 .about-brief .kicker {
   color: var(--text-muted);
   font-size: 0.8rem;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   margin-bottom: 12px;
 }

 .about-brief .brief-title {
   font-size: clamp(2.2rem, 4vw, 3.2rem);
   margin: 0 0 20px;
   line-height: 1.1;
   color: var(--text-main);
 }

 .about-brief .brief-desc {
   font-size: 1.05rem;
   color: var(--text-muted);
   max-width: 62ch;
   margin: 0 0 28px;
   line-height: 1.7;
 }

 .about-brief .brief-badges span {
   border: 1px solid rgba(255, 255, 255, 0.2);
   padding: 8px 16px;
   border-radius: 999px;
   font-size: 0.9rem;
   color: var(--text-muted);
   margin-right: 10px;
   display: inline-flex;
   align-items: center;
   gap: 6px;
 }

 .about-brief .photo-frame {
   position: relative;
   border-radius: 20px;
   overflow: hidden;
   padding: 2px;
   border: 1px solid transparent;
   background:
     linear-gradient(var(--color-dark), var(--color-dark)) padding-box,
     linear-gradient(135deg, rgba(0, 210, 255, 1), rgba(157, 0, 255, 1), rgba(0, 210, 255, 1)) border-box;
   background-size: 200% 200%;
   box-shadow: 0 0 24px rgba(0, 210, 255, 0.32), 0 0 40px rgba(157, 0, 255, 0.22);
   animation: itai-neon-frame 16s linear infinite;
   transition: box-shadow 0.8s ease;
 }

 .about-brief .photo-frame img {
   width: 100%;
   height: 100%;
   display: block;
   border-radius: 16px;
   object-fit: cover;
   transition: transform 1s ease;
 }

 .about-brief .brief-photo:hover .photo-frame {
   animation: itai-neon-frame 10s linear infinite, itai-photo-frame-pulse 3.6s ease-in-out infinite;
 }

 .about-brief .brief-photo:hover .photo-frame img {
   animation: itai-photo-zoom-pulse 3.6s ease-in-out infinite;
 }

 @keyframes itai-neon-frame {
   0% {
     background-position: 0% 50%;
     box-shadow: 0 0 24px rgba(0, 210, 255, 0.32), 0 0 40px rgba(157, 0, 255, 0.22);
   }
   50% {
     background-position: 100% 50%;
     box-shadow: 0 0 26px rgba(0, 210, 255, 0.2), 0 0 56px rgba(157, 0, 255, 0.42);
   }
   100% {
     background-position: 0% 50%;
     box-shadow: 0 0 24px rgba(0, 210, 255, 0.32), 0 0 40px rgba(157, 0, 255, 0.22);
   }
 }

 @keyframes itai-photo-frame-pulse {
   0%,
   100% {
     transform: scale(1);
   }
   50% {
     transform: scale(1.04);
   }
 }

 @keyframes itai-photo-zoom-pulse {
   0%,
   100% {
     transform: scale(1);
   }
   50% {
     transform: scale(1.06);
   }
 }

 @media (max-width: 1024px) {
   .about-brief .split-header {
     grid-template-columns: 1fr;
     gap: 40px;
   }
 }

 .about-stats-3d {
   padding: 40px 0 60px;
 }

 .stats-grid-3d {
   margin-top: 26px;
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 20px;
 }

 .stat-card-3d {
   position: relative;
   height: 220px;
   border-radius: 24px;
   overflow: hidden;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(255, 255, 255, 0.1);
   transition: transform 0.35s ease, border-color 0.35s ease;
 }

 .stat-card-3d:hover {
   transform: translateY(-6px);
   border-color: rgba(255, 255, 255, 0.18);
 }

 .stat-icon-3d {
   position: absolute;
   top: 32%;
   left: 50%;
   transform: translate(-50%, -50%);
   display: flex;
   align-items: center;
   justify-content: center;
   transition: transform 0.3s ease;
 }

 .stat-icon-3d svg {
   width: 48px;
   height: 48px;
   stroke-width: 1.5;
 }

 .stat-card-3d:hover .stat-icon-3d {
   transform: translate(-50%, -56%) scale(1.06);
 }

 .stat-content {
   position: absolute;
   bottom: 25px;
   left: 25px;
   z-index: 2;
 }

 .about-stats-3d .s-val {
   font-size: 2.5rem;
   font-weight: 800;
   color: #fff;
   margin-bottom: 5px;
   text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
 }

 .about-stats-3d .s-desc {
   font-size: 0.9rem;
   color: rgba(255, 255, 255, 0.7);
   text-transform: uppercase;
   font-weight: 600;
 }

 .card-purple .stat-icon-3d {
   color: rgba(157, 0, 255, 0.8);
 }

 .card-blue .stat-icon-3d {
   color: rgba(0, 210, 255, 0.8);
 }

 .card-cyan .stat-icon-3d {
   color: rgba(52, 211, 153, 0.9);
 }

 .card-pink .stat-icon-3d {
   color: rgba(242, 114, 182, 0.9);
 }

 .card-purple .stat-bg-sphere {
   position: absolute;
   top: -20%;
   right: -20%;
   width: 200px;
   height: 200px;
   background: radial-gradient(circle at 30% 30%, rgba(226, 123, 255, 0.85), rgba(157, 0, 255, 0.55), transparent 70%);
   border-radius: 50%;
   filter: blur(20px);
   opacity: 0.55;
   transition: transform 0.5s, opacity 0.5s, filter 0.5s;
 }

 .card-blue .stat-bg-cube {
   position: absolute;
   top: 10%;
   right: 10%;
   width: 150px;
   height: 150px;
   background: linear-gradient(135deg, rgba(0, 210, 255, 0.55), transparent);
   transform: rotate(45deg);
   filter: blur(30px);
   opacity: 0.45;
   transition: transform 0.5s, opacity 0.5s, filter 0.5s;
 }

 .card-cyan .stat-bg-ring {
   position: absolute;
   top: 20%;
   left: 50%;
   width: 180px;
   height: 180px;
   border: 20px solid rgba(52, 211, 153, 0.9);
   border-radius: 50%;
   filter: blur(25px);
   opacity: 0.28;
   transform: translateX(-50%);
   transition: transform 0.5s, opacity 0.5s, filter 0.5s;
 }

 .card-pink .stat-bg-wave {
   position: absolute;
   top: 0;
   right: 0;
   width: 100%;
   height: 100%;
   background: radial-gradient(circle at top right, rgba(242, 114, 182, 0.7), transparent 60%);
   opacity: 0.3;
   transition: opacity 0.5s, filter 0.5s;
 }

 .stat-card-3d:hover .stat-bg-sphere {
   transform: scale(1.2);
   opacity: 0.9;
   filter: blur(15px) brightness(1.2);
 }

 .stat-card-3d:hover .stat-bg-cube {
   transform: rotate(90deg) scale(1.18);
   opacity: 0.85;
   filter: blur(20px) brightness(1.2);
 }

 .stat-card-3d:hover .stat-bg-ring {
   opacity: 0.55;
   filter: blur(15px) brightness(1.1);
   transform: translateX(-50%) scale(1.05);
 }

 .stat-card-3d:hover .stat-bg-wave {
   opacity: 0.7;
   filter: brightness(1.2);
 }

 @media (max-width: 1024px) {
   .stats-grid-3d {
     grid-template-columns: repeat(2, minmax(0, 1fr));
   }
 }

 @media (max-width: 600px) {
   .stats-grid-3d {
     grid-template-columns: 1fr;
   }
 }

 .competencies-section {
   padding: 6rem 0;
   position: relative;
   overflow: hidden;
 }

 .competencies-section::before {
   content: '';
   position: absolute;
   top: -20%;
   left: 50%;
   transform: translateX(-50%);
   width: 800px;
   height: 800px;
   background: radial-gradient(circle, rgba(157, 0, 255, 0.12) 0%, transparent 70%);
   pointer-events: none;
   z-index: 0;
 }

 .competencies-section .shell {
   position: relative;
   z-index: 1;
 }

 .competencies-section .section-header {
   text-align: center;
   margin-bottom: 3.5rem;
 }

 .competencies-section .section-header h2 {
   font-size: clamp(2.2rem, 4vw, 3rem);
   color: var(--text-main);
   margin-bottom: 0;
 }

 .competencies-slider {
   display: flex;
   align-items: center;
   gap: 1rem;
   max-width: 1200px;
   margin: 0 auto;
 }

 .competencies-grid {
   display: flex;
   flex: 1;
   gap: 2rem;
   overflow-x: auto;
   overflow-y: visible;
   padding-bottom: 0.5rem;
   scroll-snap-type: x mandatory;
   scroll-behavior: smooth;
 }

 .competencies-grid::-webkit-scrollbar {
   height: 6px;
 }

 .competencies-grid::-webkit-scrollbar-track {
   background: rgba(255, 255, 255, 0.02);
 }

 .competencies-grid::-webkit-scrollbar-thumb {
   background: rgba(255, 255, 255, 0.18);
   border-radius: 999px;
 }

 .competencies-arrow {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 52px;
   height: 52px;
   padding: 0;
   border-radius: 50%;
   cursor: pointer;
   flex-shrink: 0;
 }

 .competencies-arrow svg {
   pointer-events: none;
   transition: transform 0.3s ease;
 }

 .competencies-arrow--prev:hover svg,
 .competencies-arrow--prev:focus-visible svg {
   transform: translateX(-4px);
 }

 .competencies-arrow--next:hover svg,
 .competencies-arrow--next:focus-visible svg {
   transform: translateX(4px);
 }

 .comp-card {
   position: relative;
   padding: 2rem 1.75rem 2rem;
   border-radius: 16px;
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid rgba(255, 255, 255, 0.06);
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
   transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
   overflow: hidden;
   min-width: 260px;
   flex: 0 0 280px;
   scroll-snap-align: start;
 }

 .comp-card:hover {
   transform: translateY(-8px);
   background: rgba(255, 255, 255, 0.04);
   border-color: rgba(255, 255, 255, 0.12);
   box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(157, 0, 255, 0.18);
 }

 .comp-line {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 3px;
   overflow: hidden;
   border-radius: 16px 16px 0 0;
 }

 .comp-line::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent 0%, currentColor 50%, transparent 100%);
   animation: itai-line-shimmer 3s ease-in-out infinite;
 }

 .comp-line--violet {
   color: var(--accent-violet);
   background: rgba(157, 0, 255, 0.3);
 }

 .comp-line--cyan {
   color: var(--accent-cyan);
   background: rgba(0, 210, 255, 0.3);
 }

 @keyframes itai-line-shimmer {
   0% {
     left: -100%;
   }
   50% {
     left: 100%;
   }
   100% {
     left: 100%;
   }
 }

 .comp-icon {
   width: 64px;
   height: 64px;
   margin-bottom: 1.5rem;
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 16px;
   backdrop-filter: blur(10px);
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--accent-violet);
   transition: all 0.3s ease;
 }

 .comp-card:nth-child(even) .comp-icon {
   color: var(--accent-cyan);
 }

 .comp-card:hover .comp-icon {
   transform: translateY(-4px) scale(1.05);
   border-color: rgba(255, 255, 255, 0.2);
   box-shadow: 0 10px 30px rgba(157, 0, 255, 0.16);
 }

 .comp-icon svg {
   width: 32px;
   height: 32px;
 }

 .comp-card h3 {
   font-size: 1.35rem;
   font-weight: 700;
   color: var(--text-main);
   margin: 0 0 1rem;
   line-height: 1.2;
 }

 .comp-card p {
   font-size: 0.95rem;
   line-height: 1.6;
   color: var(--text-muted);
   margin: 0;
 }

 @media (max-width: 768px) {
   .competencies-section {
     padding: 4rem 0;
   }

   .competencies-section .section-header {
     margin-bottom: 2.5rem;
   }

   .competencies-grid {
     gap: 1.5rem;
   }

   .comp-card {
     padding: 1.75rem 1.5rem;
     flex: 0 0 85%;
     min-width: 0;
   }

   .competencies-slider {
     gap: 0.75rem;
   }

   .competencies-arrow {
     width: 32px;
     height: 32px;
   }
 }

 .final-cta-section {
   padding: 4rem 0 6rem;
 }

 .final-cta-card {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 32px;
   padding: 4rem 2rem;
   text-align: center;
   position: relative;
   overflow: hidden;
 }

 .final-glow {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 420px;
   height: 420px;
   background: radial-gradient(circle, rgba(157, 0, 255, 0.15) 0%, transparent 70%);
   filter: blur(60px);
   pointer-events: none;
   z-index: 0;
   animation: itai-pulse-slow 4s infinite alternate;
 }

 @keyframes itai-pulse-slow {
   from {
     opacity: 0.5;
     transform: translate(-50%, -50%) scale(0.9);
   }
   to {
     opacity: 1;
     transform: translate(-50%, -50%) scale(1.1);
   }
 }

 .final-content {
   position: relative;
   z-index: 1;
   max-width: 800px;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   align-items: center;
 }

 .final-icon {
   display: flex;
   align-items: center;
   justify-content: center;
   color: rgba(226, 123, 255, 0.9);
 }

 .final-icon svg {
   width: 40px;
   height: 40px;
 }

 .final-heading {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 1.25rem;
   margin-bottom: 1.5rem;
 }

 .final-title {
   font-size: clamp(1.8rem, 3.2vw, 2.2rem);
   font-weight: 700;
   line-height: 1.3;
   color: #fff;
   margin-bottom: 0;
 }

 .final-cta-section .highlight-text {
   color: transparent;
   background: linear-gradient(90deg, rgba(226, 123, 255, 1), rgba(0, 210, 255, 1));
   -webkit-background-clip: text;
   background-clip: text;
 }

 .final-subtitle {
   font-size: 1.05rem;
   color: rgba(255, 255, 255, 0.7);
   margin-bottom: 3rem;
   max-width: 600px;
   line-height: 1.6;
 }

 .final-btn {
   display: inline-flex;
   align-items: center;
   gap: 0.8rem;
   font-size: 1.05rem;
   font-weight: 700;
   padding: 0.8rem 2.4rem;
   text-decoration: none;
   transition: transform 0.3s ease;
 }

 .final-btn:hover {
   transform: translateY(-4px);
 }

 .final-btn svg {
   transition: transform 0.3s ease;
 }

 .final-btn:hover svg {
   transform: translateX(4px);
 }

 @media (max-width: 768px) {
   .final-cta-card {
     padding: 3rem 1.5rem;
   }
 }

/* ==============================
   Попап модальное окно с формой
   ============================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  position: relative;
  width: 100%;
  max-width: 650px;
  background: rgba(14, 14, 18, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(157, 0, 255, 0.3);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(157, 0, 255, 0.2), 0 0 100px rgba(157, 0, 255, 0.1);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-overlay.active .popup-container {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(157, 0, 255, 0.1);
  border: 1px solid rgba(157, 0, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.popup-close:hover {
  background: rgba(157, 0, 255, 0.2);
  border-color: rgba(157, 0, 255, 0.5);
  transform: rotate(90deg);
}

.popup-close svg {
  width: 20px;
  height: 20px;
  stroke: rgba(157, 0, 255, 0.9);
}

.popup-header {
  margin-bottom: 30px;
  text-align: center;
}

.popup-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.popup-header p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.popup-form-wrapper {
  position: relative;
}

.popup-success-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.popup-success-message.active {
  display: block;
}

.popup-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(157, 0, 255, 0.2), rgba(0, 210, 255, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popup-success-scale 0.5s ease;
}

@keyframes popup-success-scale {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-success-icon svg {
  width: 40px;
  height: 40px;
  stroke: rgba(157, 0, 255, 0.9);
}

.popup-success-message h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.popup-success-message p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@media (max-width: 768px) {
  .popup-container {
    padding: 30px 20px;
  }

  .popup-header h2 {
    font-size: 1.5rem;
  }

  .popup-close {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }
}

/* Fix for H1 on mobile devices - narrow screens */
@media (max-width: 600px) {
  h1 {
    font-size: 2.2rem !important;
    line-height: 1.15;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 1.85rem !important;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 1.6rem !important;
  }
}
