/* ====== Vygotsky page — CDO Global · DeepTalk ====== */

:root {
  /* Бренд CDO */
  --ink-950: #0B0F0C;
  --ink-900: #0E1410;
  --ink-850: #12181A;
  --ink-800: #141A16;
  --lime: #74D414;
  --lime-soft: #8FE234;
  --lime-deep: #5DB00C;

  /* Акцент Выготского — violet/indigo */
  --violet: #8B5CF6;
  --violet-soft: #A78BFA;
  --violet-deep: #6D28D9;
  --indigo: #6366F1;
  --indigo-soft: #818CF8;

  --text: #E7ECE8;
  --text-dim: #A8B0AA;
  --text-mute: #6E7670;

  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --glass: rgba(255,255,255,0.04);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --container: 1240px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--ink-950);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container-x {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container-x { padding: 0 2rem; } }

/* ====== HEADER ====== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(11,15,12,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container-x {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}
.site-header .logo { display: flex; align-items: center; gap: 0.6rem; }
.site-header .logo svg { height: 28px; width: auto; }

.nav-main {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 1024px) { .nav-main { display: flex; } }

.nav-main .nav-link,
.nav-main .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  opacity: 0.85;
  background: transparent;
  border: 0;
  padding: 6px 2px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .15s, color .15s;
  position: relative;
}
.nav-main .nav-link:hover,
.nav-main .nav-trigger:hover,
.nav-main .nav-item.is-open > .nav-trigger {
  opacity: 1;
  color: var(--lime);
}
.nav-main .nav-link::after,
.nav-main .nav-trigger::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-main .nav-link:hover::after,
.nav-main .nav-trigger:hover::after,
.nav-main .nav-item.is-open > .nav-trigger::after {
  transform: scaleX(1);
}
.nav-main .chev {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
  transition: transform .2s;
}
.nav-main .nav-item.is-open .chev,
.nav-main .nav-item:hover .chev,
.nav-main .nav-item:focus-within .chev {
  transform: rotate(-135deg) translateY(-2px);
}

.nav-main .nav-item { position: relative; }
.nav-main .nav-item.has-mega::before {
  /* invisible bridge so hover doesn't drop when moving to mega */
  content: "";
  position: absolute;
  left: -1rem; right: -1rem; top: 100%;
  height: 18px;
}

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: -1.25rem;
  min-width: 480px;
  background: #0F1411;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.6), 0 0 0 1px rgba(116,212,20,0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.mega-2col { width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.mega-1col { width: 260px; display: block; }

.nav-item:hover > .mega,
.nav-item:focus-within > .mega,
.nav-item.is-open > .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.mega-link:hover,
.mega-link:focus-visible {
  background: rgba(116,212,20,0.08);
  outline: none;
}
.mega-link.is-current {
  background: rgba(139,92,246,0.12);
}
.mega-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.mega-link:hover .mega-title { color: var(--lime); }
.mega-link.is-current .mega-title { color: var(--violet-soft); }
.mega-desc {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-dim);
}
.mega-link.compact { padding: 14px; }
.mega-link.compact .mega-title { margin-bottom: 0; }

.header-right { display: flex; gap: 0.75rem; align-items: center; }

.lang-switch {
  display: none;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
}
.lang-switch button {
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: var(--lime);
  color: #0B0F0C;
}
@media (min-width: 768px) { .lang-switch { display: inline-flex; } }

.btn-cta {
  background: var(--lime);
  color: #0B0F0C;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: filter .15s, transform .15s;
}
.btn-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(95deg, var(--violet-soft), var(--violet), var(--violet-deep));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(139,92,246,0.6);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 36px -10px rgba(139,92,246,0.75); }

.btn-lime {
  background: linear-gradient(95deg, var(--lime-soft), var(--lime));
  color: var(--ink-950);
  box-shadow: 0 10px 30px -10px rgba(116,212,20,0.6);
}
.btn-lime:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(139,92,246,0.6); color: #fff; }

/* ====== MAIN ====== */
main { padding-top: 72px; }

/* ====== BREADCRUMBS ====== */
.breadcrumbs {
  padding: 1.25rem 0 0.5rem;
  font-size: 13px;
  color: var(--text-dim);
}
.breadcrumbs ol { list-style: none; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; opacity: 0.5; }
.breadcrumbs a:hover { color: var(--violet-soft); }
.breadcrumbs [aria-current] { color: var(--text); }

