/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
:root {
    --primary: #4F46E5;
    --primary-light: #818cf8;
    --purple: #a855f7;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #fafafa;
    --bg-purple-light: #f5f3ff;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}
body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-lg);
}
.text-purple {
    color: var(--purple);
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover {
    background-color: #4338ca;
}
.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-secondary:hover {
    background-color: #f5f3ff;
}
.btn-dark {
    background-color: var(--text-dark);
    color: white;
}
.btn-dark:hover {
    background-color: #111827;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .reverse {
        order: -1;
    }
}

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: var(--shadow-sm);
    z-index: 999;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.nav-brand .logo {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
}
.nav-links {
    display: flex;
    gap: 24px;
}
.nav-links a {
    font-size: 14px;
    color: var(--text-gray);
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.login-btn {
    font-size: 14px;
    color: var(--text-gray);
    transition: color 0.2s;
}
.login-btn:hover {
    color: var(--primary);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: white;
    border-top: 1px solid var(--border-light);
}
.mobile-menu.active {
    display: flex;
}
@media (max-width: 768px) {
    .nav-links, .login-btn {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* 面包屑导航 */
.breadcrumb {
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-gray);
    background: var(--bg-light);
}
.breadcrumb-items {
    display: flex;
    gap: 8px;
    align-items: center;
}
.breadcrumb-item {
    color: var(--text-gray);
}
.breadcrumb-item.current {
    color: var(--text-dark);
}
.breadcrumb-separator {
    color: var(--border-light);
}
.breadcrumb a:hover {
    color: var(--primary);
}

/* 英雄区 */
.hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(to bottom, #f5f3ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a855f7' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}
.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--purple);
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 16px;
}
.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}
.hero-desc {
    max-width: 600px;
    margin: 0 auto 32px;
    color: var(--text-gray);
    font-size: 14px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}
.hero-join {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-gray);
}
.avatars {
    display: flex;
}
.avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
}
.avatars img:first-child {
    margin-left: 0;
}
.join-text small {
    font-size: 12px;
    color: var(--text-gray);
}

/* 功能区 */
.features {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 40px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.2s ease;
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 13px;
    color: var(--text-gray);
}

/* 制作流程 */
.process {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f5f3ff 100%);
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.step-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    position: relative;
}
.step-item.step-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}
.step-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.step-1 { background: rgba(244, 63, 94, 0.1); }
.step-2 { background: rgba(245, 158, 11, 0.1); }
.step-3 { background: rgba(16, 185, 129, 0.1); }
.step-4 { background: rgba(6, 182, 212, 0.1); }
.step-5 { background: rgba(79, 70, 229, 0.1); }
.step-6 { background: rgba(244, 63, 94, 0.1); }
.step-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.step-item p {
    font-size: 12px;
    color: var(--text-gray);
}
.process-cta {
    text-align: center;
}
.cta-text {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-gray);
}

/* 通用区块样式 */
.section-agent, .section-assets, .section-shot {
    padding: 60px 0;
}
.section-assets {
    background: var(--bg-purple-light);
}
.section-tag {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}
.section-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}
.section-desc {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 24px;
}
.section-features {
    margin-bottom: 24px;
}
.section-features li {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}
.section-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border: 1px solid var(--primary);
}
.tag-list {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.tag {
    padding: 4px 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
}

/* CTA区 */
.cta {
    padding: 60px 0;
    background: linear-gradient(to bottom, #1f2937 0%, #111827 100%);
    color: white;
    text-align: center;
}
.cta-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}
.cta-subtitle {
    max-width: 600px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* 页脚 */
.footer {
    padding: 24px 0;
    background: #111827;
    color: rgba(255,255,255,0.7);
    text-align: center;
    font-size: 13px;
}

/* 新闻区 */
.news {
    padding: 60px 0;
    background: var(--bg-light);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: block;
}
.news-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}
.news-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-card:hover .news-thumb img {
    transform: scale(1.05);
}
.news-content {
    padding: 20px;
}
.news-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}
.news-desc {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}
.news-more {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s ease;
}
.news-card:hover .news-more {
    color: var(--purple);
}
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* 新闻列表页 */
.news-list {
    padding: 40px 0 60px;
    background: var(--bg-light);
    min-height: 600px;
}
.list-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.list-subtitle {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 32px;
}
.news-list-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}
.news-item {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
.news-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}
.news-item-thumb {
    width: 320px;
    flex-shrink: 0;
    overflow: hidden;
}
.news-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-item:hover .news-item-thumb img {
    transform: scale(1.05);
}
.news-item-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}
.news-item-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.7;
    flex: 1;
}
.news-item-date {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}
.news-item-more {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s ease;
}
.news-item:hover .news-item-more {
    color: var(--purple);
}

