﻿:root {
  --bg: #071126;
  --bg-soft: #0b1735;
  --card: rgba(13, 23, 53, 0.82);
  --card-strong: rgba(11, 21, 46, 0.96);
  --text: #eef4ff;
  --muted: #a9b8da;
  --line: rgba(132, 167, 255, 0.18);
  --primary: #5aa3ff;
  --primary-2: #71d0ff;
  --accent: #8a7dff;
  --accent-2: #3fe0ff;
  --success: #7cf3c7;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
  --space-1: 10px;
  --space-2: 14px;
  --space-3: 18px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 40px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 15% 20%, rgba(64, 136, 255, 0.18), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(125, 95, 255, 0.22), transparent 28%),
    radial-gradient(circle at 70% 70%, rgba(49, 219, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #09132b 0%, #071126 42%, #060d1d 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.08));
  opacity: 0.22;
}

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

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

.section {
  padding: clamp(72px, 8vw, 96px) 0;
  position: relative;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-subtitle {
  max-width: 760px;
  margin: 0 0 var(--space-5);
  color: var(--muted);
  font-size: clamp(17px, 2vw, 18px);
  line-height: 1.68;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(106, 176, 255, 0.28);
  background: rgba(14, 26, 59, 0.68);
  color: #dbe9ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  margin-bottom: var(--space-2);
}

.badge::before {
  content: "✦";
  color: var(--accent-2);
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 11, 26, 0.55);
  border-bottom: 1px solid rgba(123, 156, 255, 0.1);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-weight: 800;
}

.logo-top {
  font-size: 12px;
  color: var(--primary-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-bottom {
  font-size: 20px;
  letter-spacing: -0.03em;
}

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

.nav a {
  color: var(--muted);
  font-size: 14px;
  transition: 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    background 0.26s ease,
    filter 0.26s ease,
    border-color 0.26s ease;
  font-weight: 700;
  font-size: 15px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px) scale(1.04);
}

.btn:active {
  transform: translateY(0) scale(1.02);
  transition-duration: 0.18s;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.btn-primary:hover {
  filter: brightness(1.08) saturate(1.05);
  box-shadow: 0 22px 52px rgba(90, 163, 255, 0.28);
}

.btn-secondary {
  color: #dce9ff;
  background: rgba(18, 31, 64, 0.92);
  border: 1px solid rgba(109, 160, 255, 0.18);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(28, 44, 88, 0.96);
  border-color: rgba(140, 185, 255, 0.32);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.hero {
  padding: clamp(64px, 7vw, 88px) 0 clamp(64px, 6vw, 76px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 520px;
  height: 520px;
  background:
    radial-gradient(circle at center, rgba(90, 163, 255, 0.38), transparent 34%),
    radial-gradient(circle at center, rgba(138, 125, 255, 0.26), transparent 56%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: var(--space-5);
  align-items: center;
}

.hero-card {
  padding: 0;
  position: relative;
  overflow: visible;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  backdrop-filter: none;
}

.hero-title {
  margin: 18px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-title .accent {
  color: #c2d6ff;
  display: block;
  margin: 0;
}

.hero-text {
  max-width: 620px;
  font-size: clamp(17px, 2.4vw, 19px);
  line-height: 1.72;
  color: var(--muted);
  margin: 0 0 var(--space-4);
}

.hero-typewriter {
  display: block;
}

.hero-typewriter-line {
  display: block;
}

.hero-typewriter-line + .hero-typewriter-line {
  margin-top: 0.35em;
}

.hero-typewriter-cursor {
  font-weight: 400;
  animation: heroTypewriterBlink 0.85s step-end infinite;
}

@keyframes heroTypewriterBlink {
  50% {
    opacity: 0;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(40px, 7vw, 84px);
  margin-bottom: clamp(32px, 4vw, 48px);
}

.hero-note {
  color: #c6d6f8;
  font-size: 14px;
  opacity: 0.9;
}

.hero-grid > .hero-visual {
  min-width: 0;
  min-height: auto;
  max-width: min(100%, 520px);
  margin-inline: auto;
  position: relative;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  border: 1px dashed rgba(123, 156, 255, 0.24);
  background: rgba(6, 12, 28, 0.28);
  box-shadow: none;
  backdrop-filter: none;
}

.hero-grid > .hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 88% 72% at 46% 30%,
    rgba(1, 218, 251, 0.11) 0%,
    rgba(70, 213, 249, 0.05) 38%,
    transparent 68%
  );
}

.hero-visual img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  border: 4px solid rgba(113, 157, 246, 0.397);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 28px rgba(1, 218, 251, 0.14),
    0 0 56px rgba(70, 213, 249, 0.09),
    0 10px 40px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 32px;
  }

  .hero-visual img {
    max-width: 100%;
  }

  .section-process .process-node {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.42s ease, transform 0.42s ease;
  }

  .section-process .process-node.is-mobile-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.visual-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 30%, rgba(63, 224, 255, 0.22), transparent 20%),
    radial-gradient(circle at 70% 26%, rgba(123, 96, 255, 0.2), transparent 23%),
    radial-gradient(circle at 54% 58%, rgba(89, 146, 255, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(11, 25, 64, 0.96), rgba(8, 17, 38, 0.82));
}

.visual-network {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 96%, rgba(143, 189, 255, 0.06) 100%),
    linear-gradient(90deg, transparent 96%, rgba(143, 189, 255, 0.06) 100%);
  background-size: 44px 44px;
  opacity: 0.45;
}

.ai-core {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(113, 208, 255, 0.28), rgba(8, 16, 36, 0.2) 44%, transparent 64%);
  box-shadow:
    inset 0 0 60px rgba(101, 183, 255, 0.18),
    0 0 80px rgba(70, 138, 255, 0.12);
}

.ai-core::before,
.ai-core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(117, 175, 255, 0.18);
}

.ai-core::before {
  inset: 10%;
  animation: spin 18s linear infinite;
}

.ai-core::after {
  inset: 22%;
  animation: spinReverse 15s linear infinite;
}

.ai-center {
  position: relative;
  z-index: 2;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  background: linear-gradient(135deg, rgba(101, 162, 255, 0.2), rgba(118, 105, 255, 0.18));
  border: 1px solid rgba(155, 189, 255, 0.22);
  box-shadow: 0 0 40px rgba(91, 145, 255, 0.16);
}

.ai-center strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.ai-center span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.orbit {
  position: absolute;
  width: 86px;
  min-height: 86px;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(9, 20, 47, 0.84);
  border: 1px solid rgba(117, 165, 255, 0.16);
  color: #dcebff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.orbit.one   { top: 4%;   left: 40%; }
.orbit.two   { top: 24%;  right: 1%; }
.orbit.three { bottom: 24%; right: 2%; }
.orbit.four  { bottom: 4%; left: 40%; }
.orbit.five  { bottom: 22%; left: 2%; }
.orbit.six   { top: 24%; left: 2%; }

.card.about-portrait {
  min-height: clamp(300px, 42vw, 420px);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3.5vw, 28px);
}

.card.about-portrait .ai-core {
  width: min(100%, 420px);
  max-width: 100%;
}

.card.about-portrait .ai-center strong {
  font-size: clamp(20px, 3.5vw, 26px);
}

.card.about-portrait .ai-center span {
  font-size: clamp(12px, 2vw, 14px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  height: 100%;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: var(--space-4);
  margin-top: clamp(20px, 3.5vw, 48px);
  align-items: stretch;
}

.about-typewriter-title .about-typewriter-line {
  display: inline-block;
  min-height: 1.2em;
}

.about-typewriter-cursor {
  display: inline-block;
  animation: aboutTypewriterBlink 0.85s step-end infinite;
}

@keyframes aboutTypewriterBlink {
  50% {
    opacity: 0;
  }
}

.about-accordion {
  display: grid;
  gap: 12px;
}

.about-accordion-item {
  border: 1px solid rgba(132, 167, 255, 0.16);
  border-radius: 18px;
  background: rgba(9, 18, 42, 0.66);
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.about-accordion-item:hover {
  border-color: rgba(1, 218, 251, 0.32);
  background: rgba(11, 24, 52, 0.78);
}

.about-accordion-item.is-open {
  border-color: rgba(1, 218, 251, 0.3);
  box-shadow: inset 0 0 0 1px rgba(1, 218, 251, 0.08);
}

.about-accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 18px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  cursor: pointer;
}

.about-accordion-title {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.2;
  font-weight: 600;
  color: #ecf3ff;
  letter-spacing: -0.01em;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.about-accordion-trigger:hover .about-accordion-title {
  color: #ffffff;
  opacity: 0.95;
}

.about-accordion-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(220, 232, 255, 0.7);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.about-accordion-arrow {
  font-size: 12px;
  transform-origin: center;
  transition: transform 0.35s ease;
}

.about-accordion-item.is-open .about-accordion-arrow {
  transform: rotate(90deg);
}

.about-accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.36s ease, opacity 0.32s ease;
}

.about-accordion-panel-inner {
  overflow: hidden;
  padding: 0 18px;
}

.about-accordion-panel-inner p {
  margin: 0;
  color: #dce8ff;
  line-height: 1.62;
  font-size: 16px;
}

.about-accordion-panel-inner p + p {
  margin-top: 12px;
}

.about-accordion-item.is-open .about-accordion-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.about-accordion-item.is-open .about-accordion-panel-inner {
  padding-bottom: 16px;
}

.about-accordion-summary {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(132, 167, 255, 0.16);
  color: rgba(235, 244, 255, 0.9);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.45;
  font-weight: 500;
}

#automation .start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: start;
}

#automation .badge {
  margin-bottom: clamp(16px, 2.2vw, 24px);
}