/* ====== STICKY NAV ====== */
.sticky-nav {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: rgba(11,15,12,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  margin-top: 1rem;
}
.sticky-nav .container-x {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sticky-nav .container-x::-webkit-scrollbar { display: none; }
.sticky-nav a {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.sticky-nav a:hover, .sticky-nav a.active {
  color: var(--violet-soft);
  border-bottom-color: var(--violet);
}

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 20%, rgba(139,92,246,0.18), transparent 50%),
              radial-gradient(ellipse at 80% 60%, rgba(99,102,241,0.12), transparent 55%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
}
.hero .container-x { position: relative; z-index: 1; }

.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(99,102,241,0.1));
  border: 1px solid rgba(139,92,246,0.35);
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 40px -10px rgba(139,92,246,0.4);
}
.hero-icon svg { width: 36px; height: 36px; color: var(--violet-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--violet-soft);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--violet);
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.65rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  max-width: 18ch;
}
.violet-text {
  background: linear-gradient(92deg, var(--violet-soft), var(--violet), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--text-dim);
  max-width: 60ch;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 13px;
  color: var(--text-dim);
}
.hero-badges span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-badges span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
}

/* ====== ANSWER-FIRST ====== */
.answer-first {
  padding: 3rem 0;
}
.answer-first .answer-card {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--violet);
  border-radius: var(--radius-lg);
  padding: 2rem;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  max-width: 900px;
}
.answer-first .answer-card strong {
  color: var(--violet-soft);
  font-weight: 700;
}

/* ====== SECTIONS ====== */
.section { padding: 5rem 0; }
.section-head {
  margin-bottom: 3rem;
  max-width: 800px;
}
.section h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.section .sub {
  font-size: 1.0625rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ====== VS TABLE ====== */
.vs-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .vs-table { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.vs-col {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.vs-col.bad { border-color: rgba(248,113,113,0.18); }
.vs-col.good { border-color: rgba(139,92,246,0.3); background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(99,102,241,0.04)); }
.vs-col h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  color: var(--text-dim);
}
.vs-col.good h3 { color: var(--violet-soft); }
.vs-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.vs-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 14.5px;
  line-height: 1.55;
}
.vs-col li::before {
  content: "—";
  color: var(--text-mute);
  margin-top: 2px;
  font-weight: 700;
}
.vs-col.good li::before {
  content: "✓";
  color: var(--violet-soft);
}
.vs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(99,102,241,0.08));
  border: 1px solid rgba(139,92,246,0.35);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--violet-soft);
}

/* ====== MODULES ====== */
.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .modules-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .modules-grid { grid-template-columns: 1fr 1fr 1fr; } }

.module-card {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
}
.module-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 20px 50px -20px rgba(139,92,246,0.4);
}
.module-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-soft);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.module-num::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--violet);
}
.module-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.module-card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
.module-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.module-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.module-card li::before {
  content: "›";
  color: var(--violet);
  font-weight: 700;
  margin-top: -1px;
}
.module-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(99,102,241,0.08));
  border: 1px solid rgba(139,92,246,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.module-icon svg { width: 22px; height: 22px; color: var(--violet-soft); }

/* Three-level table for module 4 */
.level-table { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.level-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  background: rgba(139,92,246,0.05);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 10px;
  font-size: 13px;
}
.level-row .lvl { font-weight: 700; color: var(--violet-soft); }
.level-row .desc { color: var(--text-dim); }

/* ====== FORMATS TABLE ====== */
.formats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .formats { grid-template-columns: 1fr 1fr 1fr; } }

.format {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: all .25s;
}
.format:hover { border-color: rgba(139,92,246,0.4); transform: translateY(-2px); }
.format .ext {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 8px;
  color: var(--violet-soft);
  min-width: 80px;
  text-align: center;
}
.format .desc { font-size: 14px; color: var(--text-dim); line-height: 1.5; }

