:root {
  color-scheme: dark;
  --bg: #05060a;
  --bg-gradient:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.09) 0%, rgba(5, 6, 10, 0) 45%),
    radial-gradient(circle at 82% 10%, rgba(244, 63, 94, 0.085) 0%, rgba(5, 6, 10, 0) 50%),
    linear-gradient(180deg, rgba(4, 6, 11, 0.78) 0%, rgba(2, 3, 8, 0.68) 100%);
  --text-primary: #f4fbff;
  --text-secondary: rgba(226, 232, 240, 0.8);
  --text-muted: rgba(148, 163, 184, 0.65);
  --surface-primary: rgba(8, 12, 20, 0.82);
  --surface-secondary: rgba(11, 17, 27, 0.72);
  --surface-soft: rgba(15, 23, 42, 0.55);
  --border-strong: rgba(148, 163, 184, 0.28);
  --border-soft: rgba(100, 116, 139, 0.16);
  --accent: #00ff66;
  --accent-strong: #35ff95;
  --accent-soft: rgba(0, 255, 102, 0.1);
  --accent-glow: rgba(0, 255, 102, 0.35);
  --program-highlight-bg: rgba(0, 255, 102, 0.32);
  --program-highlight-border: rgba(0, 255, 102, 0.35);
  --panel-blue: rgba(14, 165, 233, 0.82);
  --panel-rose: rgba(244, 63, 94, 0.82);
  --shadow-lg: 0 28px 60px rgba(1, 3, 9, 0.7);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  background-size: cover;
  color: var(--text-primary);
  font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

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

button {
  font: inherit;
  color: inherit;
}

button,
.hero-btn {
  -webkit-tap-highlight-color: transparent;
}

/* слой 0: канвас */
#bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
canvas {
  width: 100vw;
  height: 100vh;
  display: block;
}

/* слой 1: затемнение */
#bg-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(53, 255, 153, 0.12) 0%, rgba(5, 6, 10, 0) 55%),
    radial-gradient(circle at 78% 18%, rgba(56, 189, 248, 0.15) 0%, rgba(5, 6, 10, 0) 52%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.92) 0%, rgba(5, 6, 10, 0.42) 60%);
  z-index: 1;
  pointer-events: none;
}

/* шапка */
.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: clamp(0.85rem, 1vw, 1.1rem) 1.5rem;
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  width: 100%;
  transition: transform 0.32s ease, opacity 0.3s ease;
  will-change: transform;
}

.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.6rem);
  position: relative;
}

.site-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-right: auto;
}

.site-header-logo-link {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
}

.site-header-logo-link:focus-visible {
  outline: 2px solid rgba(202, 255, 228, 0.75);
  outline-offset: 3px;
  border-radius: 16px;
}

.site-header-company {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header-company:hover,
.site-header-company:focus-visible {
  color: #caffe4;
}

.site-header-logo {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.site-header-logo img {
  width: 100%;
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.site-header-controls {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.site-header-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 1.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.site-header-nav a {
  color: rgba(226, 232, 240, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header-nav a:hover,
.site-header-nav a:focus-visible {
  color: #8efcc4;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(8, 12, 20, 0.68);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.burger:hover,
.burger:focus-visible {
  border-color: rgba(148, 163, 184, 0.48);
  background: rgba(8, 12, 20, 0.82);
}

.burger:focus-visible {
  outline: 2px solid rgba(202, 255, 228, 0.6);
  outline-offset: 3px;
}

.burger-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  margin-top: -1px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.32s ease;
}

.burger-inner::before,
.burger-inner::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.32s ease, opacity 0.24s ease;
}

.burger-inner::before {
  top: -8px;
}

.burger-inner::after {
  top: 8px;
}

.nav-open .burger-inner {
  transform: rotate(45deg);
}

.nav-open .burger-inner::before {
  transform: translateY(8px) rotate(90deg);
}

.nav-open .burger-inner::after {
  transform: scaleX(0);
  opacity: 0;
}

/* слой 2: хедер/герой */
#hero {
  position: relative;
  z-index: 2;
  min-height: min(100vh, 960px);
  display: flex;
  align-items: center;
  padding: clamp(1rem, 2vw, 2rem) 1.5rem clamp(4rem, 8vw, 6rem);
}
.layout-landscape #hero {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.hero-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 260px);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: start;
  padding: 0 clamp(1.6rem, 2.5vw, 2.4rem) clamp(1.6rem, 2.5vw, 2.4rem);
  border-radius: 1.8rem;
  position: relative;
  overflow: visible;
  z-index: 0;
}
.hero-inner::before {
  display: none;
}

.hero-main {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1vw, 1.15rem);
}

.blur-box { position: relative; overflow: visible; }
.blur-box::before {
  content: "";
  position: absolute;
  inset: -25px;
  background: inherit;
  filter: blur(22px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-primary);
  display: inline-block;
  background: rgba(8, 20, 32, 0.7);
  border-radius: 9999px;
  padding: 0.4rem 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 102, 0.06);
}

.hero-title {
  position: relative;
  font-size: clamp(4.2rem, 5.8vw, 6.2rem);
  line-height: 1.15;
  margin: 0;
  padding: clamp(1.35rem, 2.4vw, 1.85rem) clamp(1.1rem, 2vw, 1.65rem);
  border-radius: 1.4rem;
  background: linear-gradient(160deg, rgba(12, 20, 34, 0.7) 0%, rgba(12, 20, 34, 0.4) 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: normal;
  overflow: visible;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.28);
}
.hero-title-text {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
}

.hero-title-line {
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
  white-space: nowrap;
}

.hero-title-line--static {
  margin-right: 0.35rem;
}

.hero-title-line--dynamic {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  min-width: 0;
}

.hero-title-prefix,
.hero-letter {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  background: linear-gradient(180deg, #c5ffd9 0%, var(--accent) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-prefix {
  display: inline-block;
  margin-right: 0;
}

.hero-title-dynamic {
  display: inline-flex;
  align-items: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  min-height: 1em;
  z-index: 1;
  background: linear-gradient(180deg, #c5ffd9 0%, var(--accent) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-letter {
  display: inline-block;
  min-width: 0.32em;
}

.hero-cursor {
  width: 0.35em;
  height: 1.05em;
  background: linear-gradient(180deg, #c5ffd9 0%, var(--accent) 85%);
  display: inline-block;
  animation: blink 1.05s steps(1, start) infinite;
  border-radius: 3px;
  position: relative;
  top: 0;
  margin-left: 0.24rem;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.hero-letter-particle {
  position: absolute;
  width: var(--particle-size, 0.38em);
  height: var(--particle-size, 0.38em);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(197, 255, 217, 0.95) 0%, rgba(0, 255, 102, 0.55) 45%, rgba(0, 255, 102, 0) 100%);
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.32);
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(var(--particle-scale-start, 1)) rotate(0deg);
  animation: heroLetterParticle var(--particle-duration, 0.58s)
    cubic-bezier(0.18, 0.5, 0.52, 1) forwards;
  pointer-events: none;
  will-change: transform, opacity, filter;
  z-index: 2;
  filter: blur(0);
  mix-blend-mode: screen;
}

@keyframes heroLetterParticle {
  0% {
    opacity: 0;
    filter: blur(0px);
    transform: translate(-50%, -50%) scale(var(--particle-scale-start, 1)) rotate(0deg);
  }
  18% {
    opacity: 0.95;
  }
  55% {
    opacity: 0.7;
    filter: blur(1.8px);
  }
  100% {
    opacity: 0;
    filter: blur(6px);
    transform:
      translate(
        calc(-50% + var(--particle-dx, 0px)),
        calc(-50% + var(--particle-dy, -42px))
      )
      scale(var(--particle-scale-end, 0.38))
      rotate(var(--particle-rotate, 0deg));
  }
}

.hero-image-wrap {
  margin: clamp(1rem, 2vw, 1.6rem) auto 0.4rem;
  display: flex;
  justify-content: center;
}
.hero-image {
  max-height: 58vh;
  height: auto;
  border-radius: 1.3rem;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.55));
  pointer-events: none;
  border: none;
  background: none;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.2rem);
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.hero-btn {
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.2rem;
  min-width: 205px;
  height: 54px;
  cursor: pointer;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 18px 40px rgba(5, 10, 20, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}
.hero-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.hero-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}
.hero-btn:hover::after {
  opacity: 0.35;
}
.hero-btn--green {
  background: linear-gradient(135deg, #0cff87 0%, #03c963 55%, #059346 100%);
  color: #001408;
  border: 1px solid rgba(190, 255, 220, 0.65);
}
.hero-btn--green:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(6, 20, 12, 0.35);
}
.hero-btn--white {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(226, 232, 240, 0.85) 100%);
  color: #051013;
  border: 1px solid rgba(226, 232, 240, 0.6);
}
.hero-btn--white:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(7, 14, 24, 0.3);
}

