/* Redesigned PWA Install Page Styles - Gojo Live Mockup Inspired */
:root {
  --bg-primary: #000000;
  --bg-card: #161616;
  --border-card: #282828;
  --accent-pink: #e91b60;
  --text-primary: #ffffff;
  --text-secondary: #8a8a8a;
  --text-muted: #8c8c8c;
  --shadow-pink: 0 8px 24px rgba(233, 30, 99, 0.35);
}

.install-page {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', 'Nunito Sans', sans-serif;
  padding: 20px 16px 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.install-container {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Premium Install Card */
.premium-install-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
  position: relative;
}

/* App Icon */
.app-icon-container {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Typography */
.app-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
}

/* Play Store Badge */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #202020;
  border: 1px solid #333333;
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.badge-divider {
  color: #404040;
  font-size: 10px;
}

.app-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 28px 0;
  font-weight: 400;
}

/* White Action Button */
.install-action-btn {
  width: 100%;
  background: #ffffff;
  border: none;
  border-radius: 12px;
  color: #111215;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, box-shadow 0.2s ease;
}

.install-action-btn:hover {
  transform: translateY(-2px);
  background-color: #f3f4f6;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.25);
}

.install-action-btn:active {
  transform: translateY(0);
}

.install-action-btn i, .install-action-btn svg {
  font-size: 16px;
}

.install-action-btn.installed {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  box-shadow: none;
  pointer-events: none;
}

/* Divider */
.card-divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--border-card);
  margin: 28px 0;
}

/* Why Install list styling */
.why-install-block {
  width: 100%;
  text-align: left;
}

.why-install-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  letter-spacing: 1px;
}

.why-install-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-install-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bullet-icon {
  font-size: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bullet-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Troubleshooting / OS Guides section below */
.troubleshoot-section {
  width: 100%;
  margin-top: 10px;
}

.troubleshoot-card {
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.troubleshoot-header {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-card);
  letter-spacing: 0.5px;
}

.troubleshoot-content {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* OS Guides Tabs */
.guide-tabs {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 4px;
  display: flex;
  gap: 4px;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Guide content steps */
.guide-content {
  display: none;
}

.guide-content.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-step {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-num {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

.step-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.step-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-card);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Adjustments for MPA Page */
@media (min-width: 768px) {
  .install-page {
    padding-top: 10px;
  }
}
