/* ==========================================================================
   mobileAppDev.css - Styles for WakinSoftures Services Page (Mobile App Dev)
   ========================================================================== */

:root {
  --primary: #003399; /* Deep Royal Blue */
  --primary-hover: #002277;
  --badge-bg: #e0f2fe; /* Light Blue */
  --feature-card-shadow: 0 10px 30px rgba(0, 51, 153, 0.04);
}

/* ---- Breadcrumbs ---- */
.breadcrumb-container {
  padding-top: 100px; /* Offset for fixed navbar */
  padding-bottom: 10px;
  background-color: #f8fafc;
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.88rem;
  font-weight: 500;
}

.breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

/* ---- Hero Section ---- */
.mobile-hero-section {
  padding: 20px 0 50px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.badge-solution {
  background-color: var(--badge-bg);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.mobile-hero-section .hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.mobile-hero-section .hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.mobile-hero-section .hero-desc {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.btn-quote-action {
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
}

.btn-work-action {
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
}

/* Hero benefits grid */
.hero-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.benefit-item i {
  font-size: 1.25rem;
  color: var(--primary);
  background-color: var(--badge-bg);
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-text {
  display: flex;
  flex-direction: column;
}

.benefit-text strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.benefit-text span {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.4;
}

.mobile-illustration-wrapper {
  position: relative;
  width: 100%;
  margin-top: -60px;
}

/* ---- Connecting Dots SVG Background ---- */
.mockup-background-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 500px;
  height: 500px;
  z-index: 1;
  pointer-events: none;
}

.dots-connection-svg {
  width: 100%;
  height: 100%;
}

/* ---- Mockups Container ---- */
.mobile-mockup-container {
  position: relative;
  width: 100%;
  height: 520px;
  margin: 0 auto;
  z-index: 2;
}

/* High Fidelity Phone Frame Mockup */
.phone-mockup {
  position: absolute;
  width: 235px;
  height: 480px;
  border-radius: 36px;
  border: 11px solid #101726; /* Deep dark frame bezel */
  box-shadow: 
    0 15px 35px rgba(0, 51, 153, 0.12),
    0 30px 60px rgba(0, 0, 0, 0.08),
    inset 0 0 10px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.phone-left-light {
  background-color: #ffffff;
  left: 14%;
  top: 0;
  z-index: 5;
}

.phone-right-dark {
  background-color: #0b1120;
  right: 17%;
  top: 40px;
  z-index: 4;
}

/* ---- Phone Screen Content Written by Rushirpatil ---- */
/* ---- Phone Screen Content Written by Rushirpatil ---- */
@media (max-width: 767px) {
  .mobile-mockup-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    height: 380px;
    overflow: visible;
  }

  .phone-mockup {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: 0 !important;
    transform: scale(0.7) !important;
    transform-origin: top center !important;
    margin: 0 -32px !important;
    z-index: 5 !important;
  }

  .phone-left-light {
    background-color: #ffffff;
  }

  .phone-right-dark {
    background-color: #0b1120;
  }

  /* Reset hover scale effects on mobile */
  .mobile-mockup-container:hover .phone-left-light,
  .mobile-mockup-container:hover .phone-right-dark {
    transform: scale(0.7) !important;
  }

  .floating-plant-pot {
    display: none !important;
  }
}

@media (max-width: 350px) {
  .phone-mockup {
    transform: scale(0.62) !important;
    margin: 0 -42px !important;
  }
  .mobile-mockup-container:hover .phone-left-light,
  .mobile-mockup-container:hover .phone-right-dark {
    transform: scale(0.62) !important;
  }
  .mobile-mockup-container {
    height: 330px;
  }
}

/* Bezel and Internal Structure */
.phone-frame-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2px;
}

/* Dynamic Island */
.phone-dynamic-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 16px;
  background-color: #101726;
  border-radius: 20px;
  z-index: 20;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.1);
}

/* Glossy Glass Reflection Overlay */
.phone-glass-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 65%);
  z-index: 10;
  pointer-events: none;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.phone-screen-display {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Status Bar */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 8px 16px 2px;
  color: #1e293b;
  z-index: 9;
}

.phone-status-bar.text-white {
  color: #ffffff;
}

.status-indicators {
  display: flex;
  gap: 4px;
  font-size: 0.65rem;
}

/* Light App Details */
.light-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 2px;
  z-index: 9;
}

.user-greeting {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.user-greeting span {
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 500;
}

.user-greeting strong {
  font-size: 0.76rem;
  color: #0f172a;
  font-weight: 700;
}

.icon-bell {
  font-size: 0.8rem;
  color: #64748b;
}

.light-app-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  text-align: left;
  padding: 0 14px 6px;
  z-index: 9;
}

