.site-system {
  padding: 120px 20px;
  background: #FBF8F5;
  font-family: inherit;
}

.site-system__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.site-system__head {
  text-align: center;
  margin-bottom: 80px;
}

.site-system__head h2 {
  font-size: 40px;
  margin-bottom: 12px;
}

.site-system__head p {
  color: #6b7280;
  font-size: 18px;
}

.site-system__diagram-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.site-system__diagram {
  position: relative;
  width: 900px;
  height: 900px;
  flex-shrink: 0;
}

/* SVG FIX */
.site-system__lines {
  position: absolute;
  width: 900px !important;
  height: 900px !important;
  max-width: none !important;
  top: 0;
  left: 0;
  z-index: 1;
}

.site-system__lines line {
  stroke: #d1d5db;
  stroke-width: 2;
  stroke-dasharray: 6;
  transition: .3s ease;
}

.site-system__lines line.active {
  stroke: #EE3D48;
  stroke-width: 3;
  stroke-dasharray: 0;
}

/* Центр */
.site-system__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.core-circle {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6A28, #FE2F57);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-weight: 600;
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);
}

/* Карточки */
.site-system__card {
  position: absolute;
  width: 300px;
  min-height: 120px;
  background: white;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: .3s ease;
  z-index: 2;
}

.site-system__card h3 { margin-bottom: 8px; font-size: 18px; }
.site-system__card p { font-size: 14px; color: #6b7280; }

.site-system__card.active {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* Координаты */
.card-1 { top: 0; left: 50%; transform: translate(-50%, 0); }
.card-2 { top: 150px; right: 0; }
.card-3 { bottom: 150px; right: 0; }
.card-4 { bottom: 0; left: 50%; transform: translate(-50%, 0); }
.card-5 { top: 50%; left: 0; transform: translate(0, -50%); }

/* Мобильная версия */
@media (max-width: 768px) {
  .site-system__diagram { width: 100%; height: auto; }
  .site-system__lines { display: none; }
  .site-system__card,
  .site-system__core { position: static; transform: none !important; width: 100%; margin-bottom: 20px; }
}




.price-list {
  padding: 100px 20px;
  background: #f8fafc;
}

.price-list__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.price-list__title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
}

.price-group {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.price-group__title {
  font-size: 24px;
  margin-bottom: 25px;
  color: #2563eb;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #eef2f7;
}

.price-row:last-child { border-bottom: none; }

.price-row span {
  max-width: 70%;
  line-height: 1.5;
}

.price-row strong {
  white-space: nowrap;
  font-size: 18px;
}

.price-row small {
  color: #6b7280;
  font-weight: normal;
}

.free {
  color: #16a34a;
}

.price-note {
  text-align: center;
  margin-top: 40px;
  color: #6b7280;
  font-size: 14px;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .price-row {
    flex-direction: column;
    gap: 6px;
  }

  .price-row strong {
    white-space: normal;
  }
}

.price-table tbody tr {
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.price-table tbody tr:hover {
    background-color: #f5f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
}

.price-table tbody tr:has(td[colspan]) {
    background: #f1f4f6 !important;
    box-shadow: none !important;
    transform: none !important;
}

.price-table tbody tr:has(td[colspan]):hover {
    background: #f1f4f6 !important;
}

.price-table td:last-child {
    font-weight: 700;
    color: #1f3b5b;
    white-space: nowrap;
}

.price-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #eef2f5;
}

.price-table tbody tr {
    transition: all 0.2s ease;
}

.price-table tbody tr:hover {
    background: #f5f9ff;
}

.price-table td {
    padding: 14px 16px;
}

.price-table td:last-child {
    font-weight: 700;
    white-space: nowrap;
}


/* ===== PRICE LIST LAYOUT ===== */

.price-list {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.price-list__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.price-list__title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #0f172a;
}

/* ===== GROUPS ===== */

.price-group {
    margin-bottom: 50px;
}

.price-group h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-left: 14px;
    color: #1e293b;
}

/* ===== ROW ===== */

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 18px 22px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    transition: all .25s ease;
}

/* Hover эффект */
.price-row:hover {
    background: #f1f7ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
    border-color: #dbeafe;
}

/* Левая часть */
.price-row span {
    font-size: 15px;
    line-height: 1.45;
    color: #334155;
}

.price-row span small {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

/* Цена */
.price-row strong {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    text-align: right;
}

.price-row strong small {
    display: block;
    font-weight: 500;
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

/* Бесплатно */
.price-row .free {
    color: #16a34a;
    font-weight: 800;
}

/* ===== NOTE ===== */

.price-note {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #64748b;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .price-list {
        padding: 50px 16px;
    }

    .price-row {
        flex-direction: column;
        gap: 6px;
        padding: 16px;
    }

    .price-row strong {
        text-align: left;
    }

    .price-list__title {
        font-size: 26px;
    }
}

/* Переменные на основе красного оттенка с сайта */
:root {
    --primary-red: #e30613; /* Фирменный красный */
    --primary-red-dark: #c10511; /* Темный оттенок для ховера */
    --red-shadow: rgba(227, 6, 19, 0.3); /* Цветная тень */
}

.button4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'ubuntu-my', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
    background: var(--primary-red);
    
    /* Скругление для современного вида */
    border-radius: 8px; 
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    
    /* Мягкая красная тень */
    box-shadow: 0 8px 20px -4px var(--red-shadow);
    
    /* Плавность анимации */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект глянцевого блика */
.button4::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: all 0.5s;
    z-index: 1;
}

/* Состояние при наведении */
.button4:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px var(--red-shadow);
    color: #fff !important;
}

.button4:hover::before {
    left: 100%;
}

/* Эффект нажатия */
.button4:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px -2px var(--red-shadow);
}


/* Переменные для белой кнопки */
:root {
    --btn-white: #ffffff;
    --btn-text-dark: #2c2c2c;
    --primary-red: #e30613;
    --soft-shadow: rgba(0, 0, 0, 0.08);
}

.button5 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'ubuntu-my', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Основной стиль: белый фон и темный текст */
    color: var(--btn-text-dark) !important;
    background: var(--btn-white);
    
    border-radius: 8px;
    /* Тонкая, едва заметная граница */
    border: 1px solid rgba(0, 0, 0, 0.1); 
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    
    /* Легкая нейтральная тень */
    box-shadow: 0 4px 15px var(--soft-shadow);
    
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Эффект при наведении: кнопка окрашивается в фирменный красный */
.button5:hover {
    color: #ffffff !important;
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.25);
}

/* Анимация появления цвета из центра (опционально для "wow-эффекта") */
.button5::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-red);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.button5:hover::before {
    width: 300%;
    height: 300%;
    border-radius: 0;
}

.button5:active {
    transform: translateY(0);
}