/* ── Learn More Page ── */

.lm {
  margin-top: -23px;
}

/* ── Hero ── */

.lm-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.lm-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background: #0d1b2a;
}

.lm-hero-bg-img {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 85%;
  max-width: 1100px;
  opacity: 0.18;
  transform: perspective(800px) rotateY(-12deg) rotateX(4deg);
  transform-origin: center center;
  pointer-events: none;
}

.lm-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 22, 40, 0.97) 0%,
    rgba(10, 22, 40, 0.88) 40%,
    rgba(18, 42, 78, 0.7) 100%
  );
  z-index: 1;
}

.lm-hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 40px 80px;
  max-width: 800px;
}

.lm-hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #2196F3;
  margin-bottom: 20px;
}

.lm-hero h1 {
  font-family: Lato, sans-serif;
  font-size: 48px;
  line-height: 58px;
  font-weight: 300;
  color: #fff;
  margin: 0 0 24px;
}

.lm-hero-sub {
  font-size: 20px;
  line-height: 30px;
  color: #b0c4d8;
  margin-bottom: 36px;
  max-width: 600px;
}

.lm-hero-cta {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 40px;
}

/* ── Stats Bar ── */

.lm-stats {
  background: #122a4e;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
}

.lm-stats-row {
  display: flex;
  justify-content: center;
}

.lm-stat {
  text-align: center;
  padding: 8px 0;
  flex: 1 1 0;
}

.lm-stat-num {
  display: block;
  font-family: Lato, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.lm-stat-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7a9bb5;
  margin-top: 4px;
}

/* ── Sections (shared) ── */

.lm-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.lm-section > .container-fluid > .row {
  display: flex;
  align-items: center;
}

.lm-section-text {
  padding: 20px 40px;
}

.lm-section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #2196F3;
  margin-bottom: 12px;
}

.lm-section-eyebrow .fa {
  margin-right: 6px;
}

.lm-section h2 {
  font-family: Lato, sans-serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  margin: 0 0 20px;
  text-align: left;
}

.lm-section p {
  font-size: 17px;
  line-height: 27px;
  margin-bottom: 24px;
}

.lm-section-img {
  padding: 10px 30px;
}

.lm-section-img img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Feature check lists */

.lm-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lm-features li {
  font-size: 16px;
  line-height: 24px;
  padding: 6px 0;
  color: inherit;
}

.lm-features .fa-check {
  color: #4CAF50;
  margin-right: 10px;
  font-size: 14px;
}

/* Inline features (2-column) */

