:root {
  --bg: #0d0d0f;
  --bg2: #1a1a1d;
  --bg3: #36363a;
  --text: #f6f6f7;
  --text-muted: #c2c6cf;
  --cyan: #22d3ee;
  --emerald: #10b981;
  --amber: #f59e0b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(26, 26, 29, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.75rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-block;
  background: linear-gradient(
    105deg,
    #ffffff 0%,
    #e0f7ff 22%,
    #22d3ee 42%,
    #a78bfa 58%,
    #22d3ee 72%,
    #ffffff 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(34,211,238,0.25)) drop-shadow(0 0 20px rgba(167,139,250,0.12));
  animation: logo-shine 6s ease-in-out infinite;
}
@keyframes logo-shine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
@media (prefers-reduced-motion: reduce) {
  .logo { animation: none; background-position: 50% center; }
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: white; }
.lang-switch { display: flex; gap: 2px; padding: 2px; background: rgba(0,0,0,0.3); border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); }
.lang-btn { padding: 0.4rem 0.75rem; border: none; background: none; color: var(--text-muted); font-size: 0.75rem; cursor: pointer; border-radius: 6px; transition: all 0.2s; }
.lang-btn:hover { color: white; }
.lang-btn.active { background: rgba(34,211,238,0.2); color: var(--cyan); }
.btn-nav { padding: 0.5rem 1rem; background: rgba(34,211,238,0.2); color: var(--cyan); border-radius: 8px; font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.btn-nav:hover { background: rgba(34,211,238,0.3); }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34,211,238,0.15), transparent 50%),
              radial-gradient(ellipse 60% 40% at 100% 50%, rgba(34,211,238,0.08), transparent 50%),
              radial-gradient(ellipse 50% 30% at 0% 80%, rgba(16,185,129,0.06), transparent 50%),
              radial-gradient(ellipse 40% 30% at 70% 20%, rgba(139,92,246,0.05), transparent 45%),
              radial-gradient(ellipse 35% 25% at 20% 70%, rgba(34,211,238,0.04), transparent 40%);
}
/* Кинематографические переливы hero */
.hero-cinematic::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 35%, rgba(0,0,0,0.35) 100%),
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(34,211,238,0.06), transparent 50%),
    radial-gradient(ellipse 55% 35% at 80% 70%, rgba(139,92,246,0.04), transparent 45%),
    radial-gradient(ellipse 45% 30% at 50% 90%, rgba(16,185,129,0.03), transparent 40%);
}
.hero-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    transparent 0%,
    transparent 40%,
    rgba(34,211,238,0.04) 50%,
    rgba(139,92,246,0.03) 58%,
    transparent 70%,
    transparent 100%
  );
  background-size: 250% 150%;
  animation: hero-shimmer 14s ease-in-out infinite;
  opacity: 0.95;
  z-index: 1;
}
@keyframes hero-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-inner { position: relative; z-index: 3; }
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.gradient-mesh {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34,211,238,0.15), transparent),
              radial-gradient(ellipse 60% 40% at 100% 50%, rgba(34,211,238,0.08), transparent),
              radial-gradient(ellipse 50% 30% at 0% 80%, rgba(16,185,129,0.06), transparent);
}
.hero-tagline { font-size: 0.8rem; color: var(--cyan); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 500; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; max-width: 800px; margin: 0 auto 1rem; }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 2rem; line-height: 1.6; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1rem; }
.btn { padding: 1rem 2rem; border-radius: 12px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.25s; display: inline-block; }
.btn-primary { background: var(--cyan); color: #0d0d0f; border: 1px solid transparent; }
.btn-primary:hover { background: rgba(34,211,238,0.9); }
.btn-telegram {
  background: rgba(26,26,29,0.8);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.btn-telegram:hover { background: rgba(34,211,238,0.12); border-color: rgba(34,211,238,0.35); color: var(--cyan); }
.btn-glass { background: rgba(26,26,29,0.8); color: var(--text); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(34,211,238,0.12); border-color: rgba(34,211,238,0.35); color: var(--cyan); }
.hero-trust-banner {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.75rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, rgba(34,211,238,0.08) 0%, rgba(16,185,129,0.05) 100%);
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(34,211,238,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}
.trust-part {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.trust-part.trust-left { color: var(--cyan); }
.trust-part.trust-right { color: var(--emerald); }
.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.6;
}
.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
}
.metric-card-wide { width: 100%; margin-top: 0; }
.hero-media-adsense-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  background: rgba(34,211,238,0.2);
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(34,211,238,0.4);
  border-radius: 10px;
  transition: background 0.2s;
}
.hero-media-adsense-btn:hover {
  background: rgba(34,211,238,0.3);
}
.metric-val-text { font-size: 1.1rem; font-family: inherit; }
.metric-card {
  flex: 1;
  min-width: 160px;
  padding: 1.5rem 2rem;
  background: rgba(26,26,29,0.6);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.metric-card:hover {
  border-color: rgba(34,211,238,0.5);
  box-shadow: 0 0 32px rgba(34,211,238,0.12);
  transform: translateY(-2px);
}
.metric-val {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  text-shadow: 0 0 20px rgba(34,211,238,0.3);
}
.metric-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.metric-sublabel {
  display: block;
  font-size: 0.75rem;
  color: var(--cyan);
  opacity: 0.8;
  margin-top: 0.25rem;
}
.metric { text-align: center; }

.hero-reveal { opacity: 0; transform: translateY(24px); }
.hero-reveal.revealed { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; }

.section { padding: 5rem 0; }
.section-cinematic {
  position: relative;
  overflow: hidden;
}
.section-cinematic .container { position: relative; z-index: 2; }
/* Градиентные орбы и виньетка по секциям */
.section-cinematic-ecosystem::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 70% at 50% 50%, transparent 40%, rgba(0,0,0,0.3) 100%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(34,211,238,0.06), transparent 50%),
    radial-gradient(ellipse 45% 35% at 85% 30%, rgba(139,92,246,0.04), transparent 45%);
}
.section-cinematic-what::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 110% 80% at 50% 50%, transparent 38%, rgba(0,0,0,0.28) 100%),
    radial-gradient(ellipse 55% 45% at 75% 20%, rgba(34,211,238,0.07), transparent 50%),
    radial-gradient(ellipse 50% 40% at 15% 75%, rgba(16,185,129,0.05), transparent 45%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(139,92,246,0.03), transparent 40%);
}
.section-cinematic-directions::after,
.section-cinematic-courses::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 75% at 50% 50%, transparent 42%, rgba(0,0,0,0.25) 100%),
    radial-gradient(ellipse 60% 50% at 10% 40%, rgba(34,211,238,0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 70%, rgba(16,185,129,0.05), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 20%, rgba(139,92,246,0.04), transparent 45%);
}
.section-cinematic-results::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 70% at 50% 50%, transparent 40%, rgba(0,0,0,0.3) 100%),
    radial-gradient(ellipse 55% 45% at 80% 25%, rgba(34,211,238,0.07), transparent 50%),
    radial-gradient(ellipse 50% 40% at 25% 80%, rgba(16,185,129,0.05), transparent 45%);
}
/* Перелив на секциях */
.section-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 42%,
    rgba(34,211,238,0.03) 50%,
    rgba(139,92,246,0.02) 56%,
    transparent 68%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: section-shimmer 15s ease-in-out infinite;
  opacity: 0.9;
}
.section-shimmer-alt {
  background: linear-gradient(
    70deg,
    transparent 0%,
    transparent 45%,
    rgba(16,185,129,0.03) 52%,
    rgba(34,211,238,0.02) 58%,
    transparent 70%,
    transparent 100%
  );
  animation-direction: reverse;
}
.section-shimmer-delay { animation-delay: -5s; }
.section-shimmer-delay2 { animation-delay: -10s; }
@keyframes section-shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -100% 0; }
}
/* Тонкая плёнка шума */
.section-cinematic::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.008;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; text-align: center; margin-bottom: 1rem; }
.section-intro, .section-sub { text-align: center; color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.section-intro-strong { font-weight: 600; color: var(--text); }
.section-pillars-label { text-align: center; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--cyan); margin-bottom: 1.5rem; }
.accent-cyan { color: var(--cyan); }
.accent-emerald { color: var(--emerald); }
.accent-amber { color: var(--amber); }

