/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "Source Han Sans", "微软雅黑", sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

/* Variables */
:root {
    --primary: #0A68C9;
    --primary-dark: #0855a3;
    --primary-light: #e6f0fa;
    --gray-dark: #333;
    --gray: #666;
    --gray-light: #999;
    --gray-bg: #f5f5f5;
    --white: #fff;
    --pain-red: #e74c3c;
}

/* 板块一：导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-logo {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary);
}

.logo-full {
    display: inline;
}

.logo-short {
    display: none;
}

@media (max-width: 768px) {
    .logo-full {
        display: none;
    }
    .logo-short {
        display: inline;
    }
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--gray-dark);
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gray-dark);
    transition: all 0.3s ease;
}

/* 板块二：Hero横幅 */
.hero {
    padding-top: 60px;
    min-height: 600px;
    background: var(--white);
    display: flex;
    align-items: center;
}

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

.hero-content {
    flex: 6;
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 30px;
}

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

.btn {
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 104, 201, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

.hero-visual {
    flex: 4;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic {
    position: relative;
    width: 280px;
    height: 280px;
}

.ai-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.ai-line {
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.ai-line:nth-child(2) {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
}

.ai-line:nth-child(3) {
    top: 20px;
    right: 40px;
    transform: rotate(45deg);
}

.ai-line:nth-child(4) {
    bottom: 20px;
    right: 40px;
    transform: rotate(-45deg);
}

.ai-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.ai-dot:nth-child(5) {
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.ai-dot:nth-child(6) {
    top: 110px;
    right: 80px;
}

.ai-dot:nth-child(7) {
    bottom: 80px;
    left: 60px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(10, 104, 201, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(10, 104, 201, 0);
    }
}

/* 通用板块样式 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
}

/* 卡片网格 */
.cards-grid {
    display: grid;
    gap: 30px;
}

.cards-4 {
    grid-template-columns: repeat(4, 1fr);
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 板块三：建站必要性 */
.necessity {
    background: var(--white);
}

.card {
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    background: var(--white);
}

.card:hover {
    border-width: 2px;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 104, 201, 0.1);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: bold;
}

.card-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

/* 板块四：痛点解析 */
.pain-points {
    background: var(--gray-bg);
}

.pain-card {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    border-left: 3px solid var(--pain-red);
}

.pain-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.pain-title {
    font-size: 16px;
    color: var(--gray-dark);
    font-weight: bold;
    margin-bottom: 10px;
}

.pain-text {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.7;
}

/* 板块五：AI解决方案 */
.solutions {
    background: var(--white);
}

.solution-card {
    background: rgba(10, 104, 201, 0.03);
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: rgba(10, 104, 201, 0.08);
    transform: scale(1.02);
}

.solution-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.solution-title {
    font-size: 16px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 10px;
}

.solution-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* 板块六：为什么选择我们 */
.why-us {
    background: var(--white);
}

.advantage-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, #d4e5f7 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: scale(1.02);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.advantage-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary);
}

.advantage-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* 板块七：套餐价格 */
.pricing {
    background: var(--gray-bg);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-header {
    background: rgba(10, 104, 201, 0.1);
    padding: 25px;
    text-align: center;
}

.pricing-title {
    font-size: 20px;
    color: var(--primary);
    font-weight: bold;
}

.pricing-content {
    padding: 30px;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    font-size: 16px;
    color: var(--gray-dark);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-bg);
    display: flex;
    align-items: center;
}

.pricing-features li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-footer {
    padding: 30px;
    text-align: center;
    background: rgba(10, 104, 201, 0.05);
}

.pricing-price {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(10, 104, 201, 0.2);
}

.pricing-note {
    font-size: 16px;
    color: var(--gray-dark);
    margin-top: 10px;
}

.pricing-hint {
    font-size: 14px;
    color: var(--gray-light);
    margin-top: 8px;
}

.pricing-reminders {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 20px;
    background: rgba(10, 104, 201, 0.05);
    border-radius: 8px;
}

.reminder-item {
    font-size: 14px;
    color: var(--gray);
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.reminder-icon {
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
}

/* 板块八：服务流程 */
.process {
    background: var(--white);
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
}

.step-circle {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.process-step:hover .step-circle {
    transform: scale(1.15);
}

.step-content {
    display: flex;
    flex-direction: column;
}

.step-content h4 {
    font-size: 14px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.4;
}

.step-content p {
    font-size: 12px;
    color: var(--gray);
    max-width: 100px;
    margin: 0;
    line-height: 1.4;
    height: 36px;
    display: flex;
    align-items: flex-start;
}

.process-arrow {
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
    flex: 0 0 auto;
}

/* 板块九：案例展示 */
.cases {
    background: var(--gray-bg);
}

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.case-card {
    flex: 0 0 calc(25% - 22.5px);
    background: var(--white);
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(10, 104, 201, 0.15);
}

.case-image-link,
.case-name-link {
    display: block;
}

.case-image-link:hover,
.case-name-link:hover {
    opacity: 0.8;
}

.case-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.case-name {
    font-size: 16px;
    color: var(--primary);
    font-weight: bold;
    padding: 15px 15px 5px;
}

.case-industry {
    font-size: 14px;
    color: var(--gray);
    padding: 0 15px;
}

.case-desc {
    font-size: 12px;
    color: var(--gray-light);
    padding: 10px 15px 15px;
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.carousel:hover .carousel-btn {
    opacity: 1;
}

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

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* 板块十：联系方式 */
.contact {
    background: var(--primary);
    color: var(--white);
}

.contact .section-container {
    text-align: center;
}

.contact-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.contact-icon {
    font-size: 20px;
}

.qr-code {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--primary);
    margin-left: 10px;
}

.contact-tip {
    font-size: 16px;
    font-style: italic;
    opacity: 0.9;
}

/* 板块十一：底部 */
.footer {
    background: var(--white);
    border-top: 1px solid var(--primary-light);
    padding: 25px 20px;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: var(--gray-light);
}

/* 滚动淡入动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .hero-content {
        flex: none;
    }

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

    .hero-visual {
        flex: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--gray-bg);
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .cards-4,
    .cards-3 {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .case-card {
        flex: 0 0 100%;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .carousel-btn {
        opacity: 1;
    }
}

/* 弹窗样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--gray-text);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-title {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 30px;
    font-weight: 600;
}

.modal-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    color: var(--dark);
}

.modal-contact-icon {
    font-size: 24px;
}

.modal-tip {
    color: var(--gray-text);
    font-size: 14px;
    line-height: 1.6;
}

.modal-qr-code {
    margin-top: 15px;
}

.modal-qr-code img {
    width: 150px;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--gray-bg);
}

/* 立即订购按钮 */
.btn-order {
    margin-top: 20px;
    padding: 14px 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-order:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 115, 232, 0.4);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-contact-item {
        font-size: 16px;
    }
}