.light-dashboard-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 11px 12px;
  z-index: 9;
}

.light-card {
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 4px 10px rgba(0, 51, 153, 0.015);
  text-align: left;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: #64748b;
}

.card-value {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 1px;
}

.mini-chart {
  height: 24px;
  margin-top: 2px;
  overflow: hidden;
}

.sparkline {
  width: 100%;
  height: 100%;
}

.card-top-product .product-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: #64748b;
  display: block;
  margin-bottom: 4px;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: #f3e5f5;
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.product-details {
  display: flex;
  flex-direction: column;
}

.product-details strong {
  font-size: 0.62rem;
  color: #0f172a;
  font-weight: 700;
}

.product-details span {
  font-size: 0.55rem;
  color: #64748b;
}

/* Dark App Details */
.dark-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 2px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 9;
}

.dark-chart-widget {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
}

.circle-progress-wrapper {
  position: relative;
  width: 82px;
  height: 82px;
}

.circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
}

.circle-center strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.dark-dashboard-content {
  padding: 11px;
  z-index: 9;
}

.dark-card {
  background-color: #111827;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 9px;
  text-align: left;
}

.dark-card span {
  font-size: 0.58rem;
  color: #94a3b8;
  font-weight: 700;
  display: block;
}

.dark-value {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 1px;
}

/* Floating Badges with Glassmorphism */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 2px 5px 2px 2px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 
    0 10px 25px rgba(0, 51, 153, 0.06),
    0 2px 5px rgba(0, 0, 0, 0.02);
  z-index: 15;
  font-size: 0.62rem;
  font-weight: 700;
  color: #1e293b;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-badge:hover {
  transform: scale(1.08) translateY(-2px);
  background-color: #ffffff;
}

.badge-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-box img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.badge-ios .badge-icon-box { background-color: #f1f5f9; color: #000000; }
.badge-android .badge-icon-box { background-color: #f0fdf4; color: #22c55e; }
.badge-flutter .badge-icon-box { background-color: #f0f9ff; color: #02569B; }
.badge-react .badge-icon-box { background-color: #ecfeff; color: #06b6d4; }

.badge-ios {
  left: 2%;
  top: 75px;
}

.badge-android {
  left: 4%;
  top: 255px;
}

.badge-flutter {
  right: 5%;
  top: 95px;
}

.badge-react {
  right: 2%;
  top: 275px;
}

/* SVG Plant Pot */
.floating-plant-pot {
  position: absolute;
  right: -2%;
  bottom: 25px;
  z-index: 3;
  animation: floatPlant 4s ease-in-out infinite alternate;
}

@keyframes floatPlant {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* Mockups hover effects */
.mobile-mockup-container:hover .phone-left-light {
  transform: translateX(-10px) rotate(-10deg) scale(1.01); /* changed from rotate(-1.5deg) to rotate(-10deg) */
  box-shadow: 
    0 20px 45px rgba(0, 51, 153, 0.16),
    0 40px 80px rgba(0, 0, 0, 0.1);
}

.mobile-mockup-container:hover .phone-right-dark {
  transform: translateX(10px) rotate(10deg) scale(0.99);
  box-shadow: 
    0 20px 45px rgba(0, 51, 153, 0.16),
    0 40px 80px rgba(0, 0, 0, 0.1);
}

/* Overlay Stats Bar */
.mobile-stats-overlay {
  position: relative;
  z-index: 12;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 51, 153, 0.05);
  padding: 1.1rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.25rem auto 0;
  max-width: 660px; /* Increased width to provide a larger, more prominent layout */
  width: 100%;
}

.stats-overlay-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
}

.stats-overlay-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.5rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #e2e8f0;
}

.stats-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background-color: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.stats-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stats-content strong {
  font-size: 0.8rem;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

.stats-content span {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.25;
}

/* ---- Build Section ---- */
.mobile-build-section {
  background-color: #ffffff;
  padding: 50px 0;
}

.mobile-section-header {
  margin-bottom: 3.5rem;
}

.mobile-section-tag {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.mobile-build-section .section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
}

.build-card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--feature-card-shadow);
}

.build-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 51, 153, 0.15);
  box-shadow: 0 15px 35px rgba(0, 51, 153, 0.08);
}

.build-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}