#automation .section-title {
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

#automation .section-subtitle {
  margin-bottom: clamp(28px, 4vw, 44px);
}

#automation .start-card {
  cursor: pointer;
  user-select: none;
  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.28s ease,
    filter 0.28s ease;
}

#automation .start-card:hover {
  border-color: rgba(1, 218, 251, 0.34);
  background: rgba(14, 27, 58, 0.92);
  box-shadow: 0 18px 40px rgba(1, 218, 251, 0.08);
}

#automation .start-card.is-active {
  border-color: rgba(1, 218, 251, 0.62);
  background: rgba(13, 28, 61, 0.96);
  box-shadow:
    0 0 0 1px rgba(1, 218, 251, 0.2),
    0 22px 50px rgba(1, 218, 251, 0.14);
}

#automation .start-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

#automation .start-list li {
  color: #dce8ff;
  line-height: 1.55;
}

#automation .start-list li::before {
  content: "— ";
  color: #8fdcff;
}

#automation .start-card-btn {
  margin-top: 18px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(1, 218, 251, 0.35);
  background: rgba(9, 22, 48, 0.9);
  color: #dff4ff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.26s ease, background 0.26s ease, box-shadow 0.26s ease, color 0.26s ease;
}

#automation .start-card-btn::after {
  content: "▼";
  font-size: 11px;
  line-height: 1;
  color: #9ee9ff;
  transform: translateY(1px);
  transition: color 0.26s ease, transform 0.26s ease;
}

