/* ================================
   LESSON COLOR THEME
================================ */

.lesson-theme {

  --lesson-accent: #c9a27c;
  --lesson-accent-soft: #f3ede7;
  --lesson-gradient-start: #c9a27c;
  --lesson-gradient-end: #e2c5a6;

}

/* ================================
   LAYOUT
================================ */

.container {
  background: transparent;
}

.marketing-wrapper {

  background: var(--lesson-content-bg);

  border-radius: 28px;

  box-shadow:
    0 20px 60px rgba(0,0,0,.06);

}

/* ================================
   HERO
================================ */

.lesson-hero {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 16px 16px;   /* ← боковые отступы */

  background: var(--surface);

  border-radius: 28px 28px 0 0;
}
/* HERO IMAGE */

.hero-image {
  width: 100%;
  max-width: 500px;

  margin: 0 auto;

  border-radius: 18px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;

  aspect-ratio: 1 / 1;

  object-fit: cover;

  display: block;
}


/* ================================
   HERO INFO
================================ */

.hero-info {
  text-align: center;
  padding: 22px 20px 10px;
}

.hero-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-subtitle {
  opacity: 0.7;
  margin-bottom: 18px;
}


/* ================================
   CONTENT WRAPPER
================================ */

.lesson-steps {
  padding: 0px;
  margin-top: 0;

  border-radius: 0 0 28px 28px;
}

.lesson-steps > * + * {
  margin-top: 18px;
}


/* ================================
   MARKETING CARD
================================ */

.marketing-card {
  padding: 18px;

  background: transparent;
  box-shadow: none;

  border-radius: 0;
}

.marketing-title {
  font-size: 19px;
  font-weight: 700;

  text-align: center;

  margin-bottom: 20px;

  letter-spacing: 0.2px;

  color: var(--text);
}

.recipes-subtitle,
.community-text {
  color: var(--text-muted);
}


/* ================================
   LESSONS GRID
================================ */

.lessons-preview-grid,
.lessons-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 12px;

  margin-top: 14px;
}

.lessons-full-grid {
  display: none;
}

.lessons-full-grid.open {
  display: grid;
}

.marketing-lesson-image {
  border-radius: 18px;
  overflow: hidden;
}

.marketing-lesson-image img {
  width: 100%;
  height: 110px;

  object-fit: cover;

  display: block;
}


/* SHOW ALL BUTTON */

.show-all-lessons-btn {
  margin-top: 18px;

  width: 100%;

  padding: 14px;

  border-radius: 16px;

  border: none;

  background: linear-gradient(135deg,#4c6ef5,#7b8cff);

  color: #fff;

  font-weight: 600;

  cursor: pointer;

  box-shadow: 0 8px 22px rgba(76,110,245,0.35);
}

.show-all-lessons-btn:active {
  transform: scale(0.98);
}


/* ================================
   APP SCREENS
================================ */

.app-screens-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);

  gap: 12px;

  margin-top: 0px;
}

.app-screen {
  width: 100%;

  border-radius: 18px;

  cursor: pointer;

  transition: transform .2s ease;
}

.app-screen:active {
  transform: scale(.97);
}


/* ================================
   RECIPES GRID
================================ */

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);

  gap: 12px;

  margin-top: 16px;
}

.recipes-grid img {
  width: 100%;

  aspect-ratio: 1/1;

  object-fit: cover;

  border-radius: 16px;

  box-shadow: 0 6px 18px rgba(0,0,0,.08);

  display: block;

  transition: transform .25s ease;
}

.recipes-grid img:active {
  transform: scale(.96);
}


/* ================================
   COMMUNITY
================================ */

.community-text {
  text-align: center;
  margin-top: 6px;

  opacity: .75;

  font-size: 15px;
}

.community-features {
  margin-top: 18px;

  display: flex;
  flex-direction: column;

  gap: 10px;

  font-size: 14px;

  opacity: .85;
}


