/* 全局苹果风格重置 - 极简、留白、细腻 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* 苹果风格吸顶导航 - 毛玻璃效果 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0071e3;
}

/* 英雄首屏 - 苹果渐变背景 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 24px;
    color: #86868b;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* 按钮样式 - 苹果圆角+细腻hover */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #0071e3;
    color: white;
}

.btn-primary:hover {
    background-color: #0077ed;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid #d2d2d7;
}

.btn-secondary:hover {
    background-color: #e8e8ed;
    transform: translateY(-1px);
}

/* 通用标题样式 */
.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 80px;
    letter-spacing: -0.5px;
}

/* 产品专区 - 含产品logo（核心优化）+ 卡片悬浮效果 */
.products {
    padding: 120px 0;
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.product-card {
    background-color: #f5f5f7;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* 产品logo样式 - 苹果风格大字体设计 */
.product-logo {
    font-size: 48px;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
/* 灵衍AI logo专属颜色 */
.lingyan-logo {
    color: #1d1d1f;
}

.product-card .tag {
    display: inline-block;
    background-color: #0071e3;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 24px;
}

.product-card p {
    font-size: 17px;
    color: #86868b;
    margin-bottom: 32px;
    line-height: 1.6;
}

.feature-list {
    text-align: left;
    margin-bottom: 32px;
    padding-left: 20px;
}

.feature-list li {
    list-style: none;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.feature-list li::before {
    content: "✓";
    color: #0071e3;
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
}

/* 服务对象专区 */
.clients {
    padding: 120px 0;
    background-color: #f5f5f7;
}

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

.client-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

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

.client-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.client-card p {
    color: #86868b;
    font-size: 15px;
}

/* 联系我们专区 - 新增2*2二维码容器（核心优化） */
.contact {
    padding: 120px 0;
    background-color: white;
    text-align: center;
}

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

.contact-info p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #86868b;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    text-align: left;
}

.contact-item {
    background-color: #f5f5f7;
    padding: 24px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-item h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-item a {
    color: #0071e3;
    text-decoration: none;
    font-size: 17px;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* 新二维码容器：2*2布局，适配商务微信+小红书（核心优化） */
.qr-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

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

.qr-box {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 16px;
    background-color: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86868b;
    border: 1px solid #d2d2d7;
    transition: all 0.3s ease;
}
/* 小红书二维码专属红色边框（贴合小红书品牌色） */
.red-qr {
    border-color: #ff2442;
    color: #ff2442;
}

.qr-card p {
    margin-top: 12px;
    font-size: 14px;
    color: #86868b;
}

/* 页脚样式 - 含备案信息（核心优化） */
.footer {
    padding: 40px 0;
    background-color: #f5f5f7;
    text-align: center;
    border-top: 1px solid #d2d2d7;
}

.footer p {
    color: #86868b;
    font-size: 14px;
    line-height: 1.8;
}

/* 响应式适配 - 平板/手机（适配新logo/二维码布局） */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 40px;
    }
    .hero-content p {
        font-size: 20px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-logo {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 18px;
        padding: 0 20px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .btn {
        width: 80%;
    }
    .section-title {
        font-size: 32px;
        margin-bottom: 60px;
    }
    .products, .clients, .contact {
        padding: 80px 0;
    }
    .contact-details {
        grid-template-columns: 1fr;
    }
    /* 移动端二维码改为1列布局 */
    .qr-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .qr-box {
        width: 160px;
        height: 160px;
    }
    /* 移动端产品卡片内边距优化 */
    .product-card {
        padding: 30px 20px;
    }
    .product-logo {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 20px;
    }
    .nav-links {
        gap: 15px;
    }
    .nav-links a {
        font-size: 15px;
    }
    .footer p {
        font-size: 12px;
        padding: 0 10px;
    }
}