/* FINECS journal — landing */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&family=Montserrat:wght@400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

.home-page {
  font-family: 'Montserrat', system-ui, sans-serif;
  --landing-pad: clamp(24px, 4vw, 48px);
  --landing-max: 1400px;
  /* FINECS — бирюза и тёмно-синий с обложки журнала */
  --finecs-teal-deep: #1a6b66;
  --finecs-teal: #2a9d8f;
  --finecs-teal-mid: #3eb8aa;
  --finecs-teal-light: #5ecfc4;
  --finecs-teal-pale: #8ee4dc;
  --finecs-navy: #0a4a5c;
  --finecs-navy-deep: #062f3d;
  --landing-blue-left: var(--finecs-teal);
  --landing-blue-mid: var(--finecs-teal-deep);
  --landing-dark-right: var(--finecs-navy);
  --landing-black-right: var(--finecs-navy-deep);
  --hero-green-1: #0a4a42;
  --hero-green-2: #146b55;
  --hero-green-3: #1a7a5c;
  --hero-green-4: #165544;
  --hero-green-5: #0f3d35;
  background: var(--hero-green-2);
}

/* Одна левая линия — герой */
.home-page .landing-hero-inner {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: auto;
  padding-left: var(--landing-pad);
  padding-right: 0;
  box-sizing: border-box;
}

/* Шапка на всю ширину — кнопки у правого края */
.home-page .landing-nav-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--landing-pad);
  padding-right: var(--landing-pad);
  box-sizing: border-box;
}

.home-page .announce-bar {
  background: linear-gradient(90deg, var(--landing-blue-mid) 0%, var(--landing-dark-right) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ---- Меню: единая зелёная палитра с героем ---- */
.landing-header {
  position: relative;
  z-index: 50;
  background: linear-gradient(
    90deg,
    var(--finecs-navy-deep) 0%,
    var(--hero-green-1) 26%,
    var(--hero-green-2) 50%,
    var(--hero-green-3) 76%,
    var(--hero-green-4) 100%
  );
  border-bottom: none;
  box-shadow: none;
}

.home-page .landing-header .lang-switch__btn {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
}

.home-page .landing-header .lang-switch__btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.home-page .landing-header .lang-switch__btn.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.home-page .landing-header .landing-link-login {
  color: rgba(255, 255, 255, 0.92);
}

.landing-nav-inner {
  min-height: 80px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: nowrap;
  width: 100%;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.landing-brand:hover { text-decoration: none; color: #fff; }

.landing-brand-mark {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, var(--finecs-teal-light) 0%, var(--finecs-teal) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.45);
  border: 2px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.landing-brand-text { display: flex; flex-direction: column; gap: 0; line-height: 1.15; }
.landing-brand-sm { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.landing-brand-lg { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }

.landing-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex: 0 1 auto;
  margin-left: 40px;
}

/* Только пункты меню шапки — Inter (чуть крупнее: на экране кажется меньше Montserrat) */
.landing-menu > a,
.landing-dropdown > button {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

.landing-menu > a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  padding: 13px 20px;
  white-space: nowrap;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.landing-menu > a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
}

.landing-dropdown {
  position: relative;
}

.landing-dropdown > button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.95);
  padding: 13px 20px;
  white-space: nowrap;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}

.landing-dropdown > button:hover { background: rgba(255,255,255,0.08); color: #fff; }

.landing-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}

.landing-dropdown:focus-within .landing-dropdown-panel,
.landing-dropdown:hover .landing-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.landing-dropdown-panel a {
  display: block;
  padding: 12px 16px;
  color: #1c2b3a;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

.landing-dropdown-panel a:hover { background: #f0f4f8; text-decoration: none; }
.landing-dropdown-panel hr { border: none; border-top: 1px solid #e8edf3; margin: 6px 0; }
.landing-dropdown-panel .muted { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #8896a8; padding: 6px 14px 4px; }

.landing-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
}

.landing-actions .lang-switch--inline {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  flex-shrink: 0;
}

.landing-link-login {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 12px;
  white-space: nowrap;
}

.landing-link-login:hover { color: #fff; text-decoration: underline; }

.landing-cta-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--finecs-teal-light) 0%, var(--finecs-teal) 100%);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(42, 157, 143, 0.45);
  border: none;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}

.landing-cta-orange:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(42, 157, 143, 0.55);
  text-decoration: none;
  color: #fff !important;
}

/* Пульс CTA — бирюзовый акцент FINECS */
@keyframes btn-pulse-ad {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 18px rgba(42, 157, 143, 0.45);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 8px 32px rgba(62, 184, 170, 0.6);
  }
}

@keyframes btn-pulse-ad-soft {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
  }
}

