body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #f8f9fb;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(22, 136, 252, 0.1);
  transition: all 0.3s ease;
}

.logo:hover .logo-icon {
  background: rgba(22, 136, 252, 0.15);
  transform: rotate(5deg);
}

.logo:active .logo-icon {
  transform: scale(0.95);
  background: rgba(22, 136, 252, 0.2);
}

.logo-icon svg {
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon svg {
  transform: scale(1.1) rotate(5deg);
}

.logo-icon svg circle:last-child,
.logo-icon svg circle:nth-last-child(2) {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1688fc;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 400;
  color: #666;
  margin-top: -2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1688fc;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #1688fc;
  margin: 3px 0;
  transition: 0.3s;
}

.banner {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem 3rem 1rem;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.banner p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

.btn-primary {
  display: inline-block;
  background: #fff;
  color: #1688fc;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(22,136,252,0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #1688fc;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22,136,252,0.3);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: #fff;
  color: #1688fc;
  transform: translateY(-2px);
}

.demo-section {
  padding: 4rem 0;
  background: #fff;
}

.demo-section h2 {
  text-align: center;
  color: #1688fc;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.demo-input, .demo-result {
  background: #f8f9fb;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.word-count {
  font-size: 0.9rem;
  color: #666;
}

.input-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

#content-input {
  width: 100%;
  min-height: 200px;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#content-input:focus {
  outline: none;
  border-color: #1688fc;
  box-shadow: 0 0 0 3px rgba(22,136,252,0.1);
}

.input-tools {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.tool-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  color: #666;
  transition: all 0.2s;
}

.tool-btn:hover {
  background: #f8f9fb;
  color: #1688fc;
  border-color: #1688fc;
}

.demo-options {
  margin-top: 1.5rem;
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.detection-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.detection-btn:hover {
  border-color: #1688fc;
  background: #e3f1ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22,136,252,0.15);
}

.detection-btn .btn-icon {
  width: 50px;
  height: 50px;
  background: #1688fc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.detection-btn .btn-icon svg {
  stroke: #fff;
}

.detection-btn:hover .btn-icon {
  background: #0066cc;
  transform: scale(1.05);
}

.btn-content h5 {
  margin: 0 0 0.3rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.btn-content p {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.3;
}

.detect-note {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1688fc;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #0066cc;
  transform: translateY(-2px);
}

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

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.result-placeholder {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #666;
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.placeholder-content svg {
  color: #ccc;
}

.placeholder-tip {
  font-size: 0.9rem;
  color: #999;
}

.result-message {
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  animation: fadeIn 0.3s ease;
}

.result-message.success {
  background: #e8f5e8;
  border: 1px solid #4caf50;
  color: #2e7d32;
}

.result-message.success h4 {
  color: #2e7d32;
  margin-bottom: 0.5rem;
}

.result-message.success p {
  color: #2e7d32;
  margin: 0;
}

.result-message.success a {
  color: #1688fc;
  text-decoration: underline;
  font-weight: 500;
}

.result-message.success a:hover {
  color: #0d47a1;
}

.result-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.features {
  padding: 4rem 0;
}

.features h2 {
  text-align: center;
  color: #1688fc;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(22,136,252,0.08);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(22,136,252,0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  color: #1688fc;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.steps {
  background: linear-gradient(135deg, #e3f1ff 0%, #f0f8ff 100%);
  padding: 4rem 0;
}

.steps h2 {
  text-align: center;
  color: #1688fc;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-item {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(22,136,252,0.08);
}

.step-number {
  width: 60px;
  height: 60px;
  background: #1688fc;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem auto;
}

.step-item h3 {
  color: #1688fc;
  margin-bottom: 1rem;
}

.advantages {
  padding: 4rem 0;
}

.advantages h2 {
  text-align: center;
  color: #1688fc;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

.testimonials {
  background: #fff;
  padding: 4rem 0;
}

.testimonials h2 {
  text-align: center;
  color: #1688fc;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-item {
  background: #f8f9fb;
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid #1688fc;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1rem;
  color: #555;
}

.testimonial-author strong {
  color: #1688fc;
  display: block;
}

.testimonial-author span {
  color: #666;
  font-size: 0.9rem;
}

.faq {
  padding: 4rem 0;
  background: #f8f9fb;
}

.faq h2 {
  text-align: center;
  color: #1688fc;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

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

.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fb;
}

.faq-question h3 {
  margin: 0;
  color: #1688fc;
  font-size: 1.1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  color: #1688fc;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

footer {
  background: #2c3e50;
  color: #fff;
  padding: 3rem 0 1rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-section h3 {
  color: #1688fc;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #1688fc;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
  font-size: 0.9rem;
}

/* 关于我们页面样式 */
.about-page {
  padding: 2rem 0;
}

.about-hero {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #1688fc 0%, #4fc3f7 100%);
  color: #fff;
  margin-bottom: 3rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.about-text h2 {
  color: #1688fc;
  margin-bottom: 1rem;
}

.about-text ul {
  padding-left: 1.5rem;
}

.about-text li {
  margin-bottom: 0.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(22,136,252,0.08);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #1688fc;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
}

.team-section {
  padding: 3rem 0;
  background: #f8f9fb;
}

.team-section h2 {
  text-align: center;
  color: #1688fc;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(22,136,252,0.08);
}

.member-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.team-member h3 {
  color: #1688fc;
  margin-bottom: 1rem;
}

.contact-preview {
  text-align: center;
  padding: 3rem 0;
}

.contact-preview h2 {
  color: #1688fc;
  margin-bottom: 1rem;
}

/* 联系我们页面样式 */
.contact-page {
  padding: 2rem 0;
}

.contact-hero {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #1688fc 0%, #4fc3f7 100%);
  color: #fff;
  margin-bottom: 3rem;
}

.contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info h2 {
  color: #1688fc;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(22,136,252,0.08);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: #1688fc;
  margin-bottom: 0.5rem;
}

.contact-details p {
  margin: 0.25rem 0;
  color: #666;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(22,136,252,0.08);
}

.contact-form h2 {
  color: #1688fc;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1688fc;
  box-shadow: 0 0 0 3px rgba(22,136,252,0.1);
}

.faq-section {
  padding: 3rem 0;
  background: #f8f9fb;
}

.faq-section h2 {
  text-align: center;
  color: #1688fc;
  margin-bottom: 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-grid .faq-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(22,136,252,0.08);
}

.faq-grid .faq-item h3 {
  color: #1688fc;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .logo-title {
    font-size: 1.2rem;
  }
  
  .logo-subtitle {
    font-size: 0.7rem;
  }
  
  .logo-icon {
    width: 36px;
    height: 36px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    display: none;
  }
  
  .banner h1 {
    font-size: 2rem;
}
  
  .banner p {
    font-size: 1.1rem;
  }
  
  .demo-container {
    grid-template-columns: 1fr;
  }
  
  .demo-options {
    gap: 1rem;
}
  
  .option-group {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .btn-detect {
    width: 100%;
    padding: 1.2rem 2rem;
  }
  
  .detection-types {
    padding: 1rem;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .detection-btn {
    padding: 1.2rem 0.8rem;
  }
  
  .detection-btn .btn-icon {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 1.1rem;
  }
  
  .logo-subtitle {
    display: none;
  }
  
  .logo-icon {
    width: 32px;
    height: 32px;
  }
  
  .banner h1 {
    font-size: 1.8rem;
  }
  
  .banner-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 250px;
  }
  
  .demo-input, .demo-result {
    padding: 1rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }

  .about-hero h1,
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }

  .demo-input, .demo-result {
    padding: 1rem;
  }
  
  .detection-types {
    padding: 1rem;
  }
  
  .detection-types h4 {
    font-size: 0.9rem;
  }
  
  .option-text {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .btn-detect {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .detect-note {
    font-size: 0.8rem;
  }

  .detection-actions {
    padding: 1.5rem;
  }
  
  .detection-btn {
    padding: 1rem 0.6rem;
  }
  
  .detection-btn .btn-icon {
    width: 40px;
    height: 40px;
  }
  
  .btn-content h5 {
    font-size: 0.9rem;
  }
  
  .btn-content p {
    font-size: 0.75rem;
  }
  
  .detect-note {
    font-size: 0.8rem;
  }
}

/* 新增的检测结果样式 */
.result-message.loading {
  text-align: center;
  padding: 2rem;
}

.loading-spinner {
  margin-bottom: 1rem;
}

.result-actions {
  margin-top: 1rem;
  text-align: center;
}

.result-actions .btn-secondary {
  background: #f8f9fa;
  color: #1688fc;
  border: 1px solid #1688fc;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.result-actions .btn-secondary:hover {
  background: #1688fc;
  color: white;
}

/* 优化现有的result-message样式 */
.result-message {
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  animation: fadeIn 0.5s ease;
}

.result-message.loading {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}

.result-message.loading h4 {
  color: #1688fc;
  margin-bottom: 0.5rem;
}

.result-message.loading p {
  color: #666;
  margin: 0;
}

.result-message.info {
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  color: #1565c0;
}

.result-message.info h4 {
  color: #1565c0;
  margin-bottom: 0.5rem;
}

.result-message.info p {
  color: #1565c0;
  margin: 0;
}

.result-message.warning {
  background: #fff3e0;
  border: 1px solid #ffcc02;
  color: #e65100;
}

.result-message.warning h4 {
  color: #e65100;
  margin-bottom: 0.5rem;
}

.result-message.warning p {
  color: #e65100;
  margin: 0;
}

.result-message.warning a {
  color: #1688fc;
  text-decoration: underline;
  font-weight: 500;
}

.result-message.warning a:hover {
  color: #0d47a1;
}