/* AIGC检测系统样式 - aigc-styles.css */

:root {
  --primary-color: #3366cc;
  --secondary-color: #ff6600;
  --text-color: #333;
  --light-gray: #f5f8fa;
  --border-color: #eaeaea;
  --hover-color: #254e99;
  --white: #fff;
  --dark: #222;
  --success: #5cb85c;
  --warning: #f0ad4e;
  --info: #5bc0de;
  --danger: #d9534f;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

/* 通用样式 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

.btn {
  border-radius: 4px;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--hover-color);
  border-color: var(--hover-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* 导航栏样式 */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* 快捷导航栏 */
.quick-side-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: none;
}

@media (min-width: 1200px) {
  .quick-side-nav {
    display: block;
  }
}

.quick-side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 5px;
}

.quick-side-nav li {
  margin: 10px 0;
  text-align: center;
}

.quick-side-nav a {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.quick-side-nav a:hover {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

/* 字体大小调节 */
.font-adjust-tools {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 5px;
}

.font-adjust-tools button {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 5px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.font-adjust-tools button:hover {
  background-color: var(--primary-color);
  color: white;
}

/* 回到顶部按钮 */
.top-return-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.top-return-btn.show {
  opacity: 1;
  visibility: visible;
}

.top-return-btn:hover {
  background-color: var(--hover-color);
  transform: translateY(-3px);
}

/* 横幅样式 */
.banner-area {
  background: linear-gradient(135deg, var(--primary-color) 0%, #254e99 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.banner-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IGlkPSJwYXR0ZXJuLWJhY2tncm91bmQiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InRyYW5zcGFyZW50Ij48L3JlY3Q+PHJlY3QgeD0iLTEwIiB5PSIxNSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjEwIiByeD0iNSIgcnk9IjUiIGZpbGw9IndoaXRlIiBvcGFjaXR5PSIwLjA1Ij48L3JlY3Q+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCBmaWxsPSJ1cmwoI3BhdHRlcm4pIiBoZWlnaHQ9IjEwMCUiIHdpZHRoPSIxMDAlIj48L3JlY3Q+PC9zdmc+');
  opacity: 0.3;
}

.banner-content {
  position: relative;
  z-index: 10;
}

/* 特效样式 */
.floating-icon {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.pulse-effect {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.glow-effect {
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--primary-color), 0 0 20px var(--primary-color);
  }
  to {
    box-shadow: 0 0 10px #fff, 0 0 15px var(--hover-color), 0 0 20px var(--hover-color), 0 0 25px var(--hover-color);
  }
}

/* 关于检测部分 */
.about-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.info-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(51, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.info-icon i {
  font-size: 32px;
  color: var(--primary-color);
}

/* 检测原理部分 */
.principle-section {
  padding: 80px 0;
}

.step-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.step-box:hover {
  transform: translateY(-5px);
}

.step-icon {
  position: relative;
  width: 80px;
  height: 80px;
  background-color: rgba(51, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon i {
  font-size: 36px;
  color: var(--primary-color);
}

.step-num {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* 对比分析部分 */
.comparison-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.compare-table th,
.compare-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #eee;
}

.compare-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.compare-table tr:nth-child(even) {
  background-color: rgba(51, 102, 204, 0.05);
}

.compare-table tr:hover {
  background-color: rgba(51, 102, 204, 0.1);
}

/* 使用指南部分 */
.guide-section {
  padding: 80px 0;
}

.guide-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.guide-item:hover {
  transform: translateY(-5px);
}

.guide-icon {
  position: relative;
  width: 80px;
  height: 80px;
  background-color: rgba(51, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.guide-icon i {
  font-size: 36px;
  color: var(--primary-color);
}

.guide-num {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* 价格区域 */
.pricing-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.price-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.price-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.price-features li i {
  margin-right: 10px;
  color: var(--success);
}

.price-features li i.text-muted {
  color: #aaa;
}

/* 常见问题部分 */
.faq-section {
  padding: 80px 0;
}

.qa-item {
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.qa-question {
  background-color: #f8f9fa;
  padding: 15px 20px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
  transition: background-color 0.3s;
}

.qa-question:hover {
  background-color: #e9ecef;
}

.qa-question::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.qa-question.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.qa-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.qa-answer.active {
  padding: 20px;
  max-height: 1000px;
}

/* 用户评价部分 */
.reviews-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.review-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
  position: relative;
}

.review-avatar {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.review-avatar i {
  font-size: 24px;
}

.review-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.review-content::before {
  content: '\201C';
  font-size: 60px;
  line-height: 1;
  color: rgba(51, 102, 204, 0.1);
  position: absolute;
  top: -20px;
  left: -10px;
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
}

.like-counter, .favorite-counter {
  display: flex;
  align-items: center;
}

.like-counter button, .favorite-counter button {
  background: none;
  border: none;
  color: #777;
  padding: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.like-counter button:hover {
  color: var(--primary-color);
}

.favorite-counter button:hover {
  color: #f8bb00;
}

/* 数据统计部分 */
.statistics-section {
  padding: 80px 0;
}

.stat-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-title {
  font-weight: 600;
  color: #666;
}

.chart-container {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.chart-bar {
  display: flex;
  align-items: center;
  border-radius: 5px;
  padding: 0 15px;
  color: white;
}

.chart-bar span {
  white-space: nowrap;
}

/* 合作伙伴部分 */
.partners-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.partner-logo {
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.partner-logo:hover {
  transform: translateY(-5px);
}

.partner-logo i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.partner-logo p {
  font-weight: 600;
  margin: 0;
}

/* 注意事项部分 */
.notice-section {
  padding: 80px 0;
}

.alert-box {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  border-left: 5px solid var(--primary-color);
}

/* 联系我们部分 */
.contact-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-icon i {
  font-size: 32px;
}

.social-share button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  margin-left: 10px;
  transition: all 0.3s;
}

.social-share button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* 页脚部分 */
footer {
  background-color: var(--dark);
  color: #aaa;
  padding: 60px 0 30px;
}

footer h5, footer h6 {
  color: white;
  margin-bottom: 15px;
}

.footer-buttons .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-buttons .btn-outline-light:hover {
  background-color: transparent;
  color: white;
  border-color: white;
}

.social-media .btn-outline-light {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .banner-area {
    padding: 60px 0;
  }
  
  h1.display-4 {
    font-size: 2rem;
  }
  
  .font-adjust-tools, .quick-side-nav {
    display: none;
  }
  
  .comparison-section .table-responsive {
    overflow-x: auto;
  }
  
  .info-card, .step-box, .guide-item, .price-card, .stat-card {
    margin-bottom: 20px;
  }
}

/* 动画效果 */
.counter-data {
  display: inline-block;
}

/* 加载后动画 */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
