/* STEM 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=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;
  /* слева светлее синий → справа почти чёрный */
  --landing-blue-left: #1a4f8f;
  --landing-blue-mid: #0c2f5c;
  --landing-dark-right: #050a12;
  --landing-black-right: #020408;
  background: var(--landing-black-right);
}

/* Одна левая линия — герой */
.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(--landing-blue-left) 0%,
    var(--landing-blue-mid) 42%,
    var(--landing-dark-right) 78%,
    var(--landing-black-right) 100%
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.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, #ff8c1a 0%, #ff6b00 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(255,107,0,0.35);
  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, #ff8c1a 0%, #ff6b00 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(255,107,0,0.4);
  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(255,107,0,0.45);
  text-decoration: none;
  color: #fff !important;
}

/* Пульс «как в рекламе» — кнопки на месте, чуть ближе/дальше */
@keyframes btn-pulse-ad {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 18px rgba(255, 107, 0, 0.4);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 8px 32px rgba(255, 107, 0, 0.55);
  }
}

@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: слева светлее синий → справа почти чёрный ---- */
.landing-hero {
  position: relative;
  background: linear-gradient(
    90deg,
    #1e5a9e 0%,
    var(--landing-blue-left) 18%,
    var(--landing-blue-mid) 45%,
    var(--landing-dark-right) 72%,
    var(--landing-black-right) 100%
  );
  color: #fff;
  overflow: hidden;
  min-height: min(520px, 85vh);
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

/* Белая линия на стыке героя и белой зоны — на всю ширину экрана */
.home-page .landing-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 4px;
  background: #ffffff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
  z-index: 6;
  pointer-events: none;
}

/* Плавное затемнение к правому краю */
.landing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 35%,
    rgba(0, 0, 0, 0.15) 65%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.landing-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.2) 100%);
}

/* Лёгкое свечение слева (синее) */
.landing-hero-glow {
  position: absolute;
  width: 55%;
  height: 90%;
  left: -8%;
  top: 5%;
  right: auto;
  background: radial-gradient(ellipse at 30% 50%, rgba(80, 150, 230, 0.18) 0%, transparent 65%);
  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) auto;
  gap: 8px 16px;
  align-items: center;
}

.landing-hero-copy h1 {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-shadow: 0 2px 32px rgba(0,0,0,0.25);
}

.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: 360px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  width: auto;
  max-width: none;
  margin-right: 0;
  margin-left: auto;
  overflow: visible;
}

.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: #f4f7fb;
  border: 1px solid #dce3ed;
  color: #0c3d82;
}

.landing-journals .journal-btn:hover {
  background: #e8f0fd;
  border-color: #0c3d82;
  color: #0c3d82;
}

.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 .stem-journal-card {
  max-width: 920px;
  width: 100%;
  margin-bottom: 0;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(12, 61, 130, 0.04),
    0 20px 50px rgba(12, 61, 130, 0.12);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.home-page .stem-journal-card:hover {
  box-shadow:
    0 8px 12px rgba(12, 61, 130, 0.06),
    0 28px 56px rgba(12, 61, 130, 0.16);
}

.stem-journal-card__cover {
  width: 296px;
  min-height: 360px;
  background: #0d2b2b;
  position: relative;
  flex-shrink: 0;
}

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

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

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

.stem-journal-card__head::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 26px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #0c3d82 0%, #1a5a9e 100%);
}

.stem-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;
}

.stem-journal-card__title {
  font-family: 'Plus Jakarta Sans', 'Montserrat', system-ui, sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #072d5c;
  margin: 0 0 12px;
  letter-spacing: -0.035em;
}

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

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

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

.stem-journal-card__price-value {
  display: block;
  font-family: 'Plus Jakarta Sans', 'Montserrat', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0c3d82;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

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

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

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

.home-page .section-title {
  color: #0c3d82;
}

.landing-menu > a.landing-nav-highlight {
  background: rgba(255, 140, 26, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 200, 120, 0.35);
}

.landing-menu > a.landing-nav-highlight:hover {
  background: rgba(255, 140, 26, 0.28);
  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: 260px;
    min-height: 260px;
    margin-top: -20px;
    justify-self: center;
    max-width: 100%;
  }
  .tech-holo {
    min-height: 260px;
    max-width: 100%;
    transform: scale(1);
    transform-origin: center center;
  }
  .landing-hero-art { max-width: 100%; min-height: 280px; }
  .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; }
}
