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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

/* Header */
.header {
  text-align: center;
  padding: 40px 0 30px;
  margin-bottom: 0;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1890ff;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 0.875rem;
  color: #999;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #555;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: #f7f7f7;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.hint {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  color: #999;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 30px;
}

.radio-item {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
}

.radio-item input[type="radio"] {
  width: auto;
  margin-right: 8px;
  cursor: pointer;
}

.radio-item span {
  cursor: pointer;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 12px;
  color: #555;
}

/* Birth Picker */
.birth-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.birth-select {
  flex: 1;
  padding: 12px 16px;
  background: #f7f7f7;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.birth-select:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.birth-separator {
  font-size: 1rem;
  color: #333;
}

/* Submit Container */
.submit-container {
  padding: 40px 20px 20px;
}

/* Level Title */
.level-title {
  font-size: 1rem;
  color: #333;
  margin-bottom: 24px;
  font-weight: 500;
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #1890ff 0%, #0066cc 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: 0 8px 16px rgba(24, 144, 255, 0.3);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary:active {
  opacity: 0.8;
}

.btn-secondary {
  width: 100%;
  padding: 16px;
  background: #fff;
  color: #1890ff;
  border: 2px solid #1890ff;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-secondary:hover {
  opacity: 0.9;
}

.btn-secondary:active {
  opacity: 0.8;
}

/* Best Plan Card */
.header-card {
  background: linear-gradient(135deg, #1890ff 0%, #0066cc 100%);
  border-radius: 10px;
  padding: 40px 30px;
  margin-bottom: 20px;
  color: #fff;
  box-shadow: 0 12px 32px rgba(24, 144, 255, 0.3);
}

.best-plan-badge {
  text-align: center;
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.best-plan-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.best-plan-pension {
  text-align: center;
  margin-bottom: 40px;
}

.amount {
  font-size: 4rem;
  font-weight: 700;
}

.unit {
  font-size: 1.5rem;
  margin-left: 12px;
  opacity: 0.9;
}

.best-plan-reasons {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  gap: 20px;
}

.reason-item {
  flex: 1;
  text-align: center;
}

.reason-label {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.reason-value {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Standard Card */
.standard-card {
  background: linear-gradient(135deg, #f6f9ff 0%, #ffffff 100%);
}

.standard-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.standard-list {
  margin-top: 20px;
}

.standard-item {
  margin-bottom: 24px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid #1890ff;
}

.standard-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.standard-icon {
  font-size: 1.5rem;
  margin-right: 12px;
}

.standard-name {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.standard-weight {
  font-size: 0.875rem;
  color: #1890ff;
  background: #e6f7ff;
  padding: 4px 12px;
  border-radius: 8px;
}

.standard-detail {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.5;
  padding-left: 44px;
}

.standard-formula {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
  border-radius: 12px;
  border: 1px dashed #faad14;
}

.formula-title {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
}

.formula-content {
  font-size: 0.9rem;
  color: #666;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
}

/* Advantage Card */
.advantage-card {
  background: linear-gradient(135deg, #fff7e6 0%, #ffffff 100%);
  border: 2px solid #ffd591;
}

.advantage-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.advantage-list {
  margin-top: 16px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 16px;
  flex-shrink: 0;
}

.advantage-icon.increase {
  background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
  color: #fff;
}

.advantage-icon.improve {
  background: linear-gradient(135deg, #1890ff 0%, #0050b3 100%);
  color: #fff;
}

.advantage-icon.save {
  background: linear-gradient(135deg, #fa8c16 0%, #d46b08 100%);
  color: #fff;
}

.advantage-icon.account {
  background: linear-gradient(135deg, #722ed1 0%, #531dab 100%);
  color: #fff;
}

.advantage-content {
  flex: 1;
}

.advantage-title {
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
}

.advantage-value {
  font-size: 1.3rem;
  color: #1890ff;
  font-weight: 700;
  margin-bottom: 4px;
}

.advantage-percent {
  font-size: 0.9rem;
  color: #52c41a;
  font-weight: 500;
}

.advantage-score {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
  border-radius: 12px;
  text-align: center;
  border: 2px solid #91d5ff;
}

.score-label {
  font-size: 1.1rem;
  color: #333;
  margin-right: 12px;
}

.score-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1890ff;
}

.score-max {
  font-size: 1.1rem;
  color: #999;
  margin-left: 4px;
}

/* Plan Card */
.plan-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  border: 2px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.3s;
}

.plan-card:hover {
  border-color: #1890ff;
  box-shadow: 0 4px 16px rgba(24, 144, 255, 0.2);
}

.plan-card.best {
  border-color: #52c41a;
  background: linear-gradient(135deg, #f6ffed 0%, #ffffff 100%);
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.plan-badge {
  background: #52c41a;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.plan-pension {
  font-size: 2rem;
  font-weight: 700;
  color: #1890ff;
  margin-bottom: 16px;
}

.plan-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 0.9rem;
  color: #666;
}

.detail-item {
  display: flex;
  justify-content: space-between;
}

.detail-label {
  color: #999;
}

.detail-value {
  font-weight: 500;
  color: #333;
}

/* Footer */
.footer {
  text-align: center;
  color: #999;
  margin-top: 40px;
  padding: 20px;
  font-size: 0.875rem;
}

.footer a {
  color: #1890ff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Level Selector */
.level-selector {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.level-option {
  flex: 1;
  padding: 16px 12px;
  border: 2px solid transparent;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f7f7f7;
}

.level-option:hover {
  background: #e6f7ff;
}

.level-option.active {
  background: linear-gradient(135deg, #e6f7ff 0%, #d9f0ff 100%);
  border-color: #1890ff;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

.level-value {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.level-option.active .level-value {
  color: #1890ff;
}

.level-desc {
  font-size: 0.75rem;
  color: #999;
}

.level-option.active .level-desc {
  color: #1890ff;
}

/* Utility */
.hidden {
  display: none !important;
}

.actions {
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .amount {
    font-size: 3rem;
  }

  .best-plan-reasons {
    flex-direction: column;
    gap: 16px;
  }

  .plan-details {
    grid-template-columns: 1fr;
  }

  .standard-header {
    flex-wrap: wrap;
  }

  .standard-weight {
    margin-top: 8px;
  }

  .level-selector {
    gap: 8px;
  }

  .level-option {
    padding: 12px 8px;
  }

  .level-value {
    font-size: 1.1rem;
  }

  .level-desc {
    font-size: 0.75rem;
  }
}
