/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 230px;
    height: auto;
    display: block;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    color: #333;
    padding: 8px 0;
    position: relative;
}

.nav a.active,
.nav a:hover {
    color: #1890ff;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1890ff;
}

/* Banner styles */
.banner {
    margin-top: 80px;
    height: 600px;
    background: linear-gradient(135deg, #1890ff, #1d39c4);
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 24px;
    opacity: 0.9;
}

/* Core service styles */
.core-service {
    padding: 80px 0;
    background-color: #f7f8fa;
}

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

.section-desc {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.service-item {
    background-color: #fff;
    padding-top: 40px;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    padding-bottom: 20px;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(247,248,250,0.2) 0%, rgba(255,255,255,1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}

.service-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.service-item h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    padding-bottom: 15px;
    align-self: center;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    border-radius: 2px;
}

.service-item:nth-child(1) h3::after {
    background: linear-gradient(90deg, #FF8B6C, #FFA88C);
}

.service-item:nth-child(2) h3::after {
    background: linear-gradient(90deg, #6CC3FF, #8CD6FF);
}

.service-item:nth-child(3) h3::after {
    background: linear-gradient(90deg, #B07CFF, #C49DFF);
}

.service-item:nth-child(4) h3::after {
    background: linear-gradient(90deg, #FFA07C, #FFB89C);
}

.service-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0 1.25rem;
}

@keyframes buttonContentPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 32px;
    background-color: #165dff;
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 2;
    gap: 6px;
    width: auto;
    margin: 0 auto;
    margin-top: auto;
}

.btn-service:hover {
    background-color: #0e4bdf;
}

.btn-service .icon-service,
.btn-service span {
    display: inline-block;
    animation: buttonContentPulse 2s ease-in-out infinite;
    will-change: transform;
}

/* 错开图标和文字的动画时间，使效果更生动 */
.btn-service .icon-service {
    animation-delay: -1s;
}

/* 鼠标悬停时暂停动画 */
.btn-service:hover .icon-service,
.btn-service:hover span {
    animation-play-state: paused;
}

.icon-service {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('../images/fixed-service-white.png') no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-top: -2px;
}

/* Case show styles */
.case-show {
    padding: 80px 0;
}

.case-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.case-item {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
}

.case-item:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

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

.case-item .info {
    padding: 15px;
}

.case-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.case-item p {
    color: #666;
    font-size: 14px;
}

/* Footer styles */
.footer {
    background-color: #001529;
    color: #fff;
    padding: 40px 0;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.qrcode img {
    width: 120px;
    height: 120px;
}

.copyright {
    text-align: center;
    color: rgba(255,255,255,0.6);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .service-list {
        gap: 20px;
    }
    
    .service-item {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .service-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .core-service {
        padding: 60px 0;
    }

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

    .section-desc {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .service-item {
        padding: 25px;
    }

    .service-item .icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .service-item h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .service-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-list {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .service-item {
        margin-bottom: 20px;
    }

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

    .section-desc {
        font-size: 15px;
    }

    .service-item h3 {
        font-size: 20px;
    }

    .service-item p {
        font-size: 14px;
    }
}

.appdev-process {
    background: #f8fcff url('../images/appdev/dev-process-bg.png') no-repeat center top;
    background-size: contain;
    padding: 80px 0 60px 0;
    position: relative;
}

.appdev-process .process-title {
    text-align: center;
    font-size: 36px;
    color: #222;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.process-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.process-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 24px 0 rgba(22,93,255,0.08);
    width: 200px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 32px 18px 24px 18px;
    transition: box-shadow 0.3s;
}

.process-item:hover {
    box-shadow: 0 12px 32px 0 rgba(22,93,255,0.16);
}

.process-step {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-50%);
    background: #165dff;
    border-radius: 4px 0 8px 0;
    padding: 0 18px;
    height: 36px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(22,93,255,0.12);
}

.process-step span {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.process-img {
    margin-top: 18px;
    margin-bottom: 18px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.process-main {
    font-size: 20px;
    color: #222;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 6px;
    text-align: center;
}

.process-desc {
    font-size: 15px;
    color: #666;
    text-align: center;
    line-height: 1.7;
    word-break: break-all;
}

/* 响应式 */
@media (max-width: 1200px) {
    .process-list {
        gap: 20px;
    }
    .process-item {
        width: 180px;
        min-height: 320px;
        padding: 24px 10px 18px 10px;
    }
}

@media (max-width: 900px) {
    .process-list {
        gap: 16px;
    }
    .process-item {
        width: 45vw;
        min-width: 160px;
        max-width: 220px;
    }
}

@media (max-width: 700px) {
    .process-list {
        flex-wrap: wrap;
        gap: 12px;
    }
    .process-item {
        width: 90vw;
        min-width: 0;
        max-width: 100%;
    }
}

.process-img-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
    padding: 0;
}

.process-img-row img {
    display: block;
    width: 150px;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.appdev-process .container {
    max-width: 1200px;
    margin: 0 auto;
} 