/* 糖心logo动漫设计平台 - 全局样式 */

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* 头部导航样式 */
.txlg-header-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.txlg-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.txlg-logo-section h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.txlg-logo-section h1 a {
    color: #fff;
}

.txlg-logo-section h1 a:hover {
    opacity: 0.9;
}

.txlg-nav-menu {
    display: flex;
    gap: 2rem;
}

.txlg-nav-menu a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.txlg-nav-menu a:hover,
.txlg-nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* 页面英雄区 */
.txlg-hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
}

.txlg-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.txlg-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.txlg-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.txlg-hero-image {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.txlg-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.txlg-btn-primary,
.txlg-btn-secondary,
.txlg-btn-cta,
.txlg-btn-join {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.txlg-btn-primary {
    background: #fff;
    color: #667eea;
}

.txlg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.txlg-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.txlg-btn-secondary:hover {
    background: #fff;
    color: #667eea;
}

.txlg-btn-cta,
.txlg-btn-join {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.txlg-btn-cta:hover,
.txlg-btn-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
}

/* 区块容器 */
.txlg-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.txlg-section-container h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2d3748;
    font-weight: 700;
}

.txlg-section-desc {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* 特色区块 */
.txlg-features-section {
    background: #f7fafc;
}

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

.txlg-feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.txlg-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.txlg-feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.txlg-feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.txlg-feature-card p {
    color: #718096;
    line-height: 1.8;
}

/* 作品展示区 */
.txlg-showcase-section {
    padding: 4rem 0;
}

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

.txlg-showcase-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.txlg-showcase-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.txlg-showcase-item:hover img {
    transform: scale(1.1);
}

.txlg-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem 1.5rem;
    color: #fff;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.txlg-showcase-item:hover .txlg-item-overlay {
    transform: translateY(0);
}

.txlg-item-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.txlg-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 流程时间线 */
.txlg-process-section {
    background: #f7fafc;
}

.txlg-process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.txlg-process-step {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.txlg-step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.txlg-process-step img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1rem 0;
}

.txlg-process-step h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin: 1rem 0;
}

.txlg-process-step p {
    color: #718096;
    line-height: 1.8;
}

/* 用户评价 */
.txlg-testimonials-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.txlg-testimonials-section h2 {
    color: #fff;
}

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

.txlg-testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.txlg-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid #fff;
}

.txlg-review-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.txlg-reviewer strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.txlg-reviewer span {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* CTA区块 */
.txlg-cta-section {
    background: #f7fafc;
    padding: 4rem 2rem;
    text-align: center;
}

.txlg-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.txlg-cta-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.txlg-cta-content h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.txlg-cta-content p {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 2rem;
}

/* 页脚 */
.txlg-footer-wrapper {
    background: #2d3748;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.txlg-footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.txlg-footer-column h4 h1 {
    font-size: 1.2rem;
}

.txlg-footer-column p {
    color: #cbd5e0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.txlg-footer-column ul li a {
    color: #cbd5e0;
    transition: all 0.3s ease;
}

.txlg-footer-column ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.txlg-footer-image {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    margin-top: 1rem;
}

.txlg-footer-bottom {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
}

/* 页面Hero */
.txlg-page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
}

.txlg-page-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.txlg-page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* 作品展示页 - 筛选器 */
.txlg-gallery-filter-section {
    padding: 2rem 0;
    background: #f7fafc;
}

.txlg-filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.txlg-filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid #667eea;
    background: #fff;
    color: #667eea;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.txlg-filter-btn:hover,
.txlg-filter-btn.active {
    background: #667eea;
    color: #fff;
}

/* 作品画廊瀑布流 */
.txlg-gallery-main-section {
    padding: 4rem 0;
}

.txlg-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.txlg-gallery-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.txlg-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.txlg-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.txlg-gallery-info {
    padding: 1.5rem;
}

.txlg-gallery-info h3 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.txlg-gallery-info p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.txlg-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #667eea;
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 分页 */
.txlg-pagination-section {
    padding: 2rem 0;
    text-align: center;
}

.txlg-pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.txlg-page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #667eea;
    background: #fff;
    color: #667eea;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.txlg-page-btn:hover,
.txlg-page-btn.active {
    background: #667eea;
    color: #fff;
}

/* 设计理念页 - 介绍区 */
.txlg-design-intro-section {
    padding: 4rem 0;
}

.txlg-design-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.txlg-intro-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.txlg-intro-text h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: left;
}