.hero-panel {
  --panel-accent: var(--accent);
  position: relative;
  border-radius: 1.4rem;
  padding: 1.2rem 1.35rem 1.4rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.82) 0%, rgba(12, 20, 34, 0.42) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 40px rgba(2, 6, 16, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-self: start;
  margin-top: var(--hero-panel-offset, 0px);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -35% -20% auto;
  height: 120%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 75%);
  opacity: 0.4;
  pointer-events: none;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: -20% 0 -40%;
  background: radial-gradient(circle at top, var(--panel-accent) 0%, rgba(0, 255, 102, 0) 65%);
  opacity: 0.28;
  pointer-events: none;
  filter: blur(12px);
}
.hero-panel-title {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}
.hero-panel-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1 1 auto;
}
.hero-panel-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-secondary);
}
.hero-panel-list li::before {
  content: "";
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  left: 0;
  top: 0.65em;
  border-radius: 50%;
  background: var(--panel-accent);
  box-shadow: 0 0 12px var(--panel-accent);
}

.hero-panel--negative {
  --panel-accent: rgba(56, 189, 248, 0.9);
  border-color: rgba(148, 193, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(148, 193, 255, 0.12), 0 18px 40px rgba(9, 29, 51, 0.35);
}
.hero-panel--negative .hero-panel-title {
  color: #d9ecff;
}
.hero-panel--negative .hero-panel-list li {
  color: rgba(210, 233, 255, 0.85);
}

.hero-panel--positive {
  --panel-accent: rgba(252, 119, 145, 0.92);
  border-color: rgba(255, 142, 168, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 142, 168, 0.16), 0 20px 44px rgba(50, 8, 20, 0.45);
  background: linear-gradient(185deg, rgba(43, 12, 24, 0.78) 0%, rgba(26, 8, 18, 0.48) 100%);
}
.hero-panel--positive .hero-panel-title {
  color: #ffe9ef;
}
.hero-panel--positive .hero-panel-list li {
  color: rgba(255, 235, 240, 0.85);
}

.hero-panel small {
  color: var(--text-muted);
  display: block;
  margin-bottom: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

/* секции ниже */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}

.layout-landscape .section {
  padding-block: clamp(2.1rem, 4.2vw, 3.15rem);
}

.layout-portrait .section {
  padding-block: clamp(2.1rem, 4.2vw, 3.15rem);
}
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(160deg, rgba(12, 20, 34, 0.82) 0%, rgba(12, 20, 34, 0.5) 100%);
  border-radius: 1.6rem;
  backdrop-filter: blur(18px);
  padding: clamp(2rem, 3vw, 2.6rem) clamp(1.8rem, 3vw, 2.6rem) clamp(2.3rem, 3.4vw, 3rem);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 55px rgba(2, 6, 16, 0.45);
  overflow: hidden;
  z-index: 0;
}
.section-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(0, 255, 102, 0.22) 0%, rgba(0, 255, 102, 0) 55%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0) 60%),
    radial-gradient(circle at bottom, rgba(244, 63, 94, 0.16) 0%, rgba(244, 63, 94, 0) 70%);
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: -1;
}
.section-title {
  font-size: clamp(1.9rem, 1.1rem + 1.9vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 1.4rem;
  line-height: 1.15;
  background: linear-gradient(180deg, #d9ffe9 0%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-title .section-title-highlight {
  background: linear-gradient(180deg, #ffffff 0%, #d1d5db 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.section-title--split {
  background: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.section-title--split .section-title-rest {
  display: inline-block;
  background: linear-gradient(180deg, #d9ffe9 0%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title--split .section-title-learn {
  display: inline-block;
  background: linear-gradient(180deg, #d9ffe9 0%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-paragraph {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 62ch;
}

/* блок 2 */
.section-two-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  align-items: stretch;
}
.section-two-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
  max-width: 520px;
}
.section-two-visual {
  display: flex;
  justify-content: center;
}
.section-two-visual .yt-analytics {
  margin-top: 0;
}

/* analytics block */
.yt-analytics {
  margin-top: 1.6rem;
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.78) 0%, rgba(12, 20, 34, 0.58) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1.35rem;
  padding: 1.4rem 1.5rem 1.85rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(2, 6, 16, 0.45);
  backdrop-filter: blur(18px);
}
.yt-analytics::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% -10%, rgba(0, 255, 102, 0.18) 0%, rgba(0, 255, 102, 0) 55%),
    radial-gradient(circle at 85% 0%, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 60%),
    linear-gradient(180deg, rgba(12, 20, 34, 0.35) 0%, rgba(12, 20, 34, 0.7) 100%);
  pointer-events: none;
  opacity: 0.65;
  z-index: -1;
}
.yt-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.yt-metric {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.55) 100%);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.9rem;
  padding: 0.65rem 0.9rem 0.65rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  height: 100%;
}
.yt-metric.active {
  border: 1px solid rgba(0, 255, 102, 0.65);
  background: linear-gradient(160deg, rgba(12, 24, 30, 0.65) 0%, rgba(12, 24, 30, 0.5) 100%);
  box-shadow: 0 12px 25px rgba(0, 255, 102, 0.12);
}
.yt-metric:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 255, 220, 0.35);
  box-shadow: 0 12px 25px rgba(5, 17, 32, 0.35);
}
.yt-metric-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: auto;
}
.yt-metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-primary);
}
.yt-arrow-up {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 8px solid var(--accent);
}
.yt-metric-sub {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.45);
  margin-top: 0.25rem;
}

