/* --- 全局样式 --- */
:root {
    --primary-color: #00ff7f; /* 亮绿色，荧光感 */
    --background-color: #0d0d0d; /* 深黑色背景 */
    --text-color: #e0e0e0; /* 浅灰色文字 */
    --container-bg-color: #1a1a1a; /* 区块背景色 */
    --border-color: #2a2a2a; /* 边框颜色 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    color: var(--primary-color);
    font-weight: 500;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Header --- */
.header {
    background-color: var(--container-bg-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 a {
    font-size: 1.8em;
    color: var(--primary-color);
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li {
    margin-left: 25px;
}

.nav ul li a {
    color: var(--text-color);
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    min-height: 70vh;
    background: var(--background-color) url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    padding: 40px 0;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-image {
    flex: 0 0 320px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    padding: 10px;
    background: #fff;
}

.hero-image .image-caption {
    margin-top: 15px;
    font-size: 1.1em;
    color: var(--primary-color);
    font-weight: bold;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #fff;
    transform: translateY(-3px);
}


/* --- Services Section --- */
.services-section {
    background-color: var(--container-bg-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 127, 0.5);
}

.service-item-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: #111;
}

.service-item-header h3 {
    font-size: 1.4em;
    margin: 0;
    color: var(--primary-color);
}

.service-item-body {
    padding: 20px;
    flex-grow: 1;
}

.service-item-body p {
    margin: 0;
    font-size: 1em;
}

/* --- Advantages Section --- */
.advantages-section {
    background-color: var(--background-color);
}
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.advantage-item {
    background-color: var(--container-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.4);
}
.advantage-item-header {
    padding: 12px 20px;
    background-color: #222;
    border-bottom: 1px solid var(--border-color);
}
.advantage-item-header h3 {
    font-size: 1.3em;
    margin: 0;
}
.advantage-item-body {
    padding: 20px;
    flex-grow: 1;
}
.advantage-item-body p {
    margin: 0;
    font-size: 1em;
}

/* --- Process Section --- */
.process-section {
    background-color: var(--container-bg-color);
}
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: center;
}

/* --- Process Card Style --- */
.process-item {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 23%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.4);
}
.process-item-header {
    padding: 15px 20px;
    background-color: #222;
    border-bottom: 1px solid var(--border-color);
}
.process-item-header h4 {
    font-size: 1.2em;
    margin: 0;
    color: var(--primary-color);
}
.process-item-body {
    padding: 20px;
    flex-grow: 1;
}
.process-item-body p {
    margin: 0;
    font-size: 1em;
}
.process-item:not(:last-child)::after {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    right: -26px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5em;
    font-weight: bold;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--background-color);
}
.faq-item {
    max-width: 800px;
    margin: 0 auto 20px auto;
    background: var(--container-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.4);
}
.faq-item-header {
    padding: 15px 20px;
    background-color: #222;
    border-bottom: 1px solid var(--border-color);
}
.faq-item-header h4 {
    font-size: 1.1em;
    margin: 0;
    color: var(--primary-color);
}
.faq-item-body {
    padding: 20px;
    flex-grow: 1;
}
.faq-item-body p {
    margin: 0;
    font-size: 1em;
}
.faq-item:last-child {
    margin-bottom: 0;
}

/* --- Pricing & About Sections --- */
#pricing p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
}

/* --- Pricing Card --- */
.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--container-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.pricing-card-header {
    padding: 15px 20px;
    background-color: #222;
    border-bottom: 1px solid var(--border-color);
}
.pricing-card-header h3 {
    font-size: 1.3em;
    margin: 0;
    color: var(--primary-color);
}
.pricing-card-body {
    padding: 30px;
}
.pricing-card-body p {
    margin-bottom: 30px;
    font-size: 1.1em;
    text-align: left;
}

/* --- Footer --- */
.footer {
    background-color: #000;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.friend-links h3 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.friend-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.friend-links ul li a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.friend-links ul li a:hover {
    color: var(--primary-color);
}

.copyright p {
    margin: 5px 0;
}

/* --- 首页文章板块 --- */
.articles-section {
    background-color: var(--container-bg-color);
}

.home-article-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.home-article-item {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.4);
}

.home-article-thumb {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #111;
}

.home-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.home-article-item:hover .home-article-thumb img {
    transform: scale(1.05);
}

.home-article-info {
    padding: 12px 15px;
}

