/* DeepfakeRU.pw - Стили сайта */
:root {
  --primary-color: #0039A6;
  --secondary-color: #D52B1E;
  --tertiary-color: #FFFFFF;
  --dark-color: #222222;
  --light-color: #f9f9f9;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

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

a:hover {
  color: var(--secondary-color);
}

img, svg {
  max-width: 100%;
}

ul {
  list-style: none;
}

.page-wrapper {
  overflow: hidden;
}

/* Шапка сайта */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  z-index: 100;
  transition: var(--transition);
}

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

.logo {
  width: 180px;
}

.logo-svg {
  height: 50px;
  width: auto;
}

nav {
  display: flex;
}

.main-menu {
  display: flex;
  align-items: center;
}

.main-menu li {
  margin-left: 20px;
}

.main-menu a {
  font-weight: 500;
  padding: 10px;
  border-radius: 4px;
}

.nav-cta {
  background-color: var(--primary-color);
  color: var(--tertiary-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  background-color: var(--secondary-color);
  color: var(--tertiary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(213, 43, 30, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* Герой секция */
.hero {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0039A6 0%, #0049d6 50%, #D52B1E 100%);
  color: var(--tertiary-color);
}

.russian-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.15;
}

.shape-1 {
  top: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
}

.shape-2 {
  bottom: 20%;
  left: 5%;
  width: 250px;
  height: 250px;
}

.shape-3 {
  top: 45%;
  left: 50%;
  width: 200px;
  height: 200px;
}

.hero-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-text {
  width: 50%;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h1 span {
  color: var(--secondary-color);
  font-weight: 700;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-graphics {
  width: 45%;
  position: relative;
  z-index: 2;
}

.hero-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: #f13c30;
  color: var(--tertiary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(213, 43, 30, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--tertiary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

/* Разделы сайта - общие стили */
section {
  padding: 80px 0;
  position: relative;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.section-title span {
  color: var(--primary-color);
}

.section-desc {
  font-size: 1.1rem;
  color: #555;
}

/* Секция Преимущества */
.features {
  background-color: var(--light-color);
}

.features-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-box {
  background-color: var(--tertiary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 4px solid transparent;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-top-color: var(--primary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
}

.feature-box p {
  color: #666;
  font-size: 1rem;
  position: relative;
}

/* Секция Как это работает */
.how-it-works {
  background-color: #f3f7ff;
  position: relative;
}

.section-bg-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 57, 166, 0.03) 0%, rgba(213, 43, 30, 0.03) 100%);
  z-index: 1;
}

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

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

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--tertiary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 30px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.step-content p {
  color: #555;
}

.cta-container {
  text-align: center;
  margin-top: 60px;
}

/* Секция Отзывы */
.testimonials {
  background-color: var(--tertiary-color);
}

.testimonials-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

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

.quote-icon {
  margin-bottom: 15px;
  color: var(--primary-color);
  opacity: 0.7;
}

.testimonial-text {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #444;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author-name {
  font-weight: 600;
  color: var(--primary-color);
}

.rating {
  color: #ffc107;
  font-size: 1.1rem;
}

/* Секция FAQ */
.faq-section {
  background-color: #f5f8ff;
}

.faq-container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--tertiary-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--tertiary-color);
  transition: var(--transition);
}

.faq-question:hover {
  background-color: #f9faff;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f9faff;
}

.faq-answer p {
  padding: 0 25px 20px;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

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

/* Финальный CTA */
.final-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0049d6 50%, var(--secondary-color) 100%);
  color: var(--tertiary-color);
  text-align: center;
}

.final-cta-content {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Подвал */
footer {
  background-color: #111827;
  color: #f3f4f6;
  padding: 60px 0 20px;
}

.footer-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-svg {
  margin-bottom: 15px;
}

.footer-logo p {
  color: #d1d5db;
  margin-bottom: 20px;
}

.footer-favicon {
  margin-top: 20px;
  width: 60px;
}

.footer-links h3, .footer-terms h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #f9fafb;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #d1d5db;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-terms p {
  color: #9ca3af;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.copyright {
  text-align: center;
  border-top: 1px solid #1f2937;
  padding-top: 20px;
  color: #6b7280;
  font-size: 0.85rem;
}

/* Анимации и эффекты */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

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

/* Медиа запросы */
@media screen and (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .hero-text p {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-graphics {
    width: 80%;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--tertiary-color);
    flex-direction: column;
    justify-content: center;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 100;
  }
  
  nav.active {
    right: 0;
  }
  
  .main-menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .main-menu li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 576px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}
