/* ==========================================================
   APP DEVELOPMENT PAGE STYLES – loaded only on app-development-services.php
   ========================================================== */

.ap-center-head {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}
.ap-center-head > p {
  font-size: 16px;
  color: var(--muted);
}
.ap-center-head h2,
.ap-compare__intro h2,
.ap-trust__content h2,
.ap-who__content h2,
.ap-faq__intro h2 {
  margin: 6px 0 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Hero ---------- */
.ap-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 130px 0 130px;
  color: #c9d4ee;
  background: var(--navy-900);
}
.ap-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px 400px at 8% 10%, rgba(30, 107, 255, 0.35), transparent 65%),
    radial-gradient(560px 420px at 85% 70%, rgba(249, 115, 22, 0.12), transparent 65%);
}
.ap-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
}
.ap-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ap-hero .crumbs {
  margin-bottom: 18px;
}
.ap-hero h1 {
  color: #fff;
  font-size: clamp(32px, 3.9vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.ap-hero__content > p {
  max-width: 560px;
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.7;
}
.ap-hero__content > p.ap-hero__lead {
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.ap-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}
.ap-hero__call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
}
.ap-hero__call span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    background 0.3s,
    color 0.3s;
}
.ap-hero__call:hover span {
  color: var(--navy-900);
  background: var(--cyan);
}
.ap-hero__plats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  font-weight: 600;
  color: #dbe5ff;
}
.ap-hero__plats li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ap-hero__plats i {
  color: var(--cyan);
}
.ap-hero__visual {
  position: relative;
  padding: 0 0 40px 40px;
}
.ap-hero__photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 30px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.5);
}
.ap-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.ap-hero__visual:hover .ap-hero__photo img {
  transform: scale(1.04);
}
.build {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 250px;
  padding: 16px;
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.4);
  animation: float 6s ease-in-out infinite;
}
.build__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.build__head > span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #fff;
  background: var(--grad-primary);
}
.build__head b {
  flex: 1;
  font-family: var(--font-head);
  font-size: 14px;
}
.build__head em {
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: var(--blue-600);
}
.build.is-done .build__head em {
  color: var(--green);
}
.build ul {
  display: grid;
  gap: 8px;
}
.build li {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-soft);
}
.build li > i {
  color: var(--muted);
  transition: color 0.3s;
}
.build__st {
  position: relative;
  width: 58px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e9f5;
}
.build__st b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-primary);
}
.build li.is-run .build__st b {
  width: 100%;
  transition: width 1.1s linear;
}
.build li.is-ok {
  background: #f1fbf4;
}
.build li.is-ok > i {
  color: var(--green);
}
.build li.is-ok .build__st {
  width: 20px;
  height: 20px;
  overflow: visible;
  background: transparent;
}
.build li.is-ok .build__st b {
  display: none;
}
.build li.is-ok .build__st::after {
  content: "\f00c";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Font Awesome 6 Free";
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  background: var(--green);
  animation: apPop 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
@keyframes apPop {
  from {
    transform: scale(0.3);
  }
}
.ap-hero__chip {
  position: absolute;
  right: -14px;
  top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  color: #c9d4ee;
  background: rgba(10, 23, 60, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  animation: float 6s ease-in-out infinite;
  animation-delay: -3s;
}
.ap-hero__chip > span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--navy-900);
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}
.ap-hero__chip p {
  font-size: 12px;
}
.ap-hero__chip strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14.5px;
  color: #fff;
}