.what-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.what-card {
  background: rgba(18,20,24,0.9);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s;
  opacity: 0;
  transform: translateY(24px);
  cursor: pointer;
}
.what-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.what-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35), 0 0 48px rgba(34,211,238,0.06);
  border-color: rgba(34,211,238,0.3);
}
.what-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg2);
}
.what-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  transform: none;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  transition: transform 0.35s ease;
}
.what-card:hover .what-card-img img { transform: none; }
.what-card-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
}
.what-card-img.placeholder::before {
  content: '';
  width: 48px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%239f9fa6' viewBox='0 0 24 24'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.5;
}
.what-card-body { padding: 1.25rem 1.5rem; }
.what-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; padding: 0; }
.what-card-desc { font-size: 0.95rem; color: #d4d8e0; line-height: 1.6; margin: 0; }
.what-card-extra {
  font-size: 0.85rem;
  color: var(--cyan);
  margin-top: 0.75rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-height 0.3s, margin 0.3s;
}
.what-card:hover .what-card-extra { opacity: 1; max-height: 3em; margin-top: 0.75rem; }
.what-intro-multiline { white-space: pre-line; }
.what-cta-line {
  text-align: center;
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--text-muted);
}
.what-cta-line a { color: var(--cyan); text-decoration: none; }
.what-cta-line a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .what-blocks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .what-blocks { grid-template-columns: 1fr; }
}

