/* CSS Variables */
:root {
  --primary-color: #0061d5;
  --primary-hover: #0048a3;
  --text-dark: #171624;
  --text-gray: #555;
  --border-color: #e1e5ec;
  --success-color: #4caf50;
  --warning-color: #f39c12;
  --danger-color: #d32f2f;
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 15px 40px rgba(0,97,213,0.12);
  --container-width: 1200px;
  --border-radius: 14px;
}


/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
  font-family: 'Source Sans 3', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Golos Text', Sans-serif;
}

/* Layout Components */
.section {
  padding: 50px 20px;
  width: 100%;
  box-sizing: border-box;
}

.section-content {
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Common Components */
.btn, .cta-btn, .submit-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  font-size: 1.05em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,97,213,0.15);
}

.btn:hover, .cta-btn:hover, .submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Section Headers */
.section h2 {
  font-size: 2em;
  margin-bottom: 15px;
  text-align: center;
  color: var(--primary-color);
}

.section-description {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 1.2em;
  line-height: 1.5;
  color: var(--text-gray);
}

/* Cards */
.process-card, .module-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
}

.process-card:hover, .module-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Icons */
.icon-container {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 97, 213, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.icon-container i {
  font-size: 1.8em;
  color: var(--primary-color);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
  padding-bottom: 15px;
  border-radius: var(--border-radius);
}

/* Media Queries */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 30px 15px;
  }
  
  .section h2 {
    font-size: 1.8em;
  }
  
  .section-description {
    font-size: 1.1em;
    padding: 0 20px;
  }
}

@media (max-width: 500px) {
  .card {
    padding: 20px;
  }
  
  .btn, .cta-btn {
    width: 100%;
  }
}

/* Стили для топбара */
.topbar {
  background-color: #171624;
  color: #fff;
  padding: 10px 0; /* Убрали боковые отступы */
}

.topbar > div {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 20px; /* Добавили отступы внутри */
}

.contact-info {
  display: flex;
  gap: 20px;
}

.contact-info a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.2em;
  transition: opacity 0.2s;
}

.social-icons a:hover {
  opacity: 0.8;
}

/* Стили для главного блока */
.main-section {
  background-color: #f4f8ff;
  padding: 40px 20px;
  margin-bottom: 0;
}

.main-section h1 {
  font-size: 2.4em;
  color: #0061d5;
  margin-bottom: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.main-image {
  flex: 1;
  min-width: 300px;
}

.main-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-text {
  flex: 1;
  min-width: 300px;
}

.main-text h2 {
  color: #222;
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 20px;
}

.main-text p {
  font-size: 1.4em;
  line-height: 1.5;
  color: #333;
  margin-bottom: 20px;
}

.feature-list {
  margin-bottom: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.feature-icon {
  font-size: 1.3em;
  margin-right: 15px;
  color: #0061d5;
}

/* Стили для ключевых преимуществ */
.key-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 20px;
  background-color: #fff;
  margin-bottom: 0;
}

.benefit {
  text-align: center;
  flex: 1;
  min-width: 180px;
  max-width: 250px;
  transition: transform 0.3s ease;
  padding: 15px;
  border-radius: 10px;
}

.benefit:hover {
  transform: translateY(-5px);
  background-color: rgba(244, 248, 255, 0.7);
  box-shadow: 0 8px 20px rgba(0, 97, 213, 0.1);
}

.benefit-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #0061d5;
  margin-bottom: 5px;
}

.benefit-text {
  font-size: 1.1em;
  color: #333;
}

/* Стили для иконок в блоке ключевых преимуществ */
.benefit-icon {
  font-size: 2em;
  color: #0061d5;
  margin-bottom: 10px;
}