/* ---------- Stats ---------- */
.ap-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -70px;
  padding: 26px 12px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.ap-stats__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 4px 18px;
}
.ap-stats__item + .ap-stats__item {
  border-left: 1px solid var(--line);
}
.ap-stats__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--blue-600);
  background: var(--blue-50);
}
.ap-stats__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}
.ap-stats__item small {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Services bento ---------- */
.ap-services {
  padding-top: 100px;
}
.apb {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "a b b"
    "a c d"
    "a e e";
  gap: 20px;
}
.apb__a {
  grid-area: a;
}
.apb__b {
  grid-area: b;
}
.apb__c {
  grid-area: c;
}
.apb__d {
  grid-area: d;
}
.apb__e {
  grid-area: e;
}
.apb__card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}
.apb__card:hover {
  transform: translateY(-6px);
  border-color: #c9d9ff;
  box-shadow: 0 26px 52px rgba(13, 38, 96, 0.14);
}
.apb__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.apb__card:hover .apb__icon {
  color: #fff;
  background: var(--grad-primary);
  transform: rotate(-8deg);
}
.apb__card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}
.apb__card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}
/* tall photo card */
.apb__card--photo {
  min-height: 520px;
  padding: 0;
  border: 0;
  background: var(--navy-900);
}
.apb__card--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.apb__card--photo:hover img {
  transform: scale(1.06);
}
.apb__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px 24px 24px;
  color: #c9d4ee;
  background: linear-gradient(transparent, rgba(6, 21, 56, 0.85) 45%, rgba(6, 21, 56, 0.96));
}
.apb__overlay h3 {
  color: #fff;
}
.apb__overlay p {
  color: #c9d4ee;
}
.apb__overlay .apb__icon {
  color: var(--navy-900);
  background: var(--cyan);
}
/* wide card with thumbnail */
.apb__b {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
  padding: 14px 24px 14px 14px;
}
.apb__thumb {
  margin: 0;
  overflow: hidden;
  height: 100%;
  min-height: 200px;
  border-radius: 18px;
}
.apb__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.apb__b:hover .apb__thumb img {
  transform: scale(1.06);
}
.apb__body {
  padding: 10px 0;
}
/* dark featured card */
.apb__card--dark {
  color: #a9b6d6;
  background:
    radial-gradient(260px 200px at 100% 0%, rgba(46, 230, 242, 0.22), transparent 70%),
    linear-gradient(150deg, #13307a, var(--navy-900));
  border-color: transparent;
}
.apb__card--dark:hover {
  border-color: transparent;
}
.apb__card--dark h3 {
  color: #fff;
}
.apb__card--dark p {
  color: #a9b6d6;
}
.apb__card--dark .apb__icon {
  color: var(--navy-900);
  background: var(--cyan);
}
.apb__plats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 14px;
  color: #fff;
}
.apb__plats i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: rgba(255, 255, 255, 0.1);
}
.apb__plats span {
  color: var(--cyan);
}
.apb__plats b {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--navy-900);
  background: var(--cyan);
}
.apb__e {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: center;
}
.apb__e .apb__icon {
  grid-row: 1 / span 2;
  margin: 0;
}

/* ---------- Process timeline (dark) ---------- */
.ap-process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 20px 16px;
  padding: 90px 0 80px;
  border-radius: 36px;
  color: #a9b6d6;
  background: var(--navy-900);
}
.ap-process__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(620px 380px at 0% 0%, rgba(30, 107, 255, 0.32), transparent 65%),
    radial-gradient(560px 360px at 100% 100%, rgba(249, 115, 22, 0.1), transparent 65%);
}
.ap-process .ap-center-head h2 {
  color: #fff;
}
.ap-process .ap-center-head > p {
  color: #a9b6d6;
}
.ap-process .eyebrow {
  color: var(--cyan);
}
.ap-process .eyebrow--line::before {
  background: var(--cyan);
}
.aptl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.aptl::before,
.aptl::after {
  /* track + line that draws once */
  content: "";
  position: absolute;
  left: calc(100% / 12);
  right: calc(100% / 12);
  top: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.aptl::after {
  background: linear-gradient(90deg, var(--blue-400), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
}
.aptl.is-drawn::after {
  transform: scaleX(1);
}
.aptl__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.aptl__node {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--cyan);
  background: #0c1d4f;
  border: 2px solid rgba(46, 230, 242, 0.35);
  box-shadow: 0 0 0 8px var(--navy-900);
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1),
    border-color 0.4s;
}
.aptl.is-drawn .aptl__node {
  animation: apNode 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) both;
  animation-delay: calc(var(--i) * 0.33s);
}
@keyframes apNode {
  50% {
    transform: scale(1.15);
    border-color: var(--cyan);
  }
}
.aptl__step:hover .aptl__node {
  color: var(--navy-900);
  background: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-4px) rotate(-8deg);
}
.aptl__no {
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.aptl__step h3 {
  margin-bottom: 8px;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}
.aptl__step p {
  font-size: 13.5px;
  line-height: 1.65;
}

/* ---------- Native vs cross-platform ---------- */
.ap-compare__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.ap-compare__intro > p {
  font-size: 16px;
  color: var(--muted);
}
.cmp-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin: 24px 0 14px;
  padding: 5px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.cmp-switch__pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--navy-800);
  box-shadow: 0 8px 18px rgba(10, 31, 79, 0.25);
  transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.cmp-switch[data-active="1"] .cmp-switch__pill {
  transform: translateX(100%);
}
.cmp-switch__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  transition: color 0.35s;
}
.cmp-switch__btn.is-active {
  color: #fff;
}
.cmp-note {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.cmp-note i {
  margin-top: 3px;
  color: var(--blue-600);
}
.cmp {
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(13, 38, 96, 0.1);
}
.cmp__panel[hidden] {
  display: none;
}
.cmp__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.cmp__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  background: var(--grad-primary);
}
.cmp__head strong {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--ink);
}
.cmp__head small {
  font-size: 13px;
  color: var(--muted);
}
.cmp__bars {
  display: grid;
  gap: 12px;
}
.cmp__bars li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
}
.cmp__dots {
  display: flex;
  gap: 5px;
}
.cmp__dots b {
  width: 22px;
  height: 8px;
  border-radius: 999px;
  background: #dfe6f3;
}
.cmp__dots b.on {
  background: var(--grad-primary);
}
.cmp__panel.is-active .cmp__dots b.on {
  animation: apDot 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) both;
  animation-delay: calc(var(--d) * 60ms);
}
@keyframes apDot {
  from {
    transform: scaleX(0);
  }
}
.cmp__best {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  color: #c9d4ee;
  background: linear-gradient(150deg, #0f2766, var(--navy-900));
}
.cmp__best > span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.cmp__best ul {
  display: grid;
  gap: 6px;
}
.cmp__best li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #fff;
}
.cmp__best li i {
  margin-top: 4px;
  font-size: 11px;
  color: #2fe07a;
}

