/* Alternative comparison pages (e.g. IGdm Pro vs ManyChat)
   Visual language aligned with follow-to-DM: warm paper, near-black type, no blue washes. */

.alt-page {
  --alt-ink: #111;
  --alt-body: #4a4a4a;
  --alt-muted: #6b6b6b;
  --alt-faint: #9c9c9c;
  --alt-line: rgba(17, 17, 17, 0.09);
  --alt-paper: #f7f5f2;
  --alt-panel: #fff;
  --alt-yes: #2f6b45;
  --alt-no: #8f4a4a;
  --alt-radius: 24px;
  --alt-shadow: 0 10px 28px rgba(20, 20, 20, 0.05);
  color: var(--alt-ink);
  background: var(--alt-paper);
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  /* Absorb site footer mt-5 so the paper continues into that gap
     instead of showing the lighter body background (#FAFAFA). */
  margin-bottom: -3rem;
  padding-bottom: 2.75rem;
  overflow-x: clip;
}

.alt-page .alt-container {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Hero */
.alt-hero {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  min-height: clamp(34rem, 78vh, 46rem);
  padding: 5.5rem 0 4.5rem;
  background: transparent;
  overflow: hidden;
}

.alt-hero__glow {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
}

.alt-hero__glow--a {
  width: min(52vw, 34rem);
  height: min(52vw, 34rem);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 70%);
}

.alt-hero__glow--b {
  width: min(46vw, 30rem);
  height: min(46vw, 30rem);
  right: -6%;
  top: 18%;
  background: radial-gradient(circle, rgba(232, 220, 204, 0.55) 0%, rgba(232, 220, 204, 0) 72%);
}

.alt-hero__glow--c {
  width: min(40vw, 26rem);
  height: min(40vw, 26rem);
  left: 32%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.035) 0%, rgba(0, 0, 0, 0) 70%);
}

.alt-hero__inner {
  width: 100%;
  position: relative;
}

.alt-hero__kicker {
  display: block;
  margin: 0 auto 1.75rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--alt-faint);
  animation: alt-hero-rise 0.8s ease both;
}

.alt-hero__title {
  margin: 0 0 1.75rem;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: center;
  animation: alt-hero-rise 0.9s ease 0.08s both;
}

.alt-hero__stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem 1.5rem;
  max-width: 52rem;
  margin: 0 auto;
}

.alt-hero__side {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.65rem 1.5rem 1.7rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}

.alt-hero__side--other {
  text-align: right;
}

.alt-hero__brand {
  display: block;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--alt-ink);
}

.alt-hero__side--other .alt-hero__brand {
  color: #2f2f2f;
  font-weight: 800;
}

.alt-hero__side-tag {
  display: block;
  max-width: 14rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--alt-muted);
}

.alt-hero__side--other .alt-hero__side-tag {
  margin-left: auto;
}

.alt-hero__vs-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
  animation: alt-hero-pulse 4.5s ease-in-out 0.6s infinite;
}

.alt-hero__vs-mark-text {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  line-height: 1;
}

.alt-hero__subtitle {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  text-align: center;
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--alt-muted);
  animation: alt-hero-rise 0.9s ease 0.16s both;
}

.alt-hero__lead {
  margin: 0 auto;
  max-width: 34rem;
  text-align: center;
  font-size: 1.03rem;
  line-height: 1.78;
  color: var(--alt-body);
  animation: alt-hero-rise 0.95s ease 0.24s both;
}

.alt-hero__lead strong {
  color: var(--alt-ink);
  font-weight: 600;
}

.alt-hero__rule {
  width: 3rem;
  height: 1px;
  margin: 2.75rem auto 0;
  background: rgba(17, 17, 17, 0.18);
  animation: alt-hero-rise 1s ease 0.32s both;
}

@keyframes alt-hero-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes alt-hero-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .alt-hero__kicker,
  .alt-hero__title,
  .alt-hero__subtitle,
  .alt-hero__lead,
  .alt-hero__rule,
  .alt-hero__vs-mark {
    animation: none;
  }
}

@media (max-width: 767px) {
  .alt-hero {
    min-height: 0;
    padding: 4rem 0 3.25rem;
  }

  .alt-hero__stage {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    max-width: 24rem;
  }

  .alt-hero__side,
  .alt-hero__side--other {
    text-align: center;
  }

  .alt-hero__side-tag,
  .alt-hero__side--other .alt-hero__side-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .alt-hero__vs-mark {
    width: 2.7rem;
    height: 2.7rem;
    margin: 0.15rem auto;
  }

  .alt-hero__brand {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }
}