#automation .start-card-btn:hover {
  border-color: rgba(1, 218, 251, 0.86);
  background: rgba(16, 40, 78, 0.98);
  color: #ffffff;
  box-shadow:
    0 16px 34px rgba(1, 218, 251, 0.2),
    0 0 22px rgba(56, 189, 248, 0.26);
}

#automation .start-card-btn:hover::after {
  color: #d5f7ff;
  transform: translateY(1px) scale(1.06);
}

#automation .card-details {
  position: relative;
  margin-top: 0;
  padding-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.4s ease, opacity 0.34s ease, transform 0.34s ease;
}

#automation .start-card.is-active .card-details {
  margin-top: 18px;
  padding-top: 20px;
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0);
}

#automation .card-details-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#automation .card-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(132, 167, 255, 0.2);
  border-radius: 10px;
  background: rgba(8, 18, 40, 0.75);
  color: #dff4ff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
}

#automation .card-close:hover {
  border-color: rgba(1, 218, 251, 0.55);
  background: rgba(12, 30, 62, 0.92);
  color: #ffffff;
}

#automation .service-price-card {
  border: 1px solid rgba(132, 167, 255, 0.16);
  border-radius: 14px;
  background: rgba(9, 20, 45, 0.72);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: default;
}

#automation .service-price-name {
  color: #e9f3ff;
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