/* ---------- Trusted agency ---------- */
.ap-trust {
  background: linear-gradient(180deg, var(--bg-soft), #fff);
}
.ap-trust__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.ap-trust__media {
  position: relative;
  padding-bottom: 40px;
}
.ap-trust__media figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}
.ap-trust__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.ap-trust__media:hover img {
  transform: scale(1.04);
}
.ap-trust__stack {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  padding: 16px 18px;
  border-radius: 20px;
  color: #c9d4ee;
  background: linear-gradient(150deg, #0f2766, var(--navy-900));
  box-shadow: var(--shadow-lg);
}
.ap-trust__stack > span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.ap-trust__stack div {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.ap-trust__stack i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.ap-trust__stack i:hover {
  color: var(--navy-900);
  background: var(--cyan);
  transform: translateY(-3px);
}
.tlist {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.tlist__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s,
    box-shadow 0.35s;
}
.tlist__item:hover {
  transform: translateX(6px);
  border-color: #c9d9ff;
  box-shadow: 0 16px 36px rgba(13, 38, 96, 0.1);
}
.tlist__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.35s,
    color 0.35s;
}
.tlist__item:hover .tlist__icon {
  color: #fff;
  background: var(--grad-primary);
}
.tlist__item > div {
  flex: 1;
}
.tlist__item strong {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
}
.tlist__item p {
  font-size: 14px;
  color: var(--muted);
}
.tlist__no {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px #d6def0;
}
.ap-trust__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.ap-trust__chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}
.ap-trust__chips i {
  color: var(--blue-600);
}

/* ---------- CTA band ---------- */
.ap-boost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  margin: 20px 0;
  padding: 44px 50px;
  border-radius: 30px;
  color: #dbe5ff;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(46, 230, 242, 0.3), transparent 65%),
    linear-gradient(120deg, #1e6bff 0%, #1554e8 40%, #0a2a8a 100%);
  box-shadow: 0 34px 70px rgba(10, 42, 138, 0.3);
}
.ap-boost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.2px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}
.ap-boost__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.ap-boost h2 {
  margin: 16px 0 24px;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.ap-boost h2 span {
  color: var(--cyan);
}
.ap-boost__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.ap-boost__ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition:
    background 0.3s,
    color 0.3s;
}
.ap-boost__ghost:hover {
  color: var(--navy-900);
  background: #fff;
}