.pillar-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.pillar-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.pillar-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.pillar-modal-content {
  position: relative;
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.pillar-modal.is-open .pillar-modal-content {
  transform: scale(1);
}
.pillar-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.pillar-modal-close:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}
.pillar-modal-title {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}
.pillar-modal-bullets {
  list-style: none;
  margin-bottom: 1.5rem;
}
.pillar-modal-bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.pillar-modal-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.pillar-modal-btn {
  display: block;
  text-align: center;
}

.founder-block.founder-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.founder-block.founder-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.founder-block {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem 2.5rem;
  padding: 2rem 2.5rem;
  align-items: start;
  background: linear-gradient(135deg, rgba(26,26,29,0.95) 0%, rgba(34,211,238,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.founder-block:hover {
  border-color: rgba(34,211,238,0.25);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), 0 0 48px rgba(34,211,238,0.06);
}
.founder-block-photo {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: 140px;
  aspect-ratio: 9/16;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.founder-block-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-block-photo.placeholder {
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-block-photo.placeholder::before {
  content: '';
  width: 48px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2322d3ee' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.5;
}
.founder-nameplate {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 10px;
  width: 100%;
  max-width: 140px;
}
.founder-block-name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}
.founder-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(59,130,246,0.4);
}
.founder-block-content {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 249px;
}
.founder-block-bio {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
  min-height: 0;
}
.founder-bio-accent {
  display: block;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 0.5rem;
}
.founder-directions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}
.founder-block-directions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.founder-direction {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: rgba(34,211,238,0.15);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid rgba(34,211,238,0.25);
}
.btn-founder-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: rgba(0,136,204,0.15);
  color: #54a9eb;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0,136,204,0.4);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.btn-founder-telegram:hover {
  background: linear-gradient(135deg, rgba(0,136,204,0.4) 0%, rgba(34,211,238,0.3) 100%);
  border-color: rgba(0,136,204,0.7);
  color: white;
  box-shadow: 0 8px 24px rgba(0,136,204,0.25);
}
@media (max-width: 768px) {
  .founder-block { grid-template-columns: 1fr; padding: 2rem; }
  .founder-block-photo { width: 120px; justify-self: center; grid-column: 1; grid-row: 1; }
  .founder-nameplate { grid-column: 1; grid-row: 2; justify-content: center; }
  .founder-block-content { grid-column: 1; grid-row: 3; text-align: center; min-height: 0; }
  .founder-directions-row { flex-direction: column; align-items: center; }
  .founder-block-directions { justify-content: center; }
}