/* ================================
   STUDENT WORKS
================================ */

.students-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);

  gap: 14px;

  margin-top: 16px;
}

.student-work {
  width: 100%;

  aspect-ratio: 1/1;

  object-fit: cover;

  border-radius: 18px;

  box-shadow: 0 6px 18px rgba(0,0,0,.08);

  cursor: pointer;

  transition: transform .2s ease;
}

.student-work:active {
  transform: scale(.97);
}


/* ================================
   REVIEWS
================================ */

.reviews-list {
  display: grid;
  gap: 12px;
}

.review-card {
  background: #fff;

  padding: 14px;

  border-radius: 14px;

  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.review-text {
  margin-bottom: 6px;
}

.review-author {
  font-size: 13px;
  opacity: .6;
}


/* ================================
   STICKY CTA
================================ */


.big-cta {
  padding: 14px 24px;

  font-size: 16px;

  border-radius: 14px;

  border: none;

  font-weight: 600;

  color: #fff;

  background: linear-gradient(135deg,#5b6ee1,#6f83ff);
}

/* ================================
   PAYMENT MODAL
================================ */

.payment-modal {
  position: fixed;

  inset: 0;

  background: var(--overlay);

  display: none;

  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.payment-modal.open {
  display: flex;
}

.payment-modal-content {
  width: 90%;
  max-width: 420px;

  background: var(--surface);

  border-radius: 24px;

  padding: 26px 20px;

  box-shadow: 0 20px 60px rgba(0,0,0,.2);

  text-align: center;
}

.payment-title {
  margin-bottom: 22px;

  font-size: 18px;
  font-weight: 700;
}

.payment-btn {
  width: 100%;

  padding: 14px;

  border-radius: 16px;

  border: none;

  font-weight: 600;

  font-size: 15px;

  cursor: pointer;

  margin-bottom: 12px;
}

.payment-rf {
  background: #4c6ef5;
  color: #fff;

  box-shadow: 0 6px 18px rgba(76,110,245,.35);
}

.payment-world {
  background: rgba(76,110,245,.12);
  color: #4c6ef5;
}


/* ================================
   IMAGE PREVIEW
================================ */

.image-overlay {
  position: fixed;

  inset: 0;

  background: var(--overlay);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;

  opacity: 0;

  transition: opacity .2s ease;
}

.image-overlay.show {
  opacity: 1;
}

.image-overlay-img {
  max-width: 90%;
  max-height: 85%;

  border-radius: 20px;
}

/* HERO TEXT */

.hero-info {

  text-align: center;

  padding: 16px 20px 10px;

  animation: heroFade .6s ease;
}

.hero-title {

  font-size: 26px;
  font-weight: 800;

  line-height: 1.25;

  margin-bottom: 12px;

  color: var(--text);

}


.hero-subtitle {

  font-size: 16px;

  line-height: 1.5;

  opacity: .75;

  max-width: 420px;

  margin: 0 auto 16px;

}

/* BENEFITS */

.hero-benefits {

  display: flex;

  justify-content: center;

  gap: 14px;

  flex-wrap: wrap;

  font-size: 14px;

  opacity: .85;

  margin-bottom: 20px;

}

/* BUTTON */

.hero-cta {

  padding: 14px 28px;

  font-size: 16px;

  border-radius: 16px;

  background: linear-gradient(
    135deg,
    #5b6ee1,
    #6f83ff
  );

  box-shadow: 
    0 8px 26px rgba(76,110,245,.35);

  transition: transform .2s ease,
              box-shadow .2s ease;

}

.hero-cta:active {

  transform: scale(.96);

  box-shadow: 
    0 6px 18px rgba(76,110,245,.3);

}

/* HERO ANIMATION */

@keyframes heroFade {

  from {

    opacity: 0;
    transform: translateY(10px);

  }

  to {

    opacity: 1;
    transform: translateY(0);

  }

}

/* HERO TITLE */

.hero-title {

  font-size: 26px;
  font-weight: 800;

  line-height: 1.25;

  margin-bottom: 12px;

  color: var(--text);

}

.hero-title .accent {
  color: var(--lesson-accent);
}


/* SUBTITLE */

.hero-subtitle {

  font-size: 16px;

  line-height: 1.5;

  opacity: .75;

  max-width: 420px;

  margin: 0 auto 16px;

}


/* BENEFITS */

.hero-benefits {

  display: flex;

  justify-content: center;

  gap: 14px;

  flex-wrap: wrap;

  font-size: 14px;

  opacity: .85;

  margin-bottom: 20px;

}


/* BUTTON */

.hero-cta {

  padding: 14px 28px;

  font-size: 16px;

  border-radius: 16px;

  border: none;

  color: white;

   background: linear-gradient(
    135deg,
    var(--lesson-gradient-start),
    var(--lesson-gradient-end)
  );

  box-shadow:
    0 8px 24px var(--lesson-shadow);

  transition: transform .2s ease,
              box-shadow .2s ease;

}

.hero-cta:active {

  transform: scale(.96);

  box-shadow:
    0 4px 14px var(--lesson-shadow);

}

.lesson-hero {

  background: linear-gradient(
    180deg,
    var(--lesson-accent-soft),
    var(--surface)
  );

}
/* APP BLOCK */

.app-block {
  text-align: center;
}

/* SUBTITLE */

.app-subtitle {

  font-size: 15px;

  opacity: .7;

  margin-bottom: 20px;

}


/* GRID */

.app-screens-grid {

  display: flex;

  justify-content: center;

  gap: 16px;

}


/* PHONE FRAME */

.phone-frame {

  width: 110px;   /* mobile */

  border-radius: 22px;
  overflow: hidden;

  background: #000;

  box-shadow:
    0 14px 32px rgba(0,0,0,.15);

  transition: transform .25s ease;

}

@media (min-width: 900px) {

  .phone-frame {
    width: 160px;
  }

}

.phone-frame img {

  width: 100%;

  display: block;

}


/* HOVER EFFECT */

.phone-frame:hover {

  transform: translateY(-6px);

}


/* MOBILE */

@media (max-width: 420px) {

  .phone-frame {

    width: 85px;

  }

}

.lesson-steps > * + * {
  margin-top: 12px;
}

/* PROGRAM */

.lesson-program {
  margin: 24px 0 12px;
  padding: 0 16px;
}

/* TITLE */

.program-title {

  font-size: 22px;
  font-weight: 700;

  text-align: center;

  margin-bottom: 8px;

}


/* SUBTITLE */

.program-subtitle {

  text-align: center;

  opacity: .75;

  margin-bottom: 24px;

}


/* LIST */

.program-list {

  display: flex;
  flex-direction: column;

  gap: 14px;

}


/* CARD */

.program-item {

  display: flex;

  gap: 14px;

  align-items: center;

  padding: 14px;

  border-radius: 18px;

  background: #f5efe9;

  transition: transform .25s ease,
              box-shadow .25s ease;

}


/* IMAGE */

.program-item img {

  width: 68px;
  height: 68px;

  border-radius: 14px;

  object-fit: cover;

}


/* TEXT */

.program-name {

  font-weight: 600;

  margin-bottom: 4px;

}

.program-desc {

  font-size: 14px;

  opacity: .7;

}


/* HOVER */

.program-item:hover {

  transform: translateY(-3px);

  box-shadow: 0 8px 20px rgba(0,0,0,.08);

}


/* FOOTER */

.program-footer {

  text-align: center;

  margin-top: 16px;
  margin-bottom: 8px;

  opacity: .6;
  font-size: 14px;

}
.reveal {

  opacity: 0;
  transform: translateY(12px);

  transition: all .5s ease;

}

.reveal.visible {

  opacity: 1;
  transform: translateY(0);

}

/* SECTION TITLES */

.section-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;

  margin: 18px 0 10px;
}

.section-divider {

  width: 100%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,0,0,0.08),
    transparent
  );

  margin: 26px 0;

}

