* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #64ffda;
  --primary-dark: #0f0f23;
  --secondary-bg: #1a1a2e;
  --text-primary: #ccd6f6;
  --text-secondary: #8892b0;
  --accent-green: #00e676;
  --accent-red: #ff6b6b;
  --accent-yellow: #ffd740;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background: linear-gradient(135deg, var(--secondary-bg), rgba(70, 70, 120, 0.5));
  padding: 20px 40px;
  border-bottom: 1px solid rgba(100, 255, 218, 0.2);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-dark);
}

.title-area .title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
}

.title-area .subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.main-content {
  flex: 1;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(70, 70, 120, 0.6));
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.1), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.today-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(100, 255, 218, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.today-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.today-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid var(--primary-color);
}

.today-item h4 {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.today-item ul {
  list-style: none;
}

.today-item li {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.yi-text { color: var(--accent-green); }
.ji-text { color: var(--accent-red); }

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
  padding-left: 12px;
  border-left: 4px solid var(--primary-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(70, 70, 120, 0.6));
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(100, 255, 218, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
  color: var(--primary-dark);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-btn:hover {
  transform: scale(1.05);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}

.step-number {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-dark);
}

.step-content {
  text-align: center;
}

.step-content h4 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.step-content p {
  font-size: 12px;
  color: var(--text-secondary);
}

.step-arrow {
  font-size: 24px;
  color: var(--primary-color);
}

.guarantee-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.check-icon {
  color: var(--accent-green);
  font-weight: bold;
  font-size: 18px;
}

.guarantee-item span:last-child {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer {
  text-align: center;
  padding: 20px;
  background: var(--secondary-bg);
  border-top: 1px solid rgba(100, 255, 218, 0.2);
}

.footer p {
  font-size: 12px;
  color: var(--text-secondary);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(70, 70, 120, 0.6));
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  margin-bottom: 30px;
}

.form-step {
  margin-bottom: 30px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.step-badge {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-dark);
}

.step-label {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--accent-red);
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-control::placeholder {
  color: var(--text-secondary);
}

.form-hint {
  font-size: 12px;
  color: var(--primary-color);
  margin-top: 5px;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
  color: var(--primary-dark);
  border: none;
  padding: 18px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover:not(:disabled) {
  transform: scale(1.02);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.progress-bar {
  height: 4px;
  background: rgba(100, 255, 218, 0.2);
  border-radius: 2px;
  margin-bottom: 30px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-green));
  transition: width 0.3s ease;
}

.confirm-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
}

.confirm-section h3 {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.confirm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.confirm-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.confirm-item span:first-child {
  color: var(--text-secondary);
  font-size: 14px;
}

.confirm-item span:last-child {
  color: var(--text-primary);
  font-size: 14px;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 35, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-circle {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(100, 255, 218, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 30px;
}

.loading-text {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.loading-subtext {
  font-size: 14px;
  color: var(--text-secondary);
}

.report-container {
  max-width: 1000px;
  margin: 0 auto;
}

.report-header {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 230, 118, 0.05));
  border-radius: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(100, 255, 218, 0.2);
}

.report-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  margin: 0 auto 20px;
}

.report-icon.good {
  background: linear-gradient(135deg, var(--accent-green), var(--primary-color));
  color: var(--primary-dark);
}

.report-icon.bad {
  background: linear-gradient(135deg, var(--accent-red), #ff8a80);
  color: white;
}

.report-icon.neutral {
  background: linear-gradient(135deg, var(--accent-yellow), #ffab40);
  color: var(--primary-dark);
}

.report-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.report-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.summary-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(70, 70, 120, 0.6));
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  margin-bottom: 30px;
}

.summary-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.summary-value {
  color: var(--text-primary);
  font-size: 14px;
}

.conclusion-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(70, 70, 120, 0.6));
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  margin-bottom: 30px;
}

.conclusion-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.conclusion-box {
  background: rgba(100, 255, 218, 0.05);
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid var(--primary-color);
}

.conclusion-text {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.8;
}

.reviews-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(70, 70, 120, 0.6));
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  margin-bottom: 30px;
}

.reviews-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.review-group {
  margin-bottom: 25px;
}

.review-group:last-child {
  margin-bottom: 0;
}

.group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid var(--primary-color);
}

.group-icon {
  font-size: 24px;
}

.group-name {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-color);
}

.role-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
}

.role-card:last-child {
  margin-bottom: 0;
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.role-name {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-primary);
}

.role-conclusion {
  font-size: 13px;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 15px;
}

.role-conclusion.good {
  background: rgba(0, 230, 118, 0.2);
  color: var(--accent-green);
}

.role-conclusion.bad {
  background: rgba(255, 107, 107, 0.2);
  color: var(--accent-red);
}

.role-conclusion.neutral {
  background: rgba(255, 215, 64, 0.2);
  color: var(--accent-yellow);
}

.role-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.reference-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(70, 70, 120, 0.6));
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  margin-bottom: 30px;
}

.reference-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.reference-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.reference-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.reference-item .check {
  color: var(--accent-green);
  font-weight: bold;
}

.report-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-secondary {
  flex: 1;
  background: rgba(100, 255, 218, 0.2);
  color: var(--primary-color);
  border: 1px solid rgba(100, 255, 218, 0.4);
  padding: 18px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(100, 255, 218, 0.3);
}

@media print {
  .header, .footer, .report-actions {
    display: none;
  }
  .main-content {
    padding: 20px;
  }
  .report-card {
    break-inside: avoid;
  }
}