.txlg-intro-text p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 设计原则 */
.txlg-design-principles-section {
    background: #f7fafc;
}

.txlg-principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.txlg-principle-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.txlg-principle-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.txlg-principle-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1rem 0;
}

.txlg-principle-card h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.txlg-principle-card p {
    color: #718096;
    line-height: 1.8;
}

/* 色彩理论 */
.txlg-color-theory-section {
    padding: 4rem 0;
}

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

.txlg-color-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.txlg-color-swatch {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.txlg-color-red .txlg-color-swatch {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.txlg-color-blue .txlg-color-swatch {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.txlg-color-pink .txlg-color-swatch {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.txlg-color-green .txlg-color-swatch {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.txlg-color-purple .txlg-color-swatch {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.txlg-color-orange .txlg-color-swatch {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.txlg-color-item h3 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.txlg-color-item p {
    color: #718096;
    line-height: 1.8;
}

/* 风格对比 */
.txlg-style-guide-section {
    background: #f7fafc;
}

.txlg-style-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.txlg-style-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.txlg-style-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.txlg-style-item h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.txlg-style-item p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

/* 案例研究 */
.txlg-case-study-section {
    padding: 4rem 0;
}

.txlg-case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.txlg-case-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.txlg-case-content h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.txlg-case-content p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 教程中心 - 课程体系 */
.txlg-tutorial-levels-section {
    background: #f7fafc;
}

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

.txlg-level-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.txlg-level-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.txlg-level-card h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.txlg-level-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1rem 0;
}

.txlg-level-card p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.txlg-level-card ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.txlg-level-card ul li {
    color: #718096;
    margin-bottom: 0.5rem;
}

.txlg-tutorial-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #667eea;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.txlg-tutorial-link:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

/* 精选教程列表 */
.txlg-featured-tutorials-section {
    padding: 4rem 0;
}

.txlg-tutorials-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.txlg-tutorial-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.txlg-tutorial-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.txlg-tutorial-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.txlg-tutorial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.txlg-tutorial-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #667eea;
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    width: fit-content;
}

.txlg-tutorial-content h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.txlg-tutorial-content p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.txlg-tutorial-meta {
    display: flex;
    gap: 1.5rem;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* 工具资源 */
.txlg-tools-resources-section {
    background: #f7fafc;
}

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

.txlg-resource-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.txlg-resource-card h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.txlg-resource-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.txlg-resource-card ul li {
    color: #718096;
    line-height: 2;
    padding-left: 1.5rem;
    position: relative;
}

.txlg-resource-card ul li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 学习路径时间线 */
.txlg-learning-path-section {
    padding: 4rem 0;
}

.txlg-path-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.txlg-path-stage {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.txlg-stage-header {
    margin-bottom: 1rem;
}

.txlg-stage-number {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.txlg-stage-header h3 {
    font-size: 1.3rem;
    color: #2d3748;
}

.txlg-path-stage img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1rem 0;
}

.txlg-path-stage p {
    color: #718096;
    line-height: 1.8;
}

/* 社区页 - 统计数据 */
.txlg-community-intro-section {
    padding: 3rem 0;
    background: #f7fafc;
}

.txlg-community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.txlg-stat-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.txlg-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.txlg-stat-label {
    color: #718096;
    font-size: 1rem;
}

/* 社区功能 */
.txlg-community-features-section {
    padding: 4rem 0;
}

.txlg-community-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.txlg-feature-box {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.txlg-feature-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.txlg-feature-box h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.txlg-feature-box p {
    color: #718096;
    line-height: 1.8;
}

/* 热门话题 */
.txlg-trending-topics-section {
    background: #f7fafc;
}

.txlg-topics-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.txlg-topic-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.txlg-topic-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.txlg-topic-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.txlg-topic-category {
    padding: 0.2rem 0.6rem;
    background: #667eea;
    color: #fff;
    border-radius: 15px;
    font-weight: 600;
}

.txlg-topic-time {
    color: #a0aec0;
}

.txlg-topic-content h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.txlg-topic-content p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.txlg-topic-stats {
    display: flex;
    gap: 1.5rem;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* 优秀创作者 */
.txlg-featured-creators-section {
    padding: 4rem 0;
}

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

.txlg-creator-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.txlg-creator-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid #667eea;
}

.txlg-creator-card h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.txlg-creator-title {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.txlg-creator-desc {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.txlg-creator-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.txlg-creator-stats div {
    text-align: center;
}

.txlg-creator-stats strong {
    display: block;
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.3rem;
}

.txlg-creator-stats span {
    font-size: 0.85rem;
    color: #a0aec0;
}

/* 活动区块 */
.txlg-events-section {
    background: #f7fafc;
}

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

.txlg-event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.txlg-event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.txlg-event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    background: #f5576c;
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.txlg-event-card h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin: 1.5rem 1.5rem 1rem;
}

.txlg-event-card p {
    color: #718096;
    line-height: 1.8;
    margin: 0 1.5rem 1rem;
}

.txlg-event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #a0aec0;
    font-size: 0.9rem;
    margin: 0 1.5rem 1.5rem;
}

.txlg-event-btn {
    display: block;
    width: calc(100% - 3rem);
    margin: 0 1.5rem 1.5rem;
    padding: 0.8rem;
    background: #667eea;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.txlg-event-btn:hover {
    background: #764ba2;
}

/* 社区公约 */
.txlg-community-rules-section {
    padding: 4rem 0;
}

.txlg-rules-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.txlg-rules-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.txlg-rule-item {
    margin-bottom: 2rem;
}

.txlg-rule-item h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.txlg-rule-item p {
    color: #718096;
    line-height: 1.8;
}

/* 加入社区 */
.txlg-join-community-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
}

.txlg-join-content {
    max-width: 800px;
    margin: 0 auto;
}

.txlg-join-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.txlg-join-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.txlg-join-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* 关于我们页 */
.txlg-about-intro-section {
    padding: 4rem 0;
}

.txlg-about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.txlg-about-text h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: left;
}

.txlg-about-text p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.txlg-about-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 使命愿景 */
.txlg-mission-vision-section {
    background: #f7fafc;
}

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

.txlg-mission-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.txlg-mission-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.txlg-mission-card h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.txlg-mission-card p {
    color: #718096;
    line-height: 1.8;
}

/* 服务列表 */
.txlg-services-section {
    padding: 4rem 0;
}

.txlg-services-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.txlg-service-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
}

.txlg-service-item:nth-child(even) {
    grid-template-columns: 1fr 300px;
}

.txlg-service-item:nth-child(even) img {
    order: 2;
}

.txlg-service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.txlg-service-content h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.txlg-service-content p {
    color: #718096;
    line-height: 1.8;
}

/* 团队成员 */
.txlg-team-section {
    background: #f7fafc;
}

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

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

.txlg-team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid #667eea;
}

.txlg-team-member h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.txlg-member-role {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

.txlg-team-member p {
    color: #718096;
    line-height: 1.8;
}

/* 成就时间线 */
.txlg-achievements-section {
    padding: 4rem 0;
}

.txlg-achievements-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.txlg-achievement-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.txlg-year {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.txlg-achievement-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1rem 0;
}

.txlg-achievement-item h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.txlg-achievement-item p {
    color: #718096;
    line-height: 1.8;
}

/* 联系我们 */
.txlg-contact-section {
    background: #f7fafc;
}

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

.txlg-contact-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.txlg-contact-item {
    margin-bottom: 1.5rem;
}

.txlg-contact-item h3 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.txlg-contact-item p {
    color: #718096;
    line-height: 1.8;
}

.txlg-contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.txlg-contact-form h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.txlg-input,
.txlg-textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.txlg-input:focus,
.txlg-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.txlg-submit-btn {
    width: 100%;
    padding: 0.8rem;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.txlg-submit-btn:hover {
    background: #764ba2;
}

/* 条款和隐私 */
.txlg-terms-section,
.txlg-privacy-section {
    padding: 4rem 0;
}

.txlg-terms-content,
.txlg-privacy-content {
    max-width: 900px;
    margin: 2rem auto 0;
}

.txlg-terms-content h3,
.txlg-privacy-content h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin: 2rem 0 1rem;
}

.txlg-terms-content p,
.txlg-privacy-content p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .txlg-header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .txlg-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .txlg-hero-content h2 {
        font-size: 1.8rem;
    }

    .txlg-design-intro-content,
    .txlg-case-study,
    .txlg-about-intro-grid,
    .txlg-rules-content,
    .txlg-contact-grid {
        grid-template-columns: 1fr;
    }

    .txlg-tutorial-item,
    .txlg-topic-item,
    .txlg-service-item {
        grid-template-columns: 1fr;
    }

    .txlg-service-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .txlg-service-item:nth-child(even) img {
        order: 1;
    }

    .txlg-footer-container {
        grid-template-columns: 1fr;
    }
}