/* ======================================================
   BADGE
====================================================== */

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:12px;
  background:rgba(134,167,255,0.18);
  border:1px solid rgba(134,167,255,0.25);
  font-weight:800;
  margin-bottom:14px;
}

/* ======================================================
   CARDS
====================================================== */

.card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius2);
  padding:24px;
}

.card--accent{
  background:linear-gradient(
    180deg,
    rgba(134,167,255,0.08),
    rgba(255,255,255,0.04)
  );
  border:1px solid rgba(134,167,255,0.25);
}

/* ===============================
   AUTHOR CARD
================================ */

.card--author .author__photo{
  margin:24px 0;
  max-width:260px;      /* ограничиваем ширину */
}

.card--author .author__photo img{
  width:100%;
  height:auto;
  display:block;
  border-radius:16px;
}

/* ======================================================
   LIST
====================================================== */

.list{
  margin:14px 0 0;
  padding-left:18px;
  line-height:1.7;
  color:var(--muted);
}

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

.hero__cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.chips{
  list-style:none;
  display:flex;
  gap:10px;
  padding:0;
  margin:0;
  flex-wrap:wrap;
}

.chip{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.03);
  color:var(--muted);
  font-size:13px;
}

/* ======================================================
   EXAM WINDOW
====================================================== */

.exam-window{
  background:rgba(255,255,255,0.04);
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.12);
  max-width:520px;
}

.exam-header{
  position:relative;
  display:flex;
  align-items:center;
  padding:12px 16px;
  border-bottom:1px solid var(--stroke);
  font-size:14px;
  color:var(--muted);
}

.dots{
  display:flex;
  gap:6px;
}

.dots span{
  width:8px;
  height:8px;
  background:rgba(255,255,255,0.4);
  border-radius:50%;
}

.exam-slider{
  position:relative;
  overflow:hidden;
  background:#0b1523;
}

.exam-track img{
  width:100%;
  height:100%;
  object-fit:contain;
  flex-shrink:0;
}

.exam-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,0.5);
  color:white;
  font-size:22px;
  cursor:pointer;
}

.exam-btn.prev{ left:12px; }
.exam-btn.next{ right:12px; }

/* ===============================
   FORMAT
================================ */

.section--format{
  padding:80px 0;
}

.format-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:32px;
  margin-top:48px;
}

.format-card{
  padding:28px;
  border-radius:16px;
  background:var(--card);
  border:1px solid var(--stroke);
}

.format-icon{
  font-size:28px;
  margin-bottom:16px;
}

.format-philosophy{
  margin-top:64px;
  padding:40px;
  border-radius:16px;
  background:var(--card2);
  border:1px solid var(--stroke);
}

.format-quote{
  font-size:20px;
  margin-bottom:20px;
}



/* ===============================
COURSE TABS START
================================ */

.tabs-nav{
  display:flex;
  gap:12px;
  margin:30px 0;
}

.tab-btn{
  padding:10px 18px;
  border-radius:10px;
  border:1px solid var(--stroke);
  background:transparent;
  color:var(--text);
  cursor:pointer;
}

.tab-btn.active{
  background:var(--card);
}

.tabs-content{
  width:100%;
}

.tab-panel{
  display:none;
}

.tab-panel.active{
  display:block;
}

/* ===============================
COURSE FLOW START
================================ */

.course-flow{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:16px;
  margin:36px 0 48px;
}

.flow-step{
  text-align:center;
  padding:14px 8px;
  border-radius:10px;
  border:1px solid var(--stroke);
}

.flow-num{
  font-weight:700;
  font-size:14px;
  margin-bottom:6px;
  opacity:.6;
}

.flow-title{
  font-size:13px;
  line-height:1.3;
}

/* ===============================
COURSE MODULES START
================================ */

.modules{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
}

.module{
  padding:26px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:var(--card);
}

.module__header{
  display:flex;
  gap:10px;
  margin-bottom:12px;
}

.module__num{
  font-weight:700;
  opacity:.6;
}

.module__title{
  font-weight:600;
}

.module__goal{
  margin-bottom:12px;
  color:var(--muted);
}

.module__result{
  margin-top:16px;
  font-size:14px;
  color:var(--muted);
}

/* ===============================
RESPONSIVE
================================ */

@media (max-width:1000px){

  .course-flow{
    grid-template-columns:repeat(3,1fr);
  }

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

}

