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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #1d1d1f;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 头部导航栏 - 苹果风格 */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
}

.navbar-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.navbar-link:hover {
    opacity: 1;
}

/* 头部样式 */
header {
    padding: 100px 20px 60px;
    text-align: center;
}

h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.subtitle {
    font-size: 28px;
    color: #86868b;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* 主内容区域 */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 产品展示区域 - 苹果风格单列展示 */
.product-showcase {
    margin-bottom: 100px;
}

.product-item {
    margin-bottom: 100px;
    position: relative;
}

.product-header {
    text-align: center;
    margin-bottom: 40px;
}

.product-name {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.product-description {
    font-size: 20px;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto;
}

/* 苹果风格图片轮播 */
.image-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 700px;
    margin: 0 auto;
    transition: transform 0.3s ease;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* 轮播指示器 */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(134, 134, 139, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background-color: rgba(134, 134, 139, 1);
    transform: scale(1.2);
}

/* 特性列表 */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #0071e3;
}

.feature-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.feature-description {
    font-size: 16px;
    color: #86868b;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

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

.btn-primary:hover {
    background-color: #0077ed;
}

.btn-secondary {
    background-color: transparent;
    color: #0071e3;
    border: 1px solid #0071e3;
}

.btn-secondary:hover {
    background-color: rgba(0, 113, 227, 0.1);
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

/* 加载动画 */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 淡入动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    h1 {
        font-size: 48px;
    }
    
    .subtitle {
        font-size: 24px;
    }
    
    .product-name {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .navbar-content {
        height: 48px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .product-name {
        font-size: 32px;
    }
    
    .product-description {
        font-size: 18px;
    }
    
    .carousel-image {
        max-height: 500px;
    }
    
    .features-list {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 80px 15px 40px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .product-name {
        font-size: 28px;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
        margin: 5px 0;
    }
}