/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #7209b7;
    --accent-color: #f72585;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.4);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 60px;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

nav ul li a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

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

nav ul li a:hover:after {
    width: 100%;
}

/* 主要产品展示 */
.hero {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.05) 0%, rgba(114, 9, 183, 0.03) 50%, transparent 70%);
    border-radius: 50%;
    transform: scale(2);
}

.product-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.product-card {
    background-color: var(--white);
    padding: 35px;
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.product-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.product-card p {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-light);
}

.product-card .features {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card .features p {
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-card .features ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 15px;
    color: var(--text-light);
}

.product-card .features ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
}

/* 为什么选择我们 */
.why-choose {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-choose:after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.05) 0%, rgba(114, 9, 183, 0.03) 60%, transparent 70%);
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

/* 让工作更简单 */
.make-easier {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.make-easier:before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.05) 0%, rgba(114, 9, 183, 0.03) 60%, transparent 70%);
    border-radius: 50%;
}

.showcase {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.showcase:last-child {
    margin-bottom: 0;
}

.showcase.reverse {
    flex-direction: row-reverse;
}

.showcase-content {
    flex: 1;
}

.showcase-content h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.showcase-content h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1.5px;
}

.showcase-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.showcase-content .btn {
    margin-top: 15px;
}

.showcase-image {
    flex: 1;
}

/* 照片替代方案 */
.placeholder-image {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    background: linear-gradient(135deg, #f6f8fa 0%, #e8eef5 100%);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.placeholder-image:after {
    content: "图片展示";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 18px;
    font-weight: 500;
    opacity: 0.7;
}

/* 页脚 */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-links ul {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-links ul li {
    margin: 0 20px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s;
}

.footer-links ul li a:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.copyright p {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product-cards {
        flex-direction: column;
    }

    .showcase {
        flex-direction: column;
        gap: 40px;
    }

    .showcase.reverse {
        flex-direction: column;
    }

    .showcase-content, .showcase-image {
        width: 100%;
    }
    
    .showcase-image {
        order: -1;
    }
    
    .showcase.reverse .showcase-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    header .container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .why-choose, .make-easier {
        padding: 60px 0;
    }
    
    .showcase {
        margin-bottom: 60px;
    }
    
    .showcase-content h3 {
        font-size: 26px;
    }
    
    .placeholder-image {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .product-card {
        padding: 25px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .showcase-content h3 {
        font-size: 22px;
    }
    
    .footer-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links ul li {
        margin: 8px 0;
    }
}

/* 图标样式 - 使用伪元素替代实际图片 */
.feature-icon {
    margin-bottom: 20px;
    width: 90px;
    height: 90px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    position: relative;
    border: 2px solid rgba(67, 97, 238, 0.1);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.1);
}

.feature-icon:before {
    font-family: Arial, sans-serif;
    font-size: 36px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature:nth-child(1) .feature-icon:before {
    content: "✓";  /* 简单好用 */
}

.feature:nth-child(2) .feature-icon:before {
    content: "🔒";  /* 安全稳定 */
}

.feature:nth-child(3) .feature-icon:before {
    content: "⚙";  /* 灵活拓展 */
}

.feature:nth-child(4) .feature-icon:before {
    content: "🔌";  /* 应用中心 */
} 