:root {
    /* 主色调 */
    --primary-color: #5b8a72; /* 青竹色 */
    --primary-light: #7ba392; /* 浅青竹 */
    --primary-dark: #3c5a4d; /* 深青竹 */
    
    /* 辅助色 */
    --accent-color: #c17f59; /* 古铜色 */
    --accent-light: #d4a17e; /* 浅古铜 */
    
    /* 中性色 */
    --text-dark: #2c2c2c; /* 墨色 */
    --text-light: #666666; /* 浅墨色 */
    --bg-light: #f7f5f0; /* 米白色 */
    --bg-white: #ffffff; /* 纯白 */
    
    /* 装饰色 */
    --border-color: #e8e0d5; /* 竹帘边框色 */
    --shadow-color: rgba(91, 138, 114, 0.08); /* 阴影色 */
}

/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* 导航栏 */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: fixed;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    padding: 1rem 2rem;
    letter-spacing: 2px;
    margin-left: 2rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

nav li {
    padding: 1rem 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--primary-color);
}

nav a.active::after {
    width: 100%;
}

/* 主要内容 */
main {
    padding-top: 80px;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* 轮播图 */
.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    pointer-events: none;
    z-index: 1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    will-change: transform, opacity;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-content {
    position: absolute;
    bottom: 25%;
    left: 10%;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-in-out 0.3s;
    z-index: 2;
    max-width: 80%;
    text-align: left;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}

.slide-content p {
    font-size: 1.4rem;
    max-width: 600px;
    line-height: 1.6;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 3rem;
}

.slider-next {
    right: 3rem;
}

.slider-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
        padding: 1rem;
    }

    nav li {
        padding: 0.8rem 1rem;
    }

    nav a {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .slide-content {
        left: 5%;
        bottom: 20%;
        max-width: 90%;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slider-prev,
    .slider-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .slider-prev {
        left: 1.5rem;
    }

    .slider-next {
        right: 1.5rem;
    }

    .slider-indicators {
        bottom: 2rem;
    }

    .indicator {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    nav li {
        padding: 0.6rem 0.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* 服务网格 */
.services-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 文创产品卡片 */
.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 1rem;
}

/* AI绘画容器 */
.ai-painting-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.service-item {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 主要内容区块 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 首页英雄区 */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 公司简介样式简化 */
.about-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    align-items: center;
}

.about-content {
    padding-right: 2rem;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-color);
    height: 300px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 发展历程样式 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    position: absolute;
    top: 0;
    right: -100px;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.timeline-item:nth-child(even) .timeline-date {
    right: auto;
    left: -100px;
}

.timeline-content {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
}

/* 团队介绍样式 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.member-desc {
    color: var(--text-light);
}

/* 企业文化样式 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.culture-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.culture-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.culture-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.culture-item p {
    color: var(--text-light);
}

/* 联系方式页面样式 */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--text-light);
}

/* 联系我们模块样式 */
.contact-section {
    background: var(--bg-light);
    padding: 4rem 0;
    margin-top: 4rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.form-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-color);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-info {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    height: fit-content;
}

.contact-info h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-details {
    display: grid;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: var(--bg-light);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.3rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.contact-text p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .business-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .business-item,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }

    .business-icon {
        font-size: 3rem;
    }

    .business-item h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .business-grid,
    .contact-container {
        padding: 0 1.5rem;
    }

    .business-item h3,
    .contact-info h2,
    .form-title {
        font-size: 1.5rem;
    }

    .business-item p,
    .contact-text p {
        font-size: 1rem;
    }
}

/* 地图容器样式 */
.map-container {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map {
    margin-top: 1.5rem;
    border-radius: 5px;
    overflow: hidden;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 社交媒体样式 */
.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon-wrapper {
    position: relative;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-link i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.qrcode-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    width: 160px;
    text-align: center;
    margin-bottom: 1rem;
}

.qrcode-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--bg-white);
}

.social-icon-wrapper:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.qrcode-popup img {
    width: 140px;
    height: 140px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.qrcode-popup p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .social-links {
        gap: 1rem;
    }

    .qrcode-popup {
        width: 140px;
    }

    .qrcode-popup img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .social-links {
        grid-template-columns: 1fr;
    }

    .qrcode-popup {
        width: 120px;
    }

    .qrcode-popup img {
        width: 100px;
        height: 100px;
    }
}

