:root {
  --bg: #02030b;
  --bg-accent: rgba(34, 88, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.14);
  --glass-strong: rgba(255, 255, 255, 0.23);
  --border: rgba(255, 255, 255, 0.25);
  --border-strong: rgba(255, 255, 255, 0.45);
  --text: #f6f7ff;
  --muted: rgba(246, 247, 255, 0.65);
  --accent: #7c7cff;
  --accent-2: #33ffd1;
  --accent-3: #ff85ff;
  --shadow: 0 15px 45px rgba(12, 27, 59, 0.45);
  --radius: 26px;
  --nav-height: 76px;

  font-size: 16px;
  font-family: "Inter", system-ui, sans-serif;
}

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

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(40, 102, 255, 0.35), transparent 45%),
    radial-gradient(circle at bottom right, rgba(255, 71, 201, 0.25), transparent 55%), var(--bg);
  min-height: 100vh;
  padding: clamp(18px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 30px);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(71, 139, 255, 0.12), rgba(255, 122, 244, 0.07));
  opacity: 0.6;
  pointer-events: none;
}

.page {
  font-family: "Inter", system-ui, sans-serif;
}

.page h1,
.page h2,
.page h3 {
  font-family: "Orbitron", "Inter", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  margin: 0 0 0.75em;
}

.page h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 0.6em;
}

.page h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  transition: color 0.25s ease;
}

a:not(.button):not(.header__logo):not(.header__nav a):not(.feature-card__link):not(.footer__back):not(.footer__meta a):not(.author__links a) {
  color: var(--accent-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

a:not(.button):not(.header__logo):not(.header__nav a):not(.feature-card__link):not(.footer__back):not(.footer__meta a):not(.author__links a):hover {
  border-color: currentColor;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.05' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

#gridCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.glass-card {
  position: relative;
  padding: clamp(18px, 3vw, 36px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(40, 95, 255, 0.04));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover::before,
.glass-card:focus-within::before {
  opacity: 1;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 22px);
  position: sticky;
  top: clamp(12px, 3vw, 18px);
  z-index: 10;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.65), rgba(128, 155, 255, 0.35));
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.45), 0 0 25px rgba(120, 150, 255, 0.55);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__title strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.header__subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__nav a {
  position: relative;
  padding-bottom: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  pointer-events: auto;
  z-index: 1;
  text-decoration: none;
  display: inline-block;
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header__nav a:hover::after,
.header__nav a.is-active::after {
  transform: scaleX(1);
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 46px;
  height: 46px;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 100;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  gap: 6px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header__menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.header__menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 6px 16px;
  letter-spacing: 0.12em;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124, 124, 255, 0.18), rgba(51, 255, 209, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--text);
}

.badge--pulse {
  animation: pulse 2.8s infinite;
}

.badge--alt {
  background: linear-gradient(135deg, rgba(255, 133, 255, 0.25), rgba(51, 255, 209, 0.18));
}

.update-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.update-info__icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.update-info__date {
  font-weight: 500;
  color: var(--accent-2);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(124, 124, 255, 0.35);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 12px rgba(124, 124, 255, 0);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 12px 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.35s ease, border-color 0.25s ease;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.button--primary {
  background: linear-gradient(135deg, rgba(124, 124, 255, 0.85), rgba(51, 255, 209, 0.85));
  color: var(--bg);
  box-shadow: 0 10px 25px rgba(40, 95, 255, 0.4);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(20, 52, 120, 0.45);
  border-color: rgba(255, 255, 255, 0.5);
}

.orbital {
  position: relative;
  width: min(320px, 45vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(51, 255, 209, 0.6), rgba(15, 20, 45, 0.1));
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.25), 0 25px 80px rgba(6, 18, 58, 0.85);
}

.orbital__core {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.18em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.65);
}

.orbital__ring {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(124, 124, 255, 0.85);
  animation: orbit 12s linear infinite;
  box-shadow: 0 0 22px rgba(124, 124, 255, 0.55);
}

