.landing-header {
  text-align: center;
  padding: 25px 20px 20px;
  flex-shrink: 0;
}

.landing-header__logo {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: #333;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.landing-main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  padding: 20px 40px;
  align-items: center;
  min-height: 0;
}

.landing-main__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.landing-main__hero {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  font-family:
    "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
  line-height: 1.1;
  color: #1a1a1a;
}

.landing-main__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-main__features li {
  font-size: 18px;
  color: #333;
  line-height: 1.5;
}

.feature-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.landing-main__cta {
  align-self: flex-start;
  padding: 15px 70px;
  border: 1px solid #0066cc;
  border-radius: var(--border-radius-btn);
  background: linear-gradient(to bottom, #6db9f7 0%, #3a9de8 50%, #1a7fd8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 6px rgba(0, 122, 255, 0.5),
    0 0 0 1px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
  position: relative;
  display: inline-block;
}

.landing-main__cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0)
  );
  border-radius: var(--border-radius-btn) var(--border-radius-btn) 0 0;
  pointer-events: none;
}

.landing-main__cta:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 4px 10px rgba(0, 122, 255, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}

.landing-main__cta:active {
  background: linear-gradient(to bottom, #3a9de8 0%, #2b8ee0 50%, #1a7fd8 100%);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

.landing-main__showcase {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 0;
  justify-content: center;
}

.landing-main__photo-credit {
  margin: 0;
  font-size: 11px;
  align-self: center;
  color: #666;
}

.landing-main__photo-credit a {
  color: #007aff;
  text-decoration: none;
}

.landing-main__photo-credit a:hover {
  text-decoration: underline;
}

.landing-main__image {
  height: 500px;
  border-radius: 12px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 4px 8px rgba(0, 0, 0, 0.16),
    0 8px 16px rgba(0, 0, 0, 0.2);
  object-fit: contain;
  flex-shrink: 1;
}

.landing-main__caption {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  align-self: center;
  flex-shrink: 0;
}

.landing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 80px;
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.landing-footer__copyright {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.landing-footer__links {
  display: flex;
  gap: 20px;
}

.landing-footer__links a {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: color 0.15s ease;
}

.landing-footer__links a:hover {
  color: #007aff;
}

/* Bootstrap Breakpoint: Medium (md) - Tablets and below */
@media (max-width: 991.98px) {
  .landing-main__showcase {
    display: none;
  }

  .landing-main__content {
    max-width: 100%;
  }

  .landing-main__hero {
    text-align: center;
  }

  .landing-main__features {
    align-items: center;
  }

  .landing-main__cta {
    width: 100%;
    align-self: stretch;
    text-align: center;
  }

  .landing-footer {
    padding: 15px 40px;
  }
}

/* Bootstrap Breakpoint: Small (sm) - Large phones and below */
@media (max-width: 767.98px) {
  .landing-footer {
    padding: 15px 30px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .landing-footer__links {
    gap: 12px;
  }

  .landing-main__hero {
    font-size: 45px;
  }
}

/* Bootstrap Breakpoint: X-Small (xs) - Small phones */
@media (max-width: 575.98px) {
  .landing-header__logo {
    font-size: 22px;
  }

  .landing-main__content {
    gap: 15px;
  }

  .landing-main__hero {
    font-size: 36px;
  }

  .landing-main__features {
    gap: 5px;
  }

  .landing-main__features li {
    font-size: 15px;
  }

  .landing-main__cta {
    padding: 12px 40px;
    font-size: 16px;
  }

  .landing-footer {
    padding: 12px 20px;
  }

  .landing-footer__links a {
    font-size: 11px;
  }

  .beta-ribbon {
    font-size: 11px;
    padding: 6px 30px;
  }
}

/* Landscape Orientation - Medium height devices */
@media (max-height: 600px) and (orientation: landscape) {
  .landing-content-box {
    overflow-y: auto;
  }

  .landing-container {
    height: auto;
    min-height: 100vh;
  }

  .landing-main__showcase {
    display: none;
  }

  .landing-header {
    padding: 15px 20px 10px;
  }

  .landing-header__logo {
    font-size: 20px;
  }

  .landing-main {
    padding: 10px 40px;
  }

  .landing-main__hero {
    font-size: 32px;
    text-align: center;
  }

  .landing-main__content {
    gap: 15px;
  }

  .landing-main__features {
    gap: 6px;
    align-items: center;
  }

  .landing-main__features li {
    font-size: 14px;
  }

  .landing-main__cta {
    padding: 10px 50px;
    font-size: 16px;
    width: 100%;
    align-self: stretch;
    text-align: center;
  }

  .landing-footer {
    padding: 10px 40px;
  }
}

/* Landscape Orientation - Small height devices */
@media (max-height: 450px) and (orientation: landscape) {
  .landing-content-box {
    overflow-y: auto;
  }

  .landing-container {
    height: auto;
    min-height: 100vh;
  }

  .landing-header {
    padding: 10px 20px 8px;
  }

  .landing-main {
    padding: 8px 30px;
  }

  .landing-main__hero {
    font-size: 28px;
  }

  .landing-main__content {
    gap: 12px;
  }

  .landing-footer {
    padding: 8px 30px;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 800px;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #333;
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.modal-body h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  color: #333;
  font-size: 18px;
}

.modal-body ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.modal-body li {
  margin-bottom: 8px;
}

/* Mobile responsive for modal */
@media (max-width: 600px) {
  .modal-header {
    padding: 15px 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-header h2 {
    font-size: 20px;
  }
}
