* {
  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;
}
.container {
  max-width: 1315px;
  margin: 0 auto;
}
/* Заголовок страницы */
.page-header {
  text-align: center;
  margin-bottom: 40px;
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e293b, #2d3a6e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.page-header p {
  color: #475569;
  font-size: 1.1rem;
}
.badge-limited {
  display: inline-block;
  background: #f59e0b;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-left: 10px;
  vertical-align: middle;
}
/* Переключатель продуктов */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.tab-btn {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: #475569;
}
.tab-btn.active {
  background: #1e293b;
  border-color: #1e293b;
  color: white;
}
.tab-btn:first-child.active {
  background: #1e293b;
}
.tab-btn:last-child.active {
  background: #2E86AB;
  border-color: #2E86AB;
}
.tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Таблицы цен */
.pricing-table {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  display: none;
}
.pricing-table.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.table-header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 25px 30px;
}
.table-header h2 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}
.table-header p {
  opacity: 0.8;
  font-size: 0.9rem;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  background: #f8fafc;
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  color: #1e293b;
  border-bottom: 2px solid #e2e8f0;
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
tr:hover {
  background: #f8fafc;
}
.version-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}
.badge-demo {
  background: #f39c12;
  color: white;
}
.badge-lite {
  background: #3498DB;
  color: white;
}
.badge-pro {
  background: #27AE60;
  color: white;
}
.badge-corp {
  background: #9B59B6;
  color: white;
}
.badge-standart {
  background: #3498DB;
  color: white;
}
.badge-prof {
  background: #27AE60;
  color: white;
}
.price {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
}
.price-old {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 8px;
}
.price-save {
  display: inline-block;
  background: #d1fae5;
  color: #059669;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  margin-left: 8px;
}
.btn-buy {
  background: #27AE60;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}
.btn-buy:hover {
  background: #1E8449;
  transform: scale(1.02);
}
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 4px 0;
  font-size: 13px;
  color: #475569;
}
.feature-list li:before {
  content: "✓";
  color: #27AE60;
  font-weight: bold;
  margin-right: 8px;
}
.feature-list .disabled:before {
  content: "✗";
  color: #e74c3c;
}
.feature-list .disabled {
  color: #cbd5e1;
}
/* Баннер акции */
.promo-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 20px;
  padding: 20px 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.promo-banner h3 {
  color: #92400e;
  font-size: 1.2rem;
}
.promo-banner .timer {
  background: #92400e;
  color: white;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: bold;
  font-family: monospace;
  font-size: 1.2rem;
}
/* Баннер пакетов */
.bundle-section {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}
.bundle-header {
  background: linear-gradient(135deg, #2E86AB 0%, #1a6d8a 100%);
  color: white;
  padding: 20px 25px;
}
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 25px;
}
.bundle-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s;
}
.bundle-card:hover {
  transform: translateY(-5px);
}
.bundle-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1e293b;
}
.bundle-price {
  font-size: 28px;
  font-weight: 800;
  color: #27AE60;
  margin: 15px 0;
}
.bundle-old {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
}
.bundle-save {
  color: #059669;
  font-weight: bold;
  margin: 10px 0;
}
.btn-bundle {
  background: #2E86AB;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}
.btn-bundle, a {
  color: #F8F7F7;
}
.footer-note {
  text-align: center;
  padding: 30px;
  color: #64748b;
  font-size: 0.85rem;
}
hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  th, td {
    padding: 12px;
    font-size: 13px;
  }
  .price {
    font-size: 18px;
  }
  .btn-buy {
    padding: 6px 14px;
    font-size: 12px;
  }
  .promo-banner {
    flex-direction: column;
    text-align: center;
  }
}
/* ---------- Футер ---------- */
.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;
}
hr {
  margin: 25px 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, #e2e8f0, #059669, #e2e8f0);
}
/* Дополнительные стили для таблиц сравнения */
.compare-badge {
  display: inline-block;
  background: #3b82f6;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.compare-container {
  max-width: 1400px;
  margin: 0 auto;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}
.comparison-section {
  margin: 40px 0;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
}
.comparison-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1e293b;
}
.compare-table-wrapper {
  padding: 32px;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 900px;
}
.compare-table th, .compare-table td {
  padding: 18px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
}
.compare-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
  position: sticky;
  top: 0;
}
.compare-table tr:hover td {
  background: #fafcff;
}
.advantage {
  background: #d1fae5;
  border-left: 4px solid #059669;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
}
.advantage strong {
  color: #065f46;
}
/* Колонка с названием продукта */
.product-column {
  font-weight: 700;
  color: #0f172a;
  width: 210px;
  background: white;
}
.product-dp {
  color: #3b82f6;
  font-size: 1rem;
}
.feature-icon {
  font-size: 1.1rem;
  margin-right: 6px;
}
.check-yes {
  color: #10b981;
  font-weight: 700;
  font-size: 1.1rem;
}
.check-no {
  color: #ef4444;
  font-weight: 400;
  font-size: 0.9rem;
}
.check-limited {
  color: #f59e0b;
  font-weight: 500;
}
/* Цитата/выделение */
.highlight-dp {
  background: linear-gradient(120deg, #eff6ff 0%, #eff6ff 40%, transparent 80%);
  border-left: 3px solid #3b82f6;
}
.tag {
  display: inline-block;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 8px;
  color: #1e293b;
}
.tag-pro {
  background: #dbeafe;
  color: #1e40af;
}
/* Вывод */
.conclusion {
  background: #f1f5f9;
  margin: 24px 32px 32px 32px;
  padding: 28px 32px;
  border-radius: 24px;
  border-left: 4px solid #3b82f6;
}
.conclusion h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0f172a;
}
.conclusion p {
  color: #334155;
  line-height: 1.5;
}
@media (max-width: 680px) {
  .compare-header {
    padding: 32px 20px;
  }
  .compare-header h1 {
    font-size: 1.5rem;
  }
  .compare-table-wrapper {
    padding: 16px;
  }
  .compare-table th, .compare-table td {
    padding: 12px 10px;
    font-size: 0.8rem;
  }
  .conclusion {
    margin: 16px 20px 24px 20px;
    padding: 20px;
  }
}