/* =========================
   MONTSERRAT (LOCAL)
   ========================= */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900; /* variable font */
  font-style: normal;
  font-display: swap;
}

/* применяем ВЕЗДЕ */
html, body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}























/* ===================================================== */
/* RESET / BASE */
/* ===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at 50% 20%, #0f1a2b 0%, #070b14 60%, #05080f 100%);
  color: #e6edf3;
  overflow-x: hidden;
}

/* ===================================================== */
/* LAYOUT / CONTAINER */
/* ===================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===================================================== */
/* NAVBAR */
/* ===================================================== */

.navbar {
  position: fixed;
  width: 100%;
  padding: 24px 0;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.75);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-links a {
  margin-left: 40px;
  text-decoration: none;
  color: #7e8ba3;
  font-size: 14px;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #cfd9ff;
}
/* NAVBAR layout */
.nav-inner {
  display: flex;
  justify-content: space-between; /* логотип слева, ссылки справа */
  align-items: center;
}

/* LOGO */
.logo img {
  height: 50px;
  display: block;
}

/* ОТСТУПЫ НАВБАРА */
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
}



/* ===================================================== */
/* HERO */
/* ===================================================== */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* Canvas на весь экран */
#network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
  z-index: 0;
  pointer-events: none;
}

/* Затемняющий градиент поверх canvas */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
}

/* Контент поверх canvas */
.hero-content {
  position: relative;
  z-index: 2;
}

/* ===================================================== */
/* HERO TITLE */
/* ===================================================== */

.hero-title {
  font-family: "Orbitron", sans-serif;
  font-size: 96px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 30px;

  display: inline-flex;
  gap: 12px;

  background: linear-gradient(90deg, #ffffff, #9edfff, #00eaff, #ffffff);
  background-size: 300% 300%;
  animation: gradientFlow 8s ease infinite;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 25px rgba(0, 220, 255, 0.35), 0 0 45px rgba(0, 200, 255, 0.25);
}
.hero-title .word + .word {
  margin-left: 20px; /* отступ между L и T */
}


@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-sub {
  font-size: 20px;
  color: #cfe7ff;
  margin-bottom: 50px;
}

/* ===================================================== */
/* BUTTONS (общие) */
/* ===================================================== */

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.3s ease;
}

/* Primary (герой-кнопка) */
.btn-primary {
  background: linear-gradient(90deg, #1c9cff, #00d4ff);
  color: #0a0f1a;
  font-weight: 600;
  padding: 18px 48px;
  font-size: 15px;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.4), 0 0 40px rgba(0, 200, 255, 0.15);
  transform: translateY(-2px);
}

/* Blue (используется и как <a>, и как <button>) */
.btn-blue {
  padding: 16px 38px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;

  color: #0a0f1a;
  background: linear-gradient(90deg, #1c9cff, #00d4ff);

  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.35);

  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease;

  /* чтобы кнопка в promo не “растягивалась” в grid */
  justify-self: start;
}

.btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 45px rgba(0, 200, 255, 0.6);
}

/* ===================================================== */
/* SECTIONS (общие) */
/* ===================================================== */

.section {
  padding: 140px 0;
}

.section.dark {
  background: #0c1423;
}

.section h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 34px;
  margin-bottom: 40px;
  letter-spacing: 3px;
  color: #d8e6ff;
}

.section p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #9fb3c8;
}

/* ===================================================== */
/* CARDS */
/* ===================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 50px;
  border-radius: 22px;
  transition: 0.4s ease;
}

.card:hover {
  border-color: rgba(120, 200, 255, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 100, 255, 0.1);
}

.card h3 {
  margin-bottom: 18px;
  font-size: 20px;
}

.card p {
  font-size: 15px;
  color: #8ea3c0;
  text-align: justify;
  text-justify: inter-word;
}

/* ===================================================== */
/* PROMO BLOCK */
/* ===================================================== */

/* Полоса (перебивает .section padding) */
.promo-block.section {
  padding: 70px 0;
}

