* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

li {
  list-style: none;
}

button {
  outline: none;
  border: none;
  cursor: pointer;
}

.content {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 111%;
  text-align: center;
  color: #1c1c1e;
}

.nav {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  height: 69px;
}

.nav-container-fixed {
  position: fixed;
  right: 0;
  top: 0;
  left: 0;
  z-index: 99;
  background: #ffffff;
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  color: var(--light-typo-accent);
  outline: none;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.nav-list .item {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #1c1c1e;
  transition: 0.3s;
}

.nav-list .item.active {
  font-weight: 600;
  color: var(--light-typo-accent);
}

.nav-list .item:hover {
  color: var(--light-typo-accent);
}

.nav-container .open-app {
  border-radius: 10px;
  padding: 10px 24px;
  width: 125px;
  height: 44px;
  background: var(--light-typo-accent);

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--light-fill-island);
}

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

.header-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  height: calc(100vh - 70px);
  overflow: hidden;
  position: relative;
}

.header-info {
  max-width: 670px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: absolute;
  transform: translateY(-50%);
  z-index: 6;
  top: 50%;
}

.header-info h1 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 48px;
  line-height: 125%;
  color: #1c1c1e;
}

.header-info p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #6b7280;
}

.header-info a {
  border-radius: 10px;
  width: 237px;
  background: var(--light-typo-accent);

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--light-fill-island);
  padding: 13px 90px;
}

.burger-toggle {
  display: none;
}

.burger-menu {
  display: none;
}

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

.header-info div span {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #6b7280;
}

.header-container .phone {
  user-select: none;
  pointer-events: none;
}

.header-container .phone.s {
  position: absolute;
  right: 25%;
  height: 90vh;
  bottom: -10vh;
  z-index: 5;
}

.header-container .phone.l {
  position: absolute;
  right: 2%;
  height: 120vh;
  bottom: -30vh;
  z-index: 4;
}


/* stats */
.stats,
.stats-carousel {
  padding: 48px 0;
  background: #0053b2;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats-container div h2 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 111%;
  text-align: center;
  color: var(--light-fill-island);
}

.stats-container div p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.stats-carousel {
  display: none;
}


.swiper-slide {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stats h2 {
  margin-bottom: 10px;
  /* Ваши существующие стили для шрифтов */
}

/* OFFERS */

.offer {
  background: #f2f4f8;
}

.offers {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.offers .item {
  padding: 32px;
  box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  background: var(--light-fill-island);
  border-radius: 14px;
  flex: 1;
  min-width: 255px;
}


.section-icon {
  border-radius: 10px;
  padding: 0px 12px;
  width: 48px;
  height: 48px;
  background: #e6f1fb;

  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 16px;
}

.section .item:hover .section-icon {
  transform: rotate(5deg);
  scale: 1.1;
}

.offers .item h3 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  color: #1c1c1e;
  margin-bottom: 12px;
}

.offers .item p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #6b7280;
}


/* EXAMS */
.exams {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.exams .item {
  border-radius: 14px;
  padding: 32px 16px 32px 24px;
  flex: 1;
  background: #f2f4f8;

  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 430px;
}

.exams .item .info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exams .item .info .step {
  border-radius: 33554400px;
  width: 64px;
  height: 64px;
  background: var(--light-typo-accent);

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 133%;
  text-align: center;
  color: var(--light-fill-island);

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

.exams .item .info h2 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 133%;
  color: #1c1c1e;
}

.exams .item .info p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #6b7280;
}


/* FEATURE */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.features .item {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 25px 16px;
  background: #f2f4f8;
}

.features .item h2 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 156%;
  color: #1c1c1e;
}

.features .item p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #6b7280;
}

/* ACCESS */
.access {
  background: #0053b2;
}

.access .section-container {
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.access-info h1 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 111%;
  color: var(--light-fill-island);
  margin-bottom: 16px;
}

.access-info p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--light-fill-island);
  margin-bottom: 32px;
}

.access-info .links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.access-info .links a {
  border: 1px solid var(--light-typo-accent);
  background: var(--light-fill-island);
  border-radius: 10px;
  padding: 10px 31px;
  flex: 1;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #0d3d7a;
}

/* RATINGS */
.ratings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ratings .item {
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  background: var(--light-fill-island);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ratings .item .stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ratings .item p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #1c1c1e;
}

.ratings .item span {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  color: #6b7280;
}

/* FAQ */
.faq-list {
  min-width: 200px;
  max-width: 768px;
  margin: auto;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle lift on hover */
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 16px -4px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 15px;
}

.faq-question span {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #1c1c1e;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #4A5565;
}

/* Expandable logic */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
}

.faq-answer-content {
  overflow: hidden;
  color: 101828;
  line-height: 1.6;
  font-size: 15px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #6b7280;
}

/* Active State */
.faq-item.active {
  border-color: #d1d5db;
  background-color: #ffffff;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* FOOTER */

.footer {
  background: #1c1c1e;
  padding: 48px 0;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 32px;
}

.logo-container a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  color: var(--light-fill-island);
  margin-bottom: 16px;
}

.footer p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: rgba(255, 255, 255, 0.6);
}

.footer-main .item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-main .item h2 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--light-fill-island);
  margin-bottom: 10px;
}

.footer-main .item a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s ease-in-out;
}

.footer-main .item a:hover {
  color: #fff;
}

.footer-main .item .icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-main .item .icons a {
  border-radius: 10px;
  padding: 0px 10px;
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.footer-main .item .icons a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 33px 0px 0px;
  height: 53px;

  display: flex;
  justify-content: center;
}




/* ===== Language Switcher ===== */

.header-lang {
  position: relative;
  width: 100px;
  font-family: Inter, sans-serif;
}

/* Hide native select */
.select-lang {
  display: none;
}

/* Main button */
.btn-select {
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.205);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  color: #fff;
  font-size: 15px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 0 14px;

  cursor: pointer;

  transition: all 0.25s ease;
}

.btn-select span {
  color: #000;
}

/* Hover effect */
.btn-select:hover {
  background: rgba(255, 255, 255, 0.09);
}

/* Arrow */
.btn-select::after {
  content: "";

  width: 16px;
  height: 16px;

  background-image: url("/static/assets/images/icons/arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transition: transform 0.25s ease;
}

/* Rotate arrow when open */
.lang-block.active+.btn-select::after {
  transform: rotate(180deg);
}

/* Dropdown */
.lang-block {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;

  background: rgb(255, 255, 255);
  backdrop-filter: blur(20px);

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.25s ease;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35);
  z-index: 100;
}

/* Open state */
.lang-block.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* List */
#select-lang-list {
  list-style: none;
  margin: 0;
  padding: 8px;
}

/* Items */
#select-lang-list li {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 6px 8px;
  border-radius: 12px;

  color: #000000;
  font-size: 15px;
  font-weight: 500;

  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover item */
#select-lang-list li:hover {
  background: rgba(199, 199, 199, 0.6);
  transform: translateX(4px);
}

/* Flag image */
#select-lang-list img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Active selected item */
#select-lang-list li.active {
  background: linear-gradient(135deg,
      #5b8cff,
      #7b61ff);
}

/* Smooth appearance */
#select-lang-list li {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}