.orbital__ring--reverse {
  inset: 7%;
  animation-duration: 9s;
  animation-direction: reverse;
  border-top-color: rgba(51, 255, 209, 0.85);
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.feature-card__link {
  align-self: flex-start;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  text-decoration: none;
  display: inline-block;
}

.feature-card__link:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline__line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(124, 124, 255, 0.85), rgba(51, 255, 209, 0.75));
  box-shadow: 0 0 12px rgba(51, 255, 209, 0.4);
}

.timeline__events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.timeline__event {
  position: relative;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.timeline__event::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}

.timeline__event--future::before {
  background: var(--accent-3);
  box-shadow: 0 0 12px var(--accent-3);
}

.timeline__year {
  display: block;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.grid-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.grid-showcase__item {
  min-height: 180px;
}

.footer {
  margin-top: auto;
  display: grid;
  gap: 18px;
}

.footer__form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: end;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__meta a {
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  text-decoration: none;
  transition: color 0.25s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.footer__meta a:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

.footer--compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.footer__back {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.footer__back:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.page-hero {
  text-align: center;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.experience-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.experience-card__media {
  width: 100%;
  aspect-ratio: 1364 / 260;
  height: auto;
  min-height: 120px;
  max-height: 280px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(124, 124, 255, 0.45), rgba(51, 255, 209, 0.4));
  box-shadow: inset 0 0 45px rgba(0, 0, 0, 0.25);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 12px 16px;
  overflow: hidden;
}

/* Fallback для браузеров без поддержки aspect-ratio */
@supports not (aspect-ratio: 1) {
  .experience-card__media {
    height: calc((100% * 260) / 1364);
    min-height: 120px;
    max-height: 280px;
  }
  
  @media (min-width: 260px) {
    .experience-card__media {
      height: 50px;
    }
  }
  
  @media (min-width: 520px) {
    .experience-card__media {
      height: 100px;
    }
  }
  
  @media (min-width: 780px) {
    .experience-card__media {
      height: 150px;
    }
  }
}

.experience-card__media--cyan {
  background: linear-gradient(145deg, rgba(51, 255, 209, 0.45), rgba(124, 124, 255, 0.35));
}

.experience-card__media--magenta {
  background: linear-gradient(145deg, rgba(255, 133, 255, 0.45), rgba(124, 124, 255, 0.35));
}

.experience-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
  z-index: 0;
  transition: transform 0.3s ease;
}

.experience-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124, 124, 255, 0.2), rgba(51, 255, 209, 0.15));
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.experience-card__media--cyan::after {
  background: linear-gradient(135deg, rgba(51, 255, 209, 0.2), rgba(124, 124, 255, 0.15));
}

.experience-card__media--magenta::after {
  background: linear-gradient(135deg, rgba(255, 133, 255, 0.2), rgba(124, 124, 255, 0.15));
}

.experience-card__media:hover .experience-card__image {
  transform: scale(1.03);
}

.experience-card__media:hover::after {
  opacity: 0.5;
}

