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

body {
  background-color: #f5f5f5;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-bottom: 30vh;
}

.page-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-logo {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 20px;
}

.app-text-logo {
  margin-top: 4px;
  margin-bottom: 32px;
  width: 100px;
}

.app-name {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  text-align: center;
  line-height: 1.4;
}

/* Download badge button */
.download-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.store-badge {
  height: 48px;
  display: block;
}

/* Modal - iOS native dialog style */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.modal-overlay.visible {
  display: flex;
}

.modal-dialog {
  background: rgba(242, 242, 247, 0.98);
  border-radius: 14px;
  width: 270px;
  overflow: hidden;
  text-align: center;
}

.modal-text {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
  padding: 20px 16px 16px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  border-top: 0.5px solid rgba(0, 0, 0, 0.2);
}

.btn-continue {
  background-color: transparent;
  color: #007AFF;
  border: none;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
  padding: 0;
  height: 44px;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  width: 100%;
}

.btn-cancel {
  background-color: transparent;
  color: #007AFF;
  border: none;
  padding: 0;
  height: 44px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