#automation .service-price-value {
  color: #8fdcff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

#automation .automation-cta {
  margin-top: clamp(18px, 3vw, 30px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#automation .automation-cta .btn {
  min-height: 48px;
  padding-inline: 22px;
}

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

.icon-card::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 208, 255, 0.14), transparent 68%);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(88, 163, 255, 0.18), rgba(138, 125, 255, 0.2));
  border: 1px solid rgba(122, 171, 255, 0.14);
  margin-bottom: 18px;
  font-size: 22px;
}

.for-whom-grid,
.solutions-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.solution-card {
  display: grid;
  gap: 14px;
}

#solutions .card-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.22;
}

#solutions .card-description {
  margin: 0;
  color: #dce8ff;
  font-size: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#solutions .card-result {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(125, 161, 255, 0.12);
  color: #9fe6ff;
  font-size: 15px;
  line-height: 1.55;
}

.section-process .process-timeline {
  --process-icon-h: 72px;
  --process-timeline-pad-top: 22px;
  --process-line-y: calc(var(--process-timeline-pad-top) + var(--process-icon-h) / 2);
  position: relative;
  margin-top: clamp(56px, 7vw, 90px);
  padding-top: var(--process-timeline-pad-top);
}

.section-process .process-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: var(--process-line-y);
  height: 2px;
  transform: translateY(-50%);
  background: rgba(94, 169, 255, 0.14);
  border-radius: 999px;
}

.section-process .process-line-progress {
  position: absolute;
  top: var(--process-line-y);
  left: 12%;
  height: 2px;
  width: 0;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.55),
    rgba(125, 211, 252, 0.35) 45%,
    rgba(56, 189, 248, 0.2)
  );
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.22);
}

.section-process .process-moving-icon {
  position: absolute;
  top: var(--process-line-y);
  left: 12%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: rgba(9, 22, 49, 0.72);
  border: 1px solid rgba(113, 208, 255, 0.5);
  color: #9ce9ff;
  opacity: 0;
  box-shadow: 0 0 24px rgba(63, 224, 255, 0.32);
  pointer-events: none;
  z-index: 3;
}

.section-process .process-moving-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-process .process-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.section-process .process-node {
  position: relative;
  text-align: center;
  padding: 0 10px 4px;
}

.section-process .process-node-number {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  left: 50%;
  top: 74px;
  transform: translateX(-50%);
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(122, 171, 255, 0.24);
  background: rgba(8, 18, 40, 0.84);
  color: #cde4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  z-index: 2;
}

.section-process .process-node-icon {
  width: var(--process-icon-h);
  height: var(--process-icon-h);
  margin: 0 auto 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7ec8e8;
  background: rgba(10, 24, 52, 0.84);
  border: 1px solid rgba(122, 171, 255, 0.2);
  box-shadow:
    inset 0 0 12px rgba(113, 208, 255, 0.06),
    0 0 12px rgba(56, 189, 248, 0.08);
  position: relative;
  z-index: 2;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease,
    background 0.35s ease,
    transform 0.35s ease;
}