/* Colored Icon themes */
.si-green { background-color: #e8f5e9; color: #2e7d32; }
.si-red { background-color: #ffebee; color: #c62828; }
.si-blue { background-color: #e3f2fd; color: #1565c0; }
.si-purple { background-color: #f3e5f5; color: #6a1b9a; }
.si-orange { background-color: #fff3e0; color: #e65100; }
.si-teal { background-color: #e0f2f1; color: #00695c; }

.build-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.build-desc {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---- Process Section ---- */
.mobile-process-section {
  background-color: #f8fafc;
  padding: 50px 0;
}

.process-flow-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
  margin-top: 3rem;
}

.process-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  padding: 25px 8px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 51, 153, 0.06);
}

.node-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.node-step {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.node-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 0;
}

.process-arrow {
  align-self: center;
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

/* ---- Tech Section ---- */
.mobile-tech-section {
  padding: 50px 0;
  background-color: #ffffff;
}

.tech-badge-card {
  background-color: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 51, 153, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tech-badge-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 51, 153, 0.15);
  box-shadow: 0 10px 25px rgba(0, 51, 153, 0.06);
}

.tech-svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.tech-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.tech-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  display: block;
}

/* ---- Why Choose Section ---- */
.mobile-why-section {
  padding: 50px 0;
  background-color: #f8fafc;
}

.why-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
}

.why-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 0;
}

.why-checklist li i {
  color: var(--primary);
  font-size: 1.2rem;
}

.why-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-build-action {
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
}

/* Why choose us image wrapper */
.why-mobile-img-wrapper {
  position: relative;
  width: 100%;
}

.mobile-why-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.04));
  animation: floatMobileWhy 3.5s ease-in-out infinite alternate;
}

@keyframes floatMobileWhy {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* Counters Grid */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.counter-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  transition: transform 0.25s, border-color 0.25s;
}

.counter-box:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.counter-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.counter-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.counter-text span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
  display: block;
}

/* Bottom Action Banner Card */
.mobile-action-banner {
  background-color: var(--primary);
  color: #ffffff;
  padding: 2.25rem 2.75rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 51, 153, 0.15);
}

.banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.banner-content h4 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.banner-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.btn-banner-quote {
  padding: 0.8rem 2rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: 50px;
}

/* Large tablet / small laptop: tighten the 4-column absolute overlay */
@media (min-width: 992px) and (max-width: 1199px) {
  .mobile-stats-overlay {
    padding: 0.9rem 0.75rem;
    gap: 0.5rem;
    left: 2%;
    width: 96%;
  }

  .stats-overlay-item {
    gap: 0.5rem;
  }

  .stats-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1rem;
  }

  .stats-content strong {
    font-size: 0.82rem;
  }

  .stats-content span {
    font-size: 0.68rem;
  }
}

/* ---- Responsive CSS ---- */
@media (max-width: 991.98px) {
  .breadcrumb-container {
    padding-top: 85px;
  }
  
  .mobile-hero-section {
    text-align: center;
    padding-bottom: 50px;
  }
  
  .mobile-hero-section .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 580px;
    margin: 2rem auto 0;
  }

  .benefit-item {
    text-align: center;
    align-items: center;
  }
  
  .mobile-illustration-wrapper {
    margin-top: 1rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .mobile-stats-overlay {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-top: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    padding: 1rem;
    gap: 1rem;
  }
  
  .stats-overlay-item::after {
    display: none !important;
  }
  
  .process-flow-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .process-node {
    width: 100%;
    max-width: 320px;
    padding: 25px 15px;
  }
  
  .mobile-why-section {
    text-align: center;
  }
  
  .why-checklist {
    max-width: 320px;
    margin: 0 auto 2rem;
    text-align: left;
  }
  
  .why-buttons {
    justify-content: center;
    margin-bottom: 3rem;
  }
  
  .why-mobile-img-wrapper {
    margin: 0 auto 3rem;
    max-width: 380px;
  }
  
  .counters-grid {
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .mobile-action-banner {
    padding: 1.75rem;
  }
}

/* Targeted fix for mid-tablets (768px–900px) where 4 items in a row overflow */
@media (min-width: 768px) and (max-width: 900px) {
  .mobile-stats-overlay {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-top: 1.5rem;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .stats-overlay-item::after {
    display: none !important;
  }

  .stats-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1rem;
  }

  .stats-content strong {
    font-size: 0.82rem;
  }

  .stats-content span {
    font-size: 0.7rem;
  }
}

@media (max-width: 575.98px) {
  .hero-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-item {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .mobile-stats-overlay {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.85rem;
  }
  
  .stats-overlay-item {
    justify-content: flex-start;
    width: 100%;
  }
  
  .counters-grid {
    grid-template-columns: 1fr;
  }

  .badge-ios {
    left: -2% !important;
    top: 60px !important;
  }
  .badge-android {
    left: -1% !important;
    top: 220px !important;
  }
  .badge-flutter {
    right: -2% !important;
    top: 80px !important;
  }
  .badge-react {
    right: -1% !important;
    top: 240px !important;
  }
}
