
:root {
  /* Основные цвета */
  --primary-blue: #2563eb;
  --primary-orange: #f97316;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --whatsapp-green: #25D366;
  --telegram-blue: #0088cc;
  --success-green: #10b981;
  --error-red: #ef4444;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

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

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

.logo h1 {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.logo__subtitle {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 400;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav__link {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav__link:hover, .nav__link.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
  color: white;
}

/* Мобильное меню - ИСПРАВЛЕННАЯ ВЕРСИЯ */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  z-index: 1001;
  position: relative;
}

.mobile-menu-btn span {
  width: 24px;
  height: 3px;
  background: var(--gray-700);
  transition: all 0.3s ease;
  border-radius: 2px;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(249,115,22,0.05));
  padding: 80px 0;
  text-align: center;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0 3rem 0;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

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

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37,99,235,0.3);
}

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

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

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

/* Form Styles */
.form-section {
  padding: 60px 0;
  background: var(--gray-100);
}

.form-container {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* Sections */
.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--gray-900);
  margin-bottom: 3rem;
  font-weight: 700;
}

/* Brands Section */
.brands-section {
  padding: 80px 0;
  background: white;
}

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

.brand-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.brand-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.brand-card__title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.brand-card__description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.brand-card__price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  padding: 0.5rem 1rem;
  background: rgba(37,99,235,0.1);
  border-radius: 20px;
  display: inline-block;
}

/* Advantages Section */
.advantages {
  padding: 80px 0;
  background: var(--gray-100);
}

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

.advantage-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.advantage-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.advantage-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.advantage-card__description {
  color: var(--gray-600);
  line-height: 1.5;
}

/* Process Section */
.process-section {
  padding: 80px 0;
  background: white;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
}

.process-step__number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.process-step__content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.process-step__content p {
  color: var(--gray-600);
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--gray-100);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.faq-item p {
  color: var(--gray-600);
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: white;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
  padding: 40px 0;
  margin-top: 60px;
}

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

.footer-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: white;
  border-radius: 15px;
  text-decoration: none;
  color: var(--gray-800);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  min-height: 120px;
}

.footer-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.footer-btn__text {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* Иконки в футере */
.phone-icon, .whatsapp-icon, .telegram-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.phone-icon {
  background-color: var(--primary-blue);
}

.whatsapp-icon {
  background-color: var(--whatsapp-green);
}

.telegram-icon {
  background-color: var(--telegram-blue);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  color: var(--gray-600);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}

.close:hover {
  color: var(--gray-900);
}

/* RESPONSIVE DESIGN - ИСПРАВЛЕННАЯ МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
  /* Мобильное меню */
  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    border-radius: 0;
  }

  /* Адаптивная сетка */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero__stats {
    gap: 2rem;
  }

  .brands-grid,
  .advantages-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer__buttons {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 15px;
  }

  .form-container {
    padding: 1.5rem;
  }

  /* Размеры текста */
  .hero {
    padding: 60px 0;
  }

  .hero__stat-number {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .btn--large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 0;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .process-step__number {
    align-self: center;
  }

  .brands-section,
  .advantages,
  .process-section,
  .faq-section,
  .cta-section {
    padding: 60px 0;
  }
}

/* Дополнительные стили для улучшения SEO */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 2rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.content-section p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Price Table для других страниц */
.price-table {
  margin: 2rem 0;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.price-table th {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
  color: white;
  font-weight: 600;
}

.price-table tr:hover {
  background: var(--gray-100);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

/* Accessibility improvements */
button:focus,
a:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