.section-process .process-node-icon svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-process .process-node.is-active .process-node-icon {
  transform: scale(1.06);
  color: #b9f3ff;
  border-color: rgba(56, 189, 248, 0.75);
  background: rgba(11, 28, 58, 0.92);
  box-shadow:
    0 0 0 8px rgba(56, 189, 248, 0.08),
    0 0 28px rgba(56, 189, 248, 0.35),
    inset 0 0 14px rgba(113, 208, 255, 0.1);
}

.section-process .process-step-title {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.22;
}

.section-process .process-step-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 15px;
}

.benefit {
  min-height: 200px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

#benefits .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7fdfff;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow:
    0 0 18px rgba(56, 189, 248, 0.14),
    inset 0 0 12px rgba(56, 189, 248, 0.04);
}

#benefits .card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#benefits .card-icon svg * {
  fill: none;
}

#benefits .card-title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

#benefits .card-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
}

@keyframes benefitIconPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.35));
  }

  50% {
    transform: scale(1.12);
    opacity: 1;
    filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.9));
  }
}

@media (hover: hover) {
  #benefits .benefit:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow:
      0 18px 45px rgba(0, 0, 0, 0.35),
      0 0 28px rgba(56, 189, 248, 0.18);
  }

  #benefits .benefit:hover .card-icon svg {
    animation: benefitIconPulse 1.2s ease-in-out infinite;
  }
}

#cases .section-title {
  margin-bottom: 14px;
}

#cases .section-subtitle {
  max-width: 760px;
  margin-bottom: clamp(24px, 3.8vw, 40px);
}

#cases .projects-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(380px, 1.05fr);
  gap: var(--space-4);
  align-items: start;
}

#cases .project-display {
  border: 1px solid rgba(132, 167, 255, 0.18);
  border-radius: 24px;
  background: rgba(9, 20, 45, 0.68);
  padding: 18px;
  height: clamp(360px, 46vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

#cases .project-display img {
  display: block;
}

#cases #project-display-image.is-default {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#cases #project-display-image.is-case {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(8px, 1.2vw, 14px);
  display: block;
}

#cases .project-accordion {
  display: grid;
  gap: 12px;
}

#cases .project-item {
  border: 1px solid rgba(132, 167, 255, 0.16);
  border-radius: 18px;
  background: rgba(9, 18, 42, 0.66);
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

#cases .project-item:hover {
  border-color: rgba(1, 218, 251, 0.32);
  background: rgba(11, 24, 52, 0.78);
}

#cases .project-item.is-open {
  border-color: rgba(1, 218, 251, 0.36);
  box-shadow: inset 0 0 0 1px rgba(1, 218, 251, 0.08);
}

#cases .project-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  text-align: left;
  align-items: center;
  cursor: pointer;
}

#cases .project-head-main {
  grid-column: 1;
  justify-self: start;
  color: #f1f6ff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

#cases .project-head-sub {
  grid-column: 1;
  justify-self: start;
  color: #d1def8;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}

#cases .project-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: rgba(220, 232, 255, 0.72);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.28s ease;
}

#cases .project-item.is-open .project-arrow {
  transform: rotate(180deg);
}

#cases .project-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.34s ease, opacity 0.3s ease;
}

#cases .project-item.is-open .project-panel {
  max-height: 520px;
  opacity: 1;
}

#cases .project-panel-content {
  padding: 0 18px 16px;
}

#cases .project-panel-content p {
  margin: 0;
  color: #dce8ff;
  font-size: 15px;
  line-height: 1.58;
}

#cases .project-panel-content p + p {
  margin-top: 10px;
}

#cases .project-inline-cta {
  margin-top: 14px;
  min-height: 44px;
  padding-inline: 18px;
}