.btn-pulse-ad {
  animation: btn-pulse-ad 2.4s ease-in-out infinite;
  transform-origin: center center;
}

.btn-pulse-ad--soft {
  animation-name: btn-pulse-ad-soft;
  animation-duration: 2.8s;
}

.landing-cta-orange.btn-pulse-ad:hover {
  animation-play-state: paused;
  transform: translateY(-1px) scale(1.06);
}

.landing-hero-ghost.btn-pulse-ad:hover,
.btn-pulse-ad--soft:hover {
  animation-play-state: paused;
  transform: scale(1.05);
}

.home-page .btn-primary.btn-pulse-ad:hover {
  animation-play-state: paused;
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .btn-pulse-ad,
  .btn-pulse-ad--soft {
    animation: none !important;
  }
}

/* ---- Hero: бирюзовая геометрия FINECS ---- */
.landing-hero {
  position: relative;
  background: linear-gradient(
    125deg,
    var(--finecs-navy-deep) 0%,
    var(--hero-green-1) 22%,
    var(--hero-green-2) 42%,
    var(--hero-green-3) 58%,
    var(--hero-green-4) 72%,
    var(--hero-green-4) 88%,
    var(--hero-green-5) 100%
  );
  color: #fff;
  overflow: hidden;
  min-height: min(560px, 88vh);
  display: flex;
  align-items: center;
  margin-bottom: 0;
  margin-top: -1px;
}

/* Тонкий стык героя и белой зоны — без резкой полосы */
.home-page .landing-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 6;
  pointer-events: none;
}

/* Плавное затемнение к правому краю + тёплый отблеск под иллюстрацией */
.landing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 88% 55%, rgba(255, 214, 96, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 75% 45%, rgba(76, 175, 80, 0.18) 0%, transparent 50%),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 40%,
      transparent 70%,
      rgba(0, 0, 0, 0.08) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.landing-hero-grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cpolygon fill='%23ffffff' fill-opacity='0.04' points='0,0 60,30 120,0 120,52 60,82 0,52'/%3E%3Cpolygon fill='%23ffffff' fill-opacity='0.06' points='0,52 60,82 120,52 120,104 60,74 0,104'/%3E%3C/svg%3E");
  background-size: 120px 104px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.15) 100%);
  animation: hero-grid-drift 40s linear infinite;
}

@keyframes hero-grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 120px 104px; }
}

/* Свечение — зелёно-золотое, смещено к иллюстрации */
.landing-hero-glow {
  position: absolute;
  width: 55%;
  height: 100%;
  right: -5%;
  left: auto;
  top: 0;
  background:
    radial-gradient(ellipse at 65% 50%, rgba(255, 214, 96, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 55%, rgba(129, 199, 132, 0.2) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.landing-hero-inner {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding-top: 48px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 620px);
  gap: 8px 24px;
  align-items: center;
}

.landing-hero-copy h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-shadow: 0 2px 32px rgba(6, 47, 61, 0.35);
}

.landing-hero-copy .sub {
  font-size: clamp(1.12rem, 2.2vw, 1.38rem);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 34px;
}

.landing-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.landing-hero-cta-row .landing-cta-orange {
  padding: 17px 38px;
  font-size: 18px;
}

.landing-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.landing-hero-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.55);
  text-decoration: none;
  color: #fff;
}

/* Технологическая голограмма — правая часть героя */
.landing-hero-art {
  position: relative;
  height: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  width: 100%;
  max-width: 620px;
  margin-right: 0;
  margin-left: auto;
  padding-right: 0;
  transform: translateX(-24px);
  overflow: visible;
}

.landing-hero-art::before {
  content: '';
  position: absolute;
  inset: -5% -15% -5% -40%;
  background: radial-gradient(ellipse at 72% 52%, rgba(255, 214, 96, 0.08) 0%, rgba(46, 125, 50, 0.15) 40%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.tech-holo {
  position: relative;
  width: auto;
  max-width: 660px;
  line-height: 0;
  margin-left: auto;
  margin-right: 0;
  transform: scale(1.04);
  transform-origin: 100% 50%;
}

/* Ваш рисунок (основа, без кручения) */
.tech-holo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 660px;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.35));
}

/* Бегущие лучи по контуру */
.tech-holo-rays {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
}

