body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
}

header,
footer {
  background-color: #000000;
  color: #009420;
  padding: 6px 14px;
  text-align: center;
}

header .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

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

.logo img {
  height: var(--logo-height, 60px); /* можно менять вручную */
  width: auto;
  max-height: 80px;
}

.register-btn {
  background-color: #009219;
  border: none;
  padding: 0.75em 1.8em;
  color: #fff;
  font-size: 1em;
  cursor: pointer;
  position: absolute;
  top: 4.5%;
  right: 45px;
  border-radius: 10px;
}

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

h1 {
  color: #222;
  text-align: center;
}

h2 {
  color: #222;
  text-align: left;
}

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

.cta-btn {
  display: block;
  margin: 10px auto 40px;
  padding: 0.75em 1.5em;
  background-color: #009219;
  color: #fff;
  text-align: center;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1em;
  width: fit-content;
}

footer {
  font-size: 0.9em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table,
th,
td {
  border: 1px solid #ccc;
  padding: 10px;
}

th {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  .register-btn {
    position: static;
    display: block;
    margin: 1em auto;
    width: 90%;
    max-width: 300px;
  }

  header .top {
    flex-direction: column;
    padding: 10px;
  }

  .logo {
    margin-bottom: 15px;
  }

  .logo img {
    height: 50px;
    max-height: 60px;
  }

  .container {
    margin: 15px auto;
    padding: 0 10px;
  }

  h1 {
    font-size: 1.5em;
    margin: 15px 0;
  }

  h2 {
    font-size: 1.3em;
    text-align: center;
  }

  .cta-btn {
    width: 90%;
    margin: 10px auto 30px;
    padding: 1em;
    font-size: 1.1em;
  }

  table {
    font-size: 0.9em;
  }

  table, th, td {
    padding: 8px 5px;
  }

  img {
    margin: 15px auto;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  header,
  footer {
    padding: 10px;
  }

  .register-btn {
    padding: 1em;
    font-size: 1.1em;
  }

  .container {
    margin: 10px auto;
  }

  h1 {
    font-size: 1.3em;
  }

  h2 {
    font-size: 1.1em;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  th, td {
    min-width: 80px;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 320px) {
  body {
    font-size: 13px;
  }

  .logo img {
    height: 40px;
  }

  .register-btn,
  .cta-btn {
    font-size: 1em;
    padding: 0.8em;
  }
}
/* Добавить в style.css */

/* Навигация */
.main-nav {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: #009420;
  text-decoration: none;
  font-weight: 500;
}

.register-btn-link {
  text-decoration: none;
}

/* Хлебные крошки */
.breadcrumbs {
  margin-bottom: 20px;
  font-size: 0.9em;
}

.breadcrumbs a {
  color: #009420;
  text-decoration: none;
}

/* Секции */
.mirror-section, 
.instructions-section,
.comparison-section,
.solutions-section,
.faq-section,
.mobile-section {
  margin: 40px 0;
}

/* Список зеркал */
.mirror-list {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.mirror-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #e9ecef;
}

.mirror-item:last-child {
  border-bottom: none;
}

.mirror-url {
  font-family: monospace;
  font-weight: bold;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
}

.status-badge.online {
  background: #d4edda;
  color: #155724;
}

/* Пошаговая инструкция */
.step-by-step {
  margin: 30px 0;
}

.step {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
}

.step-number {
  background: #009420;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 10px 0;
  color: #222;
}

/* Карточки решений */
.solution-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.solution-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.solution-card h3 {
  color: #009420;
  margin-top: 0;
}

/* FAQ */
.faq-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.faq-item h3 {
  color: #222;
  margin-bottom: 10px;
}

/* Кнопки загрузки */
.download-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn.secondary {
  background: #6c757d;
}

/* Футер */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-nav {
  margin-top: 15px;
}

.footer-nav a {
  color: #009420;
  margin: 0 10px;
  text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .mirror-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .solution-cards {
    grid-template-columns: 1fr;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .download-buttons .cta-btn {
    width: 100%;
    max-width: 300px;
  }
}