.curators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 700px) {
  .curators-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .curators-grid { grid-template-columns: 1fr; }
}
.curator-card {
  padding: 1.25rem;
  background: rgba(26,26,29,0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(8px);
  transition: transform 0.4s ease, border-color 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.curator-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.curator-card:hover {
  border-color: rgba(34,211,238,0.25);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.curator-card.curator-founder {
  border-color: rgba(34,211,238,0.3);
  grid-column: 1 / -1;
  flex-direction: row;
  text-align: left;
  gap: 1.5rem;
}
.curator-founder .curator-photo { width: 100px; height: 100px; margin-bottom: 0; }
.curator-founder .curator-info { text-align: left; flex: 1; }
.curator-founder .curator-socials { justify-content: flex-start; }
.curator-photo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg2);
  margin-bottom: 0.75rem;
}
.curator-photo img { width: 100%; height: 100%; object-fit: cover; }
.curator-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
}
.curator-photo.placeholder::before {
  content: '';
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%239f9fa6' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.5;
}
.curator-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}
.curator-nick {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.curator-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 0.75rem;
}
.curator-socials {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.curator-social {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg3);
  flex-shrink: 0;
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.curator-social.social-youtube { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff0000'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E"); }
.curator-social.social-tiktok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 6.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1-.1z'/%3E%3C/svg%3E"); background-color: rgba(0,0,0,0.5); }
.curator-social.social-telegram { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230088cc'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E"); }
.curator-social.social-instagram { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E4405F'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z'/%3E%3C/svg%3E"); }
.curator-social.social-app { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322d3ee'%3E%3Cpath d='M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 18H7V5h10v14z'/%3E%3C/svg%3E"); }

.directions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.card {
  padding: 1.5rem;
  background: rgba(26,26,29,0.75);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, border-color 0.3s, box-shadow 0.35s, background 0.3s;
}
.card:hover {
  border-color: rgba(34,211,238,0.35);
  box-shadow: 0 12px 48px rgba(34,211,238,0.08), 0 0 60px rgba(34,211,238,0.03);
  transform: translateY(-4px);
  background: rgba(26,26,29,0.85);
}
.card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.card p { font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--text-muted); }
.card .label { color: var(--text-muted); font-size: 0.8rem; }

.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card-role { font-size: 0.75rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.1em; }
.btn-small { display: inline-block; padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.85rem; font-weight: 500; text-decoration: none; margin-top: 1rem; transition: all 0.2s; }
.btn-cyan { background: rgba(34,211,238,0.2); color: var(--cyan); }
.btn-cyan:hover { background: rgba(34,211,238,0.3); }
.btn-outline { border: 1px solid var(--bg3); color: var(--text-muted); }
.btn-outline:hover { border-color: rgba(34,211,238,0.5); color: var(--cyan); }

.courses-platforms {
  text-align: center;
  font-size: 0.95rem;
  color: var(--cyan);
  margin: -0.5rem auto 2rem;
  opacity: 0.9;
}
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.link-arrow {
  color: var(--emerald);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: color 0.25s, gap 0.25s;
}
.link-arrow:hover { color: var(--cyan); gap: 0.75rem; }

.case-cards {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
}
.case-card {
  flex: 0 0 min(420px, 88vw);
  scroll-snap-align: start;
  padding: 1.5rem;
  background: rgba(18,20,24,0.9);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: transform 0.4s ease, border-color 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(24px);
}
.case-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.case-card:hover {
  border-color: rgba(34,211,238,0.3);
  box-shadow: 0 20px 56px rgba(0,0,0,0.3), 0 0 40px rgba(34,211,238,0.05);
  transform: translateY(0);
}
.case-card-screenshot {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.case-card-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  transform: none;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  border-radius: 12px;
  display: block;
}
.case-card-screenshot.placeholder {
  position: relative;
}
.case-card-screenshot.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(16,185,129,0.06));
}
.case-card:hover .case-card-screenshot {
  box-shadow: 0 4px 24px rgba(34,211,238,0.08);
  border-color: rgba(34,211,238,0.15);
}
.case-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.case-context, .case-actions, .case-outcome {
  font-size: 0.95rem;
  color: #d4d8e0;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.case-context span:first-child, .case-actions span:first-child, .case-outcome span:first-child {
  color: var(--text);
  font-weight: 500;
}

.cta { padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(34,211,238,0.12), transparent 60%);
  pointer-events: none;
}
/* Кинематографические переливы */
.cta-cinematic::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, transparent 40%, rgba(0,0,0,0.4) 100%),
    radial-gradient(ellipse 60% 40% at 30% 40%, rgba(34,211,238,0.08), transparent 50%),
    radial-gradient(ellipse 50% 30% at 70% 60%, rgba(139,92,246,0.05), transparent 45%),
    radial-gradient(ellipse 40% 25% at 50% 80%, rgba(16,185,129,0.04), transparent 40%);
}
.cta-cinematic .cta-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(34,211,238,0.03) 45%,
    rgba(139,92,246,0.02) 55%,
    transparent 65%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: cta-shimmer 12s ease-in-out infinite;
  opacity: 0.9;
}
.cta-cinematic .container { position: relative; z-index: 1; }
@keyframes cta-shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -100% 0; }
}
.cta-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 2rem; position: relative; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; position: relative; }
.btn-join-highlight {
  background: linear-gradient(135deg, var(--cyan) 0%, #0891b2 100%);
  color: #0d0d0f;
  border: 1px solid rgba(34,211,238,0.5);
  box-shadow: 0 4px 24px rgba(34,211,238,0.3);
}
.btn-join-highlight:hover {
  background: linear-gradient(135deg, rgba(34,211,238,0.95) 0%, #06b6d4 100%);
  box-shadow: 0 8px 32px rgba(34,211,238,0.4);
}

/* Бегущая строка партнёров */
.partners-marquee {
  padding: 2.5rem 0;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}
.partners-marquee-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.partners-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.25rem;
  width: 100%;
  margin: 0;
  padding: 0;
  animation: none;
}
.partners-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 140px;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: radial-gradient(circle at 50% 45%, rgba(248,250,252,0.88) 0%, rgba(148,163,184,0.58) 52%, rgba(15,23,42,0.9) 100%);
  opacity: 0.9;
  transition: opacity 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.partners-logo:hover {
  opacity: 1;
  border-color: rgba(34,211,238,0.35);
  box-shadow: 0 0 20px rgba(34,211,238,0.12);
}
.partners-logo img {
  max-height: 44px;
  max-width: 156px;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
  filter: none;
  transition: transform 0.3s;
}
.partners-logo:hover img {
  transform: scale(1.02);
}

.footer { padding: 3rem 0; border-top: 1px solid var(--bg3); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: center; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copyright { font-size: 0.9rem; color: var(--text-muted); }
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } .footer-links { gap: 0 2rem; } .footer-copyright { margin: 0; } }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-metrics { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Юридические страницы */
.nav-legal .nav-links { display: none; }
.legal-main { padding: 6rem 0 4rem; min-height: 60vh; }
.legal-content { max-width: 720px; }
.legal-content h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.legal-updated { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.legal-content section { margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--cyan); }
.legal-content p, .legal-content li { color: var(--text-muted); line-height: 1.7; margin-bottom: 0.75rem; }
.legal-content ul { margin-left: 1.5rem; margin-bottom: 1rem; }
.legal-content a { color: var(--cyan); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* Cookie-баннер */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  background: rgba(26,26,29,0.98);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
}
.cookie-banner.cookie-banner-visible {
  transform: translateY(0);
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-banner-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.cookie-banner-text a { color: var(--cyan); text-decoration: none; }
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.cookie-btn-reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.15);
}
.cookie-btn-reject:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.cookie-btn-accept {
  background: var(--cyan);
  color: #0d0d0f;
  border: 1px solid transparent;
}
.cookie-btn-accept:hover { background: rgba(34,211,238,0.9); }

/* Readability overrides for cinematic overlays */
.section-cinematic-ecosystem::after,
.section-cinematic-what::after,
.section-cinematic-directions::after,
.section-cinematic-courses::after,
.section-cinematic-results::after,
.cta-cinematic::after,
.hero-cinematic::after {
  opacity: 0.55;
}
.section-shimmer,
.cta-cinematic .cta-shimmer,
.hero-shimmer {
  opacity: 0.45;
}

/* Image lightbox */
.what-card-img img,
.case-card-screenshot img,
.founder-block-photo img {
  cursor: zoom-in;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(5,8,12,0.9);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.image-lightbox img {
  max-width: min(92vw, 1800px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  cursor: zoom-out;
}
.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
