@font-face {
  font-display: swap;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Manrope-Regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  src: url("assets/fonts/Manrope-Medium.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/Manrope-Bold.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  src: url("assets/fonts/Manrope-ExtraBold.woff2") format("woff2");
}

:root {
  --accent: #0061ff;
  --accent-light: #6bb5ff;
  --text: #1b1f23;
  --muted: #6b7280;
  --bg: #f9fbfd;
  --radius: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --font: "Manrope", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body.nav-open {
  overflow: hidden;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section {
  padding: 8rem 0;
}

.section.light {
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
}

.section__title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.header__container {
  position: relative;
  display: flex;
  align-items: center;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  text-decoration: none;
}

.logo img {
  display: block;
  height: 44px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 97, 255, 0.1);
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: 0.3s;
}

.nav__link:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 1.8rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 97, 255, 0.25);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 97, 255, 0.35);
}

.btn--ghost {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  min-height: calc(100vh - 77px);
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  background: url("assets/images/hero_bg.jpg") center/cover no-repeat;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 40, 0.2),
    rgba(10, 20, 40, 0.4)
  );
  z-index: -1;
}

.hero__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero__text h1 {
  color: #fff;
  font-size: 3.8rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero__text p {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin-inline: auto;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  filter: blur(40px);
  top: -50px;
  right: -50px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(0, 97, 255, 0.1);
}

.card:hover::before {
  opacity: 0.5;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.card p {
  color: var(--muted);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.step {
  flex: 1;
  min-width: 250px;
}

.step__number {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  color: var(--accent);
  border: 1px solid rgba(0, 97, 255, 0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 97, 255, 0.1);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.faq {
  max-width: 750px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #e5e7eb;
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text);
  padding: 1.5rem 0;
  text-align: left;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--muted);
}

.faq__answer p {
  padding-bottom: 1.5rem;
}

.faq__icon {
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.footer {
  text-align: left;
  padding: 4rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer__brand {
  flex: 2;
  min-width: 280px;
}

.footer__right {
  flex: 3;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer__logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer__brand p {
  max-width: 300px;
}

.footer__contacts,
.footer__social {
  flex: 1;
  min-width: 220px;
}

.footer h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer__contacts ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contacts li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent);
}

.footer__contacts svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.footer__social-links {
  display: flex;
  gap: 1rem;
}

.footer__social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(220, 235, 255, 0.5);
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer__social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.footer__social-links svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
  transition: fill 0.3s ease;
}

.footer__social-links a:hover svg {
  fill: #fff;
}

.footer__divider {
  border: none;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.footer__bottom {
  text-align: center;
  font-size: 0.85rem;
}

.burger {
  display: none;
}
.header__actions {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 992px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;

    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 99;
  }

  .nav.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .nav__link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
  }

  .header__actions {
    display: flex;
    align-items: center;
  }

  .header__actions .btn--accent {
    display: none;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
  }

  .burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .burger.is-active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .burger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .burger.is-active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .header__container {
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding: 8rem 0;
  }

  .hero__text h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 5rem 0;
  }

  .section__title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .footer__main,
  .footer__right {
    flex-direction: column;
    text-align: center;
  }
  .footer__brand p {
    margin-inline: auto;
  }
  .footer__contacts ul {
    align-items: center;
  }
  .footer__social-links {
    justify-content: center;
  }
}