/* ====== HOW IT WORKS — TIMELINE ====== */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}
@media (min-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}
.tl-step {
  position: relative;
  padding: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tl-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px -8px rgba(139,92,246,0.6);
}
.tl-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 0.5rem; }
.tl-step p { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

/* ====== ECOSYSTEM ====== */
.ecosystem {
  background: linear-gradient(180deg, transparent, rgba(139,92,246,0.04), transparent);
  padding: 5rem 0;
}
.eco-diagram {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  overflow-x: auto;
}
.eco-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 1rem;
  min-width: 720px;
}
.eco-node {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}
.eco-node.bloom    { background: rgba(116,212,20,0.08); border-color: rgba(116,212,20,0.35); }
.eco-node.turing   { background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.35); }
.eco-node.vygotsky { background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(99,102,241,0.10)); border-color: rgba(139,92,246,0.55); box-shadow: 0 0 32px -8px rgba(139,92,246,0.4); }
.eco-node.socrates { background: rgba(34,211,238,0.08); border-color: rgba(34,211,238,0.35); }

.eco-node .name { font-weight: 800; font-size: 18px; margin-bottom: 0.35rem; }
.eco-node.bloom .name    { color: #A3E635; }
.eco-node.turing .name   { color: #FBBF24; }
.eco-node.vygotsky .name { color: var(--violet-soft); }
.eco-node.socrates .name { color: #22D3EE; }
.eco-node .role { font-size: 12px; color: var(--text-dim); line-height: 1.4; }

.eco-flow {
  display: none;
  margin-top: 1.5rem;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
@media (min-width: 768px) { .eco-flow { display: block; } }
.eco-caption {
  margin-top: 2rem;
  font-size: 15px;
  color: var(--text-dim);
  max-width: 800px;
  line-height: 1.65;
}

/* ====== INTEGRATIONS ====== */
.integrations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .integrations { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .integrations { grid-template-columns: 1fr 1fr; } }

.integration {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.integration .name { font-weight: 700; font-size: 15px; }
.integration .type { font-size: 13px; color: var(--text-dim); text-align: right; }

/* ====== AUDIENCE & CASES ====== */
.audience-grid, .cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .audience-grid, .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: 1fr 1fr 1fr; } }

.audience-card, .case-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all .25s;
}
.audience-card:hover, .case-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-4px);
}
.audience-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 0.5rem; }
.audience-card .task { font-size: 14px; color: var(--text-dim); margin-bottom: 1rem; }
.audience-card .solution {
  font-size: 13.5px;
  color: var(--violet-soft);
  padding: 0.55rem 0.75rem;
  background: rgba(139,92,246,0.08);
  border-left: 2px solid var(--violet);
  border-radius: 0 8px 8px 0;
}

.case-card .client {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin-bottom: 0.5rem;
}
.case-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.3; }
.case-card .applied { font-size: 13px; color: var(--text-mute); margin-bottom: 0.75rem; }
.case-card .result {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
}

/* ====== TRUST BAR ====== */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 1.5rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.trust-bar .item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--text-dim);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}
.trust-bar .item::before {
  content: "✓";
  color: var(--violet-soft);
  font-weight: 700;
}

/* ====== CTA / FORM ====== */
.cta-section {
  padding: 5rem 0;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.18), transparent 60%);
}
.cta-box {
  background: linear-gradient(135deg, rgba(139,92,246,0.10), rgba(99,102,241,0.04));
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .cta-box { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.cta-info h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.cta-info p { color: var(--text-dim); font-size: 16px; line-height: 1.65; margin-bottom: 1.5rem; }
.cta-info ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.cta-info li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 14.5px; }
.cta-info li::before {
  content: "✓";
  color: var(--violet-soft);
  font-weight: 700;
}
.cta-contacts {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 14px;
  color: var(--text-dim);
}
.cta-contacts a { color: var(--violet-soft); }

/* Form */
.form-card {
  background: rgba(11,15,12,0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.form-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.field textarea { resize: vertical; min-height: 80px; }

.field-check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 13px; color: var(--text-dim); margin-bottom: 1.25rem;
}
.field-check input { margin-top: 3px; accent-color: var(--violet); }
.field-check a { color: var(--violet-soft); text-decoration: underline; }

/* ====== FAQ ====== */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 16px;
  font-weight: 600;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--violet-soft);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--violet-soft); }
.faq-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ====== FOOTER ====== */
.site-footer {
  background: #070A08;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .logo svg { height: 28px; margin-bottom: 1rem; }
.footer-brand p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; max-width: 36ch; }
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 14px; color: var(--text-dim); transition: color .15s; }
.footer-col a:hover { color: var(--violet-soft); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-mute);
}
.footer-bottom a { color: var(--text-dim); }

