
/* ==========================================
   MOBILE APP DEVELOPMENT PAGE
   Sovereign Tech Solutions
========================================== */

.ma-intro-section,
.ma-services-section,
.ma-platform-section,
.ma-architecture-section,
.ma-usecases-section,
.ma-process-section,
.ma-cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: #fff;
  background: #06162e;
}

.ma-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #55d9f5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

.ma-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}

.ma-intro-content h2,
.ma-section-heading h2,
.ma-platform-heading h2,
.ma-architecture-heading h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(32px, 4vw, 49px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.ma-intro-content h2 em,
.ma-section-heading h2 em,
.ma-platform-heading h2 em,
.ma-architecture-heading h2 em,
.ma-cta-content h2 em {
  color: #55d9f5;
  font-style: normal;
}

.ma-intro-content > p,
.ma-section-heading > p,
.ma-platform-heading > p,
.ma-architecture-heading > p {
  max-width: 610px;
  color: #aebfd3;
  font-size: 14px;
  line-height: 1.9;
}

.ma-intro-points {
  display: grid;
  gap: 15px;
  margin: 28px 0;
}

.ma-intro-points > div {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #d7e6f2;
  font-size: 13px;
}

.ma-intro-points i {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(85,217,245,.3);
  border-radius: 50%;
  background: rgba(85,217,245,.1);
  color: #55d9f5;
  font-size: 10px;
}

.ma-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #55d9f5;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ma-text-link i {
  transition: transform .3s ease;
}

.ma-text-link:hover i {
  transform: translateX(6px);
}


/* PHONE SHOWCASE */

.ma-showcase {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(85,217,245,.17);
  border-radius: 28px;
  background: linear-gradient(145deg, #0c2948, #07172e);
}

.ma-showcase-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(22,158,207,.2);
  filter: blur(75px);
}

.ma-showcase-grid {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(94,194,235,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,194,235,.13) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.ma-phone {
  position: absolute;
  width: 190px;
  height: 390px;
  padding: 7px;
  border: 2px solid #52718a;
  border-radius: 30px;
  background: #07101c;
  box-shadow: 0 25px 65px rgba(0,0,0,.45);
}

.ma-phone-front {
  z-index: 3;
  transform: translate(15px, 5px) rotate(5deg);
}

.ma-phone-back {
  z-index: 2;
  transform: translate(-105px, 20px) rotate(-12deg) scale(.88);
  opacity: .72;
}

.ma-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 13px 12px;
  border-radius: 23px;
  background: #f4f8fc;
  color: #102b46;
}

.ma-screen-top {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 800;
}

.ma-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 23px;
  color: #6b8298;
  font-size: 9px;
}

.ma-app-header i {
  font-size: 17px;
  color: #0a8db8;
}

.ma-app-title {
  margin-top: 14px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 500;
}

.ma-app-title strong {
  color: #087fae;
}

.ma-app-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 12px;
  border-radius: 13px;
  background: linear-gradient(120deg, #087ca8, #124a83);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.ma-app-banner i {
  font-size: 28px;
}

.ma-app-label {
  margin: 19px 0 10px;
  font-size: 10px;
  font-weight: 800;
}

.ma-app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.ma-app-features > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
  border: 1px solid #dce7f0;
  border-radius: 10px;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}

.ma-app-features i {
  color: #078dbb;
  font-size: 17px;
}

.ma-app-bottom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  justify-content: space-around;
  padding: 12px 0 5px;
  border-top: 1px solid #dce7f0;
  color: #168bb2;
  font-size: 12px;
}

.ma-back-heading {
  width: 75%;
  height: 12px;
  margin-top: 35px;
  border-radius: 5px;
  background: #168bb2;
}

.ma-back-line {
  width: 55%;
  height: 7px;
  margin-top: 12px;
  border-radius: 5px;
  background: #c5d7e5;
}

.ma-back-block {
  height: 85px;
  margin-top: 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d8cb7, #164c80);
}

.ma-back-block.short {
  height: 55px;
  margin-top: 12px;
  background: #dce9f2;
}

.ma-back-nav {
  display: flex;
  justify-content: space-around;
  margin-top: 35px;
}

.ma-back-nav i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #9bb6c9;
}

.ma-float-tag {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(85,217,245,.28);
  border-radius: 10px;
  background: #0b2948;
  color: #e5f5ff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  animation: ma-float 4s ease-in-out infinite;
}

.ma-float-tag i {
  color: #55d9f5;
  font-size: 15px;
}

.ma-tag-one { top: 17%; left: 7%; }
.ma-tag-two { top: 25%; right: 6%; animation-delay: .8s; }
.ma-tag-three { bottom: 15%; left: 8%; animation-delay: 1.4s; }


/* SERVICE ROWS */

.ma-services-section,
.ma-usecases-section {
  background: #081b34;
}

.ma-section-heading {
  max-width: 700px;
  margin-bottom: 50px;
}

