/* ==========================================================================
   DEVIFY SOLUTION - APP DEVELOPMENT DEDICATED STYLESHEET
   Blueprint Reference: Figma Design (media_1793593546148_9dbbda52.jpg)
   Version: 3.3 (Cache-Busted & Standalone Optimized)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO TECH STAGE & DUAL FLOATING SMARTPHONES
   -------------------------------------------------------------------------- */
.app-hero-section {
  position: relative;
  background-color: #060b18;
  background-image: 
    radial-gradient(circle at 75% 35%, rgba(0, 102, 255, 0.42) 0%, rgba(6, 11, 24, 0.94) 55%, #040711 100%),
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 45%);
  color: #ffffff;
  padding-top: 3.5rem;
  padding-bottom: 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .app-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

.app-hero-content {
  position: relative;
  z-index: 10;
}

.app-hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.app-hero-desc {
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: #94a3b8;
  max-width: 540px;
  margin-bottom: 2rem;
}

.app-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

/* 3D Dual-Phone Stage */
.app-phone-stage {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.app-phone-wrapper {
  position: relative;
  width: 400px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glowing Neon Cyan Circular Pedestal */
.app-stage-pedestal {
  position: absolute;
  bottom: 20px;
  width: 360px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.45) 0%, rgba(6, 11, 24, 0.95) 75%);
  border: 2px solid #00f0ff;
  box-shadow: 0 0 35px #0066ff, inset 0 0 25px #00f0ff;
  transform: rotateX(65deg);
  z-index: 1;
}

/* Dual Smartphones Container */
.app-dual-phones {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
}

/* Smartphone Frame Base */
.app-device-phone {
  position: relative;
  width: 140px;
  height: 275px;
  background: #090e1d;
  border: 4px solid #1e293b;
  border-radius: 28px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 102, 255, 0.35);
  overflow: hidden;
  padding: 6px;
  transition: transform 0.4s ease;
}

/* Left Phone (iOS tilted) */
.phone-ios {
  transform: rotate(-8deg) translateY(-8px);
  animation: phoneHoverIOS 6s ease-in-out infinite;
}

@keyframes phoneHoverIOS {
  0%, 100% { transform: rotate(-8deg) translateY(-8px); }
  50% { transform: rotate(-6deg) translateY(-18px); }
}

/* Right Phone (Android tilted) */
.phone-android {
  transform: rotate(8deg) translateY(4px);
  animation: phoneHoverAndroid 6s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes phoneHoverAndroid {
  0%, 100% { transform: rotate(8deg) translateY(4px); }
  50% { transform: rotate(6deg) translateY(-6px); }
}

/* Dynamic Island & Camera */
.phone-dynamic-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 10px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
}

.phone-punch-hole {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #000000;
  border-radius: 50%;
  z-index: 10;
}

/* Phone Screen UI */
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 8px 12px 8px;
}

.ios-screen-bg {
  background: linear-gradient(160deg, #1e1b4b 0%, #312e81 40%, #0c152e 100%);
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.android-screen-bg {
  background: linear-gradient(160deg, #064e3b 0%, #047857 40%, #061c16 100%);
  border: 1px solid rgba(110, 231, 183, 0.3);
}

.phone-screen-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-grow: 1;
}

.phone-brand-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

.phone-screen-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-align: center;
}

.phone-mini-cards {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.phone-mini-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
}

/* Floating Code Badge in Middle */
.phone-code-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0052cc, #00d4ff);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  font-family: monospace;
  z-index: 12;
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: codeBadgePulse 4s ease-in-out infinite;
}

@keyframes codeBadgePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
  50% { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 35px rgba(0, 240, 255, 0.9); }
}