.yt-chart-wrap {
  position: relative;
  margin-top: 1.0rem;
  background: linear-gradient(160deg, rgba(12, 20, 34, 0.8) 0%, rgba(12, 20, 34, 0.55) 100%);
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.18);
  min-height: 290px;
  padding-bottom: 1.1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
#ytChart {
  width: 100%;
  height: 260px;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
}
.yt-xlabels {
  position: relative;
  padding: 0.35rem 1.15rem 1.65rem;
  font-size: 0.62rem;
  color: rgba(226, 232, 240, 0.55);
  min-height: 2.6rem;
}
.yt-xlabels span {
  position: absolute;
  top: 0.35rem;
  transform: translateX(-50%);
  transform-origin: top center;
  white-space: nowrap;
  text-align: center;
}
.yt-xlabels--mobile {
  padding: 0.45rem 0 2.2rem;
  min-height: 3rem;
}
.yt-xlabels--mobile span {
  top: 0.45rem;
  transform-origin: top left;
}

/* блок 3 — дорожная карта */
.section-weeks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.6rem);
}

.weeks-title {
  width: auto;
  margin: 0 auto;
  max-width: none;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.45em;
  text-align: center;
  flex-wrap: wrap;
}

.weeks-items {
  width: 100%;
}

.weeks-grid {
  --weeks-gap: clamp(1.8rem, 4vw, 3rem);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "week1 week2 week3"
    "week6 week5 week4"
    "week7 week8 week9";
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: var(--weeks-gap);
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: clamp(1rem, 2.4vw, 1.8rem);
}

.weeks-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.weeks-path path {
  filter: drop-shadow(0 0 18px rgba(0, 255, 153, 0.28));
}

.weeks-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
  padding: 0 clamp(0.6rem, 1vw, 0.9rem);
  text-align: center;
  background: none;
  border: none;
  border-radius: 1.3rem;
  z-index: 1;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.weeks-item--visible {
  opacity: 1;
  transform: translateY(0);
}

.weeks-item--1 { grid-area: week1; }
.weeks-item--2 { grid-area: week2; }
.weeks-item--3 { grid-area: week3; }
.weeks-item--4 { grid-area: week4; }
.weeks-item--5 { grid-area: week5; }
.weeks-item--6 { grid-area: week6; }
.weeks-item--7 { grid-area: week7; }
.weeks-item--8 { grid-area: week8; }
.weeks-item--9 { grid-area: week9; }

.weeks-icon,
.card-vertical-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  border: 1px solid rgba(134, 239, 172, 0.8);
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(5, 17, 32, 0.32);
  flex-shrink: 0;
}

.weeks-icon img,
.card-vertical-icon img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.25));
}

.weeks-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 18.5rem;
}

.weeks-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.weeks-text p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.78);
}

.section-roadmap.is-pinned {
  position: sticky;
  top: 0;
  z-index: 5;
}

.section-roadmap.is-pinned .section-weeks {
  min-height: 100vh;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .weeks-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .weeks-item--visible {
    opacity: 1;
    transform: none;
  }
}