/* ===============================
COURSE END
================================ */

/* ===============================
COURSE DIFFERENCE
================================ */

.difference{
  max-width:900px;
  margin:40px auto 0;
}

.difference-item{
  display:grid;
  grid-template-columns:60px 1fr;
  gap:18px;
  padding:22px 0;
  border-bottom:1px solid var(--stroke);
}

.difference-item:last-child{
  border-bottom:none;
}

.difference-num{
  font-size:22px;
  font-weight:600;
  opacity:.35;
}

.difference-title{
  font-weight:600;
  margin-bottom:6px;
}

.difference-body p{
  color:var(--muted);
  margin:0;
}

/* ===============================
COURSE PDF BANNER
================================ */

.pdf-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;

  padding:36px 40px;

  border-radius:16px;
  border:1px solid var(--stroke);
  background:var(--card);
}

.pdf-banner__title{
  font-size:20px;
  font-weight:600;
  margin-bottom:6px;
}

.pdf-banner__sub{
  color:var(--muted);
}

@media (max-width:800px){

  .pdf-banner{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }

}

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

.graduates{
  margin-top:48px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:32px;
}

.person{
  padding:28px;
  border-radius:16px;
  background:var(--card);
  border:1px solid var(--stroke);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.avatar{
  width:96px;
  height:96px;
  border-radius:50%;
  background:var(--card2);
  margin-bottom:16px;
}

.person__name{
  font-weight:600;
  margin-bottom:6px;
}

.stars{
  color:#FFD166;
  margin-bottom:12px;
  font-size:14px;
}

.person__text{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}


/* ===============================
PRICING
================================ */

.pricing{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:32px;
  margin-top:40px;
}

.price-card{
  padding:36px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:var(--card);
}

.price-card--accent{
  border-color:rgba(255,255,255,0.25);
}

.price-title{
  font-size:18px;
  font-weight:600;
  margin-bottom:12px;
}

.price-value{
  font-size:32px;
  font-weight:700;
  margin-bottom:20px;
}

.price-list{
  list-style:none;
  padding:0;
  margin:0 0 24px 0;
}

.price-list li{
  margin-bottom:8px;
  color:var(--muted);
}

@media (max-width:900px){

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

}

.price-card .btn{
  width:auto;
}
/* ===============================
   SIGNUP / CTA
================================ */

.section--cta{
  padding:80px 0;
}

.cta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:start;
  padding:48px;
  border-radius:20px;
  background:var(--card2);
  border:1px solid var(--stroke);
}

.cta__bullets{
  margin-top:24px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mini{
  color:var(--muted);
}

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

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:14px;
}

.field input{
  padding:12px 14px;
  border-radius:10px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,0.04);
  color:var(--text);
  font-size:14px;
}

.field input:focus{
  outline:none;
  border-color:var(--primary);
}

.btn--full{
  width:100%;
}

.fineprint{
  font-size:12px;
  color:var(--muted);
  margin-top:8px;
}

/* ===============================
   FOOTER
================================ */

.footer{
  margin-top:80px;
  padding:40px 0;
  border-top:1px solid var(--stroke);
}

.footer__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.footer__brand{
  font-weight:600;
  margin-bottom:6px;
}

.footer__meta{
  font-size:13px;
  color:var(--muted);
}

.footer__right{
  display:flex;
  gap:20px;
}

.footer .link{
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
}

.footer .link:hover{
  color:var(--text);
}

/* ===============================
   HERO VISUAL (exam window)
================================ */

.hero__visual{
  display:flex;
  justify-content:center;
}

.exam-window{
  width:100%;
  max-width:520px;
  border-radius:16px;
  background:var(--card);
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
  overflow:hidden;
  backdrop-filter:blur(10px);
}

.exam-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 16px;
  border-bottom:1px solid var(--stroke);
  font-size:14px;
  color:var(--muted);
}

.dots{
  display:flex;
  gap:6px;
}

.dots span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(255,255,255,0.3);
}

.exam-slider{
  position:relative;
  overflow:hidden;
}

.exam-track{
  display:flex;
  transition:transform .4s ease;
}

.exam-track img{
  width:100%;
  flex-shrink:0;
  display:block;
}

.exam-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.5);
  border:none;
  color:#fff;
  font-size:20px;
  width:36px;
  height:36px;
  border-radius:50%;
  cursor:pointer;
}

