.marketing-page {
  background: #ffffff;
}

.marketing-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--brand-border);
}

.marketing-nav .nav-link {
  color: var(--brand-dark);
  font-weight: 700;
}

.marketing-nav .nav-link:hover,
.marketing-nav .nav-link.active {
  color: var(--brand-primary);
}

.marketing-page-hero {
  padding: 2rem 0 3rem;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.marketing-page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 1rem;
}

.marketing-page-hero .lead {
  color: var(--brand-muted);
  max-width: 46rem;
}

.detail-kicker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  margin-bottom: 1rem;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.detail-back-link:hover {
  color: var(--brand-primary);
}

.detail-kicker .eyebrow {
  margin-bottom: 0;
}

.marketing-link-card {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.marketing-link-card:hover .feature-card,
.marketing-link-card:hover .category-card,
.marketing-link-card:hover .pricing-card {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.marketing-footer {
  border-top: 1px solid var(--brand-border);
  background: #ffffff;
}

.marketing-footer h6 {
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.marketing-footer a {
  display: block;
  color: var(--brand-muted);
  text-decoration: none;
  margin-bottom: 0.45rem;
}

.marketing-footer a:hover {
  color: var(--brand-primary);
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.check-list li {
  color: var(--brand-muted);
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: "✓";
  color: var(--brand-success);
  font-weight: 700;
  margin-right: 0.55rem;
}

.comparison-table th {
  color: var(--brand-dark);
  font-weight: 700;
}

.comparison-table td {
  color: var(--brand-muted);
  vertical-align: middle;
}

.comparison-table td strong {
  color: var(--brand-dark);
}

@media (max-width: 991.98px) {
  .marketing-page-hero {
    padding-top: 4rem;
  }
}

/* =========================================
   HOMEPAGE ENHANCEMENTS
   ========================================= */

.tm-section-angled {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(86, 159, 247, 0.16), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(18, 183, 106, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.tm-section-angled::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(86, 159, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 159, 247, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent 0%, black 16%, black 84%, transparent 100%);
  pointer-events: none;
}

.tm-section-angled > .container {
  position: relative;
  z-index: 1;
}

.tm-problem-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  border-radius: 1.5rem;
  background: #ffffff;
  padding: 1.6rem;
  height: 100%;
  box-shadow: 0 14px 38px rgba(16, 24, 40, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(16, 24, 40, 0.09);
}

.tm-problem-card::after {
  content: "";
  position: absolute;
  right: -3rem;
  top: -3rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(86, 159, 247, 0.08);
}

.tm-problem-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(86, 159, 247, 0.10);
  color: var(--brand-primary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.tm-problem-card h5 {
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.tm-problem-card p {
  position: relative;
  z-index: 1;
  color: var(--brand-muted);
  margin-bottom: 0;
}

.tm-flow-wrapper {
  position: relative;
}

.tm-flow-line {
  position: absolute;
  top: 3.15rem;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, rgba(86, 159, 247, 0.18), rgba(18, 183, 106, 0.22));
}

.tm-flow-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 1.5rem;
  padding: 1.6rem;
  height: 100%;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.06);
}

.tm-flow-step {
  width: 3.8rem;
  height: 3.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary));
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 1.2rem;
  box-shadow: 0 12px 28px rgba(86, 159, 247, 0.25);
}

.tm-flow-card h5 {
  font-weight: 700;
}

.tm-flow-card p {
  color: var(--brand-muted);
  margin-bottom: 0;
}

.tm-showcase-shell {
  border: 1px solid var(--brand-border);
  border-radius: 2rem;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.10);
  overflow: hidden;
}

.tm-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--brand-border);
  background: #ffffff;
}

.tm-window-dots {
  display: flex;
  gap: 0.45rem;
}

.tm-window-dots span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #d0d5dd;
}

.tm-window-dots span:nth-child(1) {
  background: #f04438;
}

.tm-window-dots span:nth-child(2) {
  background: #f79009;
}

.tm-window-dots span:nth-child(3) {
  background: #12b76a;
}

