/* nudeifyRU.love - Стили с российской эстетикой */

:root {
  --primary: #0039A6; /* Синий российский */
  --secondary: #D52B1E; /* Красный российский */
  --accent: #FFD700; /* Золотой акцент */
  --light: #ffffff;
  --dark: #1C1C1C;
  --font-main: 'PT Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark);
  background-color: #f6f6f6;
}

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

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

/* Стили для заголовков */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Хедер */
.site-header {
  background-color: var(--primary);
  color: var(--light);
  padding: 20px 0;
  position: relative;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

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

.site-logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--light);
}

.site-logo svg {
  height: 36px;
  width: auto;
  margin-right: 8px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

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

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 24px;
  cursor: pointer;
}

/* Главная секция */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #001f5c 100%);
  color: var(--light);
  padding: 80px 0;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

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

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--light);
  box-shadow: 0 4px 12px rgba(213, 43, 30, 0.3);
  border: 1px solid var(--secondary);
}

.btn-primary:hover {
  background-color: #c01c18;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(213, 43, 30, 0.4);
}

/* Общие стили секций */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  color: var(--primary);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--secondary);
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

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

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

.feature-card {
  background-color: var(--light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-bottom: 3px solid var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 57, 166, 0.1);
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.feature-card p {
  color: #666;
}

/* Как это работает */
.how-it-works {
  background-color: #fff;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-item {
  text-align: center;
  padding: 25px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.step-connector {
  position: absolute;
  top: 40px;
  right: -10px;
  width: calc(100% - 20px);
  height: 2px;
  background-color: #e0e0e0;
  z-index: 0;
}

.step-item:last-child .step-connector {
  display: none;
}

/* Преимущества */
.benefits {
  background-color: #f8f9fa;
}

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

.benefit-box {
  background-color: var(--light);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  border-left: 4px solid var(--secondary);
}

.benefit-box h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

/* Призыв к действию */
.cta {
  background: linear-gradient(135deg, var(--secondary) 0%, #a01c15 100%);
  color: var(--light);
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  font-size: 2.25rem;
  margin-bottom: 15px;
}

.cta p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

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

.btn-light:hover {
  background-color: transparent;
  color: var(--light);
  transform: translateY(-2px);
}

/* Футер */
.footer {
  background-color: #1a1a1a;
  color: #9e9e9e;
  padding: 60px 0 30px;
}

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

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

.footer-info p {
  margin-bottom: 20px;
}

.footer-nav h4 {
  color: var(--light);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-nav li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #9e9e9e;
}

.footer-nav a:hover {
  color: var(--light);
}

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

/* Медиа запросы */
@media screen and (max-width: 992px) {
  .steps-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .step-connector {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-info {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 100;
  }
  
  .main-nav.active {
    max-height: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-info {
    grid-column: span 1;
  }
}