.tech-holo-rays--gears {
  left: 5%;
  top: 18%;
  width: 44%;
  height: 52%;
}

.tech-holo-rays--buildings {
  right: 28%;
  top: 11%;
  width: 28%;
  height: 58%;
}

/* Башни — у правого края */
.tech-holo-rays--towers {
  right: 0;
  top: 10%;
  width: 40%;
  height: 62%;
}

.tech-holo-rays .ray {
  position: absolute;
  opacity: 0;
  border-radius: 2px;
}

.tech-holo-rays .ray-h {
  height: 2px;
  width: 38%;
  background: linear-gradient(to left, transparent, rgba(255, 160, 70, 0.75), rgba(120, 230, 255, 0.95), transparent);
  box-shadow: 0 0 10px rgba(94, 200, 255, 0.7);
  animation: ray-to-left 2.8s ease-in-out infinite;
}

.tech-holo-rays .ray-v {
  width: 2px;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(120, 230, 255, 0.9), transparent);
  box-shadow: 0 0 8px rgba(94, 200, 255, 0.6);
  animation: ray-v-to-left 3s ease-in-out infinite;
}

.tech-holo-rays .ray-d {
  width: 30%;
  height: 2px;
  background: linear-gradient(to left, transparent, rgba(255, 170, 80, 0.9), transparent);
  animation: ray-to-left 3.2s ease-in-out infinite;
}

/* Механизм */
.tech-holo-rays--gears .ray-t { top: 0; right: -40%; left: auto; animation-delay: 0s; }
.tech-holo-rays--gears .ray-b { bottom: 0; right: -40%; left: auto; animation-delay: 1.4s; }
.tech-holo-rays--gears .ray-l { left: 0; top: 15%; height: 28%; animation-delay: 0.7s; }
.tech-holo-rays--gears .ray-r { right: 0; top: 15%; height: 28%; animation-delay: 2.1s; }

/* Дом */
.tech-holo-rays--buildings .ray-t { top: 0; right: -35%; left: auto; animation-delay: 0.3s; }
.tech-holo-rays--buildings .ray-b { bottom: 0; right: -35%; left: auto; animation-delay: 1.6s; }
.tech-holo-rays--buildings .ray-l { left: 0; top: 20%; height: 40%; animation-delay: 0.9s; }
.tech-holo-rays--buildings .ray-tl {
  top: 12%;
  right: -15%;
  left: auto;
  transform: rotate(24deg);
  animation-delay: 0.5s;
}

/* Башни — по каждой высотке */
.tech-holo-rays--towers .ray-t { top: 2%; right: -30%; left: auto; width: 42%; animation-delay: 0.2s; }
.tech-holo-rays--towers .ray-m { top: 42%; right: -30%; left: auto; width: 45%; animation-delay: 1.1s; }
.tech-holo-rays--towers .ray-b { bottom: 4%; right: -30%; left: auto; width: 40%; animation-delay: 2s; }
.tech-holo-rays--towers .tower-a { right: 78%; top: 6%; height: 52%; animation-delay: 0.4s; }
.tech-holo-rays--towers .tower-b { right: 48%; top: 0; height: 60%; animation-delay: 1.2s; }
.tech-holo-rays--towers .tower-c { right: 12%; top: 8%; height: 50%; animation-delay: 2.2s; }
.tech-holo-rays--towers .tower-d1 {
  top: 18%;
  right: -10%;
  left: auto;
  transform: rotate(22deg);
  animation-delay: 0.8s;
}
.tech-holo-rays--towers .tower-d2 {
  bottom: 20%;
  right: 20%;
  left: auto;
  transform: rotate(18deg);
  animation-delay: 1.7s;
}

/* Все лучи уходят влево */
@keyframes ray-to-left {
  0% { right: -45%; left: auto; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { right: 108%; left: auto; opacity: 0; }
}

@keyframes ray-v-to-left {
  0% { transform: translateX(90%); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(-95%); opacity: 0; }
}

/* Движение механизма — левая часть */
.tech-holo-gears {
  position: absolute;
  left: 0;
  top: 16%;
  width: 48%;
  height: 54%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.tech-holo-gears img {
  position: absolute;
  width: 192%;
  max-width: none;
  height: auto;
  left: 0;
  top: -14%;
  animation: holo-gears-move 5.5s ease-in-out infinite;
  animation-delay: 1.2s;
  transform-origin: 28% 55%;
}

/* Движение зданий на рисунке — правая часть */
.tech-holo-buildings {
  position: absolute;
  right: 0;
  top: 14%;
  width: 54%;
  height: 58%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 88%, transparent 100%);
}

.tech-holo-buildings img {
  position: absolute;
  width: 192%;
  max-width: none;
  height: auto;
  right: 0;
  top: -18%;
  animation: holo-buildings-move 5s ease-in-out infinite;
  transform-origin: 70% 60%;
}

/* Wireframe-графика поверх (дом и башни) */
.tech-city-graphic {
  position: absolute;
  right: 0;
  top: 10%;
  width: 52%;
  height: auto;
  max-height: 86%;
  z-index: 4;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(94, 200, 255, 0.4));
}