.ma-service-list {
  border-top: 1px solid rgba(255,255,255,.12);
}

.ma-service-row {
  display: grid;
  grid-template-columns: 45px 60px 1fr 30px;
  align-items: center;
  gap: 24px;
  padding: 28px 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .3s ease, padding .3s ease;
}

.ma-service-row:hover {
  padding-left: 25px;
  background: rgba(55,177,222,.06);
}

.ma-service-number {
  color: #6d8ba6;
  font-size: 13px;
  font-weight: 800;
}

.ma-service-icon {
  display: grid;
  width: 53px;
  height: 53px;
  place-items: center;
  border: 1px solid rgba(85,217,245,.2);
  border-radius: 15px;
  background: rgba(85,217,245,.1);
  color: #55d9f5;
  font-size: 21px;
}

.ma-service-copy h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
}

.ma-service-copy p {
  max-width: 650px;
  margin: 0 0 10px;
  color: #aebfd3;
  font-size: 13px;
  line-height: 1.8;
}

.ma-service-copy > span {
  color: #55bcd9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.ma-service-arrow {
  color: #55d9f5;
  opacity: .65;
  transition: transform .3s ease;
}

.ma-service-row:hover .ma-service-arrow {
  opacity: 1;
  transform: translate(4px,-4px);
}


/* PLATFORMS */

.ma-platform-section {
  background: #06162e;
}

.ma-platform-heading {
  max-width: 720px;
  margin-bottom: 45px;
}

.ma-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ma-platform-panel {
  position: relative;
  min-height: 290px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(85,217,245,.18);
  border-radius: 18px;
  background: linear-gradient(145deg, #0d2b49, #091d35);
  transition: transform .35s ease, border-color .35s ease;
}

.ma-platform-panel:hover {
  transform: translateY(-7px);
  border-color: rgba(85,217,245,.55);
}

.ma-platform-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.ma-platform-top i {
  color: #55d9f5;
  font-size: 29px;
}

.ma-platform-top span {
  color: #6d91aa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.ma-platform-panel h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 23px;
}

.ma-platform-panel p {
  min-height: 75px;
  margin: 0;
  color: #aebfd3;
  font-size: 13px;
  line-height: 1.8;
}

.ma-platform-line {
  height: 1px;
  margin: 20px 0;
  background: rgba(255,255,255,.12);
}

.ma-platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ma-platform-tags span {
  padding: 7px 9px;
  border: 1px solid rgba(85,217,245,.17);
  border-radius: 5px;
  color: #9dc7dc;
  font-size: 9px;
}


/* ARCHITECTURE */

.ma-architecture-section {
  background: #081b34;
}

.ma-architecture-heading {
  max-width: 740px;
  margin-bottom: 45px;
}

.ma-architecture {
  max-width: 820px;
  margin: 0 auto;
  padding: 35px;
  border: 1px solid rgba(85,217,245,.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 45%, rgba(25,139,184,.13), transparent 55%),
    #0a203b;
}

.ma-architecture-label {
  margin-bottom: 12px;
  color: #62cce8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-align: center;
}

.ma-architecture-node {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 470px);
  margin: 0 auto;
  padding: 19px 22px;
  border: 1px solid rgba(85,217,245,.25);
  border-radius: 13px;
  background: #102e4c;
}

.ma-architecture-node > i {
  display: grid;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 11px;
  background: rgba(85,217,245,.12);
  color: #55d9f5;
  font-size: 19px;
}

.ma-architecture-node strong,
.ma-architecture-node span {
  display: block;
}

.ma-architecture-node strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
}

.ma-architecture-node span {
  color: #a9bfd2;
  font-size: 11px;
}

.ma-node-highlight {
  border-color: rgba(85,217,245,.55);
  background: linear-gradient(100deg, #10466b, #103453);
}

.ma-architecture-connector {
  display: flex;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #55d9f5;
}

.ma-architecture-connector span {
  width: 1px;
  height: 12px;
  background: rgba(85,217,245,.5);
}

.ma-architecture-connector i {
  font-size: 11px;
}

.ma-architecture-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ma-architecture-bottom .ma-architecture-node {
  width: 100%;
  padding: 16px;
}

.ma-architecture-note {
  margin: 18px auto 0;
  color: #8fa9bd;
  font-size: 11px;
  text-align: center;
}

.ma-architecture-note i {
  margin-right: 6px;
  color: #55d9f5;
}


/* USE CASES */

.ma-usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.1);
}

.ma-usecase {
  position: relative;
  min-height: 220px;
  padding: 28px;
  background: #081b34;
  transition: background .3s ease;
}

.ma-usecase:hover {
  background: #0d2a48;
}

.ma-usecase > span {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #6b8ca6;
  font-size: 11px;
  font-weight: 800;
}

.ma-usecase > i {
  display: block;
  margin-bottom: 25px;
  color: #55d9f5;
  font-size: 25px;
}

.ma-usecase h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 17px;
}