.experience-card__media .badge {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.experience-card__body .button {
  position: relative;
  z-index: 3;
}

.labs {
  display: grid;
  gap: 18px;
}

.labs__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.labs__item {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.services__grid,
.team__grid {
  display: grid;
  gap: 16px;
}

.services__grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team__grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team__member {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline--horizontal {
  display: grid;
  gap: 18px;
}

.timeline__bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
}

.timeline__bar span {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  transition: filter 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.timeline__bar span.is-active {
  filter: drop-shadow(0 0 12px rgba(51, 255, 209, 0.6));
  transform: translateY(-3px);
  background: rgba(51, 255, 209, 0.15);
  border-color: rgba(51, 255, 209, 0.5);
}

.timeline__bar span:hover {
  filter: drop-shadow(0 0 12px rgba(51, 255, 209, 0.6));
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.timeline__content {
  position: relative;
  min-height: 160px;
}

.timeline__content article {
  display: none;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.timeline__content article.is-active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.note {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(51, 255, 209, 0.08);
  border: 1px solid rgba(51, 255, 209, 0.2);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.modal {
  border: none;
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 32px);
  background: linear-gradient(135deg, rgba(12, 34, 85, 0.92), rgba(124, 124, 255, 0.35));
  color: var(--text);
  box-shadow: var(--shadow);
  max-width: min(480px, 92vw);
}

.modal::backdrop {
  background: rgba(2, 4, 14, 0.7);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.6rem;
  line-height: 0;
}

.modal__title {
  margin: 0 0 0.6em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.author {
  display: grid;
  gap: 18px;
}

.author__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.author__card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.author__card--profile {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
}

.author__avatar {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(124, 124, 255, 0.38), rgba(51, 255, 209, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.25);
}

.author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.author__meta {
  display: grid;
  gap: 8px;
}

.author__links {
  display: inline-flex;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author__links a {
  color: var(--accent-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.25s ease;
}

.author__links a:hover {
  border-color: currentColor;
}

.steps-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.steps-list li {
  line-height: 1.6;
  color: var(--muted);
}

.steps-list li strong {
  color: var(--text);
}

.steps-list--bullets {
  list-style: disc;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.definition-grid article {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 8px;
}

.term-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.term-list div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.term-list h3 {
  margin: 0 0 8px;
}

.mockup-section {
  display: grid;
  gap: 18px;
}

.interface-mockup {
  margin: 0;
  display: grid;
  gap: 12px;
  text-align: center;
}

.interface-mockup__screen {
  margin: 0 auto;
  width: min(320px, 80vw);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(124, 124, 255, 0.28), rgba(51, 255, 209, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 18px;
}

.interface-mockup__header,
.interface-mockup__panels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interface-mockup__graph {
  height: 140px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(0, 10, 35, 0.1));
  position: relative;
}

.interface-mockup__jet {
  position: absolute;
  top: 40%;
  left: 55%;
  font-size: 2rem;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.interface-mockup__panels div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(2, 4, 14, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
}

.faq {
  display: grid;
  gap: 16px;
}

.faq__items {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
}

.faq summary {
  cursor: pointer;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  list-style: none;
  position: relative;
  padding-right: 24px;
  user-select: none;
  pointer-events: auto;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(0deg);
}

.faq details[open] {
  border-color: rgba(51, 255, 209, 0.35);
  box-shadow: 0 0 18px rgba(51, 255, 209, 0.12);
}

.faq details p {
  margin-top: 12px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .author__card--profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author__avatar {
    margin: 0 auto;
  }

  .experience-card__media {
    min-height: 100px;
    max-height: 220px;
    padding: 10px 12px;
  }
}

@media (max-width: 640px) {
  .experience-card__media {
    min-height: 80px;
    max-height: 180px;
    padding: 8px 12px;
  }
  
  .experience-card__media .badge {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
}

@media (max-width: 860px) {
  body {
    padding: 16px;
  }

  .header {
    padding: 16px 18px;
  }

  .header__menu-toggle {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 18px;
    width: min(260px, 70vw);
    background: rgba(4, 10, 25, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px);
    padding: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }

  .header__nav li {
    width: 100%;
    list-style: none;
  }

  .header__nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .header__nav[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header__nav[data-open="true"] a {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 10;
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .footer__form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    font-size: 15px;
  }

  body {
    padding: 14px;
    gap: 16px;
  }

  .glass-card {
    padding: 18px;
  }

  .timeline__events {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .grid-showcase {
    grid-template-columns: 1fr;
  }

  .services__grid,
  .team__grid,
  .labs__items,
  .definition-grid,
  .term-list,
  .author__grid {
    grid-template-columns: 1fr;
  }

  .steps-list {
    padding-left: 16px;
  }
}

