/* Основные переменные и сброс стилей */
:root {
  /* Основные цвета - более яркие и контрастные */
  --primary-color: #6200ea;
  --primary-dark: #4a148c;
  --secondary-color: #00e676;
  --accent-color: #ff3d00;
  --accent-color-2: #ffab00;
  --accent-color-3: #2979ff;
  --light-bg: #f5f6fa;
  --dark-text: #212121;
  --gray-text: #5f6368;
  --light-text: #ffffff;
  --border-radius: 12px;
  --shadow: 0 8px 16px rgba(32, 33, 36, 0.15);
  --shadow-hover: 0 14px 24px rgba(32, 33, 36, 0.2);
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(to right, #6200ea, #b388ff);
  --gradient-secondary: linear-gradient(to right, #00e676, #69f0ae);
  --gradient-accent: linear-gradient(135deg, #ff3d00, #ffab00);
  --sidebar-width: 320px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background-color: #ffffff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  background: var(--gradient-accent);
  margin: 15px auto 0;
  border-radius: 5px;
}

/* Анимации для секций */
.animated-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animated-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 16px;
  text-align: center;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

.btn i {
  margin-right: 10px;
  font-size: 1.2em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light-text);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(98, 0, 234, 0.3);
  color: var(--light-text);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(98, 0, 234, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(98, 0, 234, 0.15);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
  border-radius: 30px;
}

/* Шапка */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 2px solid var(--primary-color);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 48px;
  height: 48px;
  margin-right: 10px;
  filter: drop-shadow(0 2px 5px rgba(98, 0, 234, 0.3));
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--primary-color);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav ul {
  display: flex;
}

.nav ul li {
  margin-left: 30px;
}

.nav ul li a {
  color: var(--dark-text);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav ul li a:hover {
  color: var(--primary-color);
}

.nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 0;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 5px;
}

.nav ul li a:hover:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 5px;
  transition: var(--transition);
}

/* Секция Героя */
.hero {
  padding: 140px 0 120px;
  background: linear-gradient(135deg, #e9f0fe, #ffffff);
  position: relative;
  overflow: hidden;
}

/* Фон с веером скриншотов */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.screenshot-fan {
  position: absolute;
  top: 65%;
  right: -5%;
  transform: translateY(-50%);
  width: 65%;
  height: 130%;
  perspective: 1200px;
  z-index: 0;
}

.fan-screenshot {
  position: absolute;
  width: 90%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 5px solid white;
  background-color: white;
  transform-origin: bottom right;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fan-screenshot-1 {
  transform: rotate(-18deg) translateX(-10%) scale(0.85);
  opacity: 0.9;
  z-index: 1;
  animation: float-1 8s ease-in-out infinite;
}

.fan-screenshot-2 {
  transform: rotate(-6deg) translateX(-5%) scale(0.9);
  opacity: 0.95;
  z-index: 2;
  animation: float-2 7s ease-in-out infinite;
}

.fan-screenshot-3 {
  transform: rotate(6deg) scale(0.95);
  z-index: 3;
  animation: float-3 6s ease-in-out infinite;
}

@keyframes float-1 {
  0%,
  100% {
    transform: rotate(-18deg) translateX(-10%) scale(0.85);
  }
  50% {
    transform: rotate(-20deg) translateX(-12%) translateY(-5px) scale(0.85);
  }
}

@keyframes float-2 {
  0%,
  100% {
    transform: rotate(-6deg) translateX(-5%) scale(0.9);
  }
  50% {
    transform: rotate(-8deg) translateX(-7%) translateY(-8px) scale(0.9);
  }
}

@keyframes float-3 {
  0%,
  100% {
    transform: rotate(6deg) scale(0.95);
  }
  50% {
    transform: rotate(4deg) translateY(-10px) scale(0.95);
  }
}

.hero:before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(98, 0, 234, 0.1),
    rgba(255, 171, 0, 0.1)
  );
  z-index: 0;
}

.hero:after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(0, 230, 118, 0.1),
    rgba(41, 121, 255, 0.1)
  );
  z-index: 0;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  margin: 5px;
}

.hero-content {
  flex: 1;
  max-width: 800px;
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  padding: 50px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  line-height: 1.2;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--gray-text);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  animation: fadeInUp 1s ease 0.4s forwards;
}

/* CTA секция */
.cta {
  padding: 100px 0;
  background: var(--gradient-primary);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.05)" width="50" height="50"/><rect fill="rgba(255,255,255,0.05)" x="50" y="50" width="50" height="50"/></svg>');
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta .btn-primary {
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  padding: 16px 42px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background: white;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Стили для кнопок в hero секции */
.btn-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-weight: 700;
  border-radius: 50px;
  min-width: 200px;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.17, 0.67, 0.83, 0.67);
  box-shadow: var(--shadow);
}

.btn-hero i {
  transition: all 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(98, 0, 234, 0.3);
}

.btn-hero:hover i.fa-long-arrow-alt-right {
  transform: translateX(5px);
}

.btn-hero:hover i.fa-chrome {
  transform: rotate(360deg);
}