/* блок 4 */
.why-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(1.8rem, 4vw, 2.6rem);
  align-items: stretch;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.why-card {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.45) 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.15rem;
  padding: 1.1rem 1.1rem 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  --why-card-glow: rgba(56, 255, 179, 0.35);
}
.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, var(--why-card-glow) 0%, rgba(0, 0, 0, 0) 70%);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  filter: blur(28px);
  transform: scale(0.9);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(190, 255, 220, 0.32);
  box-shadow: 0 16px 35px rgba(5, 17, 32, 0.38);
}
.why-card:hover::before {
  opacity: 0.85;
  transform: scale(1.05);
}
.why-card--highlight,
.why-card--highlight:hover {
  background: linear-gradient(180deg, rgba(12, 34, 24, 0.85) 0%, rgba(12, 34, 24, 0.45) 100%);
  border-color: rgba(190, 255, 220, 0.45);
  --why-card-glow: rgba(56, 255, 179, 0.5);
  box-shadow: 0 22px 55px rgba(0, 255, 153, 0.32);
  transform: translateY(-4px);
}
.why-card--highlight::before {
  opacity: 0.85;
  transform: scale(1.05);
}
.why-card--highlight .why-card-title { color: #d7ffe8; }
.why-card--highlight .why-card-text { color: rgba(226, 255, 235, 0.92); }
.trust-meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.trust-avatars {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.trust-avatar {
  width: 1.65em;
  height: 1.65em;
  border-radius: 50%;
  border: 1px solid rgba(226, 232, 240, 0.6);
  background: rgba(148,163,184,0.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.trust-avatar + .trust-avatar { margin-left: -0.55em; }
.trust-text { margin: 0; color: var(--text-secondary); }
.trust-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.trust-button {
  flex-basis: 100%;
  margin-top: 0.35rem;
  box-shadow: 0 14px 32px rgba(0, 255, 153, 0.24);
  display: inline-flex;
  justify-content: center;
}

.trust-button:hover,
.trust-button:focus-visible {
  box-shadow: 0 18px 44px rgba(0, 255, 153, 0.3);
}

/* блок 4.1 */
.section-results-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 3vw, 2.4rem);
}

.results-head {
  max-width: min(100%, 1240px);
  margin: 0 auto;
  text-align: center;
}

.results-subtitle {
  margin: 0.6rem auto 0;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: min(100%, 124ch);
}

.results-carousel {
  position: relative;
}

.results-track {
  display: flex;
  gap: calc(0.46rem / 3);
  overflow: hidden;
  padding: 0.5rem clamp(0.6rem, 2vw, 1.1rem) 1rem;
  margin: 0 calc(-1 * clamp(0.6rem, 2vw, 1.1rem));
}

.results-slide {
  flex: 0 0 clamp(230px, 26vw, 300px);
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  display: grid;
  place-items: stretch;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 40px rgba(5, 17, 32, 0.28);
  margin: calc(0.8rem);
}

.results-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-card-title { font-weight: 600; margin-bottom: 0.4rem; color: var(--text-primary); letter-spacing: 0.04em; text-transform: uppercase; }
.why-card-text { font-size: 0.92rem; line-height: 1.65; color: var(--text-secondary); }

/* блок 5 */
.section-why-youtube .section-inner { text-align: center; }
.section-title--center { text-align: center; }
.why-youtube-head { margin-bottom: 2.25rem; }
.why-youtube-subtitle {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
}
.why-youtube-subtitle-line {
  display: inline;
}

.cards-vertical {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 1120px;
  margin: 0 auto;
}

.card-vertical {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.5) 100%);
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 1.6rem 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), opacity 480ms ease, box-shadow 0.2s ease, border-color 0.2s ease;
  transform: translateY(30px);
  opacity: 0;
  transition-delay: 0s;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.card-vertical::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 255, 102, 0.16) 0%, rgba(0, 255, 102, 0) 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.card-vertical:hover {
  transform: translateY(-6px);
  border-color: rgba(190, 255, 220, 0.35);
  box-shadow: 0 18px 40px rgba(5, 17, 32, 0.32);
}
.card-vertical:hover::before {
  opacity: 0.55;
}

.card-vertical--visible {
  transform: translateY(0);
  opacity: 1;
  transition-delay: calc(var(--card-index, 0) * 0.12s);
}

.card-vertical-meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.card-vertical-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  text-align: left;
}

.card-vertical-title {
  margin: 0;
  color: var(--text-primary);
  font-weight: 600;
  font-size: clamp(1.1rem, 0.95rem + 0.4vw, 1.55rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card-vertical-text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 58ch;
}

/* блок 6 */
.section-six-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 2rem;
  align-items: flex-start;
}
.section-six-grid > div:first-child {
  text-align: left;
}
.section-six-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.2rem;
}
.section-six-list--cards {
  gap: 1rem;
  grid-template-columns: 1fr;
}
.section-six-item {
  width: 100%;
}
.section-six-list--cards .card-vertical {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.62) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 32px rgba(4, 10, 20, 0.25);
  transform: none;
  opacity: 1;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.section-six-list--cards .card-vertical::before {
  display: none;
}
.section-six-list--cards .card-vertical:hover {
  transform: none;
  border-color: rgba(190, 255, 220, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(4, 10, 20, 0.35);
}
.section-six-list--cards .card-vertical-meta {
  gap: 1rem;
}
.section-six-list--cards .card-vertical-body {
  gap: 0.4rem;
}
.section-six-list--cards .card-vertical-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.85);
}
.card-vertical--neo .card-vertical-icon {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  border-color: rgba(125, 211, 252, 0.75);
}
.card-vertical--smith .card-vertical-icon {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  border-color: rgba(248, 113, 113, 0.7);
}
.card-vertical--morpheus .card-vertical-icon {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  border-color: rgba(196, 181, 253, 0.68);
}

/* блок 7 — программа курса */
.section-program .section-inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.program-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.program-subtitle {
  margin: 0;
  max-width: 60ch;
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1.7;
}
.program-subtitle-highlight {
  background: rgba(0, 255, 102, 0.32);
  color: var(--text-primary);
  padding: 0.1rem 0.35rem;
  border-radius: 0.5rem;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 102, 0.35);
  font-weight: 700;
}

.program-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.program-week {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.48) 100%);
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.program-week[open] {
  border-color: rgba(190, 255, 220, 0.32);
  box-shadow: 0 18px 34px rgba(5, 17, 32, 0.32);
}

.program-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 1.6rem;
  position: relative;
  flex-wrap: wrap;
}

.program-summary::-webkit-details-marker {
  display: none;
}

.program-summary:hover {
  background: rgba(12, 20, 34, 0.55);
}

.program-week[open] .program-summary {
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(12, 20, 34, 0.55);
}

.program-summary::after {
  content: "▼";
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  color: var(--accent-strong);
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.22) 0%, rgba(0, 255, 102, 0.1) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 102, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.program-week[open] .program-summary::after {
  content: "▲";
  border-color: rgba(0, 255, 102, 0.65);
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.28);
  color: #eafff4;
}

.program-summary-week {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.44rem;
  color: var(--text-primary);
  flex: 0 0 auto;
  background: var(--program-highlight-bg);
  padding: 0.1rem 0.35rem;
  border-radius: 0.5rem;
  box-shadow: inset 0 0 0 1px var(--program-highlight-border);
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-weight: 700;
}