/* Sections */
.alt-section {
  padding: 3.25rem 0 3.75rem;
  border-top: 1px solid var(--alt-line);
}

.alt-section--soft {
  background: transparent;
}

.alt-section__head {
  max-width: 34rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.alt-section__num {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--alt-faint);
}

.alt-section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--alt-ink);
}

.alt-section__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--alt-body);
}

/* Snapshot / glance board */
.alt-glance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--alt-panel);
  border-radius: var(--alt-radius);
  box-shadow: var(--alt-shadow);
  overflow: hidden;
}

.alt-glance__col {
  padding: 1.55rem 1.35rem 1.65rem;
  border-right: 1px solid var(--alt-line);
}

.alt-glance__col:last-child {
  border-right: none;
}

.alt-glance__label {
  display: block;
  margin-bottom: 1.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--alt-faint);
}

.alt-glance__pair {
  display: grid;
  gap: 0.95rem;
}

.alt-glance__item {
  display: grid;
  gap: 0.25rem;
}

.alt-glance__item + .alt-glance__item {
  padding-top: 0.95rem;
  border-top: 1px solid var(--alt-line);
}

.alt-glance__who {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--alt-faint);
}

.alt-glance__item--igdm .alt-glance__who {
  color: var(--alt-ink);
}

.alt-glance__value {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--alt-ink);
}

/* Comparison table */
.alt-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--alt-panel);
  border-radius: var(--alt-radius);
  box-shadow: var(--alt-shadow);
}

.alt-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
}

.alt-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 1.2rem 1.4rem 1.05rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--alt-faint);
  background: #fff;
  border-bottom: 1px solid var(--alt-line);
  vertical-align: middle;
}

.alt-table thead th.alt-col-igdm {
  color: var(--alt-ink);
}

.alt-table tbody th,
.alt-table tbody td {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--alt-line);
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.62;
}

.alt-table tbody tr:last-child th,
.alt-table tbody tr:last-child td {
  border-bottom: none;
}

.alt-table tbody th {
  width: 21%;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--alt-ink);
  background: transparent;
}

.alt-table tbody td {
  width: 39.5%;
  color: var(--alt-body);
}

.alt-table tbody td.alt-col-igdm {
  color: #2c2c2c;
}

.alt-cell-text strong {
  color: var(--alt-ink);
  font-weight: 600;
}

.alt-flag {
  display: inline-block;
  margin: 0 0.35rem 0.15rem 0;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.05em;
  line-height: 1.3;
}

.alt-flag--yes {
  background: rgba(47, 107, 69, 0.1);
  color: var(--alt-yes);
}

.alt-flag--no {
  background: rgba(143, 74, 74, 0.1);
  color: var(--alt-no);
}

/* Pricing */
.alt-pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.alt-price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.85rem 1.65rem 1.8rem;
  background: var(--alt-panel);
  border-radius: var(--alt-radius);
  box-shadow: var(--alt-shadow);
}

.alt-price--featured {
  box-shadow: 0 14px 36px rgba(20, 20, 20, 0.08);
}

.alt-price__badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.alt-price__name {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--alt-faint);
}

.alt-price__amount {
  margin: 0 0 1.05rem;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--alt-ink);
  line-height: 1.05;
}

.alt-price__amount span {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--alt-muted);
}

.alt-price__note {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--alt-body);
}

.alt-price__list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
}

.alt-price__list li {
  padding: 0.75rem 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--alt-body);
  border-top: 1px solid var(--alt-line);
}

.alt-price__list strong {
  color: var(--alt-ink);
  font-weight: 600;
}

/* Pros / cons */
.alt-proscons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.alt-pc {
  background: var(--alt-panel);
  border-radius: var(--alt-radius);
  box-shadow: var(--alt-shadow);
  overflow: hidden;
}

.alt-pc__head {
  padding: 1.35rem 1.55rem 1.15rem;
  border-bottom: 1px solid var(--alt-line);
}

.alt-pc__head h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--alt-ink);
}

.alt-pc__block {
  padding: 1.3rem 1.55rem 0.45rem;
}

.alt-pc__block + .alt-pc__block {
  border-top: 1px solid var(--alt-line);
}

