/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Jura', sans-serif;
  letter-spacing: 0.02em;
}
body, html {
  overflow-x: hidden;
}

body {
  color: #fff;
  scroll-behavior: smooth;
  position: relative;
  background-color: #180b0e;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2NkYGBgAAAABAABJzQnCgAAAABJRU5ErkJggg==');
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0 60px;
  position: relative;
  z-index: 2;
}

/* Шапка */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-left: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.header-logo:hover {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(4px);
  }
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  color: #100103;
  border: none;
  border-radius: 20px;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin-left: 16px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.download-btn:hover {
  background-color: #f5f5f5;
  transform: scale(1.05);
}

.burger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  margin-right: 16px;
}

/* Мобильный стиль */
@media (max-width: 768px) {
  .header-inner {
    padding: 6px 6px; 
    align-items: center;
  }

  .burger {
    display: block;
  }

  nav.nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }

  nav.nav.open {
    display: flex;
  }

  nav .nav-btn {
    width: 100%;
    text-align: left;
    padding: 12px 12px;
  }

  .nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .nav.show {
    display: flex;
  }
}

/* Material 3 кнопки */
nav .nav-btn {
  background-color: #fee8ea; 
  color: #100103;
  border: none;
  border-radius: 20px;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
nav .nav-btn:hover {
  background-color: #fcd2dc;
  transform: scale(1.03);
}
nav .nav-btn.active {
  background-color: #e00e0e;
  color: white;
}

.main-block {
  position: relative;
  background: radial-gradient(
    circle,
    #1a0b0f 0%,
    #401a24 25%,
    #802b3f 50%,
    #ad5666 75%,
    #802b3f 90%,
    #401a24 100%
  );
  background-size: 200% 200%;
  animation: bgShiftCircle 8s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(173, 86, 102, 0.5);
  z-index: 0;
}

.main-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2NkYGBgAAAABAABJzQnCgAAAABJRU5ErkJggg==');
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .main-block {
    padding: 40px 0;
  }

  .flex.center {
    flex-direction: column;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 20px;
    margin-top: 32px;
    gap: 24px;
  }

  .main-content {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1;
  }

  .title-with-logo {
    display: block;
    width: 50%;
    margin: 0 auto;
  }

  .title-with-logo img {
    width: 40%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .main-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 12px 0;
    max-width: 90%;
  }

  .store-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .store-links img {
    height: 36px;
    max-width: 100%;
    width: auto;
  }
}


@media (max-width: 768px) {
  .main-block {
    padding: 40px 0;
  }

  .flex.center {
    flex-direction: column;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 20px;
    margin-top: 32px;
    gap: 24px;
  }

  .main-content {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 2;
  }

  .title-with-logo {
    display: block;
    width: 50%;
    margin: 0 auto;
  }

  .title-with-logo img {
    width: 40%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .main-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 12px 0;
    max-width: 90%;
  }

  .store-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .store-links img {
    height: 36px;
    max-width: 100%;
    width: auto;
  }

  .mockup-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .mockup-single {
    max-height: 300px;
    margin: 12px auto;
  }

  .mockup-single img {
    max-height: 300px;
    margin-left: 28px;
    transform: scale(1.3);
    width: auto;
    height: auto;
    display: block;
  }
}

@keyframes bgShiftCircle {
  0% {
    background-position: 50% 50%;
  }
  25% {
    background-position: 0% 100%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 50% 50%;
  }
}

 /* Стили для блока features */
.features-block {
  padding: 80px 20px;
  background-color: #111;
  color: #fff;
  text-align: center;
}

.features-block h2 {
  margin-bottom: 40px;
  font-size: 2rem;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.feature-card {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 24px;
  max-width: 300px;
  flex: 1 1 260px;
  background-color: rgba(255,255,255,0.02);
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  fill: currentColor;
}

/* Flex container */
.flex.center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
}

/* Контент в главном блоке */
.main-content {
  z-index: 3;
  max-width: 50%;
}

.squished-text {
   display: inline-block;
  transform: scaleY(0.7);
  transform-origin: top;
  font-size: 5rem;
  font-weight: 700;
  color: white;
}

.title-with-logo {
  display: flex;
  align-items: start;
  justify-content: start;
  max-width: 100%;
  width: 100%;
  flex-wrap: wrap;
}

.title-with-logo img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

.main-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Кнопки стора */
.store-links {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px;
}

.store-links a {
  display: inline-block;
  border-radius: 8px;
  padding: 4px;
  transition: all 0.8s ease;
}

