/* 深圳市金黑网络技术有限公司 - 主站样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #f5f5f5;
    padding: 10px 0;
}

.header-top .auto-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box img {
    height: 45px;
}

/* Logo 文字样式 */
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-text:hover {
    color: #764ba2;
}

.top-right {
    display: flex;
    gap: 20px;
}

.top-right a {
    color: #666;
    font-size: 14px;
}

.top-right a:hover {
    color: #667eea;
}

.header-lower {
    background: #fff;
    padding: 12px 0;
    border-top: 1px solid #eee;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-list li {
    display: inline-block;
}

.nav-list a {
    font-size: 15px;
    color: #333;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #667eea;
}

/* Banner Section */
.banner-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
}

.content-box h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.content-box .sub-title {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.theme-btn {
    display: inline-block;
    padding: 14px 35px;
    background: #fff;
    color: #667eea;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.theme-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.service-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-link {
    color: #fff;
    font-size: 14px;
    opacity: 0.9;
}

.service-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Hot Section */
.hot-section {
    padding: 60px 0;
}

.hot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.hot-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

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

.hot-content {
    padding: 15px;
}

.hot-content h4 {
    font-size: 14px;
    margin: 0;
}

.hot-content a {
    color: #333;
}

.hot-content a:hover {
    color: #667eea;
}

/* Footer */
.main-footer {
    background: #1a1a2e;
    color: #fff;
    margin-top: auto;
}

.widgets-section {
    padding: 50px 0;
}

.footer-widget .logo img {
    height: 45px;
    margin-bottom: 15px;
}

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

.contact-list li {
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.footer-bottom a {
    color: #667eea;
}

/* Category Page */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 0;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.bread-crumb {
    font-size: 14px;
    opacity: 0.9;
}

.bread-crumb a {
    color: #fff;
}

.category-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.category-section .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-block {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.news-block:hover {
    transform: translateY(-5px);
}

.news-block .image-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-block .content-box {
    padding: 15px;
}

.news-block h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.news-block h4 a {
    color: #333;
}

.news-block h4 a:hover {
    color: #667eea;
}

.news-block p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

.pagination {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
}

/* Detail Page */
.detail-section {
    padding: 50px 0;
}

.detail-content {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.detail-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.detail-content h3 {
    font-size: 18px;
    margin: 25px 0 12px;
    color: #333;
}

.detail-content p {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #555;
}

.detail-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.detail-content li {
    margin-bottom: 8px;
}

.related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.related-item {
    background: #f5f5f5;
    padding: 6px 14px;
    border-radius: 5px;
}

.related-item a {
    color: #667eea;
    font-size: 13px;
}

.company-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
}

/* Form Styles */
.contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-form-area {
    max-width: 500px;
    margin: 0 auto;
}

.form-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group button {
    width: 100%;
}

.form-group.links {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.form-group.links a {
    color: #667eea;
    margin: 0 8px;
}

/* Register Page */
.register-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.register-steps .step {
    padding: 8px 18px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
}

.register-steps .step.active {
    background: #667eea;
    color: #fff;
}

.register-type {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.type-card {
    background: #f8f9fa;
    padding: 30px 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.type-card:hover {
    background: #667eea;
    color: #fff;
}

.type-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.type-card p {
    font-size: 13px;
    opacity: 0.8;
}

/* Enterprise Page */
.enterprise-section {
    padding: 60px 0;
    background: #f8f9fa;
}

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

.enterprise-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 55px;
    height: 55px;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    margin: 0 auto 12px;
}

.step-item h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.step-item p {
    font-size: 13px;
    color: #888;
}

.enterprise-contact {
    margin-top: 40px;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
}

.enterprise-contact h3 {
    margin-bottom: 12px;
}

.enterprise-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

/* Publish Page */
.publish-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.publish-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.publish-steps .step {
    padding: 8px 18px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
}

.publish-steps .step.active {
    background: #667eea;
    color: #fff;
}

.publish-steps .step.completed {
    background: #28a745;
    color: #fff;
}

.category-grid {
    max-width: 500px;
    margin: 0 auto;
}

.category-list {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.category-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.category-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-item h4 {
    margin-bottom: 10px;
}

.category-item ul {
    list-style: none;
    padding: 0 0 0 15px;
    margin: 0;
}

.category-item li a {
    color: #667eea;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .category-section .row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-box h1 {
        font-size: 30px;
    }

    .content-box .sub-title {
        font-size: 15px;
    }

    .nav-list {
        gap: 20px;
        flex-wrap: wrap;
    }

    .nav-list a {
        font-size: 14px;
    }

    .hot-grid {
        grid-template-columns: 1fr;
    }

    .category-section .row {
        grid-template-columns: 1fr;
    }

    .enterprise-steps {
        flex-direction: column;
        gap: 25px;
    }

    .register-type {
        grid-template-columns: 1fr;
    }

    section {
        padding: 40px 0;
    }
}
