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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', '微软雅黑', sans-serif;
  background: linear-gradient(to bottom right, #ffffff 0%, #f0f4ff 50%, #e8eeff 100%);
  min-height: 100vh;
  color: #333;
  overflow-x: hidden;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
}

.btn-primary {
  background: #1890ff;
  color: white;
  border: none;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-primary:hover {
  background: #40a9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.main-content {
  flex: 1;
  padding: 2rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-section {
  text-align: center;
  padding: 2rem 0 3rem;
  color: #000;
}

.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  color: #000;
  border: 1px solid rgba(211,211,211,0.5);
}

.logo-large {
  margin-bottom: 1.5rem;
}

.logo-large img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
}

.title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #000;
}

.subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  opacity: 1;
  color: #000;
}

.subtitle strong {
  font-weight: 600;
}

.features-section {
  color: #333;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.75rem;
  color: #000;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 2.5rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(211,211,211,0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
  overflow: hidden;
}

.card-prompt {
  padding: 0.625rem 0.875rem;
  font-size: 0.8rem;
  border-radius: 8px;
  align-self: flex-end;
  max-width: 95%;
  text-align: right;
  line-height: 1.4;
  border: 1px solid rgba(211,211,211,0.5);
}

.card-content {
  width: 100%;
  overflow: hidden;
}

.card-body {
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid rgba(211,211,211,0.5);
}

.card-body-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.625rem;
}

.card-body p {
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  color: #374151;
  line-height: 1.5;
  word-break: break-all;
  overflow-wrap: break-word;
}

.table-content {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  max-width: 100%;
}

.table-content::-webkit-scrollbar {
  height: 4px;
}

.table-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.table-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}

.table-content table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 0.75rem;
  border-radius: 6px;
  overflow: hidden;
}

.table-content th {
  text-align: left;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  font-size: 0.75rem;
}

.table-content td {
  color: #1f2937;
  white-space: nowrap;
  font-size: 0.75rem;
}

.table-content tr:last-child td {
  border-bottom: none;
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .header-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 1rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .logo-image {
    width: 32px;
    height: 32px;
    border-radius: 6px;
  }

  .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .main-content {
    padding: 1rem 0.75rem;
  }

  .hero-section {
    padding: 1.5rem 0 2rem;
  }

  .logo-large img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
  }

  .title {
    font-size: 1.75rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .card-prompt {
    font-size: 0.7rem;
    padding: 0.5rem 0.625rem;
    max-width: 180px;
  }

  .card {
    padding: 1rem;
    gap: 0.75rem;
  }

  .card-body {
    padding: 0.75rem;
  }

  .table-content {
    font-size: 0.7rem;
  }

  .table-content th,
  .table-content td {
    padding: 0.3rem 0.375rem;
  }
}

@media (max-width: 480px) {
  .header-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .logo {
    justify-content: center;
  }

  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .cards-grid {
    gap: 1rem;
  }

  .card-prompt {
    align-self: stretch;
    max-width: none;
    text-align: left;
    margin-bottom: 0;
  }

  .card {
    flex-direction: column;
  }

  .card-content {
    padding: 0;
  }

  .table-content {
    font-size: 0.65rem;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
  }

  .table-content th,
  .table-content td {
    padding: 0.25rem 0.375rem;
  }
}

@media (max-width: 375px) {
  .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }

  .logo-large img {
    width: 100px;
    height: 100px;
  }

  .title {
    font-size: 1.35rem;
  }

  .subtitle {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .card-prompt {
    font-size: 0.7rem;
    padding: 0.5rem 0.625rem;
  }

  .card-body {
    padding: 0.625rem;
  }

  .card-body-title {
    font-size: 0.8rem;
  }

  .table-content {
    font-size: 0.6rem;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

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

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1f2937;
  text-align: center;
}

.modal-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.modal-input:focus {
  outline: none;
  border-color: #1890ff;
  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modal-btn {
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.modal-btn-cancel {
  background: #f3f4f6;
  color: #374151;
}

.modal-btn-cancel:hover {
  background: #e5e7eb;
}

.modal-btn-confirm {
  background: #1890ff;
  color: white;
}

.modal-btn-confirm:hover {
  background: #40a9ff;
}

.modal-btn-skip {
  background: transparent;
  color: #6b7280;
  text-decoration: underline;
}

.modal-btn-skip:hover {
  color: #374151;
}