.exam-btn.prev{ left:12px; }
.exam-btn.next{ right:12px; }

.exam-footer{
  display:flex;
  justify-content:space-around;
  padding:16px;
  border-top:1px solid var(--stroke);
  text-align:center;
  font-size:14px;
}

@media (max-width: 900px){
  .hero__grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 1024px){
  .format-grid{
    grid-template-columns:1fr;
  }
}

/* ===============================
   BENEFITS
================================ */

.benefits{
  margin-top:48px;
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:32px;
}

.benefit{
  display:flex;
  gap:16px;
  padding:24px;
  border-radius:16px;
  background:var(--card);
  border:1px solid var(--stroke);
  align-items:flex-start;
}

.benefit__icon{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:var(--card2);
  font-size:18px;
  flex-shrink:0;
}

.benefit__title{
  font-weight:600;
  margin-bottom:6px;
}

.benefit__text{
  color:var(--muted);
}

@media (max-width: 1024px){
  .graduates{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .graduates{
    grid-template-columns:1fr;
  }
}

@media (max-width: 900px){
  .cta{
    grid-template-columns:1fr;
    padding:32px;
  }
}

@media (max-width: 768px){
  .footer__row{
    flex-direction:column;
    text-align:center;
  }

  .footer__right{
    justify-content:center;
    flex-wrap:wrap;
  }
}

/* ===============================
   GLOBAL ADAPTIVE PATCH
============================== */

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  .hero__grid,
  .cta,
  .format-grid,
  .difference,
  .graduates,
  .grid-2 {
    grid-template-columns: 1fr !important;
  }

  .hero__visual {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }

  .cta {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 48px 0 24px;
  }

  .hero__grid {
    gap: 28px;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
  }

  .h1 {
    font-size: 42px;
    line-height: 1.05;
  }

  .h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .lead {
    font-size: 18px;
  }

  .hero__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .chips {
    gap: 10px;
  }

  .chip {
    font-size: 13px;
  }

  .exam-window {
    width: 100%;
  }

  .section__head {
    margin-bottom: 28px;
  }

  .tabs-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .modules {
    gap: 18px;
  }

  .module {
    padding: 22px;
  }

  .module__header {
    gap: 12px;
    align-items: flex-start;
  }

  .module__num {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .pdf-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .pdf-banner .btn {
    width: 100%;
    justify-content: center;
  }

  .difference {
    gap: 16px;
  }

  .difference-item {
    padding: 20px;
  }

  .graduates {
    gap: 18px;
  }

  .person {
    width: 100%;
  }

  .cta {
    grid-template-columns: 1fr !important;
    padding: 24px;
  }

  .cta__left,
  .form {
    width: 100%;
  }

  .form .btn--full,
  .form button[type="submit"] {
    width: 100%;
  }

  .contact-methods {
    gap: 8px;
  }

  .contact-method span {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .footer__row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .footer__right {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .h1 {
    font-size: 34px;
  }

  .h2 {
    font-size: 28px;
  }

  .h3 {
    font-size: 20px;
  }

  .lead,
  .muted,
  p,
  li {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero__cta {
    margin-top: 18px;
  }

  .chips {
    margin-top: 16px;
  }

  .exam-header,
  .exam-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .exam-footer {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
  }

  .card,
  .format-card,
  .module,
  .difference-item,
  .pdf-banner,
  .cta,
  .person {
    padding: 18px;
    border-radius: 18px;
  }

  .author__photo img {
    width: 100%;
    height: auto;
    display: block;
  }

  .tabs-content {
    margin-top: 18px;
  }

  .pricing article {
    padding: 24px;
  }

  .field input,
  .form input,
  .form textarea,
  .form select {
    height: 48px;
    font-size: 16px;
  }

  .fineprint {
    font-size: 12px;
    line-height: 1.45;
  }

  .toast {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding-top: 34px;
  }

  .kicker {
    font-size: 12px;
  }

  .h1 {
    font-size: 30px;
  }

  .h2 {
    font-size: 24px;
  }

  .btn,
  .btn--primary,
  .btn--ghost {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .chip {
    text-align: center;
  }

  .exam-btn {
    width: 38px;
    height: 38px;
  }

  .badge {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .module__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-methods {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-method {
    width: 100%;
  }

  .contact-method span {
    width: 100%;
    justify-content: center;
  }

  .footer__right {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}