/* ImageTwin图片查重 - 主样式文件 */
/* 绿色主题配色方案 */
:root {
  --primary-green: #00A651;
  --deep-green: #006837;
  --light-green: #7DC242;
  --accent-green: #8BC34A;
  --bg-green: #F1F8F4;
  --text-dark: #1A1A1A;
  --text-gray: #555555;
  --text-light: #777777;
  --border-color: #E0E0E0;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,166,81,0.1);
  --shadow-md: 0 4px 16px rgba(0,166,81,0.15);
  --shadow-lg: 0 8px 24px rgba(0,166,81,0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 通用容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

/* 头部导航 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: transform 0.3s ease;
}

header.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 45px;
  width: auto;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-green);
  border-bottom-color: var(--primary-green);
}

/* 汉堡菜单 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary-green);
  cursor: pointer;
}

/* Banner区域 - 全屏权威设计 */
.hero-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #00A651 0%, #006837 50%, #00A651 100%);
  overflow: hidden;
  margin-top: 75px;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 25px;
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-title .highlight {
  color: #FFD700;
  position: relative;
}

.hero-description {
  font-size: 20px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 45px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.cta-primary {
  background: var(--white);
  color: var(--primary-green);
  animation: pulse-btn 2s infinite;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.4);
}

.cta-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid var(--white);
  backdrop-filter: blur(10px);
}

.cta-secondary:hover {
  background: var(--white);
  color: var(--primary-green);
  transform: translateY(-3px);
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,255,255,0.3); }
  50% { box-shadow: 0 8px 32px rgba(255,255,255,0.5); }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* 标题样式 */
.section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-align: center;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 50px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* 通用卡片 */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--deep-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 强调文本 */
strong {
  color: var(--primary-green);
  font-weight: 700;
}

/* 链接 */
a {
  color: var(--primary-green);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--deep-green);
}

/* 列表 */
ul, ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* 表格 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

thead {
  background: var(--primary-green);
  color: var(--white);
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

tr:hover {
  background: var(--bg-green);
}

/* 页脚 */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 50px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: var(--primary-green);
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-section a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: var(--deep-green);
  transform: translateY(-5px);
}

.back-to-top.show {
  display: flex;
}

/* 工具提示 */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted var(--primary-green);
  cursor: help;
}

/* FAQ折叠样式 */
details {
  transition: all 0.3s ease;
}

details summary {
  transition: all 0.3s ease;
}

details[open] summary {
  margin-bottom: 15px;
  color: var(--primary-green);
}

details summary:hover {
  color: var(--primary-green);
}

details[open] summary span {
  transform: rotate(180deg);
  display: inline-block;
  transition: transform 0.3s ease;
}

/* 锚点导航样式 */
.anchor-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.anchor-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--white);
  color: var(--primary-green);
  text-decoration: none;
  border-radius: 25px;
  border: 2px solid var(--primary-green);
  font-weight: 600;
  transition: all 0.3s ease;
}

.anchor-link:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 数字列表样式优化 */
ol {
  counter-reset: item;
  list-style: none;
}

ol li {
  counter-increment: item;
  position: relative;
  padding-left: 35px;
}

ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

/* 特色标记 */
.badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* 网格卡片hover效果增强 */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,166,81,0.25);
}

/* 按钮按下效果 */
button:active,
.btn:active {
  transform: scale(0.95);
}

/* 链接下划线动画 */
a:not(.btn):not(.cta-btn) {
  position: relative;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

a:not(.btn):not(.cta-btn):hover {
  border-bottom-color: var(--primary-green);
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 选中文本颜色 */
::selection {
  background: var(--primary-green);
  color: var(--white);
}

::-moz-selection {
  background: var(--primary-green);
  color: var(--white);
}

/* 滚动条样式（仅Webkit浏览器） */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--deep-green);
}

/* Focus可访问性优化 */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--primary-green);
  outline-offset: 2px;
}

/* 加载动画 */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0,166,81,0.3);
  border-radius: 50%;
  border-top-color: var(--primary-green);
  animation: spin 0.8s linear infinite;
}

/* 渐变文字效果 */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-green), var(--deep-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 脉动动画 */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* 卡片阴影层次 */
.card-elevated {
  box-shadow: 
    0 1px 3px rgba(0,166,81,0.12),
    0 1px 2px rgba(0,166,81,0.24);
}

.card-elevated:hover {
  box-shadow: 
    0 14px 28px rgba(0,166,81,0.15),
    0 10px 10px rgba(0,166,81,0.12);
}

