/* ============================================================
   TopoMapping — landing pages (Import/Export, Projections)
   Modern SaaS redesign. Brand: #106c43 / #0f3d27 / #fdbf2d
   Self-contained: paired with each page's inline-styled sections.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #f8faf8; }

/* ---------------- sticky header / nav ---------------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 248, .88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(16, 108, 67, .08);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* reset old page-CSS header{} overrides */
  width: 100%;
  max-width: none;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  left: auto;
}
.lp-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 13px 48px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.lp-logo { display: flex; align-items: center; text-decoration: none; }
.lp-logo img { height: 36px; width: auto; display: block; }
.lp-nav { display: flex; gap: 26px; margin-left: 14px; }
.lp-nav a {
  position: relative;
  font-size: .92rem;
  font-weight: 600;
  color: #2c4a3b;
  text-decoration: none;
  transition: color .15s ease;
}
.lp-nav a:hover { color: #106c43; }
.lp-nav a.active { color: #106c43; }
.lp-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 2px;
  background: #fdbf2d;
  border-radius: 2px;
}
.lp-spacer { flex: 1; }
.lp-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f3d27;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 20px;
  border-radius: 11px;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.lp-open:hover { background: #0c3220; transform: translateY(-1px); }
.lp-burger {
  display: none;
  width: 42px; height: 38px;
  border: none; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.lp-burger span {
  display: block; height: 2.5px; width: 22px;
  background: #0f3d27; border-radius: 2px; margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.lp-mnav {
  display: none;
  flex-direction: column;
  padding: 6px 22px 16px;
  background: #f8faf8;
  border-bottom: 1px solid rgba(16, 108, 67, .08);
  font-family: 'Poppins', sans-serif;
}
.lp-mnav.open { display: flex; }
.lp-mnav a {
  padding: 12px 4px;
  font-size: .98rem;
  font-weight: 600;
  color: #2c4a3b;
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 108, 67, .07);
}
.lp-mnav a.active { color: #106c43; }
.lp-mnav .lp-mnav-cta {
  margin-top: 12px;
  border: none;
  text-align: center;
  background: #fdbf2d;
  color: #0f3d27;
  font-weight: 800;
  border-radius: 11px;
}

/* ---------------- shared animations (hero mockups) ---------------- */
@keyframes ie-floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ie-floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes ie-ring   { to { transform: rotate(360deg); } }
@keyframes ie-dash   { to { stroke-dashoffset: -24; } }
@keyframes pr-floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pr-floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes pr-ring   { to { transform: rotate(360deg); } }
@keyframes pr-spin   { to { transform: rotate(-360deg); } }

/* ---------------- hover states ---------------- */
.ie-feat, .pr-feat { will-change: transform; }
.ie-feat:hover, .pr-feat:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(16, 108, 67, .16) !important;
}
.ie-cta:hover, .pr-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(253, 191, 45, .48) !important;
}
.ie-ghost:hover, .pr-ghost:hover { background: rgba(16, 108, 67, .08) !important; }
.ie-fc:hover, .pr-cat:hover { transform: translateY(-5px); }
.lp-footlink:hover { color: #fff !important; }

/* ---------------- responsive (collapse to mobile) ---------------- */
@media (max-width: 900px) {
  .lp-nav, .lp-header .lp-open { display: none; }
  .lp-burger { display: flex; }
  .lp-header-inner { padding-left: 22px !important; padding-right: 22px !important; }

  .lp-wrap { padding-left: 22px !important; padding-right: 22px !important; }
  .lp-hero {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
    padding-top: 50px !important;
    padding-bottom: 58px !important;
  }
  .lp-h1 { font-size: 2.5rem !important; }
  .lp-h2 { font-size: 2rem !important; }
  .lp-grid2 { grid-template-columns: 1fr !important; }
  .lp-grid3 { grid-template-columns: 1fr !important; }
  .lp-grid4 { grid-template-columns: 1fr 1fr !important; }
  .lp-footgrid { grid-template-columns: 1fr 1fr !important; gap: 30px !important; }
  .lp-footgrid > div:first-child { grid-column: 1 / -1 !important; }
}

@media (max-width: 520px) {
  .lp-h1 { font-size: 2.15rem !important; }
  .lp-footgrid { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  [style*="animation"] { animation: none !important; }
}
