/* Общие стили */
:root {
  --primary-color: #2c8a6b;
  --secondary-color: #f39c12;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --white: #fff;
  --black: #000;
  --transition: all 0.3s ease;
}

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

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

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

/* Шапка с гамбургер-меню */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Стили гамбургер-меню */
.navbar {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}

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

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

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

.nav-menu a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* Мобильное меню */
@media (max-width: 4100px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Герой-секция */
.hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 180px 0 100px;
  position: relative;
  margin-top: 60px;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

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

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero span {
  color: var(--secondary-color);
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Основные секции */
.section {
  padding: 80px 0;
}

.section-dark {
  background-color: #e9ecef;
}

.section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: var(--primary-color);
}

/* Сетка контента */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Изображения */
.inline-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Списки */
.benefits-list {
  list-style-position: inside;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits-list li {
  margin-bottom: 10px;
}

/* Карточки */
.usage-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .usage-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
}

.card p, .card ul {
  padding: 0 20px 20px;
  color: var(--dark-color);
}

.card ul {
  margin-top: 10px;
  padding-left: 20px;
}

/* Статистика */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.stat-item {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.stat-desc {
  color: var(--dark-color);
  font-size: 1.1rem;
}

/* Анализ рынка */
.market-analysis {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.market-analysis h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.market-analysis ul {
  list-style-position: inside;
  margin-top: 15px;
}

.market-analysis li {
  margin-bottom: 10px;
}

/* Форма обратной связи */
.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-info ul {
  list-style-position: inside;
  margin-bottom: 30px;
}

.contact-info li {
  margin-bottom: 10px;
}

.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Кнопки */
.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e67e22;
}

/* Подвал */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  animation: fadeIn 0.6s ease-out;
}