body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #edf4ff, #dfeeff);
  color: #1f2a38;
}

.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1100;
  font-size: 24px;
  background: #1c2d44;
  color: white;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 6px;
}

.top-menu {
  position: fixed;
  top: 0;
  left: -270px;
  width: 250px;
  height: 100%;
  background: #162433;
  color: white;
  padding: 80px 20px 20px;
  box-sizing: border-box;
  transition: left 0.3s ease;
  z-index: 1050;
}

.top-menu.show {
  left: 0;
}

.top-menu .logo {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
}

.top-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-menu ul li {
  margin-bottom: 20px;
}

.top-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.top-menu ul li a:hover,
.top-menu ul li a.active {
  color: #77d2ff;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 1000;
}

.menu-overlay.show {
  display: block;
}

main {
  padding: 100px 20px 40px;
}

.section {
  max-width: 1300px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 40px;
  font-size: 42px;
}

.content-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.second-row {
  align-items: center;
}

.content-text {
  flex: 1;
  min-width: 320px;
}

.content-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.content-image,
.system-image {
  width: 460px;
  max-width: 100%;
  height: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: block;
  flex-shrink: 0;
}

.content-image {
  object-fit: cover;
}

.image-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.system-image {
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  box-sizing: border-box;
}

/* Scroll animations */
.scroll-reveal,
.slide-left,
.slide-right {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-reveal {
  transform: translateY(40px);
}

.slide-left {
  transform: translateX(-50px);
}

.slide-right {
  transform: translateX(50px);
}

.scroll-reveal.show,
.slide-left.show,
.slide-right.show {
  opacity: 1;
  transform: translate(0, 0);
}

/* Tablet and mobile */
@media (max-width: 900px) {
  .content-row {
    flex-direction: column;
    gap: 24px;
  }

  .image-row {
    flex-direction: column;
    width: 100%;
    gap: 24px;
  }

  .content-image,
  .system-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .content-text {
    width: 100%;
    min-width: unset;
  }

  .hero h1 {
    font-size: 34px;
  }

  .content-text p {
    font-size: 17px;
  }
}
.zoomable,
.zoom-text {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 30, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  z-index: 2000;
}

.lightbox.show {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  background: white;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: none;
}

.lightbox-text {
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  background: white;
  color: #1f2a38;
  padding: 40px;
  border-radius: 12px;
  font-size: 24px;
  line-height: 1.8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: white;
  color: #162433;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
  z-index: 2100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  main {
    padding: 90px 16px 30px;
  }

  .menu-toggle {
    top: 16px;
    left: 16px;
  }

  .hero h1 {
    font-size: 30px;
    margin-bottom: 28px;
  }

  .content-text p {
    font-size: 16px;
    line-height: 1.7;
  }

  .content-row {
    margin-bottom: 50px;
  }
}