.reveal-section {

  opacity: 0;
  transform: translateY(20px);

  transition: all .6s ease;

}

.reveal-section.visible {

  opacity: 1;
  transform: translateY(0);

}

.program-item {

  display: flex;
  gap: 14px;

  padding: 14px;

  border-radius: 18px;

  background: var(--lesson-accent-soft);

  transition:
    transform .25s ease,
    box-shadow .25s ease;

}

.program-item:hover {

  transform: translateY(-4px);

  box-shadow: 0 10px 24px rgba(0,0,0,.08);

}


.section-title::after {

  content: "";

  display: block;

  width: 42px;
  height: 2px;

  background: var(--lesson-accent);

  margin: 10px auto 0;

  border-radius: 2px;

}

.app-block {
  margin-top: 0;
}

.lesson-steps > .lesson-program + .app-block {
  margin-top: 0;
}

/* ================================
   AUDIENCE BLOCK
================================ */

.audience-block {
  margin: 26px 0;
}

/* GRID */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;   /* ← центрирует по вертикали */
}

/* IMAGE */

/* IMAGE */

.audience-image {

  width: 100%;
  max-width: 500px;
display: flex;
 align-items: center;
  margin: 0 auto;

  border-radius: 18px;
  overflow: hidden;

}

.audience-image img {

  width: 100%;
  height: 100%;

  aspect-ratio: 1 / 1;

  object-fit: cover;

  display: block;

}
/* CONTENT */