.tech-city-graphic .city-stroke { stroke-width: 1.8; }
.tech-city-graphic .city-stroke--dim { stroke-width: 1.2; }

.city-group {
  animation: city-group-float 6s ease-in-out infinite;
  transform-origin: center bottom;
}

.city-stroke {
  fill: none;
  stroke: rgba(120, 220, 255, 0.85);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: city-draw 4s ease-in-out infinite alternate;
}

.city-stroke--accent { stroke: rgba(255, 160, 60, 0.9); animation-duration: 3.5s; }
.city-stroke--dim { stroke: rgba(120, 220, 255, 0.45); stroke-width: 1; }

.city-house .city-stroke { animation-delay: 0.2s; }
.city-towers .city-stroke { animation-delay: 0.6s; }

.city-window {
  fill: rgba(94, 200, 255, 0.12);
  stroke: rgba(120, 220, 255, 0.6);
  stroke-width: 1;
  animation: window-glow 2.5s ease-in-out infinite;
}

.city-window--glow { animation-delay: 1.2s; fill: rgba(255, 140, 26, 0.15); stroke: rgba(255, 160, 60, 0.7); }

.city-node {
  fill: #7ee0ff;
  animation: node-blink 2s ease-in-out infinite;
}

.city-node--orange {
  fill: #ff9a3c;
  animation-delay: 0.7s;
}

.city-data {
  stroke: rgba(94, 200, 255, 0.35);
  stroke-width: 1;
  stroke-dasharray: 6 8;
  animation: data-flow 2s linear infinite;
}

/* Сканирующая линия */
.tech-holo-scan {
  position: absolute;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(120, 220, 255, 0.75), transparent);
  box-shadow: 0 0 12px rgba(94, 200, 255, 0.5);
  animation: holo-scan 6s ease-in-out infinite;
  z-index: 5;
  pointer-events: none;
}

.tech-holo-glow-pulse {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 60%;
  height: 20%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(94, 200, 255, 0.4) 0%, transparent 70%);
  animation: holo-glow-pulse 3s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes holo-gears-move {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5px, -5px) scale(1.014); }
}

@keyframes holo-buildings-move {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3px, -6px) scale(1.015); }
}

@keyframes city-group-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes city-draw {
  0% { stroke-dashoffset: 420; opacity: 0.5; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes window-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; fill: rgba(94, 200, 255, 0.28); }
}

@keyframes node-blink {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes data-flow {
  to { stroke-dashoffset: -28; }
}

@keyframes holo-scan {
  0% { top: 10%; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { top: 85%; opacity: 0; }
}

@keyframes holo-glow-pulse {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.9; transform: translateX(-50%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .tech-holo-gears img,
  .tech-holo-buildings img,
  .city-group,
  .city-stroke,
  .city-window,
  .city-node,
  .city-data,
  .tech-holo-scan,
  .tech-holo-glow-pulse,
  .tech-holo-rays .ray {
    animation: none !important;
    opacity: 0.35;
  }
  .city-stroke { stroke-dashoffset: 0; }
}

/* Journal strip under hero */
.landing-journals-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(12,61,130,0.06);
}

.landing-journals {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-journals-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8896a8;
  margin-right: 4px;
}

.landing-journals .journal-btn {
  background: #eef8f7;
  border: 1px solid #b8e4df;
  color: var(--finecs-navy);
}

.landing-journals .journal-btn:hover {
  background: #d8f0ed;
  border-color: var(--finecs-teal);
  color: var(--finecs-teal-deep);
}

.home-page .sub-nav {
  background: #fafbfc;
}

/* Белая полоса — вплотную к линии под героем, на всю ширину */
.home-page .main-content {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px var(--landing-pad) 64px;
  box-sizing: border-box;
  background: #ffffff;
}

/* Линия снизу белой зоны — до краёв экрана (перед подвалом) */
.home-page .main-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 4px;
  background: #ffffff;
  box-shadow: 0 0 0 1px #e2e8f0, 0 4px 20px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 2;
}

.landing-journal-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

/* Карточка журнала — центр, аккуратная типографика */
.home-page .finecs-journal-card {
  max-width: 920px;
  width: 100%;
  margin-bottom: 0;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(10, 74, 92, 0.06),
    0 20px 50px rgba(42, 157, 143, 0.14);
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfb 100%);
}