/* 翻页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: white;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.pagination-btn:hover:not(.disabled) {
    border-color: var(--primary);
    color: var(--primary);
}
.pagination-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: var(--text-gray);
}
.pagination-dots {
    color: var(--text-gray);
    padding: 0 8px;
}

@media (max-width: 768px) {
    .list-title {
        font-size: 24px;
    }
    .news-item {
        flex-direction: column;
    }
    .news-item-thumb {
        width: 100%;
        height: 200px;
    }
    .news-item-content {
        padding: 16px;
    }
    .news-item-title {
        font-size: 16px;
    }
    .news-item-desc {
        font-size: 13px;
    }
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }
}

/* 文章详情页 */
.article-detail {
    padding: 40px 0 60px;
    background: var(--bg-light);
}
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    margin-bottom: 60px;
}
.article-main {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-light);
}
.article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}
.article-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 16px;
}
.article-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-gray);
}
.article-category {
    color: var(--primary);
}
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}
.article-content p {
    margin-bottom: 24px;
}
.article-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-dark);
}

/* 侧边栏 */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: fit-content;
    position: sticky;
    top: 80px;
}
.sidebar-widget {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
}
.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.related-posts {
    list-style: none;
}
.related-posts li {
    margin-bottom: 12px;
}
.related-posts li:last-child {
    margin-bottom: 0;
}
.related-posts a {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.2s ease;
}
.related-posts a:hover {
    color: var(--primary);
}

/* 最新文章 */
.latest-articles {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-light);
}
.latest-articles .section-title {
    text-align: left;
    margin-bottom: 32px;
}
.latest-articles-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.latest-article-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}
.latest-article-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.latest-article-thumb {
    width: 240px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
}
.latest-article-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.latest-article-item:hover .latest-article-thumb img {
    transform: scale(1.05);
}
.latest-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.latest-article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}
.latest-article-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.7;
}
.latest-article-date {
    font-size: 12px;
    color: #9ca3af;
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .article-main {
        padding: 24px;
    }
    .article-title {
        font-size: 22px;
    }
    .article-content {
        font-size: 15px;
    }
    .article-content h2 {
        font-size: 18px;
    }
    .latest-articles {
        padding: 24px;
    }
    .latest-article-item {
        flex-direction: column;
        padding: 16px;
    }
    .latest-article-thumb {
        width: 100%;
        height: 200px;
    }
    .latest-article-title {
        font-size: 16px;
    }
    .latest-article-desc {
        font-size: 13px;
    }
}




/* 翻页功能 */
.pagination-wrap {
    padding: 20px 10px;
    margin-top: 20px;
    border-radius: 8px;
}

.pagination-wrap .paging-cls {
    text-align: center;
}

.pagination-wrap .paging-cls li {
    display: inline-block;
    margin: 0 5px;
    list-style: none;
}

.pagination-wrap .paging-cls span,
.pagination-wrap .paging-cls a {
    display: inline-block;
    border: 1px solid #eef3f8;
    border-radius: 5px;
    height: 44px;
    line-height: 44px;
    width: 44px;
    margin: 0 3px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

.pagination-wrap .paging-cls span:hover,
.pagination-wrap .paging-cls a:hover {
    background: #F0B90B;
    color: #fff !important;
}

.pagination-wrap .paging-cls .current {
    background: #F0B90B;
    color: #fff;
    font-weight: bold;
}

.pagination-wrap .paging-cls .fa-angle-double-left::before {
    content: "<";
}

.pagination-wrap .paging-cls .fa-angle-double-right::before {
    content: ">";
}

.pagination-wrap .active a {
    background-color: #F0B90B !important;
    color: #fff !important;
    font-weight: bold;
}