/* ==========================================================================
   Dynamic Website Design page — premium layer
   Extends the approved Appslin design system (homepage + portal development).
   Does not modify any production CSS.
   ========================================================================== */

.page-dynamic .pr-hero-title { max-width: 16ch; }
.page-dynamic .pr-hero-sub { max-width: 62ch; }
.page-dynamic .pr-hero-sub + .pr-hero-sub { margin-top: 12px; }

/* -------- icon cards using inline SVG -------- */
.page-dynamic .p-card-ico svg { width: 26px; height: 26px; color: #2563eb; }
.page-dynamic .p-card h5 { font-size: 19px; margin: 0 0 8px; }

/* -------- bullet list -------- */
.dy-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.dy-list li {
  position: relative;
  padding: 14px 18px 14px 48px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  color: #475569;
  font-size: 15.5px;
  line-height: 1.65;
  box-shadow: 0 6px 20px -14px rgba(15, 33, 66, .35);
}
.dy-list li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #22c55e);
}

/* -------- process steps -------- */
.dy-steps { display: grid; gap: 14px; }
.dy-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 10px 26px -20px rgba(15, 33, 66, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.dy-step:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(15, 33, 66, .5); }
.dy-step-no {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a1f44, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .5px;
}
.dy-step h4 { font-size: 18px; margin: 2px 0 6px; }
.dy-step p { margin: 0; color: #475569; font-size: 15px; }

/* -------- applications -------- */
.dy-apps { display: grid; gap: 16px; }
.dy-app {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 12px 30px -24px rgba(15, 33, 66, .5);
  transition: transform .25s ease, border-color .25s ease;
}
.dy-app:hover { transform: translateY(-3px); border-color: #c7d7f7; }
.dy-app-ico {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(34, 197, 94, .14));
  color: #1d4ed8;
}
.dy-app-ico svg { width: 28px; height: 28px; }
.dy-app h5 { font-size: 19px; margin: 4px 0 8px; }
.dy-app p { margin: 0; color: #475569; font-size: 15.5px; line-height: 1.7; }

/* -------- package -------- */
.dy-pack {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 60px -40px rgba(10, 31, 68, .55);
}
.dy-pack-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 34px;
  background: linear-gradient(150deg, #0a1f44, #123a7d 55%, #2563eb);
  color: #fff;
}
.dy-pack-head h4 { color: #fff; font-size: 24px; margin: 0 0 18px; }
.dy-price { margin: 0 0 26px; display: flex; align-items: flex-start; gap: 4px; line-height: 1; }
.dy-price sup { font-size: 24px; font-weight: 700; margin-top: 8px; }
.dy-price span { font-size: 62px; font-weight: 800; letter-spacing: -1px; }
.dy-pack-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dy-pack-head .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.dy-pack-head .btn-outline:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.dy-pack-list {
  list-style: none;
  margin: 0;
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
}
.dy-pack-list li {
  position: relative;
  padding-left: 28px;
  color: #334155;
  font-size: 15px;
  line-height: 1.6;
}
.dy-pack-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .16);
  box-shadow: inset 0 0 0 2px #22c55e;
}

/* -------- complimentary services -------- */
.dy-comp {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.dy-comp li {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #e8eefc;
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.pf-statement--light { margin-top: 34px; }
.pf-statement--light p { color: #e8eefc; }

/* -------- request more information form -------- */
.dy-form-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}
.dy-form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 26px 60px -42px rgba(10, 31, 68, .5);
}
.dy-form h3 { font-size: 26px; margin: 10px 0 22px; }
.dy-form .form-row { margin-bottom: 14px; }
.dy-form .form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8e0ec;
  border-radius: 12px;
  background: #f8fafc;
  font: inherit;
  font-size: 15px;
  color: #0f172a;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.dy-form .form-control:focus {
  outline: none;
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.dy-form .btn { margin-top: 8px; }
.dy-form-visual { position: relative; }
.dy-form-visual img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 70px -44px rgba(10, 31, 68, .6);
}

/* -------- reversed split -------- */
.pp-split--reverse .pp-split-visual { order: -1; }

/* -------- responsive -------- */
@media (max-width: 991px) {
  .dy-pack { grid-template-columns: minmax(0, 1fr); }
  .dy-form-grid { grid-template-columns: minmax(0, 1fr); }
  .pp-split--reverse .pp-split-visual { order: 0; }
}

@media (max-width: 767px) {
  .page-dynamic .pr-hero-title { max-width: none; }
  .dy-pack-list { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .dy-pack-head { padding: 30px 24px; }
  .dy-price span { font-size: 48px; }
  .dy-app { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .dy-step { grid-template-columns: 44px minmax(0, 1fr); padding: 16px; }
  .dy-step-no { width: 44px; height: 44px; font-size: 15px; }
  .dy-form-card { padding: 24px 20px; }
  .dy-comp li { font-size: 14px; padding: 10px 16px; }
}
