/* ==========================================================================
   Appslin — CMS Website Design page
   CMS-specific additions only. Loads AFTER the approved production stylesheets
   (homepage-custom, portal-*, dynamic-*) and never overrides them globally.
   Every rule is scoped to .page-cms.
   ========================================================================== */

/* ---------- Hero ---------- */
.page-cms .cms-hero-visual { position: relative; }
.page-cms .cms-hero-art {
  margin: 0;
  position: relative;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 70px -28px rgba(3, 12, 30, .55);
}
.page-cms .cms-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.page-cms .cms-hero-cap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.page-cms .cms-hero-cap span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #dbe7ff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 5px 12px;
}
.page-cms .cms-hero-tags {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-cms .cms-hero-tags li {
  font-size: 12.5px;
  font-weight: 600;
  color: #e8efff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  padding: 7px 12px;
}
.page-cms .cms-hero-tags-title {
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9fc0ff;
}

/* ---------- Numbered step cards ---------- */
.page-cms .cms-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.page-cms .cms-step {
  position: relative;
  background: #fff;
  border: 1px solid rgba(16, 42, 82, .1);
  border-radius: 18px;
  padding: 26px 22px 22px;
  box-shadow: 0 18px 40px -30px rgba(10, 31, 68, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.page-cms .cms-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -28px rgba(10, 31, 68, .45);
}
.page-cms .cms-step-no {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #0a1f44, #1d6bf5);
  margin-bottom: 14px;
}
.page-cms .cms-step h4,
.page-cms .cms-step h5,
.page-cms .cms-step h6 {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #0a1f44;
}
.page-cms .cms-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #5a6b85;
}

/* ---------- Highlight (bullet) cards ---------- */
.page-cms .cms-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-cms .cms-points li {
  position: relative;
  background: #fff;
  border: 1px solid rgba(16, 42, 82, .1);
  border-left: 4px solid #1d6bf5;
  border-radius: 14px;
  padding: 20px 20px 20px 48px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #4c5d78;
  box-shadow: 0 14px 34px -30px rgba(10, 31, 68, .6);
}
.page-cms .cms-points li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(29, 107, 245, .14);
  box-shadow: inset 0 0 0 4px #1d6bf5;
}
.page-cms .section--dark .cms-points li,
.page-cms .section--dark .cms-step {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  color: #d7e2f5;
  box-shadow: none;
}
.page-cms .section--dark .cms-step h4,
.page-cms .section--dark .cms-step h5 { color: #fff; }
.page-cms .section--dark .cms-step p { color: #cfdcf1; }

/* ---------- Balanced 5/7-item grids: last row centred, never orphaned ---------- */
.page-cms .cms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}
@media (min-width: 992px) {
  .page-cms .cms-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-cms .cms-grid--3 > .cms-span-2 { grid-column: span 2; }
  .page-cms .cms-grid--3 > .cms-span-3 { grid-column: span 3; }
}
.page-cms .cms-grid > * { height: 100%; }

/* ---------- Image + long content: sticky visual keeps alignment ---------- */
@media (min-width: 1024px) {
  .page-cms .cms-sticky-visual { position: sticky; top: 110px; }
  .page-cms .cms-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 46px;
    align-items: start;
  }
  .page-cms .cms-split--rev > .cms-sticky-visual { order: -1; }
}
.page-cms .cms-split { display: grid; gap: 30px; }
.page-cms .cms-visual {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 82, .1);
  background: #f4f7fd;
  box-shadow: 0 30px 60px -34px rgba(10, 31, 68, .5);
}
.page-cms .cms-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- CMS package ---------- */
.page-cms .cms-pack-devices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.page-cms .cms-pack-devices span {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #0a1f44;
  background: #e8f0ff;
  border: 1px solid rgba(29, 107, 245, .22);
  border-radius: 999px;
  padding: 6px 12px;
}
.page-cms .cms-pack-features {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 22px;
}
.page-cms .cms-pack-features li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #46586f;
}
.page-cms .cms-pack-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8f0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6bf5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.page-cms .cms-comp {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-cms .cms-comp li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0a1f44;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid rgba(29, 107, 245, .24);
  border-radius: 999px;
  padding: 9px 15px;
  box-shadow: 0 10px 26px -22px rgba(10, 31, 68, .8);
}
.page-cms .cms-comp li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  background: #1d6bf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- FAQ / form balance ---------- */
.page-cms .cms-faq-visual {
  margin: 22px 0 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 82, .1);
}
.page-cms .cms-faq-visual img { display: block; width: 100%; height: auto; }

.page-cms .cms-form-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}
@media (min-width: 1024px) {
  .page-cms .cms-form-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
}
.page-cms .cms-form-card {
  background: #fff;
  border: 1px solid rgba(16, 42, 82, .1);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 30px 70px -40px rgba(10, 31, 68, .6);
}
.page-cms .cms-form-card h3 { margin: 0 0 6px; }
.page-cms .cms-form-card > p { margin: 0 0 18px; color: #5a6b85; font-size: 14.5px; }

/* ---------- Mobile polish ---------- */
@media (max-width: 767px) {
  .page-cms .cms-hero-art { padding: 6px; border-radius: 20px; }
  .page-cms .cms-step { padding: 22px 18px; }
  .page-cms .cms-form-card { padding: 20px; }
  .page-cms .cms-points li { padding: 18px 16px 18px 44px; }
}
/* no horizontal scroll anywhere */
.page-cms { overflow-x: hidden; }

/* ---------- Approved corrections (Aug 2026) ---------- */
/* 1. "Launch and Ongoing Support" occupies a full-width, centered row */
.page-cms #concept-to-launch .cms-steps .cms-step--full {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-cms #concept-to-launch .cms-step--full .cms-step-no { margin: 0 auto; }
.page-cms #concept-to-launch .cms-step--full h4 { margin: 6px 0 0; }
.page-cms #concept-to-launch .cms-step--full p { max-width: 860px; margin: 0 auto; }

/* 3. Complimentary Services heading readable on the dark gradient panel */
.page-cms .dy-pk-bonus .cms-comp-title,
.page-cms .dy-pk-bonus h4,
.page-cms .dy-pk-bonus h5 { color: #ffffff; }
.page-cms .dy-pk-bonus .cms-comp-title { margin: 0 0 4px; font-size: 21px; letter-spacing: -.01em; }
.page-cms .dy-pk-bonus .cms-comp li { color: #0a1f44; }

/* 4. Request More Information card spacing */
.page-cms #request-info .dyf-meet-aside h3 { margin-top: 8px; }