.store-links a img {
  height: 56px;
  display: block;
}

.store-links a:hover {
  transform: translateY(-8px);
}

.mockup-gallery {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.mockup-single {
  width: 100%;
  max-width: 100%;
  transition: transform 0.8s;
}

.mockup-single img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.mockup-single:hover {
  transform: scale(1.6);
}

.works-block {
  position: relative;
  background: #ffffff;
  color: #222;
  padding: 60px 20px;
  overflow: hidden;
  z-index: 0;
}

.works-block h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
}

.info-block {
  text-align: center;
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
}

.caption {
  font-size: 1.8rem;
  max-width: 800px;
  margin: 0 auto 30px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(to right, #cb1c2e, #9a1c1c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qr-mock {
  max-width: 50%;
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 100px;
  position: relative;
}

.step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.step:not(:first-child) {
  margin-top: -150px; 
}

.step-even {
  flex-direction: row-reverse;
}

.step img {
  width: 35%;
  max-width: 300px;
  height: auto;
  min-height: 200px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  flex-shrink: 0;
  border: 1.5px solid rgba(222, 26, 26, 0.3);
  border-radius: 24px;
}

.step-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  margin: 0 20px;
  border-radius: 32px;
  backdrop-filter: blur(8px);
  color: #0c1e3d;
  position: relative;
  margin-top: 100px;
}

.step-text h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.step-text p {
  font-size: 1rem;
  line-height: 1.6;
  word-wrap: break-word;
}

/* Текст выравнивание */
.step-odd .step-text {
  text-align: left;
}

.step-even .step-text {
  text-align: right;
}

/* Номер шага с Material3 стилем */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255 255 255 / 0.12);
  border: 1.5px solid rgba(222, 26, 36, 0.3);
  border-radius: 24px;
  padding: 6px 18px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #df051a;
  margin-bottom: 14px;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .step,
  .step-even,
  .step-odd {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step:not(:first-child) {
    margin-top: -100px; 
  }

  .step img {
    order: 2;
    width: 80%;
    max-width: 90%;
    margin: 20px 0 0;
  }

  .step-text {
    order: 1;
    max-width: 90%;
    margin: 20px 0 0;
    text-align: center !important;
  }

  .qr-mock {
    max-width: 90%;
    margin-bottom: 20px;
  }

  .caption {
    font-size: 1.2rem;
  }

  .step-text h3 {
    font-size: 1.2rem;
  }

  .step-text p {
    font-size: 0.95rem;
  }
}

/* Адаптив */
@media (max-width: 1024px) {
  .flex.center {
    flex-direction: column;
    text-align: center;
  }
  .main-content {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .mockup-gallery {
    width: 100%;
  }
  .mockup-single {
    max-width: 90%;
  }
}

.slider-block h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}
.slider-block {
  padding: 40px 20px;
  background: #dbc6c6;
  color: white;
  font-family: 'Jura', sans-serif;
}

.slider-block h2 {
  text-align: center;
  margin-bottom: 24px;
  font-weight: 700;
}

.swiper-header {
  font-size: 1.8rem;
  max-width: 800px;
  margin: 0 auto 30px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(to right, #cb1c2e, #9a1c1c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.swiper {
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
  position: relative;
  margin-top: 40px;
}

.swiper-slide {
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(0.6);
  transform: scale(1);
  opacity: 0.6;
}

.swiper-slide-active {
  transform: scale(1.1);
  filter: none;
  padding-top: 40px;
  padding-bottom: 40px;
  opacity: 1;
  z-index: 2;
}

.swiper-slide img {
  width: auto;
  height: auto; 
  max-height: 600px;
  border-radius: 20px;
  object-fit: cover; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.swiper-button-prev,
.swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #cb1c2e;
}

.swiper-pagination-bullet-active {
  background-color: #cb1c2e; /* активный цвет */
}

.swiper-pagination {
  position: static;
  margin-top: 30px;
  text-align: center;
  color: #cb1c2e;
}

/* Дополнительная кастомизация для Material-style кнопок */
.material-button {
  background: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
}

.swiper-button-prev {
  left: clamp(10px, 2vw, 20px);
  z-index: 20;
}

.swiper-button-next {
  right: clamp(10px, 2vw, 20px);
  z-index: 20;
}

@media (max-width: 768px) {
  .swiper-slide img {
    max-width: 100%;
    max-height: 64vh;
    border-radius: 12px;
  }

  .swiper-slide-active {
    transform: scale(1.05); /* Уменьшаем масштаб на мобильных */
  }
}

.material-icons-outlined {
  font-size: 28px;
  color: #333;
}
.contacts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 0;
}