.benefit-icon i {
  background-color: rgba(0, 97, 213, 0.1);
  border-radius: 25%;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.benefit:hover .benefit-icon i {
  transform: scale(1.1);
  background-color: rgba(0, 97, 213, 0.15);
}

/* Стили для блоков тарифов */
.section {
  padding: 50px 20px;
  /*max-width: 1200px;*/
  margin: 0 auto;
}

.section h2 {
  font-size: 2em;
  margin-bottom: 15px;
  text-align: center;
  color: #0061d5;
}

.section p {
   text-align: center; 
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1em;
  color: #333;
  line-height: 1.5;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.tariff {
  border: 2px solid #e1e5ec;
  padding: 30px 25px 25px 25px;
  border-radius: 14px;
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 320px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tariff:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.tariff.subscription {
  border-color: #0061d5;
}

.tariff.highlight {
  border: 3px solid #0061d5;
  background-color: #eaf2ff;
  position: relative;
  transform: scale(1.03);
}

.tariff.highlight:hover {
  transform: translateY(-5px) scale(1.03);
}

.tariff h3 {
  margin-top: 0;
  font-size: 1.4em;
  color: #0061d5;
  font-weight: 600;
}

.tariff .price {
  font-size: 1.3em;
  margin: 15px 0 20px 0;
  color: #171624;
  font-weight: bold;
}

.tariff .price span {
  font-size: 0.95em;
  color: #666;
  font-weight: normal;
  margin-top: 5px;
}

.benefits {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
  font-size: 1.05em;
}

.benefits li {
  margin: 10px 0;
  padding-left: 1.3em;
  text-indent: -1.3em;
  color: #171624;
}

.benefits li::before {
  content: '✅';
  margin-right: 7px;
  color: #0061d5;
}

.highlight .recommended {
  background-color: #0061d5;
  color: white;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 7px;
  font-size: 1em;
  margin-bottom: 12px;
  font-weight: 500;
  position: absolute;
  top: -12px;
  right: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(0,97,213,0.3);
}

/* Обновляем стили для выделения блоков с выгодой */
.discount {
  color: #e53935;
  font-weight: bold;
  font-size: 1em;
  background-color: #ffefef;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 5px;
  display: inline-block;
  border: 1px dashed #e53935;
}

/* Стиль для текста "по желанию" */
.optional {
  color: #27ae60;
  font-weight: bold;
  font-size: 1em;
  background-color: #e8f7ef;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 5px;
  display: inline-block;
  border: 1px dashed #27ae60;
}

/* Стили для блока сравнения тарифов */
.tariff-comparison {
  background-color: transparent; /* Меняем с #fff на transparent */
  padding-top: 60px;
  padding-bottom: 60px;
  margin-top: 0;
  max-width: 100%;
  width: 100%;
}



.tariff-comparison > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 30px;
  padding-bottom: 15px;
  border-radius: 14px;
}

.comparison-table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95em;
  box-sizing: border-box;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* Закругление углов таблицы */
.comparison-table th:first-child {
  border-top-left-radius: 14px;
}

.comparison-table th:last-child {
  border-top-right-radius: 14px;
}

.comparison-table tfoot tr:last-child td:first-child {
  border-bottom-left-radius: 14px;
}

.comparison-table tfoot tr:last-child td:last-child {
  border-bottom-right-radius: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 15px;
  text-align: center;
  border-bottom: 1px solid #e1e5ec;
}

.comparison-table th {
  background-color: #0061d5;
  color: white;
  font-weight: 600;
  white-space: nowrap;
}

.comparison-table th:first-child {
  text-align: left;
  background-color: #f4f8ff;
  color: #333;
}

.feature-column {
  width: 30%;
}

.comparison-table td.feature-name {
  text-align: left;
  font-weight: 500;
  color: #333;
}

.available {
  color: #0d8f00;
  font-size: 1.2em;
}

.unavailable {
  color: #d32f2f;
  font-size: 1.2em;
}

.available-note {
  color: #f39c12;
  font-size: 0.9em;
  font-weight: 500;
}

.price-row {
  background-color: #f4f8ff;
  font-weight: bold;
}

.price-label {
  text-align: left !important;
  font-size: 1.05em;
  color: #333;
}

.price-value {
  padding: 18px 5px;
}

.price-amount {
  font-size: 1.3em;
  color: #0061d5;
  margin-bottom: 3px;
    font-weight: bold;
}

.price-period {
  font-size: 0.85em;
  color: #666;
  font-weight: normal;
}

.comparison-table tfoot button {
  margin-top: 10px;
  width: 90%;
}

/* Стили для блока призыва к действию */
.cta-section {
  text-align: center;
  padding: 40px 20px;
 /* margin-top: 60px;*/
  background-color: #fff;
}

.cta-btn {
  background: #0061d5;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 35px;
  font-size: 1.2em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,97,213,0.2);
}

.cta-btn:hover {
  background: #0048a3;
  transform: translateY(-3px);
}

/* Стили для футера */
.footer {
  background-color: #171624;
  color: #fff;
  padding: 40px 20px;
  margin-top: 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer p {
  margin: 8px 0;
  color: #ccc;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #0061d5;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Уменьшаем размер логотипа в футере */
.footer-logo {
  width: 180px;
  display: block;
}


/* Стили для секции "Автоматизация процессов" */
.automation-process {
  padding: 25px 0 75px 0;
  background: linear-gradient(135deg, #0061d5 0%, #003580 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.automation-process::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 25%;
  transform: translate(30%, -30%);
}

.automation-process h2 {
  color: white;
  font-size: 2.6em;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.automation-process .section-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  position: relative;
  z-index: 1;
}

.process-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 35px 25px;
  /* text-align: center; */
  transition: all 0.3s ease;
}

.process-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.process-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
 /* margin: 0 auto 25px; */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.process-icon i {
  font-size: 2.2em;
  color: white;
}

.process-card:hover .process-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(255, 255, 255, 0.2);
}

.process-card h3 {
  color: white;
  font-size: 1.4em;
  /* margin: 0 0 15px; */
  font-weight: 600;
}

.process-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-size: 1em;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .automation-process {
    padding: 70px 0;
  }
  
  .automation-process h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .automation-process {
    padding: 50px 0;
  }
  
  .automation-process h2 {
    font-size: 1.8em;
  }
  
  .process-card {
    padding: 25px 20px;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
  
  .main-content {
    flex-direction: column;
  }
  
  .main-section h1 {
    font-size: 2em;
  }
  
  .main-text h2 {
    font-size: 1.5em;
  }
  
  .feature-item {
    font-size: 1.1em;
  }
  
  .key-benefits {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  
  .section {
    padding: 30px 15px;
  }
  
  
  .comparison-table {
    font-size: 0.85em;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
  }
  
  .price-amount {
    font-size: 1.1em;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 25px;
  }
  
  .topbar > div {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

/* Стили полноширинных секций */
.section.full-width, .tariff-comparison {
  width: 100%;
  max-width: 100%;
  padding: 50px 0;
  box-sizing: border-box;
}

.section.full-width > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* Делаем второй блок секции (Бессрочные лицензии) с фоном #f4f8ff */
section.section:nth-of-type(2) {
  background-color: #f4f8ff !important; /* Добавляем !important */
  max-width: 100%;
  width: 100%;
  padding: 50px 0; /* Уменьшаем верхний отступ с 70px до 50px */
}

section.section:nth-of-type(2) > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* Общие стили для секций */
.section {
  padding: 50px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Внутренний контейнер для содержимого */
.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Фоны секций */
.bg-white {
  background-color: #fff;
}

.bg-light {
  background-color: #e5efff;
}

/* Стили для секции "Тарифы по подписке" */
.tariffs-subscription {
  position: relative;
  box-shadow: 0 4px 15px -10px rgba(0, 97, 213, 0.1);
  width: 100%;
  max-width: 100%;
  padding: 50px 0;
  box-sizing: border-box;
  background-color: #f4f8ff;
}

.tariffs-subscription .section-content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* Разделитель между секциями */
.tariffs-subscription:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 97, 213, 0.2), transparent);
}

/* Стили для секции "Бессрочные лицензии" */
.tariffs-permanent {
  padding-top: 50px; /* Уменьшаем с 70px до стандартных 50px */
}

/* Стили для секции "Сравнение тарифов" */
.tariff-comparison {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: transparent;
}

/* Стили для секции "12 причин выбрать нас" */
.reasons {
  padding: 70px 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.reason-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.reason-number {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--primary-color);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 12px rgba(0,97,213,0.2);
}

.reason-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0,97,213,0.1) 0%, rgba(0,97,213,0.05) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.reason-card:hover .reason-icon {
  transform: scale(1.1) rotate(-5deg);
}

.reason-icon i {
  font-size: 2em;
  color: var(--primary-color);
}

.reason-card h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin: 0 0 15px;
  font-weight: 600;
}

.reason-card p {
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
  font-size: 1em;
}

/* Адаптивность */
@media (max-width: 768px) {
  .reasons-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 40px auto 0;
  }
  
  .reason-card {
    padding: 25px;
  }
}

