/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.5;
}

/* 导航栏样式 - 苹果风格 */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
}

.logo {
    color: #1d1d1f;
    font-size: 20px;
    font-weight: 500;
}

/* 产品卡片苹果风格 */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.download-btn {
    background: #0071e3;
    color: #fff;
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.download-btn:hover {
    background: #0077ed;
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #f5f5f7;
    text-decoration: none;
    padding: 0 15px;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-links li a:hover {
    opacity: 1;
}

.menu-toggle {
    color: #f5f5f7;
    font-size: 20px;
    cursor: pointer;
    display: none;
}

/* 主要内容区域 */
main {
    padding-top: 44px;
}

.hero {
    position: relative;
    height: 30vh;  /* 从80vh调整为60vh */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, 
            #ff3366 0%, 
            #ff9933 20%, 
            #2ad17e 40%, 
            #33ccff 60%, 
            #4927e0 80%);
    background-size: 400% 400%;
    z-index: -1;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.tech-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}
   

@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(10%, 10%);
    }
}

.tech-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.1) 0%, transparent 20%),
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero p {
    font-size: 28px;
    opacity: 0.8;
}

/* 产品展示区 */
.products {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 改为4列 */
    gap: 30px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .products {
        grid-template-columns: repeat(3, 1fr); /* 中等屏幕显示3列 */
    }
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(2, 1fr); /* 小屏幕显示2列 */
    }
}

@media (max-width: 480px) {
    .products {
        grid-template-columns: 1fr; /* 移动端显示1列 */
    }
}
.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.download-btn {
    align-self: flex-end;
    margin-top: auto;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-info p {
    color: #86868b;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    background: #0071e3;
    color: #fff;
    padding: 8px 16px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #0077ed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 20px;
    }
    
    .products {
        grid-template-columns: 1fr;
    }
}

/* 页脚样式 */
footer {
    background: #1d1d1f;
    padding: 40px 20px;
    color: #86868b;
    font-size: 12px;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: auto;
}

body {
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-section p, 
.footer-section a {
    margin-bottom: 10px;
    display: block;
    color: #86868b;
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-section {
        flex: 100%;
        text-align: center;
    }
}