/* Основные стили для undresserRU.pw */
/* Цветовая палитра, вдохновленная российским флагом и культурой */
:root {
  --russian-blue: #0039A6;
  --russian-red: #D52B1E;
  --russian-white: #FFFFFF;
  --navy-dark: #001F54;
  --light-gray: #F5F5F5;
  --medium-gray: #888888;
  --dark-gray: #333333;
  --primary-gradient: linear-gradient(45deg, var(--russian-blue), var(--navy-dark));
  --secondary-gradient: linear-gradient(135deg, var(--russian-red), #9E1A1A);
  --box-shadow: 0 4px 12px rgba(0, 57, 166, 0.15);
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

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

/* Декоративные элементы в российском стиле */
.russian-pattern {
  position: relative;
}

.russian-pattern::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background-image: radial-gradient(circle, var(--russian-red) 10%, transparent 11%),
                    radial-gradient(circle, var(--russian-blue) 10%, transparent 11%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.05;
  z-index: -1;
}

/* Шапка сайта */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header-scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 5px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--russian-blue);
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

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

.nav-list {
  display: flex;
}

.nav-item {
  margin-left: 30px;
  position: relative;
}

.nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-gray);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--russian-blue);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--russian-blue);
}

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

.cta-button {
  margin-left: 30px;
}

/* Мобильное меню */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--russian-blue);
  z-index: 1001;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--russian-white);
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 6px 15px rgba(0, 57, 166, 0.25);
  transform: translateY(-3px);
}

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

.btn-secondary:hover {
  background-color: rgba(0, 57, 166, 0.1);
  transform: translateY(-3px);
}

/* Герой-секция */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f0f8ff, #ffffff);
  position: relative;
  overflow: hidden;
}

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

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--russian-red);
  opacity: 0.03;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--dark-gray);
}

.hero-title span {
  color: var(--russian-blue);
  position: relative;
  z-index: 1;
}

.hero-title span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 8px;
  background-color: rgba(0, 57, 166, 0.1);
  bottom: 5px;
  left: 0;
  z-index: -1;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--medium-gray);
  margin-bottom: 40px;
  max-width: 90%;
}

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

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

.hero-image svg {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 10px 20px rgba(0, 57, 166, 0.1));
}

/* Особенности */
.features {
  padding: 100px 0;
  background-color: var(--light-gray);
}

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

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

.section-subtitle {
  font-size: 1.2rem;
  color: var(--medium-gray);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 57, 166, 0.15);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: var(--primary-gradient);
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  color: white;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.feature-description {
  color: var(--medium-gray);
  font-size: 1rem;
}

/* Как это работает */
.how-it-works {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: var(--russian-blue);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  opacity: 0.02;
}

.steps {
  display: flex;
  justify-content: space-around;
  position: relative;
  margin-top: 80px;
}

.steps::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--russian-blue), transparent);
  opacity: 0.2;
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
}

.step-number {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 57, 166, 0.2);
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-gray);
  text-align: center;
}

.step-description {
  text-align: center;
  color: var(--medium-gray);
}

/* О нас */
.about {
  padding: 100px 0;
  background-color: var(--light-gray);
  position: relative;
}

.about::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--russian-red), transparent);
  opacity: 0.2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  border: 2px dashed var(--russian-blue);
  top: -15px;
  left: -15px;
  z-index: -1;
  opacity: 0.1;
  border-radius: 10px;
}

.about-image svg {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--dark-gray);
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--russian-blue);
}

.about-content p {
  margin-bottom: 20px;
  color: var(--medium-gray);
  font-size: 1.1rem;
}

.about-content ul {
  margin: 20px 0;
}

.about-content li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.about-content li::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--russian-blue);
  left: 0;
  top: 8px;
  border-radius: 50%;
}

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

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

.cta::before {
  top: -100px;
  right: -100px;
}

.cta::after {
  bottom: -100px;
  left: -100px;
}

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

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta .btn-cta {
  background: white;
  color: var(--russian-blue);
  padding: 15px 40px;
  font-size: 1.1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta .btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Подвал */
.footer {
  padding: 80px 0 30px;
  background-color: #1A1A1A;
  color: white;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--russian-red);
  bottom: 0;
  left: 0;
}

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

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

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

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

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .feature-cards {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    order: 1;
    text-align: center;
  }
  
  .hero-image {
    order: 0;
    margin-bottom: 40px;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    width: 80%;
    margin-bottom: 50px;
  }
  
  .steps::after {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 1000;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    margin: 10px 0;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 1.2rem;
  }
  
  .feature-cards {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .about-content h2 {
    font-size: 2.2rem;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  .step {
    width: 100%;
  }
  
  .step-number {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
}
