/* 
 * 赢政天下 2.0 - AI世界的中文入口
 * 内容样式表 (3/4)
 * 版本: 2.0.0
 * 日期: 2025-04-01
 */

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.hero-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-tagline {
    font-size: 24px;
    color: var(--secondary-light);
    margin-bottom: 15px;
}

.hero-description {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 赢政历史卡片 */
.legacy-card {
  background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
  border: 1px solid var(--secondary-light);
  border-radius: 10px;
  padding: 30px;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(203, 155, 82, 0.15);
}

.legacy-card::after {
  content: "1998-2025";
  position: absolute;
  bottom: 10px;
  right: 15px;
  color: rgba(203, 155, 82, 0.1);
  font-size: 40px;
  font-weight: bold;
  font-style: italic;
  z-index: 0;
}

.legacy-content {
  position: relative;
  z-index: 1;
}

.legacy-title {
  color: var(--secondary-dark);
  font-size: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legacy-text {
  color: #5d4037;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.legacy-text strong {
  color: var(--primary-dark);
}

.legacy-cta {
  margin-top: 15px;
}

.legacy-btn {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--text-white);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.legacy-btn:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* 编辑推荐工具 */
.featured-tools {
  margin: 50px 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.tool-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.tool-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.tool-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding: 10px;
}

.tool-card:hover .tool-image img {
  transform: scale(1.05);
}

.premium-badge, .free-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
}

.premium-badge {
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
}

.free-badge {
  background-color: #e1f5ee;
  color: var(--success);
}

.tool-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tool-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.tool-name a:hover {
  color: var(--primary);
}

.tool-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.tool-tags {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tag {
  display: inline-block;
  background-color: var(--bg-accent);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition-normal);
}

.category-tag:hover {
  background-color: var(--primary-light);
  color: white;
}

.tool-stats {
  display: flex;
  font-size: 13px;
  color: var(--text-light);
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.tool-rating {
  margin-right: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tool-rating i {
  color: #ffc107;
}

.tool-views {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 最新AI工具 */
.new-tools {
  margin: 50px 0;
}

/* 文章与教程样式 */
.latest-news {
  margin: 50px 0;
}

.news-container {
  display: flex;
  gap: 30px;
}

.news-main {
  flex: 3;
}

.news-sidebar {
  flex: 1;
  min-width: 250px;
}

.featured-tutorials {
  margin: 50px 0;
}

.tutorials-container {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-md);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

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

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-tagline {
    font-size: 20px;
  }

  .hero-description {
    font-size: 16px;
  }
}

/* AI工具评测区域 */
.ai-reviews {
    margin: 40px 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.review-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.review-image {
    height: 200px;
    overflow: hidden;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.review-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1f3e75;
}

.review-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    flex-grow: 1;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
}

/* 隐私政策 */
        .privacy-policy {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
            line-height: 1.8;
        }

        .policy-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .policy-header h1 {
            font-size: 36px;
            color: var(--primary-dark);
            margin-bottom: 15px;
        }

        .policy-header .subtitle {
            font-size: 18px;
            color: var(--text-secondary);
            margin-bottom: 10px;
        }

        .policy-header .update-time {
            color: var(--text-light);
            font-size: 14px;
        }

        .policy-content h2 {
            color: var(--primary-dark);
            border-bottom: 2px solid var(--primary-light);
            padding-bottom: 10px;
            margin: 30px 0 20px;
        }

        .policy-content ul {
            list-style-type: disc;
            padding-left: 30px;
            margin-bottom: 20px;
        }

        .policy-content p {
            margin-bottom: 15px;
        }

/* 使用条款 */
        .terms-of-service {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
            line-height: 1.8;
        }

        .terms-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .terms-header h1 {
            font-size: 36px;
            color: var(--primary-dark);
            margin-bottom: 15px;
        }

        .terms-header .subtitle {
            font-size: 18px;
            color: var(--text-secondary);
            margin-bottom: 10px;
        }

        .terms-header .update-time {
            color: var(--text-light);
            font-size: 14px;
        }

        .terms-content h2 {
            color: var(--primary-dark);
            border-bottom: 2px solid var(--primary-light);
            padding-bottom: 10px;
            margin: 30px 0 20px;
        }

        .terms-content ul {
            list-style-type: disc;
            padding-left: 30px;
            margin-bottom: 20px;
        }

        .terms-content p {
            margin-bottom: 15px;
        }
 
/* 社区介绍 */
        .community-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .community-hero {
            text-align: center;
            margin-bottom: 50px;
        }

        .community-hero h1 {
            font-size: 36px;
            color: var(--primary-dark);
            margin-bottom: 15px;
        }

        .community-hero .subtitle {
            font-size: 18px;
            color: var(--text-secondary);
        }

        .community-features,
        .community-sections,
        .community-join,
        .community-stats {
            margin-bottom: 60px;
        }

        .feature-grid,
        .sections-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .feature-card,
        .section-card {
            background-color: white;
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            border-top: 4px solid var(--primary);
            transition: transform 0.3s ease;
        }

        .feature-card:hover,
        .section-card:hover {
            transform: translateY(-10px);
        }

        .feature-icon,
        .section-icon {
            font-size: 48px;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .feature-card h3,
        .section-card h3 {
            color: var(--primary-dark);
            margin-bottom: 15px;
        }

        .community-sections h2,
        .community-join h2 {
            text-align: center;
            color: var(--primary-dark);
            margin-bottom: 30px;
        }

        .join-content {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }

        .join-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            text-align: center;
        }

        .stat-item {
            background-color: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        }

        .stat-number {
            display: block;
            font-size: 36px;
            color: var(--primary-dark);
            font-weight: bold;
            margin-bottom: 10px;
        }

        .stat-label {
            color: var(--text-secondary);
        }

        @media (max-width: 992px) {
            .feature-grid,
            .sections-grid,
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .join-buttons {
                flex-direction: column;
                align-items: center;
            }

            .join-buttons a {
                width: 100%;
                max-width: 300px;
                margin-bottom: 15px;
            }
        }

        @media (max-width: 576px) {
            .feature-grid,
            .sections-grid,
            .stats-grid {
                grid-template-columns: 1fr;
            }
        }

/* 社区创建账号 */

        .register-page {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background-color: var(--bg-primary);
        }

        .register-wrapper {
            display: flex;
            width: 100%;
            max-width: 1200px;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .register-visual-section {
            flex: 1;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
            position: relative;
        }

        .visual-content {
            text-align: center;
            z-index: 2;
            position: relative;
        }

        .visual-content h2 {
            font-size: 28px;
            margin-bottom: 15px;
        }

        .visual-content p {
            font-size: 16px;
            margin-bottom: 30px;
            color: rgba(255,255,255,0.8);
        }

        .visual-features {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 30px;
        }

        .feature-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .feature-item i {
            font-size: 36px;
        }

        .visual-background {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            opacity: 0.2;
        }

        .visual-background img {
            width: 100%;
            height: auto;
        }

        .register-form-section {
            flex: 1;
            padding: 40px;
            display: flex;
            align-items: center;
        }

        .register-container {
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }

        /* 其余样式与之前版本相同 */
        /* ... 保留原有的其他CSS代码 ... */

        @media (max-width: 992px) {
            .register-wrapper {
                flex-direction: column;
            }

            .register-visual-section {
                display: none;
            }
        }
      .register-page {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background-color: var(--bg-primary);
            padding: 40px 20px;
        }

        .register-container {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 500px;
            padding: 40px;
        }

        .register-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .register-header h1 {
            color: var(--primary-dark);
            font-size: 24px;
            margin-bottom: 10px;
        }

        .register-header p {
            color: var(--text-secondary);
            font-size: 14px;
        }

        .register-form .form-group {
            margin-bottom: 20px;
        }

        .register-form label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-secondary);
            font-size: 14px;
        }

        .register-form input[type="text"],
        .register-form input[type="email"],
        .register-form input[type="password"] {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 14px;
        }

        .password-tips {
            margin-top: 5px;
            font-size: 12px;
            color: var(--text-light);
        }

        .interests .checkbox-group {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
        }

        .checkbox-item input {
            margin-right: 8px;
        }

        .terms .checkbox-item {
            font-size: 14px;
        }

        .terms a {
            color: var(--primary);
            text-decoration: none;
        }

        .submit-btn {
            width: 100%;
            padding: 12px;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            margin-bottom: 20px;
        }

        .submit-btn:hover {
            background-color: var(--primary-dark);
        }

        .social-login {
            margin-bottom: 20px;
        }

        .divider {
            text-align: center;
            position: relative;
            margin-bottom: 20px;
            color: var(--text-secondary);
        }

        .divider span {
            background: white;
            padding: 0 10px;
            position: relative;
            z-index: 1;
        }

        .divider::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            border-top: 1px solid var(--border-color);
            z-index: 0;
        }

        .social-buttons {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }

        .social-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 12px;
            border-radius: 8px;
            text-decoration: none;
            color: white;
            font-size: 12px;
            gap: 8px;
            transition: transform 0.2s ease;
        }

        .social-btn:hover {
            transform: scale(1.05);
        }

        .social-btn i {
            font-size: 24px;
        }

        .social-btn.wechat {
            background-color: #07c160;
        }

        .social-btn.google {
            background-color: #4285F4;
        }

        .social-btn.microsoft {
            background-color: #737373;
        }

        .social-btn.github {
            background-color: #333;
        }

        .login-link {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
            color: var(--text-secondary);
        }

        .login-link a {
            color: var(--primary);
            text-decoration: none;
        }

        @media (max-width: 600px) {
            .register-container {
                padding: 20px;
            }

            .interests .checkbox-group {
                grid-template-columns: repeat(2, 1fr);
            }

            .social-buttons {
                grid-template-columns: repeat(2, 1fr);
            }
        }

