/*
 * aiclothesremoverRU.pw - Стили CSS
 * Тема: Современный русский дизайн
 * Дата: Август 2025
 */

:root {
  /* Основные цвета - Русская палитра */
  --primary: #1C3B6E;    /* Темно-синий (из российского флага) */
  --secondary: #D52B1E;  /* Красный (из российского флага) */
  --accent: #335C85;     /* Средне-синий */
  --light-accent: #7797B7;/* Светло-синий */
  --neutral: #F0F0F0;    /* Почти белый (из российского флага) */
  
  /* Нейтральные цвета */
  --dark: #1A1A1A;
  --gray-dark: #333333;
  --gray: #666666;
  --gray-light: #E0E0E0;
  --white: #FFFFFF;
  
  /* Эффекты */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 6px;
  --border-radius-lg: 12px;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #F05545 100%);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--gray-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style-type: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

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

/* Типографика */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.75rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.8rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.text-center {
  text-align: center;
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Кнопки */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  padding: 12px 28px;
  border-radius: 30px;
  transition: var(--transition);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  border: none;
  overflow: hidden;
}

.btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: #C02218;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 26px;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-large {
  padding: 14px 36px;
  font-size: 1.1rem;
}

/* Шапка */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

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

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

.logo-img {
  width: 40px;
  margin-right: 8px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
}

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

.menu {
  display: flex;
  gap: 30px;
}

.menu a {
  color: var(--gray-dark);
  font-weight: 500;
  position: relative;
}

.menu a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* Герой секция */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background: linear-gradient(to bottom right, rgba(28, 59, 110, 0.05) 0%, rgba(213, 43, 30, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231C3B6E' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

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

.hero-content {
  flex: 1;
}

.label {
  display: inline-block;
  padding: 5px 15px;
  background-color: rgba(213, 43, 30, 0.1);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.hero-warning {
  margin-top: 30px;
  padding: 15px;
  border-radius: var(--border-radius);
  background-color: rgba(213, 43, 30, 0.1);
  border-left: 4px solid var(--secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-warning svg {
  flex-shrink: 0;
  color: var(--secondary);
  margin-top: 3px;
}

.hero-warning p {
  margin: 0;
  font-size: 0.9rem;
}

/* Особенности */
.features {
  background-color: var(--white);
}

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

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

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border-top: 4px solid var(--neutral);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary);
}

.feature-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  color: var(--white);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

/* Как это работает */
.how-it-works {
  background-color: var(--neutral);
  position: relative;
  z-index: 1;
}

.how-it-works:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(0deg, rgba(28, 59, 110, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
}

.steps {
  max-width: 850px;
  margin: 0 auto;
}

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

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

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.step-number:after {
  content: '';
  position: absolute;
  width: 3px;
  height: calc(100% + 50px);
  background: linear-gradient(to bottom, var(--primary) 0%, var(--light-accent) 100%);
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

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

.step-content {
  flex: 1;
}

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

.centered-actions {
  text-align: center;
  margin-top: 50px;
}

/* FAQ */
.faq {
  background-color: var(--white);
}

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

.faq-item {
  background-color: var(--neutral);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid transparent;
  transition: var(--transition);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  transition: var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-content {
  padding: 0 20px 20px;
}

.faq-item.active .faq-question {
  border-left-color: var(--primary);
}

.faq-item.active .faq-question h3 {
  color: var(--primary);
}

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

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

/* CTA */
.cta {
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -150px;
  right: -100px;
}

.cta:after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -100px;
  left: -50px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

.cta h2:after {
  background: var(--white);
  left: 50%;
  transform: translateX(-50%);
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 15px;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

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

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

.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
}

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

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 0.95rem;
}

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

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

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.keywords {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Отзывы */
.testimonials {
  position: relative;
  overflow: hidden;
  background-color: var(--neutral);
}

.testimonials:after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  opacity: 0.05;
  border-radius: 50%;
  z-index: -1;
}

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

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  font-family: 'Georgia', serif;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-info h4 {
  margin: 0;
  font-size: 1.1rem;
}

.testimonial-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray);
}

/* Адаптивный дизайн */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-flex {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-warning {
    justify-content: center;
    text-align: left;
  }
  
  h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-about {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .menu.active {
    right: 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1000;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 20px;
  }
  
  .step-number:after {
    left: 50%;
    height: calc(100% + 30px);
    top: 60px;
  }
}

@media screen and (max-width: 576px) {
  .hero-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-about {
    grid-column: span 1;
  }
  
  .footer-title:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links {
    text-align: center;
  }
}