.tm-showcase-title {
  color: var(--brand-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.tm-showcase-body {
  padding: 1rem;
  background: #f8fafc;
}

.tm-showcase-body img {
  width: 100%;
  display: block;
  border-radius: 1.25rem;
  border: 1px solid var(--brand-border);
}

.tm-use-case-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.tm-use-case-inner {
  position: relative;
  height: 100%;
  min-height: 210px;
  border: 1px solid var(--brand-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-use-case-card:hover .tm-use-case-inner {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(16, 24, 40, 0.10);
}

.tm-use-case-inner::after {
  content: "";
  position: absolute;
  width: 10rem;
  height: 10rem;
  right: -5rem;
  bottom: -5rem;
  border-radius: 50%;
  background: rgba(86, 159, 247, 0.09);
}

.tm-use-case-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(86, 159, 247, 0.10);
  color: var(--brand-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.tm-use-case-inner h5,
.tm-use-case-inner p,
.tm-use-case-inner span {
  position: relative;
  z-index: 1;
}

.tm-use-case-inner h5 {
  font-weight: 700;
}

.tm-use-case-inner p {
  color: var(--brand-muted);
}

.tm-use-case-inner span {
  color: var(--brand-primary);
  font-weight: 700;
}

.tm-check-grid {
  display: grid;
  gap: 0.9rem;
}

.tm-check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
}

.tm-check-row i {
  color: var(--brand-success);
  margin-top: 0.1rem;
}

.tm-check-row strong {
  display: block;
  color: var(--brand-dark);
}

.tm-check-row span {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

.tm-cta-split {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, var(--brand-secondary), var(--brand-primary));
  color: #ffffff;
  padding: 3rem;
  box-shadow: 0 24px 60px rgba(86, 159, 247, 0.28);
}

.tm-cta-split::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -7rem;
  bottom: -8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.tm-cta-split > .row {
  position: relative;
  z-index: 1;
}

.tm-cta-split p {
  color: rgba(255, 255, 255, 0.88);
}

.tm-cta-mini-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1.25rem;
  padding: 1rem;
}

.tm-cta-mini-card strong {
  display: block;
  font-size: 1.2rem;
}

.tm-cta-mini-card span {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 991.98px) {
  .tm-flow-line {
    display: none;
  }

  .tm-cta-split {
    padding: 2rem;
  }
}

/* =========================================
   TRACKMINDER MARKETING ENHANCEMENTS
   ========================================= */

.marketing-gradient-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(86, 159, 247, 0.20), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(18, 183, 106, 0.14), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 78%);
}

.marketing-gradient-hero::before {
  content: "";
  position: absolute;
  inset: auto -8rem -8rem auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: rgba(86, 159, 247, 0.12);
  filter: blur(8px);
}

.marketing-gradient-hero::after {
  content: "";
  position: absolute;
  inset: 5rem auto auto -8rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(18, 183, 106, 0.10);
  filter: blur(8px);
}

.marketing-gradient-hero > .container {
  position: relative;
  z-index: 1;
}

.tm-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  color: var(--brand-muted);
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.tm-hero-note-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--brand-success);
  box-shadow: 0 0 0 5px rgba(18, 183, 106, 0.12);
}

.tm-soft-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(228, 231, 236, 0.95);
  border-radius: 1.75rem;
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.10);
  backdrop-filter: blur(10px);
}

.tm-screenshot-frame {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 1.5rem;
  padding: 0.75rem;
  box-shadow: 0 22px 55px rgba(16, 24, 40, 0.12);
}

.tm-screenshot-frame img {
  display: block;
  width: 100%;
  border-radius: 1rem;
}

.tm-floating-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
}

.tm-floating-card strong {
  display: block;
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.tm-floating-card span {
  color: var(--brand-muted);
  font-size: 0.85rem;
}

.tm-floating-card-one {
  left: -1.5rem;
  bottom: 2rem;
}

.tm-floating-card-two {
  right: -1rem;
  top: 2rem;
}

.tm-section-blue {
  background:
    radial-gradient(circle at top left, rgba(86, 159, 247, 0.16), transparent 30%),
    linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
}

.tm-section-green {
  background:
    radial-gradient(circle at bottom right, rgba(18, 183, 106, 0.13), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fffb 100%);
}

.tm-section-split {
  background:
    linear-gradient(90deg, #f8fbff 0%, #f8fbff 50%, #ffffff 50%, #ffffff 100%);
}

.tm-benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tm-benefit-item {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
}

.tm-benefit-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand-dark);
}

.tm-benefit-item span {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

.tm-image-card {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.08);
}

.tm-image-card img {
  width: 100%;
  display: block;
}

.tm-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tm-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(86, 159, 247, 0.22);
  background: rgba(86, 159, 247, 0.08);
  color: var(--brand-primary);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.tm-tag::before {
  content: "✓";
  color: var(--brand-success);
}