.program-summary-title {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  flex: 1;
}

.program-summary:focus-visible {
  outline: 2px solid rgba(0, 255, 102, 0.65);
  outline-offset: 4px;
}

.program-table-wrap {
  padding: 0 1.6rem 1.6rem;
  overflow-x: auto;
}

.program-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.14);
  border-radius: 1rem;
  overflow: hidden;
  table-layout: fixed;
}

.program-table thead th {
  font-size: 1.17rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
  background: rgba(12, 20, 34, 0.65);
  padding: 0.85rem 1rem;
}

.program-table tbody th,
.program-table tbody td {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 0.75rem 1rem;
}

.program-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(12, 20, 34, 0.55);
  min-width: 240px;
}

.program-cell {
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.program-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 1.75rem;
}
.program-status::before {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.program-cell--yes {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.28) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: #d9ffe9;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.22);
}

.program-cell--yes .program-status::before {
  background-image: url("../img/yes.svg");
}

.program-cell--no {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.26) 0%, rgba(239, 68, 68, 0.15) 100%);
  color: #ffe4e6;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.22);
}

.program-cell--no .program-status::before {
  background-image: url("../img/no.svg");
}

.program-table tbody tr:last-child th,
.program-table tbody tr:last-child td {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.program-table tbody tr:last-child td:nth-child(2) {
  border-bottom-left-radius: 0.9rem;
}

.program-table tbody tr:nth-child(odd) th {
  background: rgba(12, 20, 34, 0.48);
}

.program-table tbody tr:nth-child(odd) td:not(.program-cell--yes):not(.program-cell--no) {
  background: rgba(12, 20, 34, 0.4);
}

.program-table tbody tr:nth-child(even) td:not(.program-cell--yes):not(.program-cell--no) {
  background: rgba(12, 20, 34, 0.35);
}

.program-table thead th:first-child {
  border-top-left-radius: 0.9rem;
}

.program-table thead th:last-child {
  border-top-right-radius: 0.9rem;
}

.program-table tbody th:first-child {
  border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.program-table tbody td {
  border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.program-table tbody td:last-child,
.program-table thead th:last-child {
  border-right: none;
}

.program-table thead th:nth-child(2),
.program-table thead th:nth-child(3),
.program-table thead th:nth-child(4),
.program-table tbody td:nth-child(2),
.program-table tbody td:nth-child(3),
.program-table tbody td:nth-child(4) {
  width: 12.35rem;
}

/* блок 8 — тарифы */
.section-pricing .section-inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: stretch;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 1.6rem);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 1.5rem 1.8rem;
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.46) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 42px rgba(5, 17, 32, 0.4);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(56, 255, 179, 0.35) 0%, rgba(0, 0, 0, 0) 75%);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  filter: blur(32px);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(190, 255, 220, 0.35);
  box-shadow: 0 22px 48px rgba(5, 17, 32, 0.45);
}

.pricing-card:hover::before {
  opacity: 0.7;
  transform: scale(1.05);
}

.pricing-card--highlight,
.pricing-card--highlight:hover {
  background: linear-gradient(180deg, rgba(12, 34, 24, 0.9) 0%, rgba(12, 34, 24, 0.5) 100%);
  border-color: rgba(190, 255, 220, 0.45);
  box-shadow: 0 26px 60px rgba(0, 255, 153, 0.32);
}

.pricing-card--highlight::before {
  opacity: 0.85;
  transform: scale(1.05);
}

.pricing-card-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-card-title {
  margin: 0;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pricing-card-title-text {
  flex: 1;
  min-width: 0;
}

.pricing-card-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 255, 235, 0.9);
  background: rgba(0, 255, 153, 0.16);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(0, 255, 102, 0.35);
  margin-left: auto;
}

.pricing-card-badge {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.pricing-card-description {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 700;
}

.pricing-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  font-size: 0.98rem;
  color: rgba(226, 232, 240, 0.88);
}

.pricing-features li {
  position: relative;
  padding-left: 1.4rem;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 255, 153, 0.9) 0%, rgba(34, 197, 94, 0.75) 100%);
  box-shadow: 0 0 12px rgba(0, 255, 153, 0.45);
}

.pricing-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.pricing-card-price {
  font-size: clamp(1.9rem, 1.1rem + 1.9vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #d9ffe9 0%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

.pricing-card-button {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: #04100a;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(209, 250, 229, 0.9) 100%);
  box-shadow: inset 0 0 0 1px rgba(190, 255, 220, 0.45), 0 16px 34px rgba(6, 20, 12, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-self: center;
}

.pricing-card-button:hover,
.pricing-card-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(6, 20, 12, 0.45);
}

.pricing-card-button:focus-visible {
  outline: 2px solid rgba(0, 255, 153, 0.55);
  outline-offset: 3px;
}

.pricing-card-button--accent {
  background: linear-gradient(135deg, #0cff87 0%, #03c963 55%, #059346 100%);
  color: #001408;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 153, 0.45), 0 22px 48px rgba(5, 25, 14, 0.45);
}

.pricing-card-button--accent:hover,
.pricing-card-button--accent:focus-visible {
  box-shadow: 0 26px 55px rgba(5, 25, 14, 0.5);
}

body.pricing-modal-open {
  overflow: hidden;
}

.pricing-modal[hidden] {
  display: none;
}

.pricing-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.pricing-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 15, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pricing-modal-dialog {
  position: relative;
  width: min(100%, 420px);
  background: linear-gradient(180deg, rgba(13, 22, 36, 0.95) 0%, rgba(13, 22, 36, 0.82) 100%);
  border-radius: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 28px 68px rgba(5, 14, 28, 0.55);
  overflow: hidden;
}

.pricing-modal-body {
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pricing-modal-title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  background: linear-gradient(180deg, #d9ffe9 0%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-modal-price {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.pricing-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-modal-button {
  width: 100%;
  color: #051013;
}

.pricing-modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(207, 216, 232, 0.78);
}

.pricing-modal-consent a {
  color: rgba(144, 227, 255, 0.92);
  text-decoration: underline;
}

.pricing-modal-checkbox {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: #0cff87;
}

.pricing-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-modal-close::before,
.pricing-modal-close::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 2px;
  background: rgba(226, 232, 240, 0.8);
}

.pricing-modal-close::before {
  transform: rotate(45deg);
}

.pricing-modal-close::after {
  transform: rotate(-45deg);
}

.pricing-modal-close:hover,
.pricing-modal-close:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(5, 14, 28, 0.35);
}

/* блок 9 — FAQ */
.section-faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: start;
}