.audience-content {
  font-size: 15px;
}

.audience-level {
  margin: 10px 0 16px;
  color: var(--lesson-accent);
  font-weight: 500;
  text-align: center;
}

.audience-text {
  margin-bottom: 12px;
  line-height: 1.55;
}

.audience-text {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}



/* LIST */

.audience-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audience-list div {
  line-height: 1.5;
}

/* MOBILE */

@media (max-width: 700px) {

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

}

.audience-block {
  padding: 0 16px;
}

/* LIST */

.audience-list {
  margin-top: 22px;

  display: flex;
  flex-direction: column;

  gap: 12px;

  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ITEM */

.audience-list div {

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 14px 18px;

  border-radius: 18px;

  background: var(--lesson-accent-soft);

  font-size: 15px;
  line-height: 1.45;

  text-align: center;

  transition: all .25s ease;
}

/* HOVER */

.audience-list div:hover {

  transform: translateY(-3px);

  box-shadow: 0 10px 24px rgba(0,0,0,.08);

}
.audience-text {
  text-align: center;
}

.audience-block .section-title {
  margin-top: 10px;
}

/* =========================
   CARD REVEAL
========================= */

.audience-list div {
  opacity: 0;
  transform: translateY(20px);
  transition: all .5s ease;
}

.audience-list.reveal.visible div {
  opacity: 1;
  transform: translateY(0);
}

.audience-list.visible div:nth-child(1){transition-delay:.05s}
.audience-list.visible div:nth-child(2){transition-delay:.12s}
.audience-list.visible div:nth-child(3){transition-delay:.19s}
.audience-list.visible div:nth-child(4){transition-delay:.26s}

.audience-list div {

  opacity: 0;
  transform: translateY(20px) scale(.95);
  filter: blur(4px);

  transition: 
    transform .6s cubic-bezier(.22,.8,.32,1),
    opacity .6s ease,
    filter .6s ease;
}

.audience-list.reveal.visible div {

  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.app-block .section-title {
  margin-top: 0;
}

/* =========================
   SUPPORT BLOCK
========================= */

.support-block {
  padding: 0 16px;
}

.support-grid {

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 36px;
  align-items: center;

}

/* IMAGE */

.support-image img {

  width: 100%;
  border-radius: 22px;

  display: block;

}

/* TEXT */

.support-content {
  text-align: center;
}

/* DESCRIPTION */

.support-text {

  font-size: 16px;
  line-height: 1.6;

  margin-bottom: 14px;

  max-width: 520px;
  margin-left: auto;
  margin-right: auto;

}

/* LIST */

.support-list {

  margin-top: 20px;

  display: flex;
  flex-direction: column;

  gap: 12px;

  max-width: 520px;
  margin-left: auto;
  margin-right: auto;

}

.support-list div {

  padding: 14px 18px;

  border-radius: 18px;

  background: var(--lesson-accent-soft);

  font-size: 15px;

  text-align: center;

  transition: all .25s ease;

}

.support-list div:hover {

  transform: translateY(-3px);

  box-shadow: 0 10px 24px rgba(0,0,0,.08);

}

/* FOOTER */

.support-footer {

  margin-top: 18px;

  font-weight: 600;

  opacity: .85;

}

/* MOBILE */

@media (max-width: 900px) {

  .support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

}

.section-divider {
  margin: 18px 0;
}

@media (min-width: 900px) {

  .support-grid {

    display: grid;
    grid-template-columns: 1.2fr 1fr;

    gap: 40px;

    align-items: center;

  }

  .support-content {

    text-align: left;

    display: flex;
    flex-direction: column;
    justify-content: center;

  }

  .support-list {

    margin-left: 0;
    margin-right: 0;

  }

}

@media (min-width: 900px) {

  .support-list div {
    justify-content: flex-start;
    text-align: left;
  }

}


.support-image img {

  box-shadow:
    0 20px 50px rgba(0,0,0,.15);

}

@media (max-width: 900px) {

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-image {
    order: 1;
  }

  .support-content {
    order: 2;
  }

}

/* FINAL CTA */


.final-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--text);
}

