* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background-color: #171413;
}

a {
  text-decoration: none;
  color: #FFFFFF;
}

a:hover {
  text-decoration: none;
  color: #D8A37C;
}

.baza {
  display: flex;
  flex-direction: column;
  width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #171413;
}

/* === ШАПКА === */
.header {
  padding: 20px;
  background: #171413;
  text-align: left;
  border-bottom: 1px solid #A3A3A3;
}

.texth0 {
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: -0.022em;
  text-align: left;
  color: #FFFFFF;
}

/* === ОСНОВНОЙ КОНТЕНТ === */
.main {
  flex: 1 0 auto;
  padding: 20px;
  padding-bottom: 100px;
  border-bottom: 1px solid #A3A3A3;
}

.accent {
  color: #D8A37C;
}

/* === ОБЩИЙ ЗАГОЛОВОК СЕКЦИИ === */
.course-section__title {
  font-size: 32px;
  font-weight: 700;
  color: #C8C0B5;
  text-align: center;
  margin-bottom: 40px;
}

/* === HERO === */
.course-hero {
  text-align: center;
  max-width: 800px;
  margin: 60px auto 80px;
}

.course-hero__badge {
  display: inline-block;
  background: rgba(216, 163, 124, 0.12);
  border: 1px solid rgba(216, 163, 124, 0.4);
  color: #D8A37C;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.course-hero__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  color: #C8C0B5;
  margin-bottom: 28px;
}

.course-hero__subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #C8C0B5;
  margin-bottom: 40px;
}

.course-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.course-hero__link {
  font-size: 16px;
  color: #D8A37C;
  text-decoration: none;
  transition: color 0.2s;
}

.course-hero__link:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* === БОЛИ === */
.course-pain {
  max-width: 1000px;
  margin: 0 auto 80px;
}

.course-pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(163, 163, 163, 0.2);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s ease;
}

.pain-card:hover {
  border-color: rgba(216, 163, 124, 0.5);
}

.pain-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.pain-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
}

/* === СУТЬ === */
.course-essence {
  max-width: 720px;
  margin: 0 auto 80px;
}

.course-essence__text p {
  font-size: 18px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
}

.course-essence__text p:last-child {
  margin-bottom: 0;
}

/* === МОДУЛИ === */
.course-modules {
  max-width: 800px;
  margin: 0 auto 80px;
}

.modules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.module-card {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(163, 163, 163, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s ease;
}

.module-card:hover {
  border-color: rgba(216, 163, 124, 0.4);
}

.module-card__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(216, 163, 124, 0.12);
  border: 1px solid rgba(216, 163, 124, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #D8A37C;
}

.module-card__title {
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.module-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #A3A3A3;
}

/* === ДЛЯ КОГО === */
.course-forwhom {
  max-width: 720px;
  margin: 0 auto 80px;
}

.forwhom-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.forwhom-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  line-height: 1.5;
  color: #ccc;
}

.forwhom-item__check {
  flex-shrink: 0;
  color: #D8A37C;
  font-size: 18px;
  font-weight: 700;
  margin-top: 1px;
}

.forwhom-not {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(163, 163, 163, 0.15);
  border-radius: 14px;
  padding: 24px;
}

.forwhom-not__title {
  font-size: 16px;
  font-weight: 700;
  color: #A3A3A3;
  margin-bottom: 8px;
}

.forwhom-not__text {
  font-size: 15px;
  line-height: 1.6;
  color: #888;
}

/* === ФОРМАТ === */
.course-format {
  max-width: 1000px;
  margin: 0 auto 80px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.format-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(163, 163, 163, 0.2);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  transition: border-color 0.3s ease;
}

.format-card:hover {
  border-color: rgba(216, 163, 124, 0.4);
}