.ma-usecase p {
  margin: 0;
  color: #aebfd3;
  font-size: 12px;
  line-height: 1.8;
}


/* PROCESS */

.ma-process-section {
  background: #06162e;
}

.ma-process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(85,217,245,.28);
}

.ma-process-step {
  position: relative;
  padding: 30px 20px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.ma-process-step:last-child {
  border-right: 0;
}

.ma-process-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
}

.ma-process-marker span {
  color: #55d9f5;
  font-size: 13px;
  font-weight: 800;
}

.ma-process-marker i {
  color: #55d9f5;
  font-size: 22px;
}

.ma-process-step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
}

.ma-process-step p {
  margin: 0;
  color: #aebfd3;
  font-size: 12px;
  line-height: 1.85;
}


/* CTA */

.ma-cta-section {
  padding-top: 30px;
}

.ma-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 60px;
  overflow: hidden;
  border: 1px solid rgba(85,217,245,.3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(26,157,202,.2), transparent 35%),
    linear-gradient(120deg, #0b2a49, #0a1d36);
}

.ma-cta-symbol {
  position: relative;
  display: grid;
  width: 85px;
  height: 85px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid rgba(85,217,245,.4);
  border-radius: 23px;
  background: rgba(85,217,245,.1);
  color: #55d9f5;
  font-size: 34px;
}

.ma-cta-symbol span {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #55d9f5;
  box-shadow: 0 0 12px #55d9f5;
}

.ma-cta-content {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.ma-cta-content h2 {
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.2;
}

.ma-cta-content p {
  margin: 0;
  color: #b4c8da;
  font-size: 13px;
  line-height: 1.8;
}

.ma-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 16px 22px;
  border-radius: 7px;
  background: #55d9f5;
  color: #06162e;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: .3s ease;
}

.ma-cta-button:hover {
  transform: translateY(-4px);
  background: #fff;
}

.ma-cta-button i {
  transition: transform .3s ease;
}

.ma-cta-button:hover i {
  transform: translateX(5px);
}


/* REVEAL */

.ma-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.ma-reveal.ma-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ANIMATIONS */

@keyframes ma-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* RESPONSIVE */

@media (max-width: 950px) {
  .ma-intro-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .ma-showcase {
    min-height: 480px;
  }

  .ma-platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ma-process-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .ma-process-step:nth-child(3) {
    border-right: 0;
  }

  .ma-process-step:nth-child(-n+3) {
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .ma-cta-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 650px) {
  .ma-intro-section,
  .ma-services-section,
  .ma-platform-section,
  .ma-architecture-section,
  .ma-usecases-section,
  .ma-process-section {
    padding: 70px 0;
  }

  .ma-showcase {
    min-height: 400px;
  }

  .ma-phone {
    transform-origin: center;
    scale: .88;
  }

  .ma-phone-front {
    transform: translate(12px, 5px) rotate(5deg);
  }

  .ma-phone-back {
    transform: translate(-82px, 15px) rotate(-12deg) scale(.82);
  }

  .ma-tag-one { left: 3%; top: 13%; }
  .ma-tag-two { right: 3%; top: 22%; }
  .ma-tag-three { left: 4%; bottom: 10%; }

  .ma-service-row {
    grid-template-columns: 27px 45px 1fr;
    gap: 12px;
    padding: 22px 2px;
  }

  .ma-service-icon {
    width: 43px;
    height: 43px;
    font-size: 17px;
  }

  .ma-service-copy h3 {
    font-size: 15px;
  }

  .ma-service-copy p {
    font-size: 12px;
  }

  .ma-service-arrow {
    display: none;
  }

  .ma-platform-grid {
    grid-template-columns: 1fr;
  }

  .ma-platform-panel {
    min-height: auto;
  }

  .ma-platform-panel p {
    min-height: auto;
  }

  .ma-architecture {
    padding: 22px 14px;
  }

  .ma-architecture-bottom {
    grid-template-columns: 1fr;
  }

  .ma-architecture-node {
    padding: 14px;
    gap: 12px;
  }

  .ma-architecture-node strong {
    font-size: 12px;
  }

  .ma-architecture-node span {
    font-size: 10px;
  }

  .ma-usecase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ma-usecase {
    min-height: 205px;
    padding: 20px 15px;
  }

  .ma-usecase h3 {
    font-size: 14px;
  }

  .ma-usecase p {
    font-size: 11px;
  }

  .ma-process-track {
    grid-template-columns: 1fr;
  }

  .ma-process-step {
    padding: 24px 5px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .ma-process-step:last-child {
    border-bottom: 0;
  }

  .ma-process-marker {
    margin-bottom: 20px;
  }

  .ma-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 23px;
  }

  .ma-cta-symbol {
    width: 65px;
    height: 65px;
    font-size: 26px;
  }

  .ma-cta-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ma-float-tag {
    animation: none !important;
  }

  .ma-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ma-service-row,
  .ma-platform-panel,
  .ma-cta-button {
    transition: none;
  }
}