/* Секция возможностей */
.features {
  padding: 100px 0;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.features:before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: var(--accent-color-2);
  opacity: 0.1;
  border-radius: 50%;
}

.features:after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--accent-color-3);
  opacity: 0.1;
  border-radius: 50%;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(98, 0, 234, 0.05),
    rgba(0, 230, 118, 0.05)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-20px);
  box-shadow: var(--shadow-hover);
}

.feature-card:hover:before {
  opacity: 1;
}

.feature-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
}

.feature-icon:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: white;
  z-index: -1;
  transition: box-shadow 0.5s ease;
}

.feature-icon i {
  font-size: 40px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-icon-1 {
  background: var(--gradient-primary);
}

.feature-icon-2 {
  background: var(--gradient-secondary);
}

.feature-icon-3 {
  background: var(--gradient-accent);
}

.feature-icon-4 {
  background: linear-gradient(
    135deg,
    var(--accent-color-3),
    var(--secondary-color)
  );
}

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

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--gray-text);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Как пользоваться */
.how-to-use {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff, var(--light-bg));
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-bottom: 70px;
}

.step {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
}

.step:after {
  content: '';
  position: absolute;
  left: 30px;
  top: 60px;
  bottom: -60px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  z-index: 0;
}

.step:last-child:after {
  display: none;
}

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

.step-reversed:after {
  left: auto;
  right: 30px;
}

.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(98, 0, 234, 0.3);
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.step-content p {
  color: var(--gray-text);
  font-size: 1.1rem;
  max-width: 500px;
}

.step-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 90%;
  transition: all 0.5s ease;
  transform: rotate(-2deg);
  border: 5px solid white;
  width: 88px;
}

.step-image img.img3 {
  width: 150px;
}

.step-image img.img4 {
  width: 167px;
}

.step:hover .step-image img {
  transform: rotate(0deg) scale(1.05);
  box-shadow: var(--shadow-hover);
}

.tutorial-video {
  margin-top: 70px;
  text-align: center;
}

.tutorial-video h3 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--primary-color);
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 5px solid white;
}

.video-placeholder {
  width: 100%;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.play-btn i {
  font-size: 40px;
  color: var(--primary-color);
  transition: var(--transition);
}

.play-btn:hover {
  background: white;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.play-btn:hover i {
  color: var(--accent-color);
}

/* Отзывы */
.reviews {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--light-bg), white);
  position: relative;
  overflow: hidden;
}

.reviews:before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  opacity: 0.05;
  border-radius: 50%;
}

.rating-summary {
  text-align: center;
  margin-bottom: 50px;
}

.stars {
  font-size: 36px;
  color: #ffab00;
  margin-bottom: 15px;
}

.rating-text {
  font-size: 18px;
  color: var(--gray-text);
  font-weight: 500;
}

/* FAQ Слайдер стили */
.faq {
  margin-bottom: 80px;
}

.faq-slider-container {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.faq-slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.faq-slide {
  flex: 0 0 100%;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.17, 0.67, 0.83, 0.67);
  border-left: 5px solid transparent;
  cursor: pointer;
}

.faq-slide.active {
  flex: 0 0 100%;
  border-left: 5px solid var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(98, 0, 234, 0.25);
  z-index: 5;
  background: linear-gradient(to right, rgba(98, 0, 234, 0.05), white);
}

.faq-question {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.3rem;
  color: var(--dark-text);
  transition: color 0.3s ease;
}

.faq-slide.active .faq-question h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--primary-color);
  transition: transform 0.4s ease;
}

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

.faq-answer {
  padding: 0 25px 25px;
  display: none;
}

.faq-answer p {
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 0;
}

.faq-slide.active .faq-answer {
  display: block;
  animation: fadeInDown 0.4s ease;
}

.faq-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

.faq-prev-btn,
.faq-next-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  color: var(--primary-color);
}

.faq-prev-btn:hover,
.faq-next-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.faq-slider-dots {
  display: flex;
  gap: 10px;
}

.faq-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d1d1;
  cursor: pointer;
  transition: all 0.4s ease;
}

.faq-dot.active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 10px;
}

/* Футер */
.footer {
  background-color: var(--dark-text);
  color: white;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 0;
  font-size: 1.5rem;
}

.footer-links,
.footer-contact {
  margin-bottom: 30px;
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4:after,
.footer-contact h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 15px;
}