.faq-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: clamp(1rem, 6vh, 3rem);
}

.faq-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.faq-button {
  align-self: flex-start;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2.1rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: #001408;
  background: linear-gradient(135deg, #0cff87 0%, #03c963 55%, #059346 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 153, 0.45), 0 18px 42px rgba(5, 25, 14, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-button:hover,
.faq-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(5, 25, 14, 0.5);
}

.faq-button:focus-visible {
  outline: 2px solid rgba(226, 255, 235, 0.7);
  outline-offset: 3px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.5) 100%);
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(190, 255, 220, 0.35);
  box-shadow: 0 18px 38px rgba(5, 17, 32, 0.35);
}

.faq-question {
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

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

.faq-question::after {
  content: "＋";
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.28);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--accent-strong);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.16) 0%, rgba(0, 255, 102, 0.05) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 102, 0.12);
}

.faq-item[open] .faq-question::after {
  content: "－";
  transform: rotate(180deg);
  border-color: rgba(0, 255, 153, 0.55);
  color: #eafff4;
  box-shadow: 0 0 16px rgba(0, 255, 153, 0.28);
}

.faq-question:focus-visible {
  outline: 2px solid rgba(0, 255, 102, 0.55);
  outline-offset: 4px;
}

.faq-answer {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.88);
}

.faq-link {
  color: #8efcc4;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.faq-link:hover,
.faq-link:focus-visible {
  color: #caffe4;
}

/* блок 10 — футер */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(2rem, 6vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
  background: none; /* можно оставить пустым, чтобы просвечивал общий фон */
}
.layout-landscape .site-footer {
  margin-top: clamp(1rem, 3vw, 2rem);
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

/* внутренняя коробка футера — такой же фон, как у .section-inner */
.site-footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "nav links docs"
    "nav links contacts";
  gap: clamp(1.6rem, 3vw, 2.6rem);
  background: linear-gradient(160deg, rgba(12, 20, 34, 0.82) 0%, rgba(12, 20, 34, 0.5) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 55px rgba(2, 6, 16, 0.45);
  padding: clamp(2rem, 3vw, 2.6rem) clamp(1.8rem, 3vw, 2.6rem) clamp(2.3rem, 3.4vw, 3rem);
  position: relative; /* чтобы ::before корректно позиционировался */
}
.site-footer-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(0, 255, 102, 0.24) 0%, rgba(0, 255, 102, 0) 55%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 60%),
    radial-gradient(circle at bottom, rgba(244, 63, 94, 0.18) 0%, rgba(244, 63, 94, 0) 70%);
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: -1;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column--nav { grid-area: nav; }
.footer-column--links { grid-area: links; }
.footer-column--docs {
  grid-area: docs;
  gap: 1.3rem;
}
.footer-column--contacts {
  grid-area: contacts;
  gap: 1.3rem;
  align-self: flex-start;
}

.footer-title {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  background: linear-gradient(180deg, #d9ffe9 0%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.footer-list a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #8efcc4;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-social {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #04100a;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.9) 0%, rgba(209, 250, 229, 0.85) 100%);
  border: 1px solid rgba(190, 255, 220, 0.45);
  box-shadow: 0 14px 28px rgba(5, 17, 32, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  opacity: 1;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(5, 17, 32, 0.45);
}

.footer-social-link:focus-visible {
  outline: 2px solid rgba(0, 255, 153, 0.55);
  outline-offset: 3px;
}

.footer-social-link--telegram {
  background: linear-gradient(135deg, rgba(167, 243, 255, 0.95) 0%, rgba(56, 189, 248, 0.9) 100%);
}

.footer-social-link--instagram {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.95) 0%, rgba(249, 115, 22, 0.9) 100%);
}

.footer-social-link--whatsapp {
  background: linear-gradient(135deg, rgba(134, 239, 172, 0.95) 0%, rgba(34, 197, 94, 0.9) 100%);
}

.footer-social-link--email {
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.95) 0%, rgba(148, 163, 184, 0.85) 100%);
}

/* логика отображения по соотношению сторон */
@media (min-aspect-ratio: 1/1) {
  .section {
    padding-block: clamp(2.1rem, 4.2vw, 3.15rem);
  }

  .site-header-nav {
    position: static;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1.1rem, 2vw, 1.8rem);
    padding: 0;
    margin: 0;
    width: auto;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-open .site-header-nav {
    display: inline-flex;
  }

  .burger {
    display: none;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.9rem, 2vw, 1.3rem);
    margin: 0.4rem 0 0;
  }

  .hero-btn {
    width: auto;
    min-width: 205px;
  }
}