.home-page .finecs-journal-card:hover {
  box-shadow:
    0 8px 12px rgba(10, 74, 92, 0.08),
    0 28px 56px rgba(42, 157, 143, 0.2);
}

.finecs-journal-card__cover {
  width: 296px;
  min-height: 360px;
  background: var(--finecs-navy-deep);
  position: relative;
  flex-shrink: 0;
}

.finecs-journal-card__cover-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.finecs-journal-card__body {
  padding: 40px 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.finecs-journal-card__head {
  position: relative;
  margin: 0 -44px 28px;
  padding: 0 44px 26px 62px;
  border-bottom: 2px solid #d0dae6;
}

.finecs-journal-card__head::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 26px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--finecs-teal) 0%, var(--finecs-navy) 100%);
}

.finecs-journal-card__eyebrow {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7c8f;
  margin: 0 0 14px;
}

.finecs-journal-card__title {
  font-family: 'Playfair Display', 'Plus Jakarta Sans', Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--finecs-navy);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.finecs-journal-card__meta {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #3d4f63;
  line-height: 1.5;
  margin: 0;
}

.finecs-journal-card__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 48px;
  padding-top: 4px;
}

.finecs-journal-card__price-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8896a8;
  margin-bottom: 8px;
}

.finecs-journal-card__price-value {
  display: block;
  font-family: 'Plus Jakarta Sans', 'Montserrat', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--finecs-teal-deep);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.finecs-journal-card__price-value--free {
  color: #1a8a57;
}

.finecs-journal-card__price-note {
  display: block;
  font-size: 15px;
  color: #8896a8;
  margin-top: 6px;
}

.finecs-journal-card__btn {
  font-size: 17px;
  padding: 14px 36px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .home-page .finecs-journal-card {
    flex-direction: column;
  }
  .finecs-journal-card__cover {
    width: 100%;
    min-height: 280px;
  }
  .finecs-journal-card__body {
    padding: 28px 24px 32px;
  }
  .finecs-journal-card__head {
    margin: 0 -24px 24px;
    padding: 0 24px 22px 42px;
  }
  .finecs-journal-card__head::before {
    left: 24px;
    bottom: 22px;
  }
}

.home-page .section-title {
  color: var(--finecs-navy);
}

.landing-menu > a.landing-nav-highlight {
  background: rgba(94, 207, 196, 0.22);
  color: #fff;
  border: 1px solid rgba(142, 228, 220, 0.4);
}

.landing-menu > a.landing-nav-highlight:hover {
  background: rgba(94, 207, 196, 0.32);
  color: #fff;
}

@media (max-width: 960px) {
  .landing-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .landing-hero-copy .sub { margin-left: auto; margin-right: auto; }
  .landing-hero-cta-row { justify-content: center; }
  .landing-hero-art {
    height: 400px;
    min-height: 400px;
    margin-top: 12px;
    justify-self: center;
    max-width: 100%;
    transform: none;
  }
  .finecs-green-scene {
    transform: scale(0.88);
    transform-origin: center center;
  }
  .landing-menu { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; }
  .landing-nav-inner { flex-wrap: wrap; height: auto; min-height: 80px; padding-top: 12px; padding-bottom: 12px; }
  .landing-menu > a,
  .landing-dropdown > button {
    font-size: 18px;
    padding: 12px 18px;
  }
  .landing-actions { margin-left: auto; }
}

@media (max-width: 600px) {
  .landing-brand-lg { font-size: 15px; }
  .landing-actions { width: 100%; justify-content: center; }
  .landing-cta-orange { width: 100%; justify-content: center; }
}

/* ---- FINECS hero: зелёная финансовая иллюстрация ---- */
.finecs-green-scene {
  position: relative;
  width: 100%;
  max-width: 660px;
  min-height: 460px;
  margin-left: auto;
  z-index: 1;
}

.finecs-green-scene__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: 660px;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 5%, black 16%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 5%, black 16%, black 94%, transparent 100%);
}

