/* Apps Page Specific Styling */

.apps-header {
  padding-top: 140px;
  padding-bottom: 40px;
}

.apps-showcase {
  padding-top: 0;
}

.app-detail-card {
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  border-left: 4px solid transparent; /* Highlight border */
}

/* Specific Card Borders based on Status */
.app-detail-card:nth-child(1) { border-left-color: #10B981; } /* Body Track - Green */
.app-detail-card:nth-child(2) { border-left-color: #F59E0B; } /* AapuBhasa - Yellow */

/* Status Badges */
.app-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.badge-live {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-dev {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Pulsing dot for Live app */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-live 1.5s infinite alternate;
}

@keyframes pulse-live {
  0% { opacity: 0.5; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

/* Content Styling */
.app-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.app-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: 32px;
}

/* Buttons Area */
.app-downloads {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.app-downloads .btn-primary, 
.app-downloads .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
}

.btn-primary.disabled {
  background: #374151;
  color: #9CA3AF;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Bottom Links (Privacy & Report) */
.app-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
}

.text-link {
  color: var(--text-secondary);
  transition: color 0.2s;
}
.text-link:hover { color: var(--accent-teal); }

.divider { color: var(--border-glass); }

.report-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #F87171; /* Subtle Red for problem reporting */
  transition: opacity 0.2s;
}
.report-link:hover { opacity: 0.8; }

/* Coming Soon Banner */
.coming-soon-banner {
  padding: 60px 40px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}
.coming-soon-banner h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.coming-soon-banner p {
  color: var(--text-secondary);
}

/* Simple Loader Ring for Coming Soon */
.loader-ring {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(45, 212, 191, 0.1);
  border-top-color: var(--accent-teal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin { 
  to { transform: rotate(360deg); } 
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .app-detail-card {
    padding: 24px;
  }
  .app-downloads {
    flex-direction: column;
  }
  .app-downloads a {
    width: 100%;
    justify-content: center;
  }
  .app-footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .divider { display: none; }
}