/* 关注我们 */
.social-links {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.social-links h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex: 1;
    align-items: center;
}

.social-icon-wrapper {
    position: relative;
    text-align: center;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.social-icon .icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.social-icon .label {
    font-size: 1rem;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.form-desc {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group:last-of-type {
    flex: 1;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-color);
}

.form-group textarea {
    height: 100%;
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-left {
        height: auto;
    }

    .social-links {
        height: auto;
    }

    .contact-form {
        height: auto;
    }

    .form-group textarea {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: 0 1rem;
    }

    .social-icon-wrapper {
        flex: 0 0 calc(50% - 1rem);
    }

    .social-icon .icon {
        font-size: 2rem;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .contact-icon {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }

    .contact-text p {
        font-size: 1rem;
    }
}

/* AI对话页面样式 */
.ai-chat-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.chat-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-header {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.chat-messages {
    height: 500px;
    overflow-y: auto;
    padding: 1.5rem;
}

.message {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.message.user {
    flex-direction: row-reverse;
}

.message-content {
    max-width: 70%;
    padding: 1rem;
    border-radius: 12px;
    margin: 0 1rem;
}

.message.user .message-content {
    background: #e3f2fd;
    color: #1565c0;
}

.message.ai .message-content {
    background: #f5f5f5;
    color: #333;
}

.chat-input {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 1rem;
}

.chat-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.chat-input button {
    padding: 0.8rem 1.5rem;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-input button:hover {
    background: #34495e;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ai-chat-container {
        padding: 1rem;
    }

    .chat-messages {
        height: 400px;
    }

    .message-content {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .chat-header {
        padding: 0.8rem 1rem;
    }

    .chat-messages {
        height: 350px;
        padding: 1rem;
    }

    .message-content {
        max-width: 90%;
    }

    .chat-input {
        padding: 1rem;
    }

    .chat-input button {
        padding: 0.8rem 1rem;
    }
}

/* AI绘画工作区样式 */
.ai-painting-workspace {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 2.5rem;
    margin-top: 2rem;
}

.workspace-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.prompt-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prompt-section h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

#prompt-input {
    width: 100%;
    height: 180px;
    padding: 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1.1rem;
    resize: none;
    transition: all 0.3s ease;
    line-height: 1.6;
}

#prompt-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-color);
}

.style-options {
    margin-top: 1rem;
}

.style-options h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.style-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.style-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.style-btn:hover,
.style-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.primary-btn {
    padding: 1.2rem 2.5rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.primary-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.workspace-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.preview-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.preview-section h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.preview-area {
    flex: 1;
    background: var(--bg-light);
    border-radius: 12px;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed var(--border-color);
}

.preview-placeholder {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

.preview-placeholder i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--border-color);
}

.preview-placeholder p {
    font-size: 1.2rem;
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.action-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn:not(:disabled):hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

/* 创作历史样式优化 */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.history-item {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.history-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.history-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.history-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.history-item:hover .history-image {
    transform: scale(1.05);
}

.history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.history-item:hover .history-overlay {
    opacity: 1;
}

.history-info {
    padding: 2rem;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.history-header h4 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.history-time {
    color: var(--text-light);
    font-size: 0.95rem;
}

.history-prompt {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.history-style {
    margin-bottom: 1.5rem;
}

.style-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.history-actions {
    display: flex;
    gap: 1rem;
}

.history-actions button {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.download-btn {
    background: var(--primary-color);
    color: var(--bg-white);
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.delete-btn {
    background: #ff4d4d;
    color: var(--bg-white);
}

.delete-btn:hover {
    background: #ff3333;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .ai-painting-workspace {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .preview-area {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .ai-painting-workspace {
        padding: 1.5rem;
    }

    .style-buttons {
        gap: 0.8rem;
    }

    .style-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }

    .preview-area {
        min-height: 350px;
    }

    .history-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }

    .history-image-container {
        height: 200px;
    }

    .history-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ai-painting-workspace {
        padding: 1rem;
    }

    .prompt-section h3,
    .preview-section h3 {
        font-size: 1.4rem;
    }

    #prompt-input {
        height: 150px;
        font-size: 1rem;
    }

    .style-buttons {
        flex-direction: column;
    }

    .style-btn {
        width: 100%;
    }

    .preview-area {
        min-height: 300px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .history-grid {
        grid-template-columns: 1fr;
    }
}

/* 加载弹窗样式 */
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.loading-modal.active {
    display: flex;
}

.loading-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: modalFadeIn 0.3s ease;
}

.loading-spinner {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.loading-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.loading-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.loading-progress {
    background: var(--bg-light);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 0;
    height: 100%;
    background: var(--primary-color);
    animation: progressAnimation 2s ease-in-out infinite;
}

.cancel-btn {
    padding: 0.8rem 1.5rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #ff4d4d;
    color: var(--bg-white);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressAnimation {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

/* 页脚样式 */
footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 0 20px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo h2 {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section h3 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
    }
}

/* 首页样式优化 */
.intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin: 4rem auto;
    max-width: 1400px;
    padding: 0 2rem;
}

.intro-text {
    display: grid;
    gap: 2.5rem;
}

.intro-block {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--shadow-color);
}

.intro-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.intro-block h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.intro-block p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.intro-side {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.stat-item:hover {
    background-color: var(--bg-light);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.intro-features {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
}

.intro-features h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 0.8rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.feature-list li:hover {
    background-color: var(--bg-light);
}

.feature-icon {
    margin-right: 1.2rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.intro-cta {
    text-align: center;
    margin-top: 3rem;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 2.5rem;
    background: var(--primary-color);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.cta-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--shadow-color);
}

.arrow {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
}

.cta-link:hover .arrow {
    transform: translateX(6px);
}

/* 业务板块样式 */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 4rem auto;
    max-width: 1400px;
    padding: 0 2rem;
}

.business-item {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.business-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--shadow-color);
}

.business-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.business-item h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.business-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    width: 100%;
}

.business-item .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.business-item .feature-list li {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

/* 页面头部样式优化 */
.page-header {
    position: relative;
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    margin-bottom: 4rem;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(91, 138, 114, 0.3), rgba(193, 127, 89, 0.3));
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    letter-spacing: 2px;
}

.header-content p {
    font-size: 1.4rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.3s forwards;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-header {
        height: 250px;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .header-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 200px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1rem;
    }
}

/* 产品展示样式优化 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 4rem auto;
    max-width: 1400px;
    padding: 0 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--shadow-color);
}

.product-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-link {
    color: var(--bg-white);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid var(--bg-white);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.product-link:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.product-tag {
    padding: 0.4rem 1rem;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 产品展示响应式调整 */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-image {
        height: 240px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
    
    .product-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        padding: 0 1.5rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* 服务优势样式优化 */
.advantages-section {
    background: var(--bg-light);
    padding: 6rem 0;
    margin: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--shadow-color);
}

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.contact-info {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--bg-light);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
}

.contact-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

.social-links {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.social-links h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex: 1;
    align-items: center;
}

.social-icon-wrapper {
    position: relative;
    text-align: center;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.social-icon .icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.social-icon .label {
    font-size: 1rem;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group:last-of-type {
    flex: 1;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-color);
}

.form-group textarea {
    height: 100%;
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-left {
        height: auto;
    }

    .social-links {
        height: auto;
    }

    .contact-form {
        height: auto;
    }

    .form-group textarea {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: 0 1rem;
    }

    .social-icon-wrapper {
        flex: 0 0 calc(50% - 1rem);
    }

    .social-icon .icon {
        font-size: 2rem;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .contact-icon {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }

    .contact-text p {
        font-size: 1rem;
    }
}

/* 定制服务样式 */
.custom-service {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.service-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
}

.service-text {
    padding-right: 2rem;
}

.service-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-features li {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .service-text {
        padding-right: 0;
    }

    .service-image {
        order: -1;
    }
}

@media (max-width: 480px) {
    .custom-service {
        padding: 1rem;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-text h3 {
        font-size: 1.8rem;
    }

    .service-text p,
    .service-features li {
        font-size: 1rem;
    }
}