/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn--primary {
  background-color: #4361ee;
  color: white;
}

.btn--primary:hover {
  background-color: #3a56e4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.btn--secondary {
  background-color: #f8f9fa;
  color: #4361ee;
  border: 1px solid #e0e0e0;
}

.btn--secondary:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
}

.btn--large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Шапка */
.header {
  padding: 16px 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.header__logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: #4361ee;
}

.header__nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.header__nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header__nav a:hover {
  color: #4361ee;
}

/* Герой-секция */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: white;
}

.hero__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.2;
  opacity: 0.9;
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.hero__video-placeholder {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 60px 20px;
  text-align: center;
}

.video-placeholder {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 40px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  cursor: pointer;
}

/* Преимущества */
.features {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #333;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  background-color: #4361ee;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.feature-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

/* Как это работает */
.how-it-works {
  padding: 100px 0;
  background-color: white;
}

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

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 12px;
}

.step__number {
  width: 50px;
  height: 50px;
  background-color: #4361ee;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.step__hint {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

.step__hint a {
  color: #4361ee;
  text-decoration: none;
  font-weight: 500;
}

.step__hint a:hover {
  text-decoration: underline;
}

.how-it-works__video {
  max-width: 900px;
  margin: 50px auto 0;
  text-align: center;
}

.how-it-works__video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background-color: #000;
  display: block;
}

.how-it-works__video-caption {
  margin-top: 14px;
  font-size: 14px;
  color: #666;
  font-style: italic;
}

@media (max-width: 768px) {
  .how-it-works__video {
    margin-top: 35px;
  }
}

/* Тарифы */
.pricing {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.pricing__cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: white;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 350px;
}

.pricing-card:hover {
  transform: scale(1.05);
}

.pricing-card--featured {
  transform: scale(1.05);
  position: relative;
  border: 2px solid #4361ee;
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff9e00;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #333;
}

.pricing-card__price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #4361ee;
}

.pricing-card__period {
  font-size: 16px;
  font-weight: 400;
  color: #666;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-card__features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #666;
}

.pricing-card__features li:before {
  content: "✓";
  color: #4361ee;
  margin-right: 10px;
}

/* Безопасность */
.security {
  padding: 100px 0;
  background-color: white;
}

.security__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.security__feature {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.security__feature h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

/* CTA-секция */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: white;
  text-align: center;
}

.cta-content__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-content__description {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn--secondary.cta {
  background-color: white;
  color: #4361ee;
}

.btn--primary.cta-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

/* Футер */
.footer {
  background-color: #333;
  color: white;
  padding: 60px 0 30px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer__logo h2 {
  font-size: 24px;
  color: white;
}

.footer__description {
  margin-top: 10px;
  color: #ccc;
  max-width: 300px;
}

.footer__links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer__column h4 {
  margin-bottom: 20px;
  color: #fff;
}

.footer__column ul {
  list-style: none;
}

.footer__column li {
  margin-bottom: 10px;
}

.footer__column a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer__column a:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid #555;
  padding-top: 30px;
  text-align: center;
  color: #ccc;
  font-size: 14px;
}

/* FAQ */
.faq {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item[open] {
  box-shadow: 0 5px 20px rgba(67, 97, 238, 0.12);
}

.faq-item__question {
  display: block;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 56px;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: #4361ee;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__question::after {
  content: '−';
}

.faq-item__answer {
  padding: 0 24px 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* Адаптивность */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero__title {
    font-size: 36px;
  }
  
  .hero__cta {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .pricing__cards {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card--featured {
    transform: scale(1);
  }
  
  .pricing-card--featured:hover {
    transform: scale(1.05) translateY(-5px);
  }
  
  .cta-content__title {
    font-size: 28px;
  }

  .faq {
    padding: 60px 0;
  }

  .faq-item__question {
    font-size: 15px;
    padding: 16px 48px 16px 18px;
  }

  .faq-item__question::after {
    right: 18px;
  }

  .faq-item__answer {
    padding: 0 18px 16px;
    font-size: 14px;
  }
  
  .cta-content__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer__content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}

/* Cookie-баннер */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #1a1a2e;
  color: white;
  padding: 20px 0;
  z-index: 1000;
  transition: bottom 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner--visible {
  bottom: 0;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-banner__text a {
  color: #4361ee;
  text-decoration: underline;
}

.cookie-banner__text a:hover {
  text-decoration: none;
}

.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.btn--secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

/* Улучшенные стили для чекбоксов согласия */
.form-group--checkbox {
  margin-top: 16px;
}

.form-group--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  cursor: pointer;
}

.form-group--checkbox input[type="checkbox"] {
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #4361ee;
}

.form-group--checkbox a {
  color: #4361ee;
  text-decoration: underline;
  font-weight: 500;
}

.form-group--checkbox a:hover {
  text-decoration: none;
}

.form-group--checkbox.error label {
  color: #dc3545;
}

/* Сообщения об ошибках в формах */
.error-message {
  color: #dc3545;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

.form-group.error {
  margin-bottom: 8px;
}

/* Секция загрузки */
.download {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.download__subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.download__info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.download__version {
  background: #4361ee;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.download__date {
  background: white;
  color: #666;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid #ddd;
}

.download__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.download-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(67, 97, 238, 0.15);
  border-color: #4361ee;
}

.download-card__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.download-card__title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.download-card__os {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.download-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}

.download-card__features li {
  padding: 8px 0;
  font-size: 14px;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.download-card__features li:last-child {
  border-bottom: none;
}

.download-card__note {
  font-size: 13px;
  color: #888;
  margin-top: 16px;
}

.btn__icon {
  margin-right: 8px;
}

.btn--disabled {
  background: #ccc;
  color: #999;
  cursor: not-allowed;
  pointer-events: none;
  border: 1px solid #ddd;
}

.download-card--disabled {
  opacity: 0.6;
  position: relative;
}

.download-card--disabled::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: not-allowed;
}

.download__help {
  background: white;
  padding: 24px 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.download__help h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #333;
}

.download__help p {
  color: #666;
  font-size: 14px;
}

.download__help a {
  color: #4361ee;
  text-decoration: none;
  font-weight: 500;
}

.download__help a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .download {
    padding: 60px 0;
  }

  .download__grid {
    grid-template-columns: 1fr;
  }

  .download__info {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .download-card {
    padding: 24px;
  }

  .download-card__icon {
    font-size: 40px;
  }

  .download-card__title {
    font-size: 20px;
  }
}

/* Секция "О нас" */
.about {
  padding: 80px 0;
  background: white;
}

.about__subtitle {
  text-align: center;
  font-size: 20px;
  color: #666;
  margin-bottom: 50px;
  font-weight: 500;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.about-card {
  background: #f8f9fa;
  padding: 32px 28px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.about-card--highlight {
  background: linear-gradient(135deg, #4361ee 0%, #3a56e4 100%);
  color: white;
}

.about-card--highlight .about-card__title,
.about-card--highlight .about-card__text {
  color: white;
}

.about-card--cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #4361ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-card__icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.about-card--highlight .about-card__icon {
  filter: brightness(0) invert(1);
}

.about-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.about-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.about-card--cta .about-card__text {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about {
    padding: 60px 0;
  }

  .about__subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 24px 20px;
  }

  .about-card__icon {
    font-size: 36px;
  }

  .about-card__title {
    font-size: 18px;
  }

  .about-card__text {
    font-size: 14px;
  }
}