.format-card__icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.format-card__label {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.format-card__text {
  font-size: 14px;
  line-height: 1.5;
  color: #A3A3A3;
}

/* === ЦЕНА === */
.course-buy {
  max-width: 500px;
  margin: 0 auto 80px;
}

.price-card {
  background: rgba(216, 163, 124, 0.06);
  border: 1px solid rgba(216, 163, 124, 0.3);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
}

.price-card__name {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.price-card__includes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.price-card__item {
  font-size: 15px;
  color: #ccc;
  padding-left: 24px;
  position: relative;
}

.price-card__item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #D8A37C;
  font-weight: 700;
}

.price-card__price {
  font-size: 42px;
  font-weight: 700;
  color: #D8A37C;
  margin-bottom: 28px;
}

.price-card__btn {
  margin: 0 auto;
  display: block;
}

.price-card__note {
  font-size: 14px;
  color: #A3A3A3;
  margin-top: 16px;
}

/* === EMAIL-ЗАХВАТ === */
.course-lead {
  max-width: 600px;
  margin: 0 auto 80px;
}

.lead-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(163, 163, 163, 0.25);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
}

.lead-card__title {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.lead-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: #A3A3A3;
  margin-bottom: 28px;
}

.lead-card__form {
  text-align: left;
}

.lead-card__form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #A3A3A3;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
  font-family: 'Roboto', sans-serif;
}

.lead-card__form input[type="email"]:focus {
  border-color: #D8A37C;
}

.lead-card__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #ccc;
  cursor: pointer;
}

.lead-card__checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 2px solid #A3A3A3;
  border-radius: 4px;
  background: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  position: relative;
}

.lead-card__checkbox input[type="checkbox"]:checked {
  border-color: #D8A37C;
  background: #D8A37C;
}

.lead-card__checkbox input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: -1px; left: 3px;
  color: #171413;
  font-size: 16px;
  font-weight: bold;
}

.lead-card__btn {
  width: 100%;
  margin: 0 auto;
  display: block;
}

.lead-card__btn:disabled {
  opacity: 0.4;
  pointer-events: none;
  border-color: #666;
  color: #999;
}

.lead-card__success {
  text-align: center;
  font-size: 18px;
  color: #D8A37C;
  padding: 20px;
}

.lead-card__error {
  text-align: center;
  font-size: 16px;
  color: #ff6b6b;
  padding: 20px;
}

/* === FAQ === */
.course-faq {
  max-width: 720px;
  margin: 0 auto 80px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(163, 163, 163, 0.2);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(216, 163, 124, 0.3);
}

.faq-item__q {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: "+";
  font-size: 22px;
  color: #D8A37C;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__a {
  font-size: 16px;
  line-height: 1.6;
  color: #A3A3A3;
  padding: 0 24px 20px;
}

/* === БАЗОВАЯ КНОПКА === */
.button1 {
display: inline-block; background: #D8A37C; color: #171413 !important; font-weight: 700;
             font-size: 17px; padding: 16px 36px; border-radius: 40px; text-decoration: none;
             transition: transform 0.2s, box-shadow 0.2s;
}

.button1:hover {
  background: #E5E5E559;
  color: #FFFFFF;
}

/* === ПОДВАЛ === */
.footer {
  flex-shrink: 0;
  padding: 15px 20px;
  background: #171413;
  color: #fff;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

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

.footer a:hover {
  text-decoration: underline;
}

.abc {
  font-size: 13px;
}

/* === АДАПТИВ === */
@media (max-width: 767px) {

  .baza {
    width: 100%;
    padding: 0 5px;
  }

  .header {
    padding: 6px 0;
    text-align: center;
  }

  .texth0 {
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
  }

  .main {
    padding: 5px 0 60px;
  }

  .course-hero {
    margin: 30px auto 50px;
  }

  .course-hero__title {
    font-size: 28px;
  }

  .course-hero__subtitle {
    font-size: 17px;
  }

  .course-section__title {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .course-pain__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .course-essence__text p {
    font-size: 16px;
  }

  .module-card {
    padding: 18px;
    gap: 14px;
  }

  .module-card__num {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .module-card__title {
    font-size: 17px;
  }

  .format-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .price-card {
    padding: 28px 20px;
  }

  .price-card__price {
    font-size: 36px;
  }

  .lead-card {
    padding: 28px 20px;
  }

  .button1 {
    width: 100%;
    max-width: 320px;
    height: auto;
    padding: 14px 20px;
    font-size: 16px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px 0;
  }

  .footer-col {
    align-items: center;
    gap: 8px;
  }
}