.lm-features-inline {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

.lm-features-inline li {
  width: 50%;
  padding: 8px 10px;
}

/* ── Dark sections ── */

.lm-section-dark {
  background: #1a2332;
  color: #dde4ec;
}

.lm-section-dark h2 {
  color: #fff;
}

.lm-section-dark p {
  color: #b0c4d8;
}

.lm-section-dark .lm-section-img img {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ── Light sections ── */

.lm-section-light {
  background: #f5f7fa;
  color: #333;
}

.lm-section-light h2 {
  color: #1a2332;
}

.lm-section-light p {
  color: #555;
}

.lm-section-light .lm-section-img img {
  border: 1px solid #dde0e4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ── Subtle grid pattern (Explore section) ── */

.lm-section-has-grid::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 300px;
  height: 300px;
  opacity: 0.03;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 29px, #fff 29px, #fff 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, #fff 29px, #fff 30px);
  background-size: 30px 30px;
}

/* ── Dot pattern (PRO DB section) ── */

.lm-section-has-pattern::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 200px;
  height: 200px;
  opacity: 0.04;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 16px 16px;
}

/* ── Stacked screenshots (PRO DB) ── */

.lm-stacked-screens {
  position: relative;
  height: 470px;
  margin: 20px 0;
}

.lm-stacked-screens img {
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.lm-stacked-screens img:nth-child(1) {
  width: 72%;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.6;
}

.lm-stacked-screens img:nth-child(2) {
  width: 68%;
  top: 45px;
  left: 10%;
  z-index: 2;
  opacity: 0.7;
}

.lm-stacked-screens img:nth-child(3) {
  width: 70%;
  top: 90px;
  left: 18%;
  z-index: 3;
  opacity: 0.85;
}

.lm-stacked-screens img:nth-child(4) {
  width: 74%;
  top: 135px;
  right: 0;
  left: auto;
  z-index: 4;
}

.lm-stacked-screens img:hover {
  z-index: 10;
  transform: scale(1.03);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
  opacity: 1;
}

/* ── News section (centered header + article fan) ── */

.lm-centered-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.lm-centered-header h2 {
  text-align: center;
}

.lm-centered-sub {
  font-size: 17px;
  line-height: 27px;
  color: #555;
}

/* Article fan - 5 cards overlapping */

.lm-article-fan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 40px 0 20px;
  margin: 0 -20px;
}

.lm-article-card {
  width: 240px;
  height: 340px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  border: 1px solid #dde0e4;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  margin: 0 -12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.lm-article-card:nth-child(1) { transform: rotate(-3deg); z-index: 1; }
.lm-article-card:nth-child(2) { transform: rotate(-1.5deg) translateY(-8px); z-index: 2; }
.lm-article-card:nth-child(3) { transform: rotate(0deg) translateY(-14px); z-index: 3; }
.lm-article-card:nth-child(4) { transform: rotate(1.5deg) translateY(-8px); z-index: 2; }
.lm-article-card:nth-child(5) { transform: rotate(3deg); z-index: 1; }

.lm-article-card:hover {
  transform: translateY(-20px) rotate(0deg) scale(1.04);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* ── Report cover ── */

.lm-report-cover-wrap {
  text-align: center;
  padding: 20px 40px;
}

.lm-report-cover {
  max-width: 320px;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.lm-section-light .lm-report-cover {
  border: none;
}

/* ── Final CTA ── */

.lm-cta {
  background: linear-gradient(135deg, #0a1628 0%, #122a4e 100%);
  padding: 80px 0;
  text-align: center;
}

.lm-cta h2 {
  font-family: Lato, sans-serif;
  font-size: 36px;
  line-height: 44px;
  font-weight: 300;
  color: #fff;
  margin: 0 0 16px;
}

.lm-cta p {
  font-size: 18px;
  line-height: 28px;
  color: #7a9bb5;
  margin-bottom: 32px;
}

/* ── SharkScope page ── */

.lm-hero-ss {
  background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #143a5c 100%);
}

.lm-hero-ss .lm-hero-overlay {
  background: none;
}

.ss-cta-btn {
  margin-top: 8px;
}

.ss-video-col {
  display: flex;
  align-items: center;
  padding: 10px 30px;
}

.ss-video-col .ss-video-wrap {
  width: 100%;
}

.ss-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
}

.ss-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ss-video-row {
  margin-bottom: 10px;
}

.lm-section-dark .ss-video-wrap {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

/* ── SharkScope 3-card stack ── */

.ss-stacked-screens {
  height: 380px;
}

.ss-stacked-screens img:nth-child(1) {
  width: 78%;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.6;
}

.ss-stacked-screens img:nth-child(2) {
  width: 75%;
  top: 50px;
  left: 12%;
  z-index: 2;
  opacity: 0.8;
}

.ss-stacked-screens img:nth-child(3) {
  width: 78%;
  top: 100px;
  right: 0;
  left: auto;
  z-index: 3;
}

/* Dark centered header */

.lm-centered-header-dark h2 {
  color: #fff;
}

.lm-centered-header-dark .lm-section-eyebrow {
  color: #2196F3;
}

/* ── Buy / Subscribe page ── */

/* ── Reports page ── */

.lm-hero-reports {
  min-height: 400px;
  background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #143a5c 100%);
}

.lm-hero-reports .lm-hero-overlay {
  background: none;
}

/* ── Buy / Subscribe page ── */

.lm-hero-buy {
  min-height: 380px;
  background: linear-gradient(135deg, #0a1628 0%, #122a4e 50%, #1a3a5c 100%);
}

.lm-hero-buy .lm-hero-overlay {
  background: none;
}

.lm-hero-content-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.lm-hero-sub-centered {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.lm-buy-features {
  padding: 60px 0;
}

.lm-buy-row {
  display: flex;
  align-items: stretch !important;
}

.lm-buy-row > [class*="col-"] {
  display: flex;
  float: none;
}

.lm-buy-feature {
  padding: 28px 24px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e4e7eb;
  width: 100%;
  height: 100%;
}

.lm-buy-feature .fa {
  color: #2196F3;
  margin-bottom: 14px;
}

.lm-buy-feature h3 {
  font-family: Lato, sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #1a2332;
}

.lm-buy-feature p {
  font-size: 15px;
  line-height: 24px;
  color: #555;
  margin: 0;
}

.lm-buy-contact {
  padding: 80px 0;
}

.lm-buy-contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.lm-buy-contact-inner h2 {
  font-family: Lato, sans-serif;
  font-size: 36px;
  line-height: 44px;
  font-weight: 300;
  color: #fff;
  margin: 0 0 16px;
  text-align: center;
}

.lm-buy-contact-inner p {
  font-size: 18px;
  line-height: 28px;
  color: #b0c4d8;
  margin-bottom: 28px;
}

.lm-buy-or {
  margin-top: 20px;
  font-size: 15px;
  color: #7a9bb5;
}

.lm-buy-or a {
  color: #2196F3;
}

/* ── Responsive ── */

@media (max-width: 991px) {
  .lm-section > .container-fluid > .row {
    display: block;
  }

  .lm-section-text {
    padding: 20px;
  }

  .lm-section-img {
    padding: 20px;
    margin-top: 20px;
  }

  .lm-hero h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .lm-hero-content {
    padding: 80px 20px 60px;
    text-align: center;
    max-width: none;
  }

  .lm-hero-sub {
    font-size: 18px;
    line-height: 26px;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .lm-stacked-screens {
    height: 320px;
  }

  .lm-article-card {
    width: 180px;
    height: 260px;
    margin: 0 -10px;
  }

  .lm-stat-num {
    font-size: 26px;
  }

  .lm-stat-label {
    font-size: 11px;
  }

  .lm-features-inline li {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .lm-hero {
    min-height: 400px;
  }

  .lm-hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .lm-hero-bg-img {
    display: none;
  }

  .lm-stats-row {
    flex-wrap: wrap;
  }

  .lm-stat {
    flex: 0 0 33.333%;
    padding: 10px 0;
  }

  .lm-stat-num {
    font-size: 24px;
  }

  .lm-section {
    padding: 50px 0;
  }

  .lm-section h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .lm-cta h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .lm-stacked-screens {
    height: 220px;
  }

  .lm-stack-back { width: 80%; }
  .lm-stack-mid { width: 75%; }
  .lm-stack-front { width: 80%; }
}
