/* ============================================
   page-6.css — только стили для страницы активации
   ============================================ */
* {
  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: 20px auto;
  background: white;
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
/* ---------- ШАПКА СТРАНИЦЫ ---------- */
.header {
  text-align: center;
  padding: 35px 30px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
}
.header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: white;
}
.header p {
  font-size: 1rem;
  opacity: 0.9;
}
/* ---------- ВКЛАДКИ (TABS) ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #f1f5f9;
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
}
.tab-btn {
  background: transparent;
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  border-radius: 40px;
  transition: all 0.2s;
  font-family: inherit;
}
.tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.tab-btn.active {
  background: #059669;
  color: white;
}
/* ---------- КОНТЕНТ ВКЛАДОК ---------- */
.content {
  padding: 40px;
}
.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}
.tab-pane.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ---------- ТИПОГРАФИКА ---------- */
h2 {
  font-size: 1.6rem;
  color: #1e293b;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}
h3 {
  font-size: 1.3rem;
  color: #334155;
  margin: 25px 0 15px;
}
h4 {
  font-size: 1.1rem;
  color: #475569;
  margin: 15px 0 10px;
}
/* ---------- СПИСКИ ---------- */
ul, ol {
  margin: 15px 0 15px 25px;
  color: #334155;
}
li {
  margin-bottom: 6px;
}
/* ---------- ИНФОРМАЦИОННЫЕ БЛОКИ ---------- */
.success-box, .info-box, .warning-box, .danger-box {
  padding: 16px 20px;
  border-radius: 12px;
  margin: 20px 0;
}
.success-box {
  background: #d1fae5;
  border-left: 4px solid #059669;
  color: #065f46;
}
.info-box {
  background: #dbeafe;
  border-left: 4px solid #3b82f6;
  color: #1e40af;
}
.warning-box {
  background: #fed7aa;
  border-left: 4px solid #ea580c;
  color: #9a3412;
}
.danger-box {
  background: #fee2e2;
  border-left: 4px solid #dc2626;
  color: #991b1b;
}
/* ---------- ТАБЛИЦЫ ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
th {
  background: #1e293b;
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: 600;
}
td {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}
tr:last-child td {
  border-bottom: none;
}
tr:hover td {
  background: #f8fafc;
}
/* ---------- КАРТОЧКИ ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.card h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #1e293b;
}
.card p {
  color: #475569;
  font-size: 0.9rem;
}
/* ---------- ШАГИ (STEPS) ---------- */
.step-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #f8fafc;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.step-number {
  width: 36px;
  height: 36px;
  background: #059669;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}
.step h4 {
  margin: 0 0 5px;
  color: #1e293b;
}
.step p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
}
/* ---------- БЕЙДЖИ ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.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-info {
  background: #64748b;
  color: white;
}
/* ---------- ФУТЕР ---------- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 28px 30px;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 20px;
}
.footer a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer a:hover {
  color: white;
  text-decoration: underline;
}
hr {
  margin: 25px 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, #e2e8f0, #059669, #e2e8f0);
}
/* ---------- АДАПТИВНОСТЬ (только для контента, НЕ для меню) ---------- */
@media (max-width: 768px) {
  .container {
    margin: 0;
    border-radius: 0;
  }
  .header {
    padding: 25px 20px;
  }
  .header h1 {
    font-size: 1.5rem;
  }
  .content {
    padding: 25px;
  }
  .tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 10px 15px;
  }
  .tab-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  table {
    font-size: 0.8rem;
  }
  th, td {
    padding: 8px;
  }
}
@media (max-width: 480px) {
  .content {
    padding: 20px;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer {
    padding: 20px;
    font-size: 0.75rem;
  }
}
/* ---------- ПЕЧАТЬ ---------- */
@media print {
  body {
    background: white;
    padding: 0;
  }
  .navbar, .tabs, .footer {
    display: none;
  }
  .tab-pane {
    display: block !important;
    page-break-inside: avoid;
  }
}