@media (max-aspect-ratio: 1/1) {
  .section {
    padding-block: clamp(2.1rem, 4.2vw, 3.15rem);
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    padding-inline: 1rem 1.1rem;
  }
  .site-header-inner {
    gap: 0.75rem;
  }
  .site-header-brand {
    flex: 1;
    justify-content: flex-start;
  }
  .site-header-controls {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    gap: 0.75rem;
    position: relative;
  }
  .site-header-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: -1.1rem;
    left: auto;
    margin: 0;
    padding: 1rem 1.1rem;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.75rem;
    width: min(224px, calc(85vw * 0.7));
    background: rgba(8, 12, 20, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    box-shadow: 0 26px 48px rgba(1, 3, 9, 0.52);
    display: none;
    z-index: 2;
    font-size: calc(0.82rem * 1.7);
    letter-spacing: 0.12em;
    text-align: right;
  }
  .site-header-nav a {
    width: 100%;
    font-size: inherit;
    text-align: right;
  }
  .nav-open .site-header-nav {
    display: flex;
  }
  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-header-logo {
    width: 40px;
    height: 40px;
  }
  .why-youtube-subtitle-line {
    display: block;
  }
  .section-six-grid > div:first-child {
    text-align: center;
  }

  #hero {
    min-height: auto;
    padding: 2.88rem 0.9rem 2rem;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1.35rem 1.2rem 1.65rem;
    gap: 1.35rem;
  }
  .hero-main {
    order: 1;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
  }
  .hero-title {
    width: min(100%, calc((520px - 2ch) * 1.2));
    max-width: calc((520px - 2ch) * 1.2);
    margin-inline: auto;
    white-space: normal;
    justify-content: center;
    font-size: clamp(3.275rem, 12.6vw, 4.675rem);
    text-align: center;
  }
  .hero-title-text {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
  .hero-title-line {
    width: 100%;
    justify-content: center;
  }
  .hero-title-line--static {
    margin-right: 0;
  }
  .hero-title-line--dynamic {
    width: 100%;
    max-width: 96%;
    margin: 0 auto;
    overflow: visible;
    white-space: nowrap;
  }
  .hero-title-line--dynamic .hero-title-dynamic {
    justify-content: center;
    flex-wrap: nowrap;
    flex: 0 0 auto;
  }
  .hero-title-line--dynamic .hero-cursor {
    margin-left: 0.1rem;
    align-self: flex-end;
  }
  .hero-image-wrap {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 9 / 10;
    padding: 0.48rem 0 0.6rem;
  }
  .hero-image {
    width: 100%;
    height: 100%;
    max-height: 54vh;
    object-fit: contain;
  }
  .hero-actions {
    order: 2;
    width: min(100%, 340px);
    margin: 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .hero-btn {
    width: 100%;
    min-width: 0;
  }
  .hero-panel {
    width: 100%;
    padding: 1.5rem 1.4rem 1.7rem;
    align-items: flex-start;
    text-align: left;
    gap: 0.95rem;
    margin: 0;
    align-self: stretch;
    height: auto;
  }
  .hero-panel-title {
    width: 100%;
    text-align: left;
  }
  .hero-panel-list li {
    width: 100%;
    padding-left: 1.25rem;
    text-align: left;
  }
  .hero-panel--negative,
  .hero-panel--positive {
    margin-top: 0.6rem;
  }
  .hero-panel--negative {
    order: 2;
  }
  .hero-panel--positive {
    order: 3;
  }
  .hero-panel small {
    text-align: left;
  }

  .section-title--split {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .section-title--split .section-title-learn,
  .section-title--split .section-title-rest {
    width: 100%;
    text-align: center;
  }

  .section-inner {
    padding: 1.6rem 1.2rem 1.8rem;
  }
  .section-inner.section-two-content {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }
  .section-two-content,
  .why-grid,
  .section-six-grid {
    grid-template-columns: 1fr;
  }
  .section-two-text {
    align-items: center;
    text-align: center;
    max-width: none;
    width: 100%;
    gap: 1.1rem;
    padding: 0;
    box-sizing: border-box;
  }
  .section-two-text .section-title,
  .section-two-text .section-paragraph {
    margin-inline: auto;
    text-align: center;
  }
  .section-two-visual {
    padding: 0;
    box-sizing: border-box;
    justify-content: center;
  }
  .section-two-visual .yt-analytics,
  .section-two-visual .yt-chart-wrap {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }
  .section-two-visual .yt-analytics {
    margin-top: 1.6rem;
  }
  .section-two-visual .yt-xlabels {
    padding: 0.45rem 0 1.35rem;
  }
  .section-title,
  .section-paragraph,
  .yt-analytics,
  .yt-chart-wrap {
    max-width: 100%;
    overflow: hidden;
    word-break: break-word;
  }

  .yt-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yt-chart-wrap {
    padding-bottom: 2.4rem;
  }
  .yt-xlabels {
    padding: 0.45rem 0 1.6rem;
    min-height: 2.6rem;
  }
  .yt-xlabels--mobile {
    padding: 0.55rem 0 2.6rem;
    min-height: 3.2rem;
  }
  .yt-xlabels span,
  .yt-xlabels--mobile span {
    font-size: 0.55rem;
  }

  .why-cards {
    grid-template-columns: 1fr;
  }
  .why-youtube-head {
    margin-bottom: 1.6rem;
  }
  .why-youtube-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .trust-meta {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    text-align: left;
  }
  .trust-text {
    flex: 1 1 160px;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.45;
  }
  .trust-button {
    flex-basis: 100%;
    order: 3;
    align-self: stretch;
    width: 100%;
    margin-top: 0.5rem;
  }

  .cards-vertical {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .card-vertical {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.2rem;
    border-radius: 0.75rem;
    padding: 1.2rem 1.15rem 1.35rem;
  }
  .card-vertical-meta {
    flex: 0 0 auto;
    justify-content: flex-start;
    align-self: flex-start;
    margin-top: 0.2rem;
  }
  .card-vertical-body {
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.55rem;
  }
  .card-vertical-title {
    line-height: 1.35;
  }
  .card-vertical-text {
    width: 100%;
  }

  .section-six-grid {
    gap: 1.4rem;
  }
  .section-six-list--cards {
    gap: 0.85rem;
  }
  .section-six-list--cards .card-vertical {
    padding: 0.95rem 1.05rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.85rem;
  }
  .section-six-list--cards .card-vertical-meta {
    flex-shrink: 0;
  }
  .section-six-list--cards .card-vertical-icon {
    width: 2.75rem;
    height: 2.75rem;
  }
  .section-six-list--cards .card-vertical-body {
    min-width: 0;
    text-align: left;
  }
  .section-six-list--cards .card-vertical-text {
    font-size: 1.25rem;
  }

  .weeks-grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.2rem 0;
  }
  .weeks-path {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .weeks-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 1.1rem 1.1rem 1.5rem;
    gap: 0.9rem;
    width: 100%;
    opacity: 1;
    transform: none;
  }
  .weeks-text {
    text-align: left;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: none;
  }
  .weeks-text p {
    font-size: 0.95rem;
  }
  .weeks-icon {
    margin-bottom: 0;
    margin-top: 0.1rem;
  }

  .results-head {
    text-align: center;
    margin: 0 auto;
  }
  .results-track {
    margin: 0 -0.5rem;
    padding: 0.4rem 0.5rem 0.75rem;
    gap: calc(1rem / 3);
  }
  .results-slide {
    flex-basis: clamp(220px, 82vw, 280px);
  }

  .program-table-wrap {
    padding: 0 1.1rem 1.4rem;
    overflow: auto;
    max-height: min(70vh, 640px);
  }
  .program-table {
    min-width: 640px;
  }
  .program-table thead {
    display: table-header-group;
  }
  .program-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(12, 20, 34, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .program-table tbody {
    display: table-row-group;
  }
  .program-table tbody tr {
    display: table-row;
  }

  .program-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding-right: 4.25rem;
    position: relative;
  }
  .program-summary::after,
  .program-week[open] .program-summary::after {
    position: absolute;
    top: 1.3rem;
    right: 1.6rem;
  }
  .program-summary-title {
    font-size: 1.1rem;
  }
  .program-summary-week {
    font-size: 1.05rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 1.4rem 1.25rem 1.6rem;
  }
  .pricing-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .pricing-card-price {
    font-size: 1.75rem;
  }

  .section-faq-inner {
    grid-template-columns: 1fr;
  }
  .faq-head {
    position: static;
    align-items: center;
    text-align: center;
  }
  .faq-button {
    align-self: center;
  }
  .faq-question {
    font-size: 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.2rem 1.5rem;
    text-align: left;
    justify-items: start;
  }
  .faq-question::after,
  .faq-item[open] .faq-question::after {
    position: static;
    margin-top: 0.1rem;
    align-self: flex-start;
    justify-self: end;
  }
  .faq-answer {
    padding: 0 1.5rem 1.5rem;
  }

  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "nav links"
      "docs contacts";
    gap: 1.4rem;
  }
  .footer-column {
    align-items: flex-start;
    text-align: left;
  }
  .footer-column--nav {
    grid-area: nav;
  }
  .footer-column--links {
    grid-area: links;
  }
  .footer-column--docs {
    grid-area: docs;
  }
  .footer-column--contacts {
    grid-area: contacts;
  }
  .footer-list {
    align-items: flex-start;
  }
  .footer-social {
    justify-content: flex-start;
  }

  .section-title {
    font-size: calc(clamp(1.9rem, 1.1rem + 1.9vw, 2.6rem) - 2pt);
  }
}

.layout-portrait {
  --program-sticky-offset: clamp(3.5rem, 16vw, 5.25rem);
  --program-sticky-gap: 8px;
  --program-portrait-head-height: 3.25rem;
  --program-portrait-row-gap: 1rem;
}

.layout-portrait .section-two-visual {
  width: 100%;
}

.layout-portrait .section-two-visual .yt-analytics,
.layout-portrait .section-two-visual .yt-chart-wrap {
  width: 100%;
  max-width: none;
}

.layout-portrait .section-two-visual .yt-analytics {
  margin-inline: 0;
}

.layout-portrait .yt-analytics,
.layout-portrait .yt-chart-wrap {
  max-width: 100%;
}

.layout-portrait #ytChart {
  width: 100%;
}