.contacts-left,
.contacts-right {
  flex: 1 1 45%;
  min-width: 280px;
}

.contacts-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.contacts-logo-row .contacts-logo-icon {
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  width: auto;
  display: block;
}

.contacts-logo-row .contacts-logo-horizontal {
  height: 32px;
  object-fit: contain;
  width: auto;
  display: block;
}

.contacts-left p {
  margin: 10px 0 20px;
}

.store-links img {
  height: 36px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.store-links img:last-child {
  margin-right: 0;
}

.contacts-right h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.contacts-right a {
  color: #ed4242;
  text-decoration: underline;
}

.contacts-right p {
  margin: 6px 0;
}

.contacts-right p:last-child {
  margin-top: 20px;
  font-size: 0.9em;
  color: #888;
}

@media (max-width: 768px) {
  .contacts-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 40px 0;
  }

  .contacts-logo-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .contacts-logo-row .contacts-logo-icon {
    display: none;
  }

  .contacts-logo-row .contacts-logo-horizontal {
    max-width: 100%;
    height: auto;
  }

  .store-links.compact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .store-links.compact-links img {
    height: 50px;
    margin: 0;
  }

  .contacts-left p {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
  }
}

.main-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/background.png") no-repeat bottom center;
  background-size: 80%; /* уменьшение размера картинки */
  background-repeat: no-repeat;
  background-position: bottom center; /* прижимаем к низу */
  opacity: 0.25; /* уровень прозрачности */
  filter: blur(12px); /* степень размытия */
  z-index: 1; /* ниже основного контента */
  pointer-events: none;
}

.full-screen-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("assets/mockups/qr_mock.png") no-repeat center center;
  background-size: cover;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  transition: all 0.8s ease;
  z-index: 1;
}

.full-screen-hero.scrolled .hero-overlay {
  backdrop-filter: blur(0);
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.8s ease;
}

.hero-titles {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.full-screen-hero.scrolled .hero-titles {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-size: 2rem;
  max-width: 45%;
  line-height: 1.2;
}

.left-title {
  text-align: left;
}

.right-title {
  text-align: left;
  margin-left: 50%;
}

.lists-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  margin-top: 2rem;
  gap: 1rem;
}

.full-screen-hero.scrolled .lists-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.hero-list {
  padding-left: 1.2rem;
  list-style-position: inside;
  counter-reset: list;
}

.hero-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.left-list {
  text-align: left;
}

.right-list {
  text-align: left;
  margin-left: 45%;
}


.full-screen-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("assets/mockups/qr_mock.png") no-repeat center center;
  background-size: cover;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  transition: all 0.8s ease;
  z-index: 1;
}

.full-screen-hero.scrolled .hero-overlay {
  backdrop-filter: blur(0);
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.8s ease;
}

.hero-titles {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.full-screen-hero.scrolled .hero-titles {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-size: 2rem;
  max-width: 45%;
  line-height: 1.2;
}

.left-title {
  text-align: left;
}

.right-title {
  text-align: left;
  margin-left: 50%;
}

.lists-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  margin-top: 2rem;
  gap: 1rem;
}

.full-screen-hero.scrolled .lists-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.hero-list {
  padding-left: 1.2rem;
  list-style-position: inside;
  counter-reset: list;
}

.hero-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.left-list {
  text-align: left;
}

.right-list {
  text-align: left;
  margin-left: 45%;
}

@media (max-width: 768px) {
  /* Общий контейнер */
  .full-screen-hero {
    height: 100vh;
    background-size: cover;
    background-position: center center;
    padding: 2rem 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
  }

  .full-screen-hero.scrolled .hero-overlay {
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.2);
  }

  .hero-overlay {
    position: absolute; 
    inset: 0;
    z-index: 0; 
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    transition: all 0.8s ease;
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    overflow-y: auto;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-titles {
    display: none;
  }

  .left-list::before {
    content: "Как заказать такси?";
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
    text-align: left;
  }

  .right-list::before {
    content: "Как начать принимать заказы?";
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem 0;
    color: white;
    text-align: left;
  }

  .lists-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }

  .hero-list {
    padding-left: 1.2rem;
    list-style-position: inside;
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
    margin: 0;
  }

  .hero-list li {
    margin-bottom: 1rem;
  }
}