/* =========================================================
   Appslin — Dynamic Website Design page enhancement layer
   Additive only. Loaded after all production stylesheets.
   ========================================================= */

.page-dynamic {
  --dy-navy: #0a1f44;
  --dy-blue: #1f6feb;
  --dy-green: #16a34a;
  --dy-line: rgba(10, 31, 68, .10);
  --dy-shadow: 0 24px 60px -28px rgba(10, 31, 68, .34);
  --dy-shadow-sm: 0 12px 30px -18px rgba(10, 31, 68, .3);
}

/* ---------------- 1. HERO ---------------- */
.page-dynamic .dy-hero { padding-bottom: 78px; }
.page-dynamic .dy-hero .pr-hero-grid { align-items: center; gap: 54px; }
.page-dynamic .dy-hero .pr-hero-title { letter-spacing: -.02em; }

.dy-hero-visual { position: relative; }
.dy-hero-art {
  position: relative;
  border-radius: 26px;
  background: #fff;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 40px 90px -34px rgba(4, 16, 40, .55);
}
.dy-hero-art::before {
  content: ""; position: absolute; inset: -18px -18px auto -18px; height: 60%;
  background: radial-gradient(60% 100% at 50% 0, rgba(31, 111, 235, .28), transparent 70%);
  filter: blur(14px); z-index: -1; border-radius: 30px;
}
.dy-hero-art img {
  display: block; width: 100%; height: auto; border-radius: 16px;
  object-fit: contain; background: #fff;
}
.dy-hero-devices {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 16px 0 0;
}
.dy-hero-devices span {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 11.5px/1 "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 999px; color: var(--dy-navy);
  background: rgba(31, 111, 235, .09); border: 1px solid rgba(31, 111, 235, .2);
}
.dy-hero-devices span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(140deg, var(--dy-blue), var(--dy-green));
}
.dy-hero-art { padding-bottom: 8px; }
.dy-hero-art .dy-hero-devices { margin: 12px 0 6px; }
.dy-hero-tags {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.dy-hero-tags li {
  font: 500 12.5px/1 "Plus Jakarta Sans", system-ui, sans-serif;
  padding: 8px 12px; border-radius: 10px; color: #eaf1ff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
}
.dy-hero-tags li::before { content: "•"; color: #4ade80; margin-right: 7px; }
@media (max-width: 991px) {
  .dy-hero-tags { justify-content: center; }
  .dy-hero-devices { justify-content: flex-start; }
}

/* ---------------- 2. 3 + FULL + FULL LAYOUT ---------------- */
.dy-split5 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dy-split5 > :nth-child(4),
.dy-split5 > :nth-child(5) { grid-column: 1 / -1; }
.dy-split5 > :nth-child(4),
.dy-split5 > :nth-child(5) {
  display: flex; gap: 22px; align-items: flex-start;
  background: linear-gradient(120deg, rgba(31, 111, 235, .05), rgba(22, 163, 74, .05));
  border-left: 3px solid var(--dy-blue);
}
.dy-split5 > :nth-child(5) { border-left-color: var(--dy-green); }
.dy-split5 > :nth-child(4) > h4, .dy-split5 > :nth-child(4) > h5,
.dy-split5 > :nth-child(5) > h4, .dy-split5 > :nth-child(5) > h5 { flex: 0 0 300px; margin: 0; }
.dy-split5 > :nth-child(4) > p,
.dy-split5 > :nth-child(5) > p { flex: 1 1 auto; margin: 0; }
.dy-split5 > :nth-child(4) > .p-card-ico,
.dy-split5 > :nth-child(5) > .p-card-ico { flex: 0 0 auto; }
@media (max-width: 991px) {
  .dy-split5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dy-split5 > :nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .dy-split5 { grid-template-columns: 1fr; }
  .dy-split5 > :nth-child(4), .dy-split5 > :nth-child(5) { display: block; }
  .dy-split5 > :nth-child(4) > h4, .dy-split5 > :nth-child(5) > h4,
  .dy-split5 > :nth-child(4) > h5, .dy-split5 > :nth-child(5) > h5 { margin-bottom: 8px; }
}
/* applications list: 3 + 2 full width */
.dy-apps.dy-split5 > :nth-child(4),
.dy-apps.dy-split5 > :nth-child(5) { align-items: flex-start; }

/* ---------------- 3. IMAGE / CONTENT ALIGNMENT ---------------- */
.page-dynamic .pp-split { align-items: stretch; }
.page-dynamic .pp-split > * { min-width: 0; }
.page-dynamic .pp-split-visual {
  display: flex; flex-direction: column; height: 100%;
  position: sticky; top: 108px; align-self: start;
}
.page-dynamic .pp-split-visual img {
  width: 100%; height: 100%; min-height: 320px; max-height: 560px;
  object-fit: cover; border-radius: 20px; box-shadow: var(--dy-shadow);
}
@media (max-width: 991px) {
  .page-dynamic .pp-split-visual { position: static; }
  .page-dynamic .pp-split-visual img { max-height: 380px; }
}

/* ---------------- 4. TRUSTED CLIENTS ---------------- */
.page-dynamic #dy-clients { --surface: #f6f9ff; background: #f6f9ff; }
.page-dynamic #dy-clients .logo-marquee-track { animation-duration: 52s; }

/* ---------------- 5. PACKAGE REDESIGN ---------------- */
.dy-pk-shell {
  background: #fff; border: 1px solid var(--dy-line); border-radius: 28px;
  box-shadow: var(--dy-shadow); overflow: hidden;
}
.dy-pk-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; }
.dy-pk-info { padding: 40px; }
.dy-pk-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font: 700 11.5px/1 "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: .1em; text-transform: uppercase; padding: 8px 13px;
  border-radius: 999px; color: #fff;
  background: linear-gradient(90deg, var(--dy-blue), var(--dy-green));
}
.dy-pk-info h4 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 32px); color: var(--dy-navy); }
.dy-pk-desc { margin: 0 0 22px; color: #4a5a75; }
.dy-pk-price { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 22px; }
.dy-pk-price .dy-price { margin: 0; }
.dy-pk-price .dy-price sup { font-size: 20px; top: -18px; }
.dy-pk-price .dy-price span { font-size: clamp(38px, 4vw, 54px); font-weight: 800; color: var(--dy-navy); }
.dy-pk-price em { font-style: normal; font-size: 13px; color: #6b7a92; padding-bottom: 10px; }
.dy-pk-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dy-pk-devices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.dy-pk-devices span {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 12px/1 "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 9px 13px; border-radius: 999px; color: var(--dy-navy);
  background: rgba(31, 111, 235, .08); border: 1px solid rgba(31, 111, 235, .18);
}
.dy-pk-preview {
  position: relative; padding: 34px;
  background: linear-gradient(150deg, #f4f8ff, #eef6f1);
  border-left: 1px solid var(--dy-line);
  display: flex; align-items: center; justify-content: center;
}
.dy-pk-preview img {
  display: block; width: 100%; height: auto; max-height: 460px;
  object-fit: contain; border-radius: 16px;
}
.dy-pk-preview figcaption {
  position: absolute; left: 34px; bottom: 18px;
  font: 600 12px/1.4 "Plus Jakarta Sans", system-ui, sans-serif; color: #55668a;
}
.dy-pk-body { padding: 36px 40px 40px; border-top: 1px solid var(--dy-line); }
.dy-pk-body h5 {
  margin: 0 0 18px; font-size: 18px; color: var(--dy-navy);
  display: flex; align-items: center; gap: 10px;
}
.dy-pk-body h5::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--dy-blue), var(--dy-green));
}
.page-dynamic .dy-pack-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 22px;
}
.page-dynamic .dy-pack-list li {
  position: relative; padding: 11px 12px 11px 34px; margin: 0;
  border-radius: 12px; background: #f7faff; border: 1px solid var(--dy-line);
  font-size: 14.5px; color: #33425c;
}
.page-dynamic .dy-pack-list li::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 13px; height: 13px;
  transform: translateY(-50%);
  background: var(--dy-green); border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px rgba(22, 163, 74, .18);
}
/* Complimentary benefits merged into the package */
.dy-pk-bonus {
  margin-top: 30px; padding: 30px;
  border-radius: 22px; color: #eaf2ff;
  background: linear-gradient(130deg, #0a1f44 0%, #103a76 55%, #0f5c3d 100%);
  box-shadow: var(--dy-shadow);
}
.dy-pk-bonus h5 { color: #fff; margin: 0 0 6px; }
.dy-pk-bonus h5::before { background: #4ade80; }
.dy-pk-bonus > p { margin: 0 0 20px; color: rgba(234, 242, 255, .78); font-size: 14.5px; }
.page-dynamic .dy-comp {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px;
}
.page-dynamic .dy-comp li {
  display: flex; align-items: flex-start; gap: 11px; margin: 0;
  padding: 16px 16px 16px 15px; border-radius: 16px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  font: 600 14px/1.45 "Plus Jakarta Sans", system-ui, sans-serif; color: #fff;
}
.page-dynamic .dy-comp li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 8px; margin-top: 1px;
  background: linear-gradient(140deg, #4ade80, #22c55e);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m5 13 4 4L19 7'/></svg>") center/16px no-repeat, linear-gradient(#000, #000);
  -webkit-mask-composite: source-over;
  mask: linear-gradient(#000, #000);
}
.page-dynamic .dy-comp li span.dy-comp-ico { display: none; }
@media (max-width: 1100px) {
  .page-dynamic .dy-pack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .dy-pk-top { grid-template-columns: 1fr; }
  .dy-pk-preview { border-left: 0; border-top: 1px solid var(--dy-line); }
  .dy-pk-info { padding: 30px; }
  .dy-pk-body { padding: 28px 30px 32px; }
}
@media (max-width: 620px) {
  .page-dynamic .dy-pack-list { grid-template-columns: 1fr; }
  .dy-pk-preview { padding: 20px; }
  .dy-pk-preview figcaption { position: static; margin-top: 12px; }
  .dy-pk-bonus { padding: 22px; }
}

/* ---------------- 6. FORM + CAPTCHA ---------------- */
.page-dynamic .dy-form .captcha-field { margin: 4px 0 18px; }
.page-dynamic .dy-form .captcha-note { font-size: 11.5px; color: #6b7a92; margin: 0; line-height: 1.5; }
.page-dynamic .dy-form .captcha-error { color: #d92d20; font-size: 12.5px; margin: 6px 0 0; }
.page-dynamic .dy-form-grid { align-items: stretch; }
.page-dynamic .dy-form-visual { display: flex; height: 100%; position: relative; }
.page-dynamic .dy-form-visual img {
  width: 100%; height: 100%; min-height: 340px; object-fit: cover;
  border-radius: 20px; box-shadow: var(--dy-shadow);
}

/* ---------------- 7. FAQ ---------------- */
.page-dynamic #faq .faq-grid { align-items: start; gap: 40px; }
.page-dynamic #faq .pp-faq-visual { margin-top: 22px; }
.page-dynamic #faq .pp-faq-visual img {
  width: 100%; height: auto; max-height: 420px; object-fit: cover;
  border-radius: 20px; box-shadow: var(--dy-shadow-sm);
}
.page-dynamic #faq .acc-item { overflow: hidden; }
.page-dynamic #faq .acc-head { align-items: flex-start; gap: 14px; text-align: left; }
.page-dynamic #faq .acc-head h6 { margin: 0; line-height: 1.45; }
.page-dynamic #faq .acc-head svg { flex: 0 0 20px; margin-top: 3px; }
.page-dynamic #faq .acc-body p { margin: 0; }

/* ---------------- 8. GENERAL RHYTHM ---------------- */
.page-dynamic .p-note { max-width: 980px; margin-inline: auto; text-align: center; }
@media (max-width: 480px) {
  .dy-hero-devices span, .dy-hero-tags li { font-size: 11.5px; }
}

/* ---------------- 9. RESPONSIVE REFINEMENTS ---------------- */
@media (max-width: 991px) {
  .page-dynamic .dy-hero .pr-hero-grid { display: flex; flex-direction: column; }
  .page-dynamic .dy-hero .pr-hero-copy { order: 1; }
  .page-dynamic .dy-hero-visual { order: 2; width: 100%; }
}
@media (max-width: 700px) {
  .dy-pk-preview { flex-direction: column; align-items: stretch; }
  .dy-pk-preview img { max-height: none; }
  .dy-pk-preview figcaption { position: static; margin-top: 14px; text-align: center; }
  .dy-pk-price { flex-wrap: wrap; }
}
/* full-width rows vertical centring */
.dy-split5 > :nth-child(4), .dy-split5 > :nth-child(5) { align-items: center; }
@media (max-width: 700px) {
  .dy-split5 > :nth-child(4), .dy-split5 > :nth-child(5) { align-items: stretch; }
}
/* request-info form fields should fill the card */
.page-dynamic .dy-form .form-row { width: 100%; }
.page-dynamic .dy-form .form-control { width: 100%; max-width: 100%; }
.page-dynamic .dy-form-card { display: flex; }
.page-dynamic .dy-form-card > form { width: 100%; }