/* В конец CSS-файла добавляем стили для модального окна */

/* Стили для модального окна */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 14px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #777;
  transition: color 0.2s;
}

.close:hover {
  color: #0061d5;
}

.modal h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #0061d5;
  text-align: center;
  font-size: 1.5em;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e5ec;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: #0061d5;
  outline: none;
}

.submit-btn {
  background: #0061d5;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 25px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-weight: 500;
  width: 100%;
  margin-top: 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,97,213,0.2);
}

.submit-btn:hover {
  background: #0048a3;
  transform: translateY(-2px);
}

.form-agreement {
  font-size: 0.85em;
  text-align: center;
  margin-top: 15px;
  color: #666;
}

.form-agreement a {
  color: #0061d5;
  text-decoration: none;
}

.form-agreement a:hover {
  text-decoration: underline;
}

/* В конец файла добавляем стили для блока "Готовые курсы" */

/* Стили для секции "Готовые курсы" */
.ready-courses {
  padding: 60px 0;
  background-color: #f4f8ff;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ready-courses .section-content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.courses-table-wrap {
  overflow-x: auto;
  margin-top: 30px;
  padding-bottom: 15px;
  border-radius: 14px;
}

.courses-table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95em;
  box-sizing: border-box;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* Закругление углов таблицы */
