/* webinar.moscow — «лови эфир» concept page */
:root {
  --bg: #0c0a12;
  --pink: #ff4fd8;
  --cyan: #41f0ff;
  --lime: #c8ff4a;
  --warm: #ffb86b;
  --ink: #f7f2ea;
  --muted: #a59bb8;
  --line: rgba(255, 255, 255, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Syne, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

.mono { font-family: "IBM Plex Mono", monospace; }

.wrap {
  width: min(920px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1080px, calc(100% - 2.5rem));
}

/* overlays — subtle */
.vhs {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.05;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.15) 3px
  );
  mix-blend-mode: soft-light;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 79;
  background: linear-gradient(rgba(18, 16, 24, 0) 50%, rgba(0, 0, 0, 0.12) 50%);
  background-size: 100% 4px;
  opacity: 0.28;
}

/* top bar */
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
}

.ch { font-size: 0.8rem; letter-spacing: 0.06em; }
.ch span { color: var(--lime); }

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}
.brand em {
  font-style: normal;
  color: var(--cyan);
}

.clock { color: var(--cyan); font-size: 0.8rem; }

/* hero */
.hero {
  text-align: center;
  padding: clamp(3.25rem, 10vh, 6.5rem) 1.25rem clamp(2.75rem, 8vh, 5rem);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: min(520px, 80vw);
  height: min(520px, 80vw);
  background: radial-gradient(circle, rgba(200, 255, 74, 0.12), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.tag {
  font-size: 0.72rem;
  color: var(--warm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}

.mega {
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 0.92;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.glitch::before {
  color: var(--cyan);
  z-index: -1;
  animation: glitchA 2.6s infinite linear alternate-reverse;
  clip-path: inset(0 0 55% 0);
}

.glitch::after {
  color: var(--pink);
  z-index: -2;
  animation: glitchB 1.9s infinite linear alternate-reverse;
  clip-path: inset(45% 0 0 0);
}

@keyframes glitchA {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 1px); }
  40% { transform: translate(3px, -1px); }
  60% { transform: translate(-2px, 0); }
  100% { transform: translate(0); }
}

@keyframes glitchB {
  0% { transform: translate(0); }
  25% { transform: translate(3px, -1px); }
  50% { transform: translate(-3px, 2px); }
  100% { transform: translate(1px, 0); }
}

.sub {
  max-width: 28rem;
  margin: 0 auto 2.25rem;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 0.4rem;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: var(--lime);
  color: #101008;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 255, 74, 0.25);
}

.btn.primary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.hero-mail {
  margin-top: 1.1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.hero-mail a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding: 0.35rem 0.2rem;
  transition: color 0.15s, border-color 0.15s;
}

.hero-mail a:hover {
  color: var(--cyan);
  border-bottom-color: rgba(65, 240, 255, 0.45);
}

.hero-mail a:focus-visible,
.brand:focus-visible,
.foot a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.25rem;
}

.blink {
  color: #ff4466;
  animation: blink 1.1s step-end infinite;
  margin-right: 0.35rem;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* meaning */
.meaning {
  padding: clamp(3rem, 8vh, 5rem) 0;
  border-top: 1px solid var(--line);
}

.manifesto {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  max-width: 36rem;
  margin-bottom: 2.75rem;
  color: var(--ink);
}

.pillars {
  list-style: none;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
}

.pillar {
  position: relative;
  padding: 1.6rem 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  opacity: 0.85;
}

.pillar:nth-child(1) {
  border-color: rgba(65, 240, 255, 0.28);
}
.pillar:nth-child(1)::before { background: var(--cyan); }
.pillar:nth-child(1) .pillar-name { color: var(--cyan); }
.pillar:nth-child(1) .pillar-num { color: rgba(65, 240, 255, 0.55); }

.pillar:nth-child(2) {
  border-color: rgba(255, 79, 216, 0.28);
}
.pillar:nth-child(2)::before { background: var(--pink); }
.pillar:nth-child(2) .pillar-name { color: var(--pink); }
.pillar:nth-child(2) .pillar-num { color: rgba(255, 79, 216, 0.55); }

.pillar:nth-child(3) {
  border-color: rgba(200, 255, 74, 0.28);
}
.pillar:nth-child(3)::before { background: var(--lime); }
.pillar:nth-child(3) .pillar-name { color: var(--lime); }
.pillar:nth-child(3) .pillar-num { color: rgba(200, 255, 74, 0.55); }

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.pillar:nth-child(1):hover {
  border-color: rgba(65, 240, 255, 0.55);
  box-shadow: 0 12px 32px rgba(65, 240, 255, 0.08);
}
.pillar:nth-child(2):hover {
  border-color: rgba(255, 79, 216, 0.55);
  box-shadow: 0 12px 32px rgba(255, 79, 216, 0.08);
}
.pillar:nth-child(3):hover {
  border-color: rgba(200, 255, 74, 0.55);
  box-shadow: 0 12px 32px rgba(200, 255, 74, 0.08);
}

/* subtle glitch nudge on title hover */
.pillar:hover .pillar-name {
  animation: pillarGlitch 0.35s steps(2, end) 1;
}

@keyframes pillarGlitch {
  0% { transform: translate(0); }
  25% { transform: translate(-2px, 1px); text-shadow: 2px 0 var(--cyan); }
  50% { transform: translate(2px, -1px); text-shadow: -2px 0 var(--pink); }
  100% { transform: translate(0); text-shadow: none; }
}

.pillar-num {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}

.pillar-name {
  display: block;
  font-size: clamp(1.45rem, 2.8vw, 1.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}

.pillar-desc {
  display: block;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 16rem;
}

/* services as labels */
.do {
  padding: clamp(3rem, 8vh, 5rem) 0;
  border-top: 1px solid var(--line);
}

.labels {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
}

.labels li {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.labels li:nth-child(1) { border-color: rgba(65, 240, 255, 0.45); color: var(--cyan); }
.labels li:nth-child(2) { border-color: rgba(255, 79, 216, 0.45); color: var(--pink); }
.labels li:nth-child(3) { border-color: rgba(200, 255, 74, 0.45); color: var(--lime); }
.labels li:nth-child(4) { border-color: rgba(255, 184, 107, 0.5); color: var(--warm); }
.labels li:nth-child(5) { border-color: rgba(255, 255, 255, 0.22); }

/* tariffs */
.tariffs {
  padding: clamp(3rem, 8vh, 5rem) 0;
  border-top: 1px solid var(--line);
}

.tariffs-lead {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  margin: -0.35rem 0 2rem;
  max-width: 28rem;
}

.tariff-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .tariff-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.tariff {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tariff:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.tariff.featured {
  border-color: rgba(255, 79, 216, 0.4);
  background: linear-gradient(165deg, rgba(255, 79, 216, 0.07), rgba(255, 255, 255, 0.02) 55%);
}

.tariff.featured:hover {
  border-color: rgba(255, 79, 216, 0.6);
}

.tariff-tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.55rem;
}

.tariff.featured .tariff-tag { color: var(--pink); }

.tariff:nth-child(3) .tariff-tag { color: var(--lime); }

.tariff-name {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  line-height: 1.1;
}

.tariff-promise {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.tariff-list {
  list-style: none;
  margin-bottom: 1.35rem;
  flex: 1;
}

.tariff-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tariff-list li:last-child { border-bottom: none; }

.tariff-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.7;
}

.tariff.featured .tariff-list li::before { background: var(--pink); }
.tariff:nth-child(3) .tariff-list li::before { background: var(--lime); }

.tariff-price {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.9rem;
}

.tariff-cta {
  align-self: stretch;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.7rem 1rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.tariff-cta:hover {
  background: var(--lime);
  color: #101008;
  border-color: var(--lime);
  transform: translateY(-1px);
}

.tariff-cta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.tariff.featured .tariff-cta {
  border-color: rgba(255, 79, 216, 0.45);
  color: var(--pink);
}

.tariff.featured .tariff-cta:hover {
  background: var(--pink);
  color: #120814;
  border-color: var(--pink);
}

/* contact */
.contact {
  padding: clamp(3.5rem, 10vh, 6rem) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact .wrap { max-width: 560px; }

.contact h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.contact-lead {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

.mail {
  color: var(--lime);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
  padding-bottom: 0.1rem;
  transition: color 0.15s, border-color 0.15s;
}

.mail:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.mail:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}

.foot a {
  color: var(--cyan);
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
}

.foot a:hover { text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }

@media (max-width: 480px) {
  .bar { padding: 0.75rem 1rem; }
  .hero {
    padding: 2.75rem 1rem 2.25rem;
  }
  .tag { margin-bottom: 1rem; }
  .mega { margin-bottom: 1.1rem; }
  .sub { margin-bottom: 1.6rem; font-size: 0.98rem; }
  .btn.primary {
    min-height: 44px;
    padding: 0.9rem 1.45rem;
  }
  .labels li { font-size: 0.95rem; min-height: 44px; display: inline-flex; align-items: center; }
  .pillar { padding: 1.35rem 1.15rem; }
  .pillar-desc { max-width: none; }
  .tariff { padding: 1.35rem 1.15rem; }
  .tariff-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