/* ====== UTILS ====== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.fade-in.in { opacity: 1; transform: none; }

@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 2rem 0 3rem; }
}

/* ============== COMPARE TABLE (vs konkurenty) ============== */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(14px);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 720px;
}
.compare-table thead th {
  text-align: left;
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.compare-table thead th.col-highlight {
  color: var(--violet-soft);
  background: linear-gradient(135deg, rgba(139,92,246,0.16), rgba(99,102,241,0.08));
}
.compare-table tbody td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-dim);
  vertical-align: top;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child {
  color: var(--text-bright);
  font-weight: 600;
  white-space: normal;
}
.compare-table tbody td.yes {
  color: #C8F5A2;
  font-weight: 600;
  background: rgba(139,92,246,0.05);
}
.compare-table tbody td.no { color: #F87171; }
.compare-table tbody td.partial { color: #FBBF24; }
.compare-table tbody td.yes::before { content: "✓ "; color: var(--violet-soft); font-weight: 800; }
.compare-table tbody td.no::before { content: "✕ "; }
.compare-table tbody td.partial::before { content: "≈ "; }

/* ============== REVIEW CARDS ============== */
.review-card blockquote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-bright);
  border-left: 3px solid var(--violet-soft);
  padding-left: 1rem;
  margin: 0.75rem 0 0.5rem;
  font-style: normal;
  quotes: none;
}
.review-card .review-author {
  margin-top: 0.85rem;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}
.review-card .review-author strong { color: var(--text-bright); }

/* ============== PRICING ============== */
.pricing-section { padding: 80px 0; }

.price-answer {
  max-width: 880px;
  margin: 0 auto 2.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(116,212,20,0.06);
  border: 1px solid rgba(116,212,20,0.18);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.price-answer p { margin: 0; }
.price-answer strong { color: var(--text-bright); font-weight: 700; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0F1411;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.price-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.5);
}
.price-card-featured {
  border-color: rgba(139,92,246,0.45);
  background: linear-gradient(180deg, rgba(139,92,246,0.06) 0%, #0F1411 80%);
}
.price-card-featured:hover { border-color: rgba(139,92,246,0.7); }
.price-card-teacher { border-color: rgba(116,212,20,0.25); }
.price-card-teacher:hover { border-color: rgba(116,212,20,0.5); }

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--violet-soft);
  color: #0B0F0C;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin-bottom: 0.5rem;
}
.price-card-teacher .price-tag { color: var(--lime); }
.price-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.price-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 1.25rem;
}

.price-main {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.price-hero {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
}
.price-period {
  font-size: 14px;
  color: var(--text-dim);
}
.price-from {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}
.price-from strong { color: var(--lime); font-weight: 600; }

.price-terms {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.5rem;
}
.price-terms li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text);
}
.price-terms li.term-best {
  background: rgba(116,212,20,0.08);
  border: 1px solid rgba(116,212,20,0.25);
}
.price-terms .term-label {
  font-weight: 500;
  color: var(--text);
}
.price-terms .term-price {
  color: var(--text-bright);
  text-align: right;
}
.price-terms .term-price strong { font-weight: 700; }
.price-terms .term-note {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--text-dim);
  opacity: 0.85;
}
.badge-save {
  display: inline-block;
  background: var(--lime);
  color: #0B0F0C;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  letter-spacing: 0.03em;
}

.price-limits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.price-limits li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.5rem;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.price-limits li:last-child { border-bottom: 0; }
.price-limits li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}
.price-limits strong { color: var(--text-bright); }

.price-cta {
  margin-top: auto;
  text-align: center;
  justify-content: center;
}

/* What's included */
.price-includes {
  background: #0F1411;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.includes-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 0.5rem;
}
.includes-lead {
  font-size: 14.5px;
  color: var(--text-dim);
  margin: 0 0 1.5rem;
  max-width: 720px;
}
.includes-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.includes-grid li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.25rem 0.75rem;
  padding: 0.85rem;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}
.includes-grid li strong {
  grid-column: 2;
  color: var(--text-bright);
  font-weight: 600;
  font-size: 14px;
}
.includes-grid li span:not(.inc-icon) {
  grid-column: 2;
}
.inc-icon {
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(116,212,20,0.12);
  color: var(--lime);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.price-note {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin: 0;
  padding: 0 1rem;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .pricing-section { padding: 56px 0; }
  .price-card { padding: 1.5rem; }
  .price-amount { font-size: 28px; }
}