.alt-pc__label {
  margin: 0 0 0.95rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.alt-pc__label--pro {
  color: var(--alt-yes);
}

.alt-pc__label--con {
  color: var(--alt-no);
}

.alt-pc__list {
  list-style: none;
  margin: 0;
  padding: 0 0 1.05rem;
}

.alt-pc__list li {
  position: relative;
  margin: 0 0 0.95rem;
  padding-left: 1.55rem;
  font-size: 0.96rem;
  line-height: 1.58;
  color: var(--alt-body);
}

.alt-pc__list li .mdi {
  position: absolute;
  left: 0;
  top: 0.12rem;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
}

.alt-pc__list--pro .mdi {
  color: var(--alt-yes);
}

.alt-pc__list--con .mdi {
  color: var(--alt-no);
}

.alt-pc__list strong {
  color: var(--alt-ink);
  font-weight: 600;
}

/* Verdict */
.alt-verdict {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.alt-verdict p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: var(--alt-body);
}

.alt-verdict strong {
  color: var(--alt-ink);
  font-weight: 600;
}

.alt-decide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.alt-decide__col {
  background: var(--alt-panel);
  border-radius: var(--alt-radius);
  box-shadow: var(--alt-shadow);
  overflow: hidden;
}

.alt-decide__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.25rem 1.5rem 1.15rem;
  border-bottom: 1px solid var(--alt-line);
}

.alt-decide__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.alt-decide__col--consider .alt-decide__index {
  background: transparent;
  border: 1px solid var(--alt-line);
  color: var(--alt-muted);
}

.alt-decide__head h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--alt-ink);
}

.alt-decide__list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 1.5rem 1.15rem;
}

.alt-decide__list li {
  position: relative;
  margin: 0;
  padding: 0.85rem 0 0.85rem 1rem;
  border-bottom: 1px solid var(--alt-line);
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--alt-body);
}

.alt-decide__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--alt-faint);
}

.alt-decide__list li:last-child {
  border-bottom: none;
}

.alt-decide__list strong {
  color: var(--alt-ink);
  font-weight: 600;
}

/* Final CTA: match landing-page footer band width on paper background */
.alt-page .final-cta {
  width: calc(100% - 30px);
  margin: 1rem auto 0;
}

.alt-page .final-cta h2 {
  color: #fff;
  font-weight: 800;
  font-size: 2.5rem;
}

@media (max-width: 768px) {
  .alt-page .final-cta h2 {
    font-size: 2rem;
  }
}

@media (min-width: 576px) {
  .alt-page .final-cta { max-width: 540px; }
}

@media (min-width: 768px) {
  .alt-page .final-cta { max-width: 720px; }
}

@media (min-width: 992px) {
  .alt-page .final-cta { max-width: 960px; }
}

@media (min-width: 1200px) {
  .alt-page .final-cta { max-width: 1140px; }
}

@media (max-width: 991px) {
  .alt-glance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alt-glance__col:nth-child(2) {
    border-right: none;
  }

  .alt-glance__col:nth-child(1),
  .alt-glance__col:nth-child(2) {
    border-bottom: 1px solid var(--alt-line);
  }

  .alt-glance__col:nth-child(odd) {
    border-right: 1px solid var(--alt-line);
  }
}

@media (max-width: 767px) {
  .alt-section {
    padding: 2.75rem 0 3rem;
  }

  .alt-glance,
  .alt-pricing,
  .alt-proscons,
  .alt-decide {
    grid-template-columns: 1fr;
  }

  .alt-glance__col {
    border-right: none !important;
    border-bottom: 1px solid var(--alt-line);
  }

  .alt-glance__col:last-child {
    border-bottom: none;
  }

  .alt-table tbody th {
    width: auto;
  }

  .alt-table thead th,
  .alt-table tbody th,
  .alt-table tbody td {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

/* Comparisons index */
.alt-index-page .alt-index-title {
  justify-content: center;
}

.alt-index-title-main {
  display: block;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.alt-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--alt-line);
  border-radius: var(--alt-radius);
  overflow: hidden;
  background: var(--alt-panel);
  box-shadow: var(--alt-shadow);
}

.alt-index-item + .alt-index-item {
  border-top: 1px solid var(--alt-line);
}

.alt-index-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.35rem;
  text-decoration: none !important;
  color: inherit;
  transition: background 0.15s ease;
}

.alt-index-link:hover,
.alt-index-link:focus {
  background: rgba(17, 17, 17, 0.03);
  outline: none;
}

.alt-index-link:hover .alt-index-go,
.alt-index-link:focus .alt-index-go {
  transform: translateX(3px);
  color: var(--alt-ink);
}

.alt-index-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.alt-index-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alt-faint);
}

.alt-index-name {
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--alt-ink);
}

.alt-index-dek {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--alt-muted);
}

.alt-index-go {
  color: var(--alt-faint);
  transition: transform 0.15s ease, color 0.15s ease;
}

.alt-index-go .mdi {
  font-size: 1.35rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .alt-index-link {
    padding: 1.05rem 1.1rem;
  }

  .alt-index-name {
    font-size: 1.05rem;
  }
}