/* Floating Feature Chips around Stage */
.app-chip {
  position: absolute;
  background: rgba(11, 22, 53, 0.92);
  border-radius: var(--radius-md, 10px);
  padding: 0.45rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 12;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

/* Left Chips */
.chip-ios-badge {
  top: 30px;
  left: -25px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: appChipFloat 6s ease-in-out infinite;
}

.chip-android-badge {
  top: 140px;
  left: -35px;
  border: 1px solid rgba(52, 168, 83, 0.55);
  animation: appChipFloat 6s ease-in-out infinite;
  animation-delay: -2s;
}

.chip-cross-badge {
  bottom: 85px;
  left: -30px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  animation: appChipFloat 6s ease-in-out infinite;
  animation-delay: -4s;
}

/* Right Chips */
.chip-perf-badge {
  top: 35px;
  right: -25px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  animation: appChipFloat 6s ease-in-out infinite;
  animation-delay: -1.5s;
}

.chip-secure-badge {
  top: 145px;
  right: -35px;
  border: 1px solid rgba(34, 197, 94, 0.55);
  animation: appChipFloat 6s ease-in-out infinite;
  animation-delay: -3.5s;
}

.chip-growth-badge {
  bottom: 90px;
  right: -25px;
  border: 1px solid rgba(0, 102, 255, 0.55);
  animation: appChipFloat 6s ease-in-out infinite;
  animation-delay: -5s;
}

@keyframes appChipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.app-chip-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-chip-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.app-chip-sub {
  font-size: 0.62rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   2. OVERLAPPING 4-METRIC RIBBON
   -------------------------------------------------------------------------- */
.app-pillar-ribbon-wrap {
  position: relative;
  z-index: 25;
  margin-top: -45px;
  padding-inline: 1rem;
}

.app-pillar-ribbon {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 15px 35px -5px rgba(11, 19, 41, 0.08), 0 5px 15px rgba(11, 19, 41, 0.04);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .app-pillar-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .app-pillar-ribbon {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 2rem;
  }
}

.app-ribbon-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

.app-ribbon-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.app-ribbon-item:hover .app-ribbon-icon-circle {
  background: #0066ff;
  color: #ffffff;
  transform: scale(1.08);
}

.app-ribbon-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.app-ribbon-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   3. WHY CHOOSE OUR APP DEVELOPMENT SERVICE?
   -------------------------------------------------------------------------- */
.why-app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .why-app-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.why-app-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.why-app-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1e293b;
}

.why-app-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Illustration Card on Right */
.why-app-illus-card {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl, 20px);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
  box-shadow: 0 15px 35px -5px rgba(0, 102, 255, 0.1);
}

.why-app-phone-mock {
  position: relative;
  width: 130px;
  height: 220px;
  background: #ffffff;
  border: 3px solid #0066ff;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.25);
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  z-index: 5;
}

.mock-app-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 6px;
}

.mock-app-icon-item {
  height: 32px;
  background: #eff6ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066ff;
  font-size: 0.85rem;
}

/* Floating Elements in Illustration */
.illus-float-rocket {
  position: absolute;
  top: 30px;
  right: 45px;
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: #0066ff;
  animation: rocketFloat 4s ease-in-out infinite;
  z-index: 10;
}

@keyframes rocketFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

.illus-float-gear {
  position: absolute;
  bottom: 35px;
  right: 50px;
  width: 44px;
  height: 44px;
  background: #0066ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 102, 255, 0.35);
  color: #ffffff;
  animation: gearSpin 10s linear infinite;
  z-index: 10;
}

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   4. OUR APP DEVELOPMENT PROCESS (DARK NAVY CURVED BANNER - 7 STEPS)
   -------------------------------------------------------------------------- */
.app-process-card-banner {
  background: #060c1d;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(0, 102, 255, 0.35) 0%, rgba(6, 12, 29, 0.96) 65%),
    radial-gradient(circle at 85% 85%, rgba(56, 189, 248, 0.12) 0%, transparent 40%);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 24px;
  padding: 3.5rem 2.25rem;
  color: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 102, 255, 0.15);
}

.app-process-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.app-process-grid-7 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
}

@media (min-width: 640px) {
  .app-process-grid-7 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .app-process-grid-7 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .app-process-grid-7 {
    grid-template-columns: repeat(7, 1fr);
    gap: 0.75rem;
  }
}

.app-process-step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.4rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.app-process-step-card:hover {
  background: rgba(0, 102, 255, 0.14);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 102, 255, 0.28);
}

@media (min-width: 1280px) {
  .app-process-step-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(56, 189, 248, 0.6);
    font-size: 1rem;
    font-weight: 700;
    z-index: 10;
    pointer-events: none;
  }
}