/* ---------- Who we are + vision / mission ---------- */
.ap-who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ap-who__content > p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}
.ap-who__devices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ap-who__devices li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.ap-who__devices li:hover {
  transform: translateY(-3px);
  border-color: #c9d9ff;
}
.ap-who__devices i {
  color: var(--blue-600);
}
.ap-who__media {
  position: relative;
  padding: 0 0 70px 0;
}
.ap-who__main {
  width: 72%;
  margin: 0 0 0 auto;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.ap-who__second {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 22px;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.ap-who__main img,
.ap-who__second img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.ap-who__main:hover img,
.ap-who__second:hover img {
  transform: scale(1.05);
}
.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}
.vm__card {
  position: relative;
  overflow: hidden;
  padding: 32px 30px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s;
}
.vm__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(13, 38, 96, 0.12);
}
.vm__card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px dashed #c9d9ff;
}
.vm__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  background: var(--grad-primary);
}
.vm__card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
}
.vm__card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.vm__card--dark {
  color: #a9b6d6;
  background:
    radial-gradient(260px 200px at 100% 0%, rgba(46, 230, 242, 0.2), transparent 70%),
    linear-gradient(150deg, #13307a, var(--navy-900));
  border-color: transparent;
}
.vm__card--dark::after {
  border-color: rgba(255, 255, 255, 0.15);
}
.vm__card--dark h3 {
  color: #fff;
}
.vm__card--dark p {
  color: #a9b6d6;
}
.vm__card--dark .vm__icon {
  color: var(--navy-900);
  background: var(--cyan);
}

/* ---------- FAQ ---------- */
.ap-faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.ap-faq__intro > p {
  font-size: 16px;
  color: var(--muted);
}
.ap-faq__links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.ap-faq__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition:
    border-color 0.3s,
    color 0.3s;
}
.ap-faq__links a i:last-child {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.3s;
}
.ap-faq__links a:hover {
  color: var(--blue-600);
  border-color: #c9d9ff;
}
.ap-faq__links a:hover i:last-child {
  transform: translateX(4px);
}
.ap-faq__contact {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.ap-faq__contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s;
}
.ap-faq__contact span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.3s,
    color 0.3s;
}
.ap-faq__contact a:hover {
  color: var(--blue-600);
}
.ap-faq__contact a:hover span {
  color: #fff;
  background: var(--blue-600);
}

@media (prefers-reduced-motion: reduce) {
  .build,
  .ap-hero__chip,
  .ap-who__second {
    animation: none;
  }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .aptl {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
  .aptl::before,
  .aptl::after {
    display: none;
  }
  .apb {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a b"
      "a c"
      "d e";
  }
  .apb__b {
    grid-template-columns: 1fr;
    padding: 14px 14px 20px;
  }
  .apb__thumb {
    min-height: 160px;
    aspect-ratio: 16 / 8;
  }
  .apb__body {
    padding: 4px 10px 0;
  }
  .apb__e {
    display: block;
  }
  .apb__e .apb__icon {
    margin-bottom: 18px;
  }
}
@media (max-width: 1024px) {
  .ap-hero__inner,
  .ap-compare__grid,
  .ap-trust__grid,
  .ap-who__grid,
  .ap-faq__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .ap-hero__visual,
  .ap-trust__media,
  .ap-who__media,
  .cmp {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
  }
  .ap-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }
  .ap-stats__item:nth-child(3) {
    border-left: 0;
  }
  .ap-boost {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  .vm {
    margin-top: 44px;
  }
}
@media (max-width: 720px) {
  .ap-hero {
    padding: 110px 0 110px;
  }
  .ap-hero__visual {
    padding: 0 0 60px;
  }
  .build {
    left: 10px;
    width: 230px;
    padding: 14px;
  }
  .ap-hero__chip {
    right: 8px;
    top: -18px;
    padding: 9px 12px 9px 9px;
  }
  .ap-hero__chip > span {
    width: 32px;
    height: 32px;
  }
  .ap-stats {
    margin-top: -60px;
    padding: 18px 6px;
  }
  .ap-stats__item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 4px 8px;
  }
  .ap-services {
    padding-top: 70px;
  }
  .apb {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e";
  }
  .apb__card--photo {
    min-height: 440px;
  }
  .ap-process {
    margin-left: 8px;
    margin-right: 8px;
    padding: 64px 0 50px;
    border-radius: 26px;
  }
  .aptl {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }
  .aptl::before,
  .aptl::after {
    display: block;
    left: 31px;
    right: auto;
    top: 32px;
    bottom: 32px;
    width: 2px;
    height: auto;
  }
  .aptl::after {
    transform: scaleY(0);
    transform-origin: top;
  }
  .aptl.is-drawn::after {
    transform: scaleY(1);
  }
  .aptl__step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
    align-items: start;
    text-align: left;
  }
  .aptl__node {
    grid-row: 1 / span 3;
    margin: 0;
  }
  .cmp-switch {
    display: grid;
    width: 100%;
  }
  .cmp-switch__btn {
    padding: 10px 8px;
    font-size: 12.5px;
  }
  .cmp {
    padding: 18px;
  }
  .cmp__bars li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tlist__no {
    display: none;
  }
  .ap-trust__stack {
    left: 12px;
    right: 12px;
  }
  .ap-trust__stack i {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .ap-boost {
    padding: 32px 22px;
    border-radius: 24px;
  }
  .ap-who__media {
    padding-bottom: 50px;
  }
  .ap-who__main {
    width: 78%;
  }
  .ap-who__second {
    width: 60%;
  }
  .vm {
    grid-template-columns: 1fr;
  }
  .vm__card {
    padding: 26px 22px;
  }
}