#cases .project-mobile-image {
  display: none;
}

#cases .cases-cta {
  margin-top: clamp(24px, 3.5vw, 40px);
  display: flex;
  justify-content: center;
}

#cases .cases-cta .btn {
  min-height: 50px;
  padding-inline: clamp(22px, 3vw, 34px);
}

.cta-box {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(12, 22, 49, 0.96), rgba(10, 20, 40, 0.88)),
    radial-gradient(circle at 20% 20%, rgba(71, 147, 255, 0.12), transparent 20%);
  border: 1px solid rgba(109, 160, 255, 0.18);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(86, 162, 255, 0.18), transparent 62%);
  filter: blur(12px);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4);
  align-items: center;
}

.cta-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.cta-text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.72;
  max-width: 720px;
}

.cta-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.contact-card {
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(17, 31, 67, 0.78);
  border: 1px solid rgba(111, 165, 255, 0.15);
  color: #deebff;
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.contact-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer {
  padding: 24px 0 42px;
  color: #89a0cc;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(127, 160, 255, 0.12);
  padding-top: 18px;
}

.contact-box {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(12, 22, 49, 0.96), rgba(10, 20, 40, 0.88)),
    radial-gradient(circle at 20% 20%, rgba(71, 147, 255, 0.12), transparent 20%);
  border: 1px solid rgba(109, 160, 255, 0.18);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: var(--space-4);
  align-items: start;
}

.contact-copy .section-title {
  margin-bottom: 14px;
}

.contact-copy .section-subtitle {
  margin-bottom: 16px;
}

.contact-extra {
  margin: 0;
  color: #d5e4ff;
  line-height: 1.68;
  max-width: 680px;
}

