* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  background-color: #0d1117;
  background-image: url('background_image.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  overflow-x: hidden;
}

/* Semi-transparent dark overlay for crisp readability */
.overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(13, 17, 23, 0.72) 0%, rgba(13, 17, 23, 0.88) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.download-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.glass-card {
  background: rgba(22, 27, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(15, 118, 110, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wrapper {
  margin-bottom: 18px;
  position: relative;
}

.app-logo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(13, 148, 136, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-logo:hover {
  transform: scale(1.05) rotate(1deg);
}

.badge-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(13, 148, 136, 0.2);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.app-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 40%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 12px;
}

.app-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 480px;
}

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(45, 212, 191, 0.3);
}

.feature-icon {
  font-size: 1.35rem;
  margin-right: 10px;
  flex-shrink: 0;
}

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

.feature-text strong {
  font-size: 0.82rem;
  color: #f8fafc;
  font-weight: 600;
}

.feature-text span {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Download Action */
.download-action {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 26px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  padding: 15px 24px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 10px 25px -4px rgba(13, 148, 136, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: all 0.25s ease;
  cursor: pointer;
}

.download-btn:hover {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(13, 148, 136, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.download-btn:active {
  transform: translateY(1px);
}

.dl-icon {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
}

.apk-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: #94a3b8;
}

.apk-info strong {
  color: #e2e8f0;
}

.dot {
  color: #64748b;
}

.safety-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.74rem;
  color: #4ade80;
  font-weight: 500;
}

.shield-icon {
  width: 14px;
  height: 14px;
  stroke: #4ade80;
}

/* Install Guide */
.install-guide {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: left;
  margin-bottom: 20px;
}

.guide-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.25);
  color: #2dd4bf;
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.steps-list strong {
  color: #ffffff;
}

.steps-list em {
  color: #facc15;
  font-style: normal;
}

.footer {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 4px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  border: 1px solid #14b8a6;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f8fafc;
  text-align: left;
}

.toast-icon {
  font-size: 1.5rem;
}

.toast-content strong {
  font-size: 0.88rem;
  color: #ffffff;
}

.toast-content p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 480px) {
  .glass-card {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .app-title {
    font-size: 1.85rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .app-logo {
    width: 90px;
    height: 90px;
  }

  .download-btn {
    padding: 14px 20px;
    font-size: 1.05rem;
  }
}