.app-step-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff, #00f0ff);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 18px rgba(0, 102, 255, 0.6);
  flex-shrink: 0;
}

.app-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.app-step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.app-step-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   5. TECHNOLOGIES WE USE (MOBILE/CROSS-PLATFORM + BACKEND/CLOUD)
   -------------------------------------------------------------------------- */
.app-tech-section {
  padding-block: 4.5rem;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.app-tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .app-tech-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.app-tech-groups-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.app-tech-group-header {
  font-size: 0.82rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-tech-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .app-tech-cards-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.app-tech-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  transition: all 0.25s ease;
}

.app-tech-card:hover {
  transform: translateY(-4px);
  border-color: #0066ff;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.1);
}

.app-tech-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-tech-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

/* --------------------------------------------------------------------------
   6. APP SOLUTIONS FOR EVERY BUSINESS (3 TIERS)
   -------------------------------------------------------------------------- */
.app-solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .app-solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.app-solution-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.app-solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.35);
}

.app-solution-card.featured-card {
  border: 2px solid #0066ff;
  box-shadow: 0 18px 45px -5px rgba(0, 102, 255, 0.22);
}

.app-popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.95rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.app-solution-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.app-solution-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.app-solution-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  min-height: 42px;
}

.app-solution-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.app-solution-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
}

.app-solution-feature-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. FLEXIBLE FOR YOUR BUDGET (STRIP)
   -------------------------------------------------------------------------- */
.app-budget-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem 2.25rem;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .app-budget-strip {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.app-budget-intro {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.app-budget-calc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-budget-tiers-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-budget-tier-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.app-budget-tier-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-budget-tier-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   8. KEY FEATURES WE CAN BUILD (10 FEATURE BADGES)
   -------------------------------------------------------------------------- */
.app-features-section {
  padding-block: 4.5rem;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .app-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .app-features-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.app-feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  transition: all 0.25s ease;
}

.app-feature-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: #0066ff;
  box-shadow: 0 10px 22px rgba(0, 102, 255, 0.1);
}

.app-feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.app-feature-card:hover .app-feature-icon-wrap {
  background: #0066ff;
  color: #ffffff;
}

.app-feature-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   9. INTERACTIVE APP ARCHITECTURE & SCOPE ESTIMATOR
   (Replaces client projects cleanly without making false claims)
   -------------------------------------------------------------------------- */
.app-calc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08);
}

.app-calc-selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.app-calc-pill {
  padding: 0.6rem 1.15rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.2s ease;
  user-select: none;
}

.app-calc-pill:hover {
  border-color: #0066ff;
  background: #eff6ff;
  color: #0066ff;
}

.app-calc-pill.selected {
  background: #0066ff;
  color: #ffffff;
  border-color: #0066ff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.app-calc-result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .app-calc-result-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.app-calc-stat-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
}

.app-calc-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0066ff;
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
}

.app-calc-stat-lbl {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   10. PRE-FOOTER CTA BANNER
   -------------------------------------------------------------------------- */
.app-cta-banner-wrap {
  padding-block: 4rem 2rem;
}

.app-cta-banner {
  background: #060c1d;
  background-image: radial-gradient(circle at 85% 50%, rgba(0, 102, 255, 0.35) 0%, rgba(6, 12, 29, 0.96) 75%);
  border: 1px solid rgba(0, 102, 255, 0.35);
  border-radius: var(--radius-xl, 24px);
  padding: 3rem 2.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
  .app-cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3.5rem 3.5rem;
  }
}

.app-cta-text-side {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 620px;
}

.app-cta-phone-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0066ff;
  box-shadow: 0 0 25px rgba(0, 102, 255, 0.5);
}

.app-cta-title {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.app-cta-sub {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. SEO FAQ ACCORDION
   -------------------------------------------------------------------------- */
.app-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin-inline: auto;
}

.app-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.app-faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.app-faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  display: none;
}

.app-faq-item.active {
  border-color: #0066ff;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.08);
}

.app-faq-item.active .app-faq-answer {
  display: block;
}

.app-faq-item.active .faq-arrow {
  transform: rotate(180deg);
}
