/* 全局样式 */
:root {
    --primary-color: #191970;
    --secondary-color: #0E085A;
    --accent-color: #ffcc00;
    --text-color: #333;
    --light-text: #666;
    --bg-light: #f5f9fc;
    --bg-white: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--bg-light);
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

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

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

/* 导航栏 */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    white-space: nowrap;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    margin-left: 20px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

/* 主横幅 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 60px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 40px;
}


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

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero .feature-showcase {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero .showcase-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero .showcase-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.hero .slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.hero .prev {
    left: 20px;
}

.hero .next {
    right: 20px;
}

.hero .slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero .dot.active {
    background: white;
    transform: scale(1.2);
}

/* 特色展示 */
.feature-showcase {
    margin-bottom: 60px;
    text-align: center;
}

.showcase-img {
    max-width: 80%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 153, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* 内容布局 */
.content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 40px 0;
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 1;
    max-width: 800px;
}

.content-text h2 {
    margin-bottom: 20px;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text .btn {
    margin-top: 20px;
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.feature-list {
    margin: 20px 0;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 费用表格 */
.fee-table {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f8f8;
    font-weight: 600;
}

tr:last-child td {
    border-bottom: none;
}

.note {
    padding: 15px 20px;
    color: var(--light-text);
    font-size: 14px;
    background-color: #f8f8f8;
}

/* 流程步骤 */
.process-flow {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: #e0e0e0;
    z-index: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-right: 20px;
    z-index: 1;
    flex-shrink: 0;
}

.step-content {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.step-content ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.step-content ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 材料清单 */
.materials-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.materials-image {
    flex: 1;
    max-width: 500px;
}

.materials-list {
    flex: 1;
    margin-left: 30px;
}

.checklist {
    margin: 20px 0;
}

.checklist li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.checklist li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
}

.materials-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* 客户评价 */
.testimonials {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--light-text);
    font-size: 14px;
}

/* 视频容器 */
.video-container {
    max-width: 800px;
    margin: 0 auto;
}

#promotional-video {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background-color: #000;
}

/* 案例网格 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.case-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover img {
    transform: scale(1.05);
}

.case-info {
    padding: 20px;
}

.case-info h4 {
    margin-bottom: 5px;
}

.case-info p {
    color: var(--light-text);
    font-size: 14px;
}

/* 联系表单 */
.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.contact-form {
    flex: 1;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    justify-content: flex-start;
    padding: 20px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 153, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-item p {
    margin: 0;
    color: var(--text-color);
}

.info-item .highlight {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-top: 5px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.highlight {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
}

/* CTA横幅 */
/* .cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta-banner h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-banner p {
    margin-bottom: 30px;
    opacity: 0.9;
} */

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column {
    flex: 0 1 200px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
}

.footer-column ul li:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    max-width: 1000px;
    margin: 0 auto;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card, .process-step, .case-item {
    opacity: 0;
}

/* 导航栏滚动效果 */
header.scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
}

/* 移动端菜单 */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.mobile-hidden {
    display: none !important;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .content-wrapper,
    .materials-content,
    .contact-wrapper {
        flex-direction: column;
    }
    
    .content-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .features {
        justify-content: center;
    }
    
    .feature-card {
        min-width: 250px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero .feature-showcase {
        padding: 0 20px;
    }
    
    .hero .showcase-img {
        height: 300px;
    }
    
    .hero .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .logo-img {
        height: 40px;
        margin-left: 20px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .menu-toggle {
        display: flex;
        order: 2;
    }
    
    nav {
        flex-basis: 100%;
        order: 3;
        margin: 15px 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .cta-buttons {
        order: 2;
        justify-content: flex-end;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 0 20px;
    }

    .info-item {
        padding: 15px;
    }

    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .content-image img,
    .materials-image img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .feature-card {
        min-width: 100%;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
}

.showcase-slider,
.image-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.showcase-img {
    width: 1280px;
    height: 853px;
    object-fit: cover;
    flex-shrink: 0;
    max-width: 100%;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background: #fff;
} 

/* 聊天机器人样式 */
#dify-chatbot-bubble-button {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    margin-top: 10px !important;
    background-color: var(--primary-color) !important;
}

#dify-chatbot-bubble-window {
    width: 24rem !important;
    height: 40rem !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow) !important;
    position: fixed !important; /* 确保聊天窗口固定在视口中 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    #dify-chatbot-bubble-window {
        width: 90vw !important;
        height: 70vh !important;
    }
}

/* 浮动按钮组样式 */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.floating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-button i {
    font-size: 20px;
}

/* 微信二维码弹出框样式 */
.wechat-qr {
    position: absolute;
    right: 60px;
    bottom: 0;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: none;
    width: 150px;
    height: 150px;
}

.wechat-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-button:hover .wechat-qr {
    display: block;
}

/* 电话号码弹出框样式 */
.phone-number {
    position: absolute;
    right: 60px;
    bottom: 10px;
    background: white;
    padding: 8px 15px;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: none;
    white-space: nowrap;
    color: var(--text-color);
    font-size: 14px;
}

.floating-button:hover .phone-number {
    display: block;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .floating-buttons {
        right: 10px;
        bottom: 80px;
    }

    .floating-button {
        width: 40px;
        height: 40px;
    }

    .floating-button i {
        font-size: 18px;
    }

    .wechat-qr {
        width: 120px;
        height: 120px;
        right: 50px;
    }

    .phone-number {
        right: 50px;
        font-size: 12px;
    }
}