* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-image: url('../style/bg.jpeg');
  min-height: 100vh;
  line-height: 1.6;
}
.imHeader {
  position: relative;
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  height: 400px;
  background-image: url('../style/h.png');
  background-position: left top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-color: transparent;
}
/* Стили для переключения между программами */
.program-switcher {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 0 0 10px 0;
  flex-wrap: wrap;
}
.program-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.program-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.program-btn.active {
  background: linear-gradient(135deg, #27AE60 0%, #1E8449 100%);
  box-shadow: 0 0 15px rgba(39, 174, 96, 0.5);
}
.program-btn.tender-btn {
  background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
}
.program-btn.doc-btn {
  background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
}
.program-content {
  display: none;
  animation: fadeIn 0.5s ease;
}
.program-content.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Дополнительные стили для раздела "Работа на других ОС" */
.os-section {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 16px;
  padding: 25px;
  margin: 30px 0;
  color: white;
}
.os-section.tender-os {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}
.os-section.doc-os {
  background: linear-gradient(135deg, #3a1c71 0%, #d76d77 100%);
}
.os-section h3 {
  color: white;
  margin-top: 0;
  font-size: 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-block;
  padding-bottom: 8px;
}
.os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.os-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}
.os-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}
.os-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.os-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.os-details {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.9;
}
.os-details ul {
  margin: 8px 0 0 20px;
  padding: 0;
}
.os-details li {
  margin: 5px 0;
}
.code-block {
  background: #1e1e2e;
  padding: 12px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  overflow-x: auto;
  margin: 10px 0;
  color: #e2e8f0;
}
.badge {
  display: inline-block;
  background: #27AE60;
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 10px;
  vertical-align: middle;
}
.compatibility-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 0.85rem;
}
.compatibility-table th, .compatibility-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.compatibility-table th {
  background: rgba(0, 0, 0, 0.2);
  font-weight: bold;
}
.check-yes {
  color: #2ecc71;
}
.check-partial {
  color: #f39c12;
}
.check-no {
  color: #e74c3c;
}
.install-tab {
  margin-top: 20px;
}
.install-tab-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.install-tab-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}
.install-tab-btn.active {
  background: #27AE60;
}
.install-tab-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
.install-content {
  display: none;
}
.install-content.active {
  display: block;
}
hr {
  margin: 20px 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #ccc, transparent);
}
.warning-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 12px;
  margin: 15px 0;
  border-radius: 8px;
  color: #856404;
}
.download-link {
  display: inline-block;
  background: #27AE60;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
  font-weight: bold;
}
.download-link:hover {
  background: #1E8449;
}
@media (max-width: 768px) {
  .os-grid {
    grid-template-columns: 1fr;
  }
  .compatibility-table {
    font-size: 0.7rem;
  }
  .program-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}
/* ---------- Футер ---------- */
.footer {
  background: #0f172a;
  color: #ffffff;
  margin-top: 20px;
  padding: 28px 30px;
  text-align: center;
  font-size: 0.85rem;
}
.footer a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer a:hover {
  color: white;
}
/* ============================================
   ОБЩИЕ СТИЛИ И АДАПТИВНОЕ МЕНЮ
   ============================================ */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}
/* Шапка */
.header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
}
.header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e293b 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header p {
  color: #64748b;
  margin-top: 10px;
}
/* Карточки программ */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.product-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}
.product-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 30px 20px 30px;
  border-bottom: 1px solid #e2e8f0;
}
.product-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.product-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.product-title {
  flex: 1;
}
.product-title h2 {
  font-size: 1.6rem;
  color: #1e293b;
  margin-bottom: 8px;
}
.product-title .version {
  color: #059669;
  font-size: 0.85rem;
  font-weight: 500;
}
.product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #f1f5f9;
  border-radius: 20px;
  font-size: 12px;
  color: #475569;
}
.product-content {
  padding: 25px 30px;
}
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin: 20px 0;
}
.feature-item {
  background: #f8fafc;
  padding: 15px;
  border-radius: 16px;
}
.feature-item .title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-item .title span {
  font-size: 1.2rem;
}
.feature-item ul, .feature-item ol {
  margin-left: 20px;
  color: #475569;
  font-size: 0.9rem;
}
.feature-item li {
  margin-bottom: 6px;
}
.feature-item p {
  color: #475569;
  font-size: 0.9rem;
}
hr {
  margin: 25px 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, #e2e8f0, #059669, #e2e8f0);
}
.note {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 15px 20px;
  border-radius: 12px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: #92400e;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e293b;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn:hover {
  background: #059669;
  transform: scale(1.02);
}
.center {
  text-align: center;
}
.in-development {
  text-align: center;
  padding: 40px;
}
.in-development img {
  width: 80px;
  height: 80px;
  opacity: 0.5;
  margin-bottom: 16px;
}
.in-development p {
  color: #94a3b8;
  font-size: 1.1rem;
}
.footer a:hover {
  text-decoration: underline;
}
/* Адаптивность */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }
  .product-header {
    flex-direction: column;
    text-align: center;
  }
  .product-content {
    padding: 20px;
  }
  .features-list {
    grid-template-columns: 1fr;
  }
  .menu {
    gap: 15px;
  }
}