/* 
 * AINudeGeneratorRU.pw - CSS Styles
 * Тема: Основана на цветах российского флага
 * Последнее обновление: 21 августа 2025 г.
 */

:root {
  /* Цвета российского флага */
  --white: #FFFFFF;
  --blue: #0039A6;
  --red: #D52B1E;
  --dark-blue: #1C3478;
  --black: #212121;
  --gray-light: #F9F9F9;
  --gray-medium: #E0E0E0;
  --gray-dark: #666666;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 6px;
  --transition: all 0.3s ease-in-out;
}

/* Сброс и базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

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

h1 {
  font-size: 2.6rem;
  background: linear-gradient(135deg, var(--red), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--red), var(--blue));
  margin: 18px auto 0;
  border-radius: 2px;
}

h3 {
  font-size: 1.4rem;
  color: var(--dark-blue);
}

p {
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

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

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

section {
  padding: 100px 0;
  position: relative;
}

/* Проверка возраста */
.age-verification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.age-verification-overlay.active {
  display: flex;
}

.age-verification-modal {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-strong);
}

.age-icon {
  margin-bottom: 20px;
}

.age-verification-modal h2 {
  margin-bottom: 15px;
}

.age-verification-modal p {
  margin-bottom: 25px;
}

/* Шапка и навигация */
.site-header {
  background-color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: var(--shadow);
  padding: 15px 0;
}

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

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

.logo-icon {
  margin-right: 10px;
}

.site-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-blue);
}

.domain {
  color: var(--red);
  font-weight: 600;
}

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

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark-blue);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 40px;
}

.nav-menu a {
  color: var(--black);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, var(--blue), var(--red));
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--blue);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 15px 32px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
  margin-right: 15px;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--dark-blue), var(--blue));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue), var(--dark-blue));
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

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

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Главный раздел */
.hero-section {
  background: radial-gradient(circle at 80% 80%, rgba(0, 57, 166, 0.05), rgba(213, 43, 30, 0.03), transparent);
  padding: 180px 0 100px;
  overflow: hidden;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

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

.age-notice {
  display: flex;
  align-items: center;
  background: rgba(213, 43, 30, 0.1);
  padding: 10px 16px;
  border-radius: var(--border-radius);
  width: fit-content;
  margin-bottom: 25px;
}

.age-notice svg {
  margin-right: 10px;
}

.age-notice span {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 57, 166, 0.1), transparent 70%);
  z-index: -1;
}

.hero-image svg {
  animation: pulse 3s ease-in-out infinite;
}

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

/* Раздел функций */
.features-section {
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(213, 43, 30, 0.1), rgba(0, 57, 166, 0.1));
  border-radius: 50%;
  top: -100px;
  left: -100px;
}

.features-section::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(0, 57, 166, 0.1), rgba(213, 43, 30, 0.1));
  border-radius: 50%;
  bottom: -75px;
  right: -75px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 35px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  height: 4px;
  width: 50px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition);
}

.feature-card:nth-child(odd)::before {
  background: var(--blue);
}

.feature-card:nth-child(even)::before {
  background: var(--red);
}

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

.feature-card:hover::before {
  width: 100%;
}

.feature-icon {
  margin-bottom: 25px;
}

.feature-card h3 {
  margin-bottom: 20px;
}

/* Раздел "Как это работает" */
.how-section {
  background: linear-gradient(to bottom right, rgba(0, 57, 166, 0.03), rgba(213, 43, 30, 0.03));
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  width: 3px;
  height: calc(100% - 60px);
  background: linear-gradient(to bottom, var(--blue), var(--red));
  left: 28px;
  top: 35px;
}

.step {
  display: flex;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.step:last-child {
  margin-bottom: 0;
}

.step-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 30px;
  box-shadow: var(--shadow);
}

.step-content {
  padding-top: 8px;
}

.step-content h3 {
  margin-bottom: 15px;
}

/* Раздел отзывов */
.testimonial-section {
  background: linear-gradient(135deg, var(--dark-blue), var(--blue));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before,
.testimonial-section::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.testimonial-section::before {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -200px;
}

.testimonial-section::after {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -100px;
}

.testimonial-section h2 {
  color: var(--white);
}

.testimonial-section h2::after {
  background: var(--white);
  opacity: 0.6;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius);
  padding: 30px;
  transition: var(--transition);
  border-left: 5px solid var(--red);
}

.testimonial:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-text {
  margin-bottom: 20px;
}

.testimonial-text p {
  color: var(--white);
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

/* Раздел FAQ */
.faq-section {
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(213, 43, 30, 0.05), transparent 70%);
  border-radius: 50%;
  top: 50px;
  right: 50px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-strong);
}

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

.faq-question:hover {
  background: rgba(0, 57, 166, 0.03);
}

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

.faq-plus {
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: bold;
  transition: var(--transition);
  min-width: 20px;
  text-align: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 25px;
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);
  color: var(--red);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 25px;
}

/* Раздел CTA */
.cta-section {
  background: linear-gradient(135deg, rgba(213, 43, 30, 0.95), rgba(28, 52, 120, 0.95)), url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIyMCIgY3k9IjIwIiByPSIxNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmZmZmMTAiIHN0cm9rZS13aWR0aD0iMiIvPjwvc3ZnPg==");
  text-align: center;
  color: var(--white);
  padding: 120px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 25px;
}

.cta-section h2::after {
  background: var(--white);
  opacity: 0.6;
}

.cta-section p {
  color: var(--white);
  opacity: 0.9;
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 35px;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--red);
  min-width: 250px;
  margin: 0 auto;
}

.cta-section .btn-primary:hover {
  background: var(--gray-light);
}

.disclaimer {
  font-size: 0.85rem;
  margin-top: 25px;
  opacity: 0.8;
}

/* Подвал */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-about {
  max-width: 100%;
}

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

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

.footer-logo h3 {
  color: var(--white);
  margin-bottom: 0;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
}

.footer-column h4 {
  color: var(--white);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--red), var(--blue));
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 15px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.keywords {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 15px;
}

.adult-disclaimer {
  margin-top: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* Адаптивность */
@media screen and (max-width: 992px) {
  section {
    padding: 80px 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.9rem;
  }
  
  .hero-section {
    padding: 150px 0 80px;
  }
  
  .hero-wrapper {
    flex-direction: column;
  }
  
  .hero-content {
    order: 1;
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero-content p {
    max-width: 100%;
  }
  
  .age-notice {
    margin: 0 auto 25px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    order: 0;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    box-shadow: var(--shadow);
    padding: 50px 0;
    z-index: 100;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 20px 0;
  }
  
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
  
  .age-verification-modal {
    padding: 30px 20px;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 1.9rem;
  }
  
  .hero-section {
    padding-top: 130px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .feature-card {
    padding: 25px;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-icon {
    margin-bottom: 15px;
    margin-right: 0;
  }
  
  .steps-container::before {
    display: none;
  }
  
  .cta-section .btn-primary {
    width: 100%;
    min-width: auto;
  }
}
