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

:root {
    --primary: #00a8ff;
    --primary-dark: #0080cc;
    --primary-light: #e6f7ff;
    --secondary: #00bcd4;
    --accent: #00c853;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #ffffff;
    --bg-light: #f8fcff;
    --bg-card: #ffffff;
    --border: #e0f2f1;
    --shadow: 0 2px 15px rgba(0, 168, 255, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 168, 255, 0.2);
    --gradient: linear-gradient(135deg, #00a8ff 0%, #00bcd4 100%);
    --gradient-light: linear-gradient(135deg, #e6f7ff 0%, #b2ebf2 100%);
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-light);
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 导航栏 */
.header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 168, 255, 0.08);
    transition: all 0.3s ease;
}

.header.scroll {
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.15);
}

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

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

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    color: var(--text);
    margin-left: 35px;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 60%;
}

/* 幻灯片 */
.slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.slide-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.slide-content p {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.slide-btn {
    display: inline-block;
    padding: 16px 50px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.4);
    transition: all 0.3s ease;
}

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 168, 255, 0.5);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    opacity: 0.6;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

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

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 168, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(0, 168, 255, 0.5);
}

.dot.active {
    background: var(--primary);
    border-color: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.5);
}

/* 通用区块 */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto 60px;
    border-radius: 2px;
}

/* 服务卡片 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 45px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--gradient);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 案例卡片 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

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

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

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

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

.btn-wrap {
    text-align: center;
    margin-top: 50px;
}

.btn {
    display: inline-block;
    padding: 14px 45px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
}

/* 页面头部 */
.page-header {
    background: var(--gradient-light);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(0, 168, 255, 0.08);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.stat-item {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.stat-num {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

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

.advantage-card {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 服务详情 */
.service-detail {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-detail:hover {
    box-shadow: var(--shadow);
}

.service-detail-icon {
    font-size: 50px;
    color: var(--primary);
    min-width: 80px;
}

.service-detail-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}

.service-detail-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 案例详情 */
.case-detail {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.case-detail:hover {
    box-shadow: var(--shadow);
}

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

.case-detail-info {
    padding: 40px;
}

.case-detail-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.case-detail-info p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 联系我们 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.4);
}

/* 底部 */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

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

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

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .slide-content h1 {
        font-size: 36px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .service-grid,
    .case-grid,
    .advantage-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail {
        flex-direction: column;
        text-align: center;
    }

    .page-header h1 {
        font-size: 36px;
    }
}