.final-sub {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--lesson-accent);
}

.final-note {
  color: var(--text-muted);
}

@media (max-width: 700px){

  .final-title{
    font-size: 32px;
  }

}

.final-cta {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  padding: 40px 20px 32px;

  min-height: 320px;

  border-radius: 0 0 28px 28px;

  background: linear-gradient(
    180deg,
    var(--lesson-accent-soft),
    var(--surface)
  );

}

.payment-modal .hero-cta{
  width:100%;
  margin-top:10px;
}

.payment-price{

  font-size:28px;
  font-weight:700;

  color: var(--lesson-accent);

  margin-bottom:18px;

}

.payment-note{
  font-size:14px;
  opacity:.65;
  margin-bottom:16px;
}

.lifetime{
  color: var(--lesson-accent);
  font-weight:600;
}


/* =================================
   LESSON THEME — OVECHKA
================================= */

.lesson-theme-ovechka {

--lesson-accent: #c9a27c;
  --lesson-accent-soft: #f3ede7;

  --lesson-gradient-start: #c9a27c;
  --lesson-gradient-end: #e2c5a6;

  --lesson-hero-soft: #f7f2ec;

  --lesson-shadow: rgba(180,140,100,.35);

}


/* =================================
   LESSON THEME — zayac
================================= */

.lesson-theme-zayac {

  --lesson-accent: #6f83d6;
  --lesson-accent-soft: #eef2ff;

  --lesson-gradient-start: #aab7f3;
  --lesson-gradient-end: #aab7f3;

  --lesson-shadow: rgba(177, 179, 186, 0.35);

  /* фон контента */
  --lesson-content-bg: #f7f8ff;

}

.zayac-lesson .bottom-nav {
  display: none;
}

.sheep-lesson .bottom-nav {
  display: none;
}
.subscription-page {
  background: var(--lesson-page-bg);
}

.sticky-cta {

  margin-top: 32px;

  padding: 12px 16px 60px;

  display: flex;
  justify-content: center;

}

@media (prefers-color-scheme: dark) {
  body, .container {
    background: #fff !important;
    color: #111 !important;
  }
}