/* 社区帖子 */

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f5f7fa;
            margin: 0;
            padding: 20px;
        }

        .community-content {
            display: grid;
            grid-template-columns: 1fr 1fr 300px;
            gap: 20px;
        }

        .column {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            padding: 20px;
        }

        .column-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 15px;
            margin-bottom: 15px;
        }

        .column-header h2 {
            margin: 0;
            font-size: 18px;
            color: #333;
        }

        .column-header a {
            color: #3b5998;
            text-decoration: none;
            font-size: 14px;
        }

        .post-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .post-item {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f5f5f5;
        }

        .post-item:last-child {
            border-bottom: none;
        }

        .post-rank {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-right: 10px;
            font-size: 12px;
            font-weight: bold;
        }

        .post-rank.rank-1,
        .post-rank.rank-2,
        .post-rank.rank-3 {
            background-color: #3b5998;
            color: white;
        }

        .post-rank.rank-4,
        .post-rank.rank-5,
        .post-rank.rank-6 {
            background-color: #e7f3fe;
            color: #3b5998;
        }

        .post-content {
            flex-grow: 1;
        }

        .post-title {
            font-size: 15px;
            color: #333;
            margin-bottom: 5px;
            font-weight: 500;
        }

        .post-meta {
            font-size: 12px;
            color: #888;
        }

        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tag-cloud .tag {
            background-color: #3b5998;
            color: white;
            padding: 4px 10px;
            border-radius: 20px;
            text-decoration: none;
            font-size: 12px;
        }

        .hot-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .hot-list li {
            margin-bottom: 10px;
        }

        .hot-list a {
            display: flex;
            align-items: center;
            color: #333;
            text-decoration: none;
        }

        .hot-rank {
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-right: 10px;
            font-size: 12px;
        }

        .hot-rank.rank-1,
        .hot-rank.rank-2,
        .hot-rank.rank-3 {
            background-color: #3b5998;
            color: white;
        }

        .hot-rank:not(.rank-1):not(.rank-2):not(.rank-3) {
            background-color: #e7f3fe;
            color: #3b5998;
        }
.hot-list li {
            margin-bottom: 10px;
        }

        .hot-list a {
            display: flex;
            align-items: center;
            color: #333;
            text-decoration: none;
        }

        /* 创始人观点样式 */
        .founder-viewpoint {
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 20px;
            border: 1px solid #e6e6e6;
        }

        .viewpoint-card h3 {
            color: #1f3e75;
            font-size: 18px;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .viewpoint-card p {
            color: #333;
            line-height: 1.6;
            margin-bottom: 15px;
            font-size: 15px;
            text-align: justify;
            text-indent: 2em;
        }

        .viewpoint-meta {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            color: #666;
        }

        .viewpoint-meta span {
            font-weight: 500;
        }

        .viewpoint-meta time {
            color: #888;
        }.hot-list li {
            margin-bottom: 10px;
        }

        .hot-list a {
            display: flex;
            align-items: center;
            color: #333;
            text-decoration: none;
        }