.finecs-green-scene__blend-left {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--hero-green-2) 0%,
    rgba(20, 107, 85, 0.82) 5%,
    rgba(20, 107, 85, 0.4) 12%,
    rgba(20, 107, 85, 0.1) 20%,
    transparent 30%
  );
}

.finecs-green-scene__blend-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(22, 85, 68, 0.35) 45%,
    var(--hero-green-4) 100%
  );
}

.finecs-green-scene__charts {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 52%, transparent 78%);
  mask-image: linear-gradient(to bottom, black 0%, black 52%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.finecs-bg-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.finecs-bg-chart--lines {
  z-index: 1;
}

.finecs-bg-chart--candles {
  z-index: 2;
  animation: fgs-candles-scroll 20s linear infinite;
}

.finecs-bg-line {
  stroke-dasharray: 600;
  animation: fgs-line-draw 5s ease-in-out infinite alternate;
}

.finecs-bg-line--1 { animation-delay: 0s; }
.finecs-bg-line--2 { animation-delay: 1.2s; stroke-dasharray: 500; }
.finecs-bg-line--3 { animation-delay: 2.4s; stroke-dasharray: 400; }

.finecs-candle {
  transform-origin: center bottom;
  transform-box: fill-box;
  animation: fgs-candle-pulse 3s ease-in-out infinite;
}

.finecs-candles--a .finecs-candle:nth-child(2) { animation-delay: 0s; }
.finecs-candles--a .finecs-candle:nth-child(4) { animation-delay: 0.4s; }
.finecs-candles--a .finecs-candle:nth-child(6) { animation-delay: 0.8s; }
.finecs-candles--a .finecs-candle:nth-child(8) { animation-delay: 1.2s; }
.finecs-candles--a .finecs-candle:nth-child(10) { animation-delay: 1.6s; }
.finecs-candles--b .finecs-candle:nth-child(2) { animation-delay: 0.2s; }
.finecs-candles--b .finecs-candle:nth-child(4) { animation-delay: 0.6s; }
.finecs-candles--b .finecs-candle:nth-child(6) { animation-delay: 1s; }
.finecs-candles--b .finecs-candle:nth-child(8) { animation-delay: 1.4s; }
.finecs-candles--b .finecs-candle:nth-child(10) { animation-delay: 1.8s; }

.finecs-bg-nodes {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.finecs-bg-node {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8f0c8;
  box-shadow: 0 0 8px #81c784, 0 0 16px rgba(129, 199, 132, 0.5);
  animation: fgs-node-pulse 3s ease-in-out infinite;
}

.finecs-bg-node--1 { top: 14%; left: 18%; animation-delay: 0s; }
.finecs-bg-node--2 { top: 28%; right: 22%; animation-delay: 0.8s; }
.finecs-bg-node--3 { top: 8%; right: 35%; animation-delay: 1.6s; }
.finecs-bg-node--4 { top: 20%; left: 42%; animation-delay: 2.4s; }

@keyframes fgs-candles-scroll {
  0% { transform: translateX(8%); }
  100% { transform: translateX(-12%); }
}

@keyframes fgs-line-draw {
  0% { stroke-dashoffset: 600; opacity: 0.25; }
  100% { stroke-dashoffset: 0; opacity: 0.9; }
}

@keyframes fgs-candle-pulse {
  0%, 100% { transform: scaleY(0.88); opacity: 0.55; }
  50% { transform: scaleY(1.08); opacity: 0.95; }
}

@keyframes fgs-node-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
  .finecs-green-scene__charts *,
  .finecs-green-scene__charts *::before {
    animation: none !important;
  }
  .finecs-bg-line { stroke-dashoffset: 0; opacity: 0.6; }
  .finecs-candle { transform: scaleY(1); opacity: 0.8; }
}

.home-page .btn-primary {
  background: linear-gradient(180deg, var(--finecs-teal-light) 0%, var(--finecs-teal) 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(42, 157, 143, 0.4);
}

.home-page .btn-primary:hover {
  background: linear-gradient(180deg, var(--finecs-teal-mid) 0%, var(--finecs-teal-deep) 100%) !important;
  box-shadow: 0 6px 24px rgba(42, 157, 143, 0.5);
}

.home-page .site-footer {
  background: linear-gradient(180deg, var(--finecs-navy-deep) 0%, var(--finecs-navy) 50%, var(--finecs-teal-deep) 100%) !important;
}