.tm-comparison-card {
  border: 1px solid var(--brand-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  height: 100%;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.06);
}

.tm-comparison-card-muted {
  background: #f8fafc;
}

.tm-comparison-card-highlight {
  border-color: rgba(86, 159, 247, 0.38);
  box-shadow: 0 16px 44px rgba(86, 159, 247, 0.14);
}

.tm-mini-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.tm-mini-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--brand-border);
  color: var(--brand-muted);
}

.tm-mini-list li:last-child {
  border-bottom: 0;
}

.tm-mini-list li::before {
  content: "✓";
  color: var(--brand-success);
  font-weight: 700;
  margin-right: 0.55rem;
}

.tm-wave-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
  color: #ffffff;
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 22px 55px rgba(86, 159, 247, 0.28);
}

.tm-wave-cta::after {
  content: "";
  position: absolute;
  width: 20rem;
  height: 20rem;
  right: -7rem;
  bottom: -9rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.tm-wave-cta > * {
  position: relative;
  z-index: 1;
}

.tm-wave-cta p {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 991.98px) {
  .tm-benefit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-section-split {
    background: #f8fbff;
  }

  .tm-floating-card {
    position: static;
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .tm-benefit-strip {
    grid-template-columns: 1fr;
  }

  .tm-wave-cta {
    padding: 2rem;
    border-radius: 1.5rem;
  }
}

/* =========================================
   FEATURES PAGE ENHANCEMENTS
   ========================================= */

.tm-feature-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(86, 159, 247, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(18, 183, 106, 0.13), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 78%);
}

.tm-feature-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(86, 159, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 159, 247, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
  pointer-events: none;
}

.tm-feature-hero > .container {
  position: relative;
  z-index: 1;
}

.tm-feature-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tm-feature-hero .lead {
  color: var(--brand-muted);
  max-width: 42rem;
}

.tm-feature-hero-panel {
  position: relative;
}

.tm-feature-orbit-card {
  position: absolute;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.12);
}

.tm-feature-orbit-card strong {
  display: block;
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.tm-feature-orbit-card span {
  color: var(--brand-muted);
  font-size: 0.85rem;
}

.tm-feature-orbit-card.one {
  left: -1rem;
  bottom: 2rem;
}

.tm-feature-orbit-card.two {
  right: -1rem;
  top: 2rem;
}

.tm-feature-card-grid {
  position: relative;
}

.tm-feature-rich-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.tm-feature-rich-card-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  min-height: 245px;
  border: 1px solid var(--brand-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-feature-rich-card:hover .tm-feature-rich-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(16, 24, 40, 0.10);
}

.tm-feature-rich-card-inner::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  bottom: -3.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: rgba(86, 159, 247, 0.07);
  z-index: -1;
  pointer-events: none;
}

.tm-feature-rich-card:nth-child(2n) .tm-feature-rich-card-inner::after {
  background: rgba(18, 183, 106, 0.07);
}

.tm-feature-icon {
  position: relative;
  z-index: 1;
  width: 3.3rem;
  height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(86, 159, 247, 0.10);
  color: var(--brand-primary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.tm-feature-icon,
.tm-feature-rich-card-inner h5,
.tm-feature-rich-card-inner p,
.tm-feature-rich-card-inner span {
  position: relative;
  z-index: 1;
}

.tm-feature-band {
  background:
    radial-gradient(circle at top right, rgba(86, 159, 247, 0.16), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.tm-feature-showcase-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 1.75rem;
  padding: 1rem;
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.10);
}

.tm-feature-showcase-card img {
  width: 100%;
  display: block;
  border-radius: 1.15rem;
  border: 1px solid var(--brand-border);
}

.tm-feature-check-list {
  display: grid;
  gap: 0.85rem;
}

.tm-feature-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
}

.tm-feature-check i {
  color: var(--brand-success);
  font-style: normal;
  font-weight: 700;
}

.tm-feature-check strong {
  display: block;
  color: var(--brand-dark);
}

.tm-feature-check span {
  display: block;
  color: var(--brand-muted);
  font-size: 0.95rem;
}

.tm-feature-mini-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tm-feature-mini {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
}

.tm-feature-mini strong {
  display: block;
  color: var(--brand-dark);
  margin-bottom: 0.35rem;
}

.tm-feature-mini span {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .tm-feature-orbit-card {
    position: static;
    margin-top: 1rem;
  }

  .tm-feature-mini-strip {
    grid-template-columns: 1fr;
  }
}