.footer-links ul li a,
.footer-contact ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact i {
  margin-right: 15px;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 991px) {
  .hero {
    padding: 120px 0 100px;
  }

  .screenshot-fan {
    opacity: 0.3;
    width: 100%;
    right: -30%;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 60px;
  }

  .hero-content h2 {
    font-size: 2.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .step,
  .step-reversed {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .step:after {
    left: 50%;
    transform: translateX(-50%);
    top: 70px;
    bottom: -70px;
  }

  .step-content p {
    max-width: 100%;
  }

  .cta {
    padding: 80px 0;
  }

  .cta h2 {
    font-size: 2.5rem;
  }

  .features,
  .how-to-use,
  .reviews,
  .faq {
    padding: 80px 0;
  }

  .hero-btn-floating {
    position: static;
    margin-top: 30px;
    animation: none;
  }

  .hero-btn-secondary {
    position: static;
    margin-top: 20px;
    text-align: center;
  }

  .btn-learn-more {
    display: inline-flex;
    border-radius: 50px;
    justify-content: center;
  }

  .flip-card {
    width: 280px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .desktop-btn {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    padding: 100px 30px 30px;
    z-index: 999;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
  }

  .nav.active {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
  }

  .nav ul li {
    margin: 0;
    margin-bottom: 25px;
  }

  .nav ul li a {
    font-size: 1.2rem;
    display: block;
    padding: 8px 0;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1000;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-content {
    padding: 30px;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-legal {
    justify-content: center;
  }

  .sidebar {
    width: 280px;
  }

  .faq-slide.active {
    transform: scale(1.02);
  }

  .faq-slide.active .faq-question h3 {
    font-size: 1.3rem;
  }

  .flip-cards-container {
    justify-content: center;
  }

  .flip-card {
    width: 100%;
    max-width: 320px;
  }

  .screenshot-fan {
    right: -50%;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .flip-card {
    flex: 0 0 95%;
  }

  .sidebar {
    width: 85%;
  }

  .screenshot-fan {
    display: none;
  }
}

/* Sidebar стили */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: var(--sidebar-width);
  height: 100vh;
  background: white;
  z-index: 2000;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-left: 5px solid var(--primary-color);
  padding: 0 30px;
}

.sidebar.active {
  right: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0 10px;
}

.sidebar-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(98, 0, 234, 0.1);
  transition: all 0.3s ease;
}

.sidebar-close:hover {
  background: rgba(98, 0, 234, 0.2);
  transform: rotate(90deg);
}

.sidebar-close i {
  font-size: 20px;
  color: var(--primary-color);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  margin: 20px 0 40px;
}

.sidebar-logo img {
  width: 40px;
  height: 40px;
  margin-right: 15px;
}

.sidebar-logo h2 {
  font-size: 1.3rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.sidebar-nav {
  margin-bottom: 40px;
}

.sidebar-nav ul li {
  margin-bottom: 20px;
}

.sidebar-nav ul li a {
  display: block;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  font-weight: 600;
  color: var(--dark-text);
  transition: all 0.3s ease;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.sidebar-nav ul li a:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(
    135deg,
    rgba(98, 0, 234, 0.1),
    rgba(0, 230, 118, 0.05)
  );
  z-index: -1;
  transition: height 0.3s ease;
}

.sidebar-nav ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.sidebar-nav ul li a:hover:before {
  height: 100%;
}

.sidebar-actions {
  margin-top: auto;
  margin-bottom: 40px;
}

.sidebar-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
}

.sidebar-footer {
  margin-top: auto;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-footer p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.action-buttons {
  display: flex;
  align-items: center;
}

.sidebar-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.sidebar-toggle:hover {
  transform: rotate(90deg);
  box-shadow: var(--shadow-hover);
}

/* Креативное размещение кнопок */
.hero-btn-floating {
  position: absolute;
  right: 50px;
  top: 70px;
  z-index: 10;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

.btn-floating {
  border-radius: 50px;
  padding: 15px 30px;
  box-shadow: 0 15px 30px rgba(98, 0, 234, 0.3);
  transform: rotate(-5deg);
  transition: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.btn-floating:hover {
  transform: rotate(0) scale(1.1);
  box-shadow: 0 20px 40px rgba(98, 0, 234, 0.4);
}

.hero-btn-secondary {
  position: absolute;
  left: -30px;
  bottom: 50px;
  z-index: 5;
}

.btn-learn-more {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-weight: 700;
  border-radius: 20px 50px 50px 20px;
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.btn-learn-more i {
  transition: all 0.3s ease;
}

.btn-learn-more:hover {
  transform: translateX(10px);
  background: var(--primary-color);
  color: white;
}

.btn-learn-more:hover i {
  transform: translateX(5px);
}

/* Переворачивающиеся карточки отзывов */
.flip-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 50px 0;
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
  margin-bottom: 30px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.flip-card-front {
  background: linear-gradient(145deg, #ffffff, #f5f6fa);
  border-top: 5px solid var(--primary-color);
}

.flip-card-back {
  background: var(--gradient-primary);
  color: white;
  transform: rotateY(180deg);
}

.flip-card .testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-top: none;
}

.flip-card .testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 0;
  margin-bottom: 15px;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(98, 0, 234, 0.3);
}

.flip-card .author-info {
  text-align: center;
}

.flip-card .author-info h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.flip-card .testimonial-stars {
  color: #ffab00;
  font-size: 24px;
  margin: 15px 0;
}

.flip-card .testimonial-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-card .testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0;
}

.flip-hint {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-top: 15px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.flip-hint i {
  animation: rotate 2s infinite linear;
  display: inline-block;
  margin-right: 5px;
}

.flip-hint.reverse {
  color: rgba(255, 255, 255, 0.7);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.flip-card:hover .flip-hint {
  opacity: 0;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 991px) {
  .flip-card {
    width: 280px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .flip-cards-container {
    justify-content: center;
  }

  .flip-card {
    width: 100%;
    max-width: 320px;
  }
}