.program-table--portrait-head {
  display: none;
}

.layout-portrait.nav-open {
  overflow: auto;
}

.layout-portrait .program-table-wrap {
  padding: var(--program-portrait-row-gap) clamp(1rem, 4vw, 1.6rem) var(--program-portrait-row-gap);
  overflow: visible;
  max-height: none;
  position: relative;
  z-index: 1;
}

.layout-portrait .program-week,
.layout-portrait .program-week[open] {
  overflow: hidden;
  position: relative;
}

.layout-portrait .program-table {
  width: 100%;
  min-width: 0;
  border-radius: 1.15rem;
  box-shadow: none;
  border: none;
  overflow: visible;
}

.layout-portrait .program-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
}

.layout-portrait .program-table--portrait-head {
  position: sticky;
  top: calc(var(--program-sticky-offset) + var(--program-sticky-gap));
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0 0 var(--program-portrait-row-gap);
  padding: 0;
}

.layout-portrait .program-table--portrait-head-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--program-portrait-head-height);
  padding: 0.6rem 0.5rem;
  border-radius: 0.85rem;
  font-size: clamp(0.7rem, 2.4vw, 0.95rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-primary);
  font-weight: 600;
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.85) 0%, rgba(12, 20, 34, 0.65) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 26px rgba(2, 6, 16, 0.32);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.layout-portrait .program-table tbody {
  display: grid;
  gap: var(--program-portrait-row-gap);
  padding-bottom: 0.5rem;
}

.layout-portrait .program-table tbody tr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "block block block"
    "start practice mentor";
  gap: 0.6rem;
  background: rgba(12, 20, 34, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  padding: 0.95rem 1rem 1.1rem;
  box-shadow: 0 22px 44px rgba(2, 6, 16, 0.38);
}

.layout-portrait .program-table tbody th,
.layout-portrait .program-table tbody td {
  border: none;
  padding: 0;
  min-width: 0;
  border-radius: 0.75rem;
}

.layout-portrait .program-table tbody th {
  grid-area: block;
  background: none;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.layout-portrait .program-table tbody td {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.5rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.layout-portrait .program-table tbody td:nth-child(2) {
  grid-area: start;
}

.layout-portrait .program-table tbody td:nth-child(3) {
  grid-area: practice;
}

.layout-portrait .program-table tbody td:nth-child(4) {
  grid-area: mentor;
}

.layout-portrait .program-table tbody td:not(.program-cell--yes):not(.program-cell--no) {
  background: rgba(12, 20, 34, 0.32);
  color: var(--text-secondary);
}

.layout-portrait .program-table tbody tr:nth-child(odd),
.layout-portrait .program-table tbody tr:nth-child(even) {
  background: rgba(12, 20, 34, 0.52);
}

.layout-portrait .program-table tbody tr:last-child {
  margin-bottom: 0;
}

.layout-portrait .program-table tbody tr:last-child th,
.layout-portrait .program-table tbody tr:last-child td,
.layout-portrait .program-table tbody tr:last-child td:nth-child(2),
.layout-portrait .program-table tbody tr:last-child td:nth-child(3),
.layout-portrait .program-table tbody tr:last-child td:nth-child(4) {
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .card-vertical {
    transition: none;
    transform: none !important;
    opacity: 1 !important;
  }
}