.courses-table th:first-child {
  border-top-left-radius: 14px;
}

.courses-table th:last-child {
  border-top-right-radius: 14px;
}

.courses-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 14px;
}

.courses-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 14px;
}

.courses-table th,
.courses-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #e1e5ec;
  background-color: #fff;
}

.courses-table th {
  background-color: #0061d5;
  color: white;
  font-weight: 600;
  white-space: nowrap;
}

.course-name-column {
  width: 30%; /* Увеличиваем с 20% до 30% */
}

.course-name {
  font-weight: 600;
  color: #0061d5;
  align-items: center;
  gap: 12px;
}

.course-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 97, 213, 0.1);
  border-radius: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0061d5;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.course-description {
  color: #555;
  line-height: 1.4;
}

.course-price {
  text-align: center;
}

.price-badge {
  display: inline-block;
  background-color: #4caf50;
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 500;
  margin-bottom: 5px;
}

.course-price.included {
  color: #4caf50;
}

.price-note {
  font-size: 0.85em;
  color: #777;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 700px) {
  .courses-table th,
  .courses-table td {
    padding: 12px 10px;
  }
  
  .course-name {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .course-icon {
    width: 35px;
    height: 35px;
  }
}

/* Стили для секции модулей */
.modules {
  padding: 70px 0;
}

.modules .section-description {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 1.2em;
  line-height: 1.5;
  color: #444;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.module-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid #e1e5ec;
  transition: transform 0.2s, box-shadow 0.2s;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.module-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 97, 213, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.module-icon i {
  font-size: 1.8em;
  color: #0061d5;
}

.module-card h3 {
  color: #0061d5;
  font-size: 1.4em;
  margin: 0 0 15px 0;
}

.module-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #444;
  line-height: 1.4;
}

.module-card ul li::before {
  content: "•";
  color: #0061d5;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
  
  .module-card {
    padding: 20px;
  }
  
  .modules .section-description {
    font-size: 1.1em;
    padding: 0 20px;
  }
}

/* Стили для видео */
.video-container {
    position: relative;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px #000;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px #000;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 97, 213, 0.9);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-play-btn:hover {
    background: rgba(0, 97, 213, 1);
    transform: translate(-50%, -50%) scale(1.05);
}

.video-play-btn i {
    font-size: 1.2em;
}

.video-container.playing .video-play-btn {
    display: none;
}