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

body {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  max-width: 768px;
  margin: 0 auto;
}
img {
  width: 100%;
}

.card {
  margin: 0 16px;
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* 头部样式 */
.header {
  text-align: center;
  margin: 25px 0;
}

.title {
  font-size: 22px;
  font-weight: bold;
  color: #1a7bff;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 16px;
  color: #666;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: #e6f2ff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a7bff;
  font-size: 14px;
  flex-shrink: 0;
}

.feature-text {
  font-size: 15px;
}

.input-group {
  margin-bottom: 20px;
}

.input-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

.stock-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1.5px solid #d0e3ff;
  background: #f8fbff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.stock-input:focus {
  border-color: #1a7bff;
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 123, 255, 0.15);
  outline: none;
}

.analyze-btn {
  width: 100%;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a7bff 0%, #0052cc 100%);
  color: white;
  font-weight: bold;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(26, 123, 255, 0.3);
  margin-top: 10px;
}

.analyze-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 123, 255, 0.4);
}

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

.user-feedback {
  background: #f8fbff;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
  border-left: 4px solid #1a7bff;
}

.feedback-text {
  font-style: italic;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

.line {
  margin-top: 16px;
  height: 1px;
  background: #aaa;
}

.footer {
  font-size: 13px;
  color: #777;
  text-align: center;
  line-height: 1.5;
  margin-top: 25px;
  padding: 20px;
  border-top: 1px solid #eee;
}
a {
  text-decoration: none;
}
.matter {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}
.a-color {
  color: #555;
}
.mlr-8 {
  margin: 0 8px;
}
.domain {
  text-align: center;
  margin-top: 10px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  padding: 30px 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s ease;
}

.close:hover {
  color: #555;
}

.modal-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1a7bff;
  font-weight: bold;
}

.modal-text {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #555;
}

.modal-btn {
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #1a7bff 0%, #0052cc 100%);
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(26, 123, 255, 0.3);
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 123, 255, 0.4);
}

.progress-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}

.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
  transition: background 0.3s ease;
}

.progress-dot.active {
  background: #1a7bff;
}

.highlight {
  color: #1a7bff;
  font-weight: 600;
}

.accent {
  color: #ff3860;
  font-weight: 600;
}