:root {
  --bg1: #0b1a66;
  --bg2: #3b1db5;
  --bg3: #a11b7b;
  --text: #eaf0ff;
  --muted: rgb(255, 255, 255);
  --line: rgba(234,240,255,.18);
  --accent: #3fe7ff;
  --btn: #6d4cff;

  --headerH: 85px;
}

/* reset */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: #060b1c;
  color: var(--text);
}

/* HERO background — matched to back.jpg */
.hero{
  position: relative;
  min-height: 100vh;

  background:
    radial-gradient(900px 520px at 55% 0%,
    rgba(34,43,167,0) 62%),
    radial-gradient(900px 700px at 100% 10%,
    rgba(92,34,212,0) 60%),
    linear-gradient(115deg,
    #05082c 0%,
    #0b154e 26%,
    #1d1f7b 54%,
    #9119d3 82%,
    #a806e5 100%);
}

/* header (floating always) */
.hero__header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--headerH);
  z-index: 1000;

  backdrop-filter: blur(10px);
  background: rgba(6, 11, 28, .18);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero__container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* header container must be full width like your screenshot */
.hero__header .hero__container{
  max-width: 100%;
  padding: 0 32px;   /* можно 24/32 как нравится */
}

.hero__nav {
  height: var(--headerH);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__right{
  display: flex;
  align-items: center;
  gap: 18px;
}

/* logo */
.hero__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hero__logoImg {
  height: 50px;
  width: auto;
  display: block;
}

/* menu */
.hero__menu{
  display:flex;
  gap:18px;
  align-items:center;
}

.hero__menu a {
  color: white;
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease;
}

.hero__menu a:hover{
  color: rgba(255,255,255,.6);
}

/* actions */
.hero__actions{
  display:flex;
  gap:12px;
  align-items:center;
}

.hero__phone {
  font-size: 15px;
  color: white;
  text-decoration: none;
  opacity: .9;
}

.hero__cta {
  padding: 10px 25px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7a58ff, var(--btn));
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

/* body centered */
.hero__body{
  min-height: 100vh;
  padding-top: var(--headerH);

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  z-index: 2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 1;
}

/* КЛЮЧЕВОЙ БЛОК */
.hero__content{
  width: 100%;
  max-width: 1040px;
  text-align: left;
}

.hero__title {
  font-size: 80px;
  font-weight: 900;
  line-height: 1.18;   /* КЛЮЧЕВОЕ */
  letter-spacing: 0.6px;
  margin: 0 0 22px;
  text-transform: uppercase;
  text-align: left;
}

.hero__title span { color: var(--accent);

}

.hero__subtitle{
  max-width: 620px;
  margin: 0 0 34px;
  font-size: 18px;        /* ← БОЛЬШЕ */
  line-height: 1.5;
  color: var(--muted);
  text-align: left;

}

/* form */
.hero__form{
  display: flex;
  justify-content: flex-start; /* ← слева */
  gap: 12px;
  flex-wrap: wrap;
}


.hero__form input {
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.2);
  color: white;
}

.hero__form input::placeholder { color: rgba(255,255,255,.5); }

.hero__form button {
  height: 48px;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  border-radius: 999px;
  border: none;
  background: linear-gradient(180deg, #7a58ff, var(--btn));
  cursor: pointer;
}

/* white block under hero */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.lightBlock {
  background: #ffffff;
  color: #0b0f1a;
  padding: 70px 0;
}

.lightBlock__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.lightBlock__title {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
}

.lightBlock__caption {
  font-size: 12px;
  font-weight: 700;
  opacity: .7;
}

.lightBlock__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  opacity: .8;
  max-width: 420px;
}

/* responsive */
@media (max-width: 860px) {
  .hero__menu { display: none; }

  .lightBlock__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

@media (max-width: 520px){
  .hero__phone{ display:none; }
}

/* =========================
   Responsive (Mobile/Tablet)
   ========================= */

@media (max-width: 992px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__title {
    font-size: 68px; /* если у тебя сейчас 90px */
    line-height: 1.05;
  }
}

@media (max-width: 768px) {
  .hero__nav {
    height: 72px;              /* чуть выше/компактнее */
    padding: 0 18px;
  }

  /* логотип слева, действия справа */
  .hero__nav-inner {
    gap: 12px;
  }

  /* скрываем пункты меню (About/Services/Contacts) на мобиле */
  .hero__menu {
    display: none;
  }

  /* оставляем справа телефон + иконки + кнопку */
  .hero__right {
    gap: 10px;
  }

  .hero__phone {
    display: none; /* можно убрать номер на мобиле, чтобы не ломало */
  }

  .hero {
    min-height: 760px;
    padding-top: 90px; /* чтобы контент не залезал под fixed nav */
  }

  .hero__body {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    text-align: left; /* как на десктопе */
  }

  .hero__title {
    font-size: 54px;
    line-height: 1.04;
    letter-spacing: 0.5px;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 1.45;
    margin-top: 18px;
  }

  .hero__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }

  .hero__input,
  .hero__btn {
    width: 100%;
    height: 54px;
    border-radius: 14px;
  }

  .hero__btn {
    font-size: 14px;
    letter-spacing: 0.6px;
  }
}

@media (max-width: 480px) {
  .hero__nav {
    height: 68px;
    padding: 0 14px;
  }

  .hero__title {
    font-size: 44px;
    line-height: 1.02;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .hero {
    min-height: 720px;
  }
}
