/* -----------------------------------
   Marketing Page Layout
   (Legal structure + Landing header)
----------------------------------- */

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111;
}

/* Prevent full page scroll */
body {
  overflow: hidden;
}

/* -----------------------------------
   Page Wrapper
----------------------------------- */

.marketing-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* -----------------------------------
   Header (Landing Style)
----------------------------------- */

.marketing-header {
  height: 64px;
  border-bottom: 1px solid #eee;
  background: #ffffff;

  display: flex;
  align-items: center;
}

.marketing-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.marketing-header img {
  height: 38px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
}

/* Remove weird iframe styling from GIS */
#signInBtn iframe {
  box-shadow: none !important;
  background: transparent !important;
}

/* -----------------------------------
   Content Area (Scrollable)
----------------------------------- */

.marketing-content {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;

  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.marketing-content h1 {
  font-size: 32px;
  margin-bottom: 24px;
}

.marketing-content h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.marketing-content p,
.marketing-content li {
  font-size: 16px;
  line-height: 1.65;
  color: #333;
}

.marketing-content ul {
  padding-left: 20px;
}

/* -----------------------------------
   CTA Sections
----------------------------------- */

.cta-box {
  margin-top: 40px;
  padding: 24px;
  background: #f5f7fa;
  border-radius: 10px;
  text-align: center;
}

.cta-box strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

/* -----------------------------------
   Footer (Reuse Existing Footer System)
----------------------------------- */

.site-footer {
  border-top: 1px solid #eee;
  background: #ffffff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #555;
}

.footer-left img {
  height: 22px;
}

.footer-right {
  display: flex;
  gap: 16px;
}

.footer-right a {
  font-size: 13px;
  text-decoration: none;
  color: #555;
}

.footer-right a:hover {
  text-decoration: underline;
}

.marketing-page > .site-footer {
  margin-top: auto;
}

/* -----------------------------------
   Carousel
----------------------------------- */

.carousel-wrapper {
  margin-top: 40px;
  position: relative;
}

.carousel {
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Navigation Buttons */

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
}

.carousel-nav.prev {
  left: 10px;
}

.carousel-nav.next {
  right: 10px;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.last-updated {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}