/* === ТЕМНАЯ ТЕМА ДЛЯ КУРСА АРАНЖИРОВКИ — ПОЛНЫЙ ФАЙЛ === */ 

/* Сброс и базовые */
*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family: Arial, sans-serif;
  line-height:1.6;
  color:#e0e0e0;
  background:#0d1117;
}
.container{max-width:1000px;margin:0 auto;padding:0 20px}

/* Фоны секций */
.wide-bg{width:100%;position:relative;padding:50px 0;margin:0}
.lessons-bg{background:linear-gradient(135deg,#161b22 0%,#21262d 100%)}
.bonuses-bg{background:linear-gradient(135deg,#1c1f26 0%,#2d333b 100%)}
.science-bg{background:linear-gradient(135deg,#0d1117 0%,#161b22 100%)}
.pricing-bg{background:linear-gradient(135deg,#13181f 0%,#1c2128 100%)}

/* Hero */
.hero{background:linear-gradient(135deg,#0d1117 0%,#161b22 100%);padding:50px 0;text-align:center}
.hero-title{font-size:36px;font-weight:bold;margin-bottom:20px;color:#f0f6fc;text-shadow:0 2px 4px rgba(0,0,0,.5)}
.hero-subtitle{font-size:20px;color:#8b949e;margin-bottom:40px;max-width:800px;margin-left:auto;margin-right:auto}

/* Контентные секции */
.content-section{padding:50px 0;background:#0d1117}
.large-text{font-size:20px;line-height:1.6;margin-bottom:30px;color:#c9d1d9}
.highlight-text{
  background:linear-gradient(135deg,#1f2937 0%,#374151 100%);
  color:#f3f4f6;padding:25px;border-radius:12px;margin:30px 0;text-align:center;
  font-size:18px;border:1px solid #374151;box-shadow:0 4px 12px rgba(0,0,0,.3)
}
h2{font-size:32px;font-weight:bold;margin-bottom:30px;color:#f0f6fc;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.3)}

/* Проблемы/решения */
.problems-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;margin-top:30px
}
.problem-card{
  background:linear-gradient(135deg,#1c2128 0%,#22272e 100%);
  padding:25px;border-radius:15px;border:1px solid #30363d;box-shadow:0 4px 15px rgba(0,0,0,.4)
}
.problem-card h3{color:#58a6ff;margin-bottom:10px;font-size:18px}
.problem{font-weight:600;margin-bottom:15px;color:#f0f6fc}
.solution{color:#7dd3fc;font-style:italic}

/* === Программа курса: карточки уроков === */
/* Сетка карточек — корректный Grid с minmax */
.lessons-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
  gap:28px;margin-top:30px;overflow:visible
}
/* Карточка */
.lesson-card{
  position:relative; /* для правильной опоры absolute-бейджа */
  background:linear-gradient(135deg,#1c2128 0%,#21262d 100%);
  border-radius:16px;box-shadow:0 6px 20px rgba(0,0,0,.38);
  padding:56px 28px 26px 28px; /* верхний паддинг под круг */
  min-height:340px;display:flex;flex-direction:column;justify-content:flex-start;overflow:visible
}
/* Круглый номер — внутри карточки (без отрицательных top) */
.lesson-number{
  position:absolute;top:14px;left:16px;width:44px;height:44px;border-radius:50%;
  background:linear-gradient(135deg,#388bfd 0%,#1f6feb 100%);color:#fff;
  font-weight:700;font-size:18px;display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 16px rgba(49,132,250,.18);z-index:1
}
.lesson-card h3{margin:0 0 16px 0;color:#f2f6fb;font-size:21px}
.lesson-card ul{margin-bottom:15px;padding-left:22px}
.lesson-card li{margin-bottom:8px;line-height:1.5;color:#cfd7e3;font-size:16px}
.lesson-result{
  margin-top:15px;background:linear-gradient(135deg,#21409d 0%,#203357 100%);
  color:#8ec5ff;border-radius:7px;padding:11px 13px;font-size:15px;font-weight:600;border:1px solid #2484ee
}
@media (max-width:900px){
  .lessons-grid{grid-template-columns:1fr}
  .lesson-card{min-height:220px;padding:44px 16px 22px 16px}
  .lesson-number{top:10px;left:12px;width:40px;height:40px;font-size:17px}
}

/* Бонусы */
.bonuses-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:30px;margin-top:30px}
.bonus-card{
  background:linear-gradient(135deg,#1c2128 0%,#22272e 100%);
  padding:25px;border-radius:15px;border:1px solid #30363d;box-shadow:0 6px 20px rgba(0,0,0,.4)
}
.bonus-card h3{color:#58a6ff;margin-bottom:15px;font-size:18px}
.bonus-card p{color:#c9d1d9}

/* Аудитория */
.audience-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;margin-top:30px}
.audience-item{
  background:linear-gradient(135deg,#1f2937 0%,#374151 100%);
  color:#e5e7eb;padding:15px;border-radius:8px;font-weight:500;display:flex;align-items:center;border:1px solid #4b5563
}

/* Преимущества */
.benefits-content{
  background:linear-gradient(135deg,#1c2128 0%,#22272e 100%);
  padding:30px;border-radius:15px;border:1px solid #30363d;box-shadow:0 4px 15px rgba(0,0,0,.4)
}
.benefits-list{margin:20px 0;padding-left:20px}
.benefits-list li{margin-bottom:8px;line-height:1.5;color:#c9d1d9}
.benefits-conclusion{
  background:linear-gradient(135deg,#0d419d 0%,#1f2937 100%);
  color:#e6fffa;padding:20px;border-radius:8px;text-align:center;margin-top:20px;border:1px solid #1f6feb
}

/* Отзывы */
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:25px;margin-top:30px}
.testimonial-card{
  background:linear-gradient(135deg,#1c2128 0%,#22272e 100%);
  border-radius:15px;padding:25px;border:1px solid #30363d;box-shadow:0 6px 20px rgba(0,0,0,.4)
}
.testimonial-stars{color:#ffd700;font-size:20px;margin-bottom:10px;display:block}
.testimonial-header{font-size:16px;font-weight:700;margin:0 0 10px 0;color:#f0f6fc}
.testimonial-text{font-size:14px;line-height:1.5;margin:0;color:#8b949e}

/* Прайсинг */
.pricing-card{
  background:linear-gradient(135deg,#1c2128 0%,#22272e 100%);
  border-radius:15px;padding:40px;max-width:500px;margin:0 auto;border:2px solid #388bfd;
  box-shadow:0 10px 30px rgba(0,0,0,.5);position:relative
}
.pricing-breakdown{display:flex;flex-direction:column;gap:15px}
.price-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #30363d;color:#c9d1d9}
.price-original{color:#6e7681;text-decoration:line-through}
.price-original.total{font-weight:bold;font-size:18px}
.price-total{border-bottom:2px solid #388bfd;padding-bottom:15px;margin-bottom:15px}
.price-crossed{color:#f85149;text-decoration:line-through;font-size:20px}
.price-final{
  background:linear-gradient(135deg,#0d419d 0%,#1f2937 100%);
  padding:20px;border-radius:8px;text-align:center;margin:20px 0;border:1px solid #1f6feb
}
.price-free{color:#7dd3fc;font-size:32px;font-weight:bold;text-shadow:0 2px 4px rgba(0,0,0,.5)}
.discount-badge{
  position:absolute;top:-10px;right:-10px;background:linear-gradient(135deg,#f85149 0%,#da3633 100%);
  color:#fff;padding:8px 16px;border-radius:20px;font-weight:bold;font-size:12px;transform:rotate(15deg);
  box-shadow:0 4px 12px rgba(248,81,73,.4)
}
/* Контрастный список «Что входит в курс» */
.pricing-card .pricing-content ul,
.pricing-card .pricing-content ul li{color:#E8EEF9 !important}
.pricing-card .pricing-content ul li{line-height:1.6;font-size:16px}
.pricing-card .pricing-content ul li::marker{color:#79C0FF} 

/* CTA */
.cta-section{padding:50px 0;text-align:center;background:linear-gradient(135deg,#0d1117 0%,#161b22 100%)}
.cta-button{
  background:linear-gradient(135deg,#388bfd 0%,#1f6feb 100%);
  color:#fff;border:none;padding:20px 40px;font-size:20px;font-weight:bold;border-radius:15px;cursor:pointer;
  box-shadow:0 10px 25px rgba(31,111,235,.4);text-transform:uppercase;letter-spacing:1px;position:relative;overflow:hidden;transition:all .3s
}
.cta-button:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(31,111,235,.6);background:linear-gradient(135deg,#1f6feb 0%,#0969da 100%)}
.cta-note{margin-top:20px;color:#7dd3fc;font-weight:600;font-size:16px}

/* Контакты */
.contacts-section{padding:50px 0;background:#0d1117}
.contacts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px;margin-top:30px}
.contact-item{
  display:flex;align-items:center;gap:20px;background:linear-gradient(135deg,#1c2128 0%,#22272e 100%);
  padding:25px;border-radius:15px;border:1px solid #30363d;box-shadow:0 4px 15px rgba(0,0,0,.4)
}
.contact-icon{
  font-size:32px;width:60px;height:60px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#388bfd 0%,#1f6feb 100%);border-radius:50%;box-shadow:0 4px 12px rgba(31,111,235,.4)
}
.contact-info h3{margin-bottom:5px;color:#f0f6fc;font-size:16px}
.contact-info a{color:#58a6ff;text-decoration:none;font-weight:500}
.contact-info a:hover{color:#79c0ff;text-decoration:underline}

/* Таймер */
.timer-display{font-size:18px;font-weight:bold;color:#7dd3fc;margin-top:15px;text-shadow:0 2px 4px rgba(0,0,0,.5)}

/* Видео */
.video-container{
  position:relative;width:100%;max-width:800px;height:450px;margin:0 auto 2rem;border-radius:20px;overflow:hidden;
  box-shadow:0 15px 35px rgba(0,0,0,.7);background:#000;border:2px solid #30363d;transition:all .3s ease
}
.sp-embed-player{width:100%;height:100%;position:relative}
.sp-embed-player iframe{width:100%;height:100%;border-radius:18px}
.video-container:hover{transform:translateY(-2px);box-shadow:0 20px 40px rgba(0,0,0,.8);border-color:#58a6ff}
.sp-embed-player .vjs-loading-spinner,
.sp-embed-player .loading-spinner,
.video-container .vjs-loading-spinner{display:none !important;opacity:0 !important}
.sp-embed-player iframe,.sp-embed-player video{opacity:1 !important;visibility:visible !important}
.sp-embed-player .vjs-error-display{display:none !important}

/* Респонсив */
@media (max-width:768px){
  .hero-title{font-size:28px}
  .hero-subtitle{font-size:16px}
  .problems-grid,.lessons-grid,.bonuses-grid,.testimonials-grid{grid-template-columns:1fr}
  .cta-button{padding:16px 24px;font-size:16px}
  .discount-badge{position:static;transform:none;margin-bottom:15px;display:inline-block}
  .contact-item{flex-direction:column;text-align:center}
  .video-container{height:280px;margin:0 auto 1.5rem;border-radius:15px}
  .sp-embed-player iframe{border-radius:13px}
}
@media (max-width:480px){
  .video-container{height:220px;border-radius:12px}
  .sp-embed-player iframe{border-radius:10px}
}
