:root {
  --bg: #eef3ff;
  --ink: #14203f;
  --ink-soft: #4e5f8f;
  --blue: #5c7cff;
  --blue-2: #4b67e6;
  --cyan: #7ab8ff;
  --line: rgba(92, 124, 255, 0.18);
  --white-glass: rgba(255, 255, 255, 0.82);
  --shadow: 0 16px 40px rgba(42, 64, 148, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  position: relative;
  background-image: url("bg1.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

#pixelCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(245, 248, 255, 0.74);
  border-bottom: 1px solid rgba(92, 124, 255, 0.2);
}

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

.company-short {
  font-weight: 800;
  color: var(--blue-2);
  letter-spacing: 0.01em;
}

.desktop-nav {
  display: none;
  gap: 8px;
}

.desktop-nav button,
.mobile-nav button,
.menu-toggle,
.btn {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.desktop-nav button,
.mobile-nav button {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: 0.25s ease;
}

.desktop-nav button:hover,
.mobile-nav button:hover {
  background: rgba(92, 124, 255, 0.14);
  color: var(--blue-2);
}

.menu-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: 0.22s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 10px 16px 16px;
  background: rgba(251, 253, 255, 0.93);
  border-top: 1px solid rgba(92, 124, 255, 0.2);
}

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

.main {
  padding: 36px 0 0;
}

.hero {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 52px);
  overflow: hidden;
  display: grid;
  gap: 24px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.9), rgba(239, 245, 255, 0.8)),
    linear-gradient(120deg, rgba(92, 124, 255, 0.12), transparent 60%);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 124, 255, 0.28), rgba(92, 124, 255, 0.02));
}

.hero-pill {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 24px rgba(92, 124, 255, 0.32);
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.gradient-text {
  display: block;
  background: linear-gradient(90deg, #2c49d8, #5c7cff, #74a3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 18px 0 0;
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(16px, 2.2vw, 22px);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), #6f8dff);
  box-shadow: 0 10px 24px rgba(92, 124, 255, 0.35);
}

.btn-secondary {
  color: var(--blue-2);
  background: rgba(92, 124, 255, 0.12);
}

.hero-floating-card {
  position: relative;
  align-self: start;
  padding: 22px;
  border-radius: 18px;
  background: rgba(16, 34, 84, 0.88);
  color: #dfe8ff;
  box-shadow: 0 18px 40px rgba(19, 37, 84, 0.4);
}

.hero-floating-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
}

.hero-floating-card p {
  margin: 0 0 12px;
}

.hero-floating-card ul {
  margin: 0;
  padding-left: 18px;
}

.shape {
  position: absolute;
  pointer-events: none;
}

.shape.circle {
  width: 64px;
  height: 64px;
  right: 32px;
  bottom: 30px;
  border: 8px solid rgba(92, 124, 255, 0.56);
  border-radius: 50%;
}

.shape.triangle {
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-bottom: 46px solid rgba(92, 124, 255, 0.5);
  left: 32px;
  bottom: 26px;
}

.diagonal-divider {
  height: 96px;
  background: linear-gradient(176deg, transparent 52%, rgba(92, 124, 255, 0.16) 52%);
}

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

.section h2,
.footer h2 {
  margin: 0 0 25px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 20px);
}

.section-light {
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.8), rgba(255, 255, 255, 0.74));
}

.section-gradient {
  background: linear-gradient(120deg, rgba(26, 45, 109, 0.98), rgba(50, 82, 190, 0.95));
}

.section-white {
  background: rgba(255, 255, 255, 0.7);
}

.section-soft-blue {
  background: linear-gradient(130deg, rgba(235, 242, 255, 0.95), rgba(223, 234, 255, 0.85));
}

.section-gradient-pricing {
  background: linear-gradient(135deg, rgba(226, 236, 255, 0.95), rgba(248, 251, 255, 0.85));
}

.asymmetric-layout {
  display: grid;
  gap: 18px;
}

.card {
  border: 0;
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--white-glass);
  box-shadow: var(--shadow);
}

.card p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.card p:last-child {
  margin-bottom: 0;
}

.card h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.1;
}

.accent-card {
  background: linear-gradient(140deg, rgba(92, 124, 255, 0.92), rgba(65, 96, 230, 0.94));
  color: #e8eeff;
}

.accent-card p,
.accent-card h3 {
  color: #fff;
}

.badge {
  display: inline-flex;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.notice-banner {
  border-radius: 26px;
  padding: clamp(24px, 4vw, 40px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, rgba(92, 124, 255, 0.42), rgba(122, 184, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notice-banner h2 {
  color: #fff;
}

.notice-banner p {
  margin: 0 0 14px;
  font-size: clamp(16px, 2vw, 21px);
}

.notice-banner p:last-child {
  margin-bottom: 0;
}

.expertise-grid {
  display: grid;
  gap: 18px;
}

.expertise-card {
  background: rgba(255, 255, 255, 0.88);
}

.shift-up {
  transform: translateY(-12px);
}

.tech-cloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}





/* Флекс-сетка для трех колонок */
.tech-cloud {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

/* Каждая колонка (tech-chip) */
.tech-chip {
    flex: 1;
    min-width: 200px;
}

/* Элементы внутри колонки — имитируем li */
.tech-chip div {
    position: relative;
    padding-left: 20px; /* Отступ под буллит */
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.4;
}

/* Создаем буллит через псевдоэлемент */
.tech-chip div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em; /* Выравнивание по высоте текста */
    width: 6px;
    height: 6px;
    background-color: #3182ce; /* Цвет точки */
    border-radius: 50%;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .tech-cloud {
        flex-direction: column;
        gap: 0;
    }
    .tech-chip {
        margin-bottom: 10px;
    }
}


/*
.tech-chip {
  display: grid;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(90deg, #5c7cff, #77a8ff);
  box-shadow: 0 8px 22px rgba(92, 124, 255, 0.28);
}
*/

.focus-layout {
  display: grid;
  gap: 16px;
}

.focus-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.focus-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(92, 124, 255, 0.14);
  color: var(--blue-2);
  font-weight: 800;
}

.focus-item p {
  margin: 0;
  color: var(--ink-soft);
}

.pricing-layout {
  display: grid;
  gap: 18px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.9);
}

.price-row {
  display: grid;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.price-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.price-row span {
  color: var(--ink-soft);
}

.price-row strong {
  color: var(--blue-2);
  font-size: 17px;
}

/*.disclaimer-card {
  background: rgba(26, 42, 96, 0.94);
}*/

/*.disclaimer-card h3,
.disclaimer-card p {
  color: #f0f5ff;
}*/

.footer {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, rgba(19, 38, 90, 0.96), rgba(11, 24, 64, 0.98));
}

.footer h2 {
  color: #fff;
}

.contacts-grid {
  display: grid;
  gap: 12px;
}

.contacts-grid p {
  margin: 0;
  color: #d2deff;
/*
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(110, 138, 255, 0.15);
  border: 1px solid rgba(122, 184, 255, 0.22);
*/
}

.contacts-grid strong {
  color: #fff;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1050px) {
  .desktop-nav {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .hero {
    grid-template-columns: 1.1fr 0.7fr;
    align-items: start;
  }

  .asymmetric-layout {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
  }

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

  .tech-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .focus-layout {
    grid-template-columns: 1fr 1fr;
  }

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

  .disclaimer-card {
    grid-column: 1 / -1;
  }

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