.contact-form-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.form-label {
  font-size: 14px;
  font-weight: 700;
  color: #e8f2ff;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(132, 167, 255, 0.22);
  border-radius: 12px;
  background: rgba(8, 18, 40, 0.82);
  color: #eef4ff;
  font: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(63, 224, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(63, 224, 255, 0.12);
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0 6px;
  color: #cdddff;
  font-size: 13px;
  line-height: 1.5;
}

.form-consent input {
  margin-top: 2px;
}

.form-consent a {
  color: #8fdcff;
  text-decoration: underline;
}

.form-honey-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-honey-label,
.form-honey-input {
  position: absolute;
  left: -9999px;
}

.form-status {
  font-size: 14px;
  line-height: 1.55;
  color: #9fe6ff;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(63, 224, 255, 0.25);
  background: rgba(8, 22, 48, 0.65);
}

.form-status[hidden] {
  display: none !important;
}

.form-status.form-status--error {
  color: #ffc8c8;
  border-color: rgba(255, 120, 120, 0.35);
  background: rgba(40, 12, 20, 0.5);
}

.contact-form .btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.contact-direct {
  border-top: 1px solid rgba(127, 160, 255, 0.12);
  padding-top: 14px;
  display: grid;
  gap: 8px;
  color: #dbe9ff;
  font-size: 14px;
}

.contact-direct strong {
  color: #f2f7ff;
}

.contact-direct a {
  color: #9de6ff;
}

.footer-grid {
  align-items: start;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1fr auto;
  gap: 18px;
}

.footer-col {
  display: grid;
  gap: 8px;
}

.footer-title {
  color: #dce9ff;
  font-weight: 700;
  line-height: 1.5;
}

.footer-heading {
  color: #f0f6ff;
  font-weight: 700;
}

.footer-col a {
  color: #9ec0ff;
}

.footer-copy {
  color: #c8daff;
  font-weight: 700;
}

section[id] {
  scroll-margin-top: 90px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }

  .btn:hover,
  .btn:active {
    transform: none;
    filter: none;
  }

  .btn-primary:hover {
    box-shadow: var(--shadow);
  }

  .btn-secondary:hover {
    box-shadow: none;
  }

  .ai-core::before,
  .ai-core::after {
    animation: none;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cards-grid,
  #automation .start-grid,
  #automation .card-details-grid,
  #cases .projects-layout,
  .for-whom-grid,
  .solutions-grid,
  .benefits-grid,
  .section-process .process-nodes {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card {
    padding: 0;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .cards-grid,
  #automation .start-grid,
  #automation .card-details-grid,
  #cases .projects-layout,
  .for-whom-grid,
  .solutions-grid,
  .benefits-grid,
  .section-process .process-nodes,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  #cases .project-display {
    display: none;
  }

  #cases .project-mobile-image {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(132, 167, 255, 0.16);
    background: rgba(9, 20, 45, 0.58);
    margin: 0 0 14px;
  }

  #cases .project-item.is-open .project-panel {
    max-height: 760px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-visual,
  .card,
  .step,
  .cta-box {
    border-radius: 22px;
  }

  .hero-card {
    padding: 0;
    border-radius: 0;
  }

  .hero-text {
    font-size: 17px;
  }

  .section-subtitle,
  .section-process .process-step-text,
  .card p,
  .cta-text {
    font-size: 16px;
  }

  .section-process .process-timeline {
    --process-icon-h: 48px;
    --process-timeline-pad-top: 0px;
    --process-line-x: 25px;
    margin-top: clamp(40px, 6vw, 64px);
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .section-process .process-nodes {
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 5vw, 32px);
  }

  .section-process .process-line {
    display: block;
    left: var(--process-line-x);
    right: auto;
    top: calc(12px + var(--process-icon-h) / 2);
    bottom: calc(12px + var(--process-icon-h) / 2);
    width: 2px;
    height: auto;
    max-height: none;
    transform: none;
    background: linear-gradient(
      180deg,
      rgba(56, 189, 248, 0.08),
      rgba(94, 169, 255, 0.18) 50%,
      rgba(56, 189, 248, 0.08)
    );
  }

  .section-process .process-line-progress,
  .section-process .process-moving-icon {
    display: none;
  }

  .section-process .process-node {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 6px;
    align-items: start;
    text-align: left;
    padding: 0;
    position: relative;
  }

  .section-process .process-node-number {
    left: 0;
    top: 0;
    transform: none;
  }

  .section-process .process-node-icon {
    grid-row: 1 / -1;
    grid-column: 1;
    position: relative;
    left: auto;
    top: auto;
    margin: 0;
    width: var(--process-icon-h);
    height: var(--process-icon-h);
    justify-self: center;
    align-self: start;
  }

  .section-process .process-step-title {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 6px;
  }

  .section-process .process-step-text {
    grid-column: 2;
    grid-row: 2;
    padding-left: 0;
    margin: 0;
  }

  .section-process .process-node-icon svg {
    width: 24px;
    height: 24px;
  }

  .orbit {
    width: 74px;
    min-height: 74px;
    font-size: 12px;
    padding: 10px;
  }

  .card.about-portrait .ai-core {
    width: min(100%, 380px);
  }

  .header-actions .btn-secondary {
    display: none;
  }

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

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

  .contact-form-card {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .section {
    padding: 62px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .logo-bottom {
    font-size: 18px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .card.about-portrait {
    min-height: clamp(260px, 72vw, 360px);
    padding: 16px;
  }

  .card.about-portrait .ai-core {
    width: min(100%, min(340px, 92vw));
  }

  .orbit {
    width: 64px;
    min-height: 64px;
    font-size: 11px;
    padding: 8px 6px;
  }

  .section-title {
    margin-bottom: 12px;
    line-height: 1.12;
  }

  .section-subtitle {
    margin-bottom: 24px;
  }

  .card,
  .step,
  .cta-box {
    padding: 20px;
  }

  .cta-grid {
    gap: 18px;
  }

  .contact-card {
    padding: 16px 16px;
  }

  .ai-center strong {
    font-size: 22px;
  }
}