.home-article-info h3 {
    font-size: 0.95em;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.home-article-info h3 a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.home-article-info h3 a:hover {
    color: var(--primary-color);
}

.home-article-date {
    font-size: 0.85em;
    color: #888;
}

/* --- 列表页 & 内容页布局 --- */
.page-main {
    padding: 40px 0 60px;
    min-height: 60vh;
}

.page-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.page-content {
    flex: 1;
    min-width: 0;
}

.page-sidebar {
    flex: 0 0 300px;
    width: 300px;
}

/* --- 面包屑 --- */
.article-breadcrumb,
.list-breadcrumb {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 20px;
}

.article-breadcrumb a,
.list-breadcrumb a {
    color: #888;
}

.article-breadcrumb a:hover,
.list-breadcrumb a:hover {
    color: var(--primary-color);
}

.article-breadcrumb .sep,
.list-breadcrumb .sep {
    margin: 0 8px;
    color: #555;
}

.article-breadcrumb .current,
.list-breadcrumb .current {
    color: var(--text-color);
}

/* --- 内容页 --- */
.article-detail {
    background: var(--container-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
}

.article-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-title {
    font-size: 1.8em;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    font-size: 0.9em;
    color: #888;
}

.article-meta a {
    color: var(--primary-color);
}

.article-thumb {
    margin-bottom: 25px;
    text-align: center;
}

.article-thumb img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.article-body {
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--text-color);
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.article-body p {
    margin-bottom: 15px;
}

.article-gallery-item {
    margin: 15px 0;
}

.article-gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.z361b7diyfield {
    margin: 20px 0;
    padding: 15px;
    background: var(--background-color);
    border-radius: 6px;
}

.z361b7meta-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
    padding: 0;
}

.z361b7tagitem a {
    display: inline-block;
    padding: 4px 12px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85em;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.z361b7tagitem a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.clear {
    clear: both;
}

.article-prenext {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.prenext-item {
    flex: 1;
    font-size: 0.95em;
}

.prenext-label {
    display: block;
    color: #888;
    font-size: 0.85em;
    margin-bottom: 5px;
}

.prenext-prev {
    text-align: left;
}

.prenext-next {
    text-align: right;
}

.related-articles {
    margin-top: 30px;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.related-item:last-child {
    border-bottom: none;
}

.related-thumb {
    flex: 0 0 120px;
    overflow: hidden;
    border-radius: 6px;
}

.related-thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.related-info a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.related-info a:hover {
    color: var(--primary-color);
}

.related-info p {
    margin: 8px 0 0;
    font-size: 0.9em;
    color: #888;
}

/* --- 列表页 --- */
.list-header {
    margin-bottom: 25px;
}

.list-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin: 0;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: var(--container-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.3);
}

.list-item-thumb {
    flex: 0 0 200px;
    overflow: hidden;
    border-radius: 6px;
}

.list-item-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.list-item:hover .list-item-thumb img {
    transform: scale(1.05);
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-size: 1.2em;
    margin: 0 0 10px 0;
}

.list-item-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.list-item-title a:hover {
    color: var(--primary-color);
}

.list-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 0.85em;
    color: #888;
    margin-bottom: 10px;
}

.list-item-meta a {
    color: var(--primary-color);
}

.list-item-intro {
    font-size: 0.95em;
    color: #aaa;
    margin: 0;
    line-height: 1.6;
}

/* --- 分页 --- */
.pagebar {
    margin-top: 30px;
}

.z361b7pages .pagelist,
.pagelist {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    margin: 0;
}

.z361b7pages .pagelist li,
.pagelist li {
    display: inline-block;
}

.z361b7pages .pagelist li a,
.z361b7pages .pagelist li span,
.pagelist li a,
.pagelist li span {
    display: inline-block;
    padding: 6px 14px;
    background: var(--container-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.z361b7pages .pagelist li a:hover,
.pagelist li a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.z361b7pages .pagelist li.thisclass a,
.pagelist li.thisclass a {
    background: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

/* --- 侧栏 --- */
.sidebar-block {
    background: var(--container-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-title {
    font-size: 1.1em;
    padding: 12px 15px;
    margin: 0;
    background: #222;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-title a {
    color: var(--primary-color);
}

.sidebar-article-list {
    list-style: none;
    padding: 10px 15px;
    margin: 0;
}

.sidebar-article-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.sidebar-article-item:last-child {
    border-bottom: none;
}

.sidebar-article-thumb {
    flex: 0 0 80px;
    overflow: hidden;
    border-radius: 4px;
}

.sidebar-article-thumb img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.sidebar-article-info {
    flex: 1;
    min-width: 0;
}

.sidebar-article-info a {
    display: block;
    font-size: 0.9em;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sidebar-article-info a:hover {
    color: var(--primary-color);
}

.sidebar-date {
    font-size: 0.8em;
    color: #888;
}

/* --- 导航当前样式 --- */
.nav ul li.z361b7this a,
.nav ul li[class*="z361b7this"] a {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .home-article-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-sidebar {
        flex: 0 0 260px;
        width: 260px;
    }
}

@media (max-width: 768px) {
    .logo h1 a {
        font-size: 1.4em;
    }

    .header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none; /* Hide nav by default on mobile */
        width: 100%;
        order: 3; /* Ensure it appears below logo and toggle */
        margin-top: 15px;
        text-align: center;
    }

    .nav.active {
        display: block; /* Show nav when active */
    }

    .nav ul {
        flex-direction: column;
    }

    .nav ul li {
        margin: 10px 0;
        margin-left: 0;
    }

    .nav ul li a {
        font-size: 1.2em;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero h2 {
        font-size: 2.2em;
    }

    .process-steps {
        flex-direction: column;
    }
    .process-item {
        width: 100%;
        margin-bottom: 40px;
    }
    .process-item:last-child {
        margin-bottom: 0;
    }
    .process-item:not(:last-child)::after {
        content: '↓';
        right: 50%;
        top: 100%;
        transform: translateX(50%) translateY(0);
        line-height: 1;
    }

    .home-article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .page-layout {
        flex-direction: column;
    }

    .page-sidebar {
        flex: none;
        width: 100%;
    }

    .article-detail {
        padding: 20px 15px;
    }

    .article-title {
        font-size: 1.4em;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .article-prenext {
        flex-direction: column;
    }

    .prenext-next {
        text-align: left;
    }

    .list-item {
        flex-direction: column;
        padding: 15px;
    }

    .list-item-thumb {
        flex: none;
        width: 100%;
    }

    .list-item-thumb img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .related-item {
        flex-direction: column;
    }

    .related-thumb {
        flex: none;
        width: 100%;
    }

    .related-thumb img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .z361b7pages .pagelist,
    .pagelist {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .home-article-grid {
        grid-template-columns: 1fr;
    }

    .home-article-info h3 {
        font-size: 0.9em;
    }
} 