.promo-block {
  background: rgba(7, 11, 20, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-inner {
  display: grid;
  grid-template-columns: max-content 1fr; /* кнопка по своей ширине */
  align-items: center;
  justify-content: center;
  column-gap: 50px; /* расстояние между кнопкой и текстом */
  row-gap: 10px;
}


.promo-text {
  max-width: 100%;
  margin-top: 20px;
  text-align: justify;
  text-justify: inter-word;
}

/* (Класс promo-lead был в исходнике, но в HTML не используется — оставил на будущее) */
.promo-lead {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(207, 231, 255, 0.85);
  max-width: 780px;
}

/* ===================================================== */
/* VISUAL SECTIONS */
/* ===================================================== */

.visual-section {
  padding: 100px 0;
}

.visual-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;

  max-width: 1120px;
  margin: 0 auto;
  padding: 42px 48px;

  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.visual-box.reverse {
  flex-direction: row-reverse;
}

/* Картинка */
.visual-image {
  flex: 0 0 460px;
}

.visual-image img {
  width: 100%;
  max-width: 460px;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

/* Текст */
.visual-text {
  flex: 1;
  max-width: 520px;
}

.visual-text h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.visual-text p,
.visual-text li {
  color: rgba(207, 231, 255, 0.78);
}

.visual-text ul {
  padding-left: 20px;
  margin-top: 15px;
}

.visual-text ul li {
  margin-bottom: 8px;
}

/* ===================================================== */
/* FEATURE GRID (внутри VISUAL 3) */
/* ===================================================== */

.visual-lead {
  margin-bottom: 35px;
  color: #9fb3c8;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.feature-item {
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(120, 200, 255, 0.5);
  transform: translateY(-4px);
}

.feature-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #00d4ff;
}

.feature-desc {
  font-size: 14px;
  color: #9fb3c8;
  line-height: 1.5;
}

/* ===================================================== */
/* CTA SECTION (контакты + форма) */
/* ===================================================== */

.cta-section {
  padding: 140px 0;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;

  padding: 60px;
  border-radius: 28px;

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.cta-content h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 36px;
  margin-bottom: 25px;
  color: #e6edf3;
}

.cta-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #9fb3c8;
}

/* FORM */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-form input,
.cta-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  color: #e6edf3;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
}

.cta-form textarea {
  min-height: 120px;
  resize: none;
}

.cta-form input:focus,
.cta-form textarea:focus {
  border-color: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
}

/* ===================================================== */
/* FOOTER */
/* ===================================================== */

.footer {
  padding: 80px 0;
  text-align: center;
  color: #5f6f89;
  font-size: 14px;
}

/* ===================================================== */
/* GLOW FOLLOW CURSOR (cards + feature-item + big blocks) */
/* ===================================================== */

/* На какие блоки включаем */
.card,
.feature-item,
.visual-box,
.cta-box {
  position: relative;
  overflow: hidden;
}

/* Свечение за курсором */
.card::before,
.feature-item::before,
.visual-box::before,
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;

  /* круг больше, чтобы смотрелось красиво на больших блоках */
  background: radial-gradient(
    520px circle at var(--x, 50%) var(--y, 50%),
    rgba(0, 212, 255, 0.16),
    transparent 60%
  );
}

.card:hover::before,
.feature-item:hover::before,
.visual-box:hover::before,
.cta-box:hover::before {
  opacity: 1;
}

/* Обводка при hover */
.card::after,
.feature-item::after,
.visual-box::after,
.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  border: 1px solid rgba(0, 212, 255, 0);
  opacity: 0;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

/* Радиусы под каждый блок */
.card::after { border-radius: 22px; }
.feature-item::after { border-radius: 16px; }
.visual-box::after { border-radius: 26px; }
.cta-box::after { border-radius: 28px; }

.card:hover::after,
.feature-item:hover::after,
.visual-box:hover::after,
.cta-box:hover::after {
  opacity: 1;
  border-color: rgba(0, 212, 255, 0.45);
}

/* ===================================================== */
/* RESPONSIVE */
/* ===================================================== */

@media (max-width: 1000px) {
  .visual-box {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .visual-box.reverse {
    flex-direction: column;
  }

  .visual-image {
    flex: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 64px;
  }
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 30px;
  }
}




/* ========================= */
/* SUCCESS MODAL */
/* ========================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 2000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(0, 212, 255, 0.4);
  padding: 40px 50px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.25);
  max-width: 420px;
}

.modal-box h3 {
  margin-bottom: 15px;
  font-size: 24px;
  color: #00d4ff;
}

.modal-box p {
  margin-bottom: 25px;
  color: #cfe7ff;
}

/* ========================= */
/* FLOATING ACTION BUTTON */
/* ========================= */

.fab {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
}

/* Контейнер иконок */
.fab__menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.3s ease;
}

/* Когда открыто */
.fab.is-open .fab__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Маленькие кнопки */
.fab__item {
  width: 58px;
  height: 58px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);

  transition: 0.25s ease;
}

.fab__item img {
  width: 26px;
  height: 26px;
  display: block;
}

/* Hover эффект */
.fab__item:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 20px rgba(0,212,255,0.4);
}

/* Главная кнопка */
.fab__main {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(90deg, #1c9cff, #00d4ff);
  color: #0a0f1a;
  font-size: 28px;
  font-weight: 600;

  box-shadow: 0 0 25px rgba(0,200,255,0.5);
  transition: 0.3s ease;
}

/* Поворот плюсика */
.fab.is-open .fab__icon {
  transform: rotate(45deg);
}

.fab__icon {
  transition: 0.3s ease;
}
.fab__item img {
  width: 26px;
  height: 26px;
  display: block;

  filter: brightness(0) invert(1);
}

