/**
 * Apple Style Design - 极简苹果风格设计
 * 特点：大量留白、大字体、渐变背景、圆角设计、毛玻璃效果
 */

/* ==================== 基础重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47059;
    color: #1d1d1f;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== 导航栏 - 毛玻璃效果 ==================== */
.apple-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 52px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    transition: background 0.3s ease;
}

.apple-nav .nav-container {
    max-width: 1024px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
}

.apple-nav .nav-logo {
    font-size: 20px;
    font-weight: 600;
    color: #f5f5f7;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.apple-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.apple-nav .nav-menu a {
    font-size: 12px;
    font-weight: 400;
    color: #f5f5f7;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    letter-spacing: 0.3px;
}

.apple-nav .nav-menu a:hover {
    opacity: 1;
}

.apple-nav .nav-menu a.active {
    opacity: 1;
    font-weight: 500;
}

/* 移动端菜单按钮 */
.apple-nav .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.apple-nav .menu-toggle span {
    width: 20px;
    height: 1px;
    background: #f5f5f7;
    transition: all 0.3s ease;
}

/* ==================== Hero 区域 - 大标题风格 ==================== */
.apple-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.apple-hero.gradient-1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.apple-hero.gradient-2 {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 100%);
}

.apple-hero.gradient-3 {
    background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}

.apple-hero.light {
    background: #fbfbfd;
}

.apple-hero.dark {
    background: #000;
    color: #f5f5f7;
}

.apple-hero .hero-title {
    font-size: 96px;
    font-weight: 700;
    line-height: 1.08349;
    letter-spacing: -0.003em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f5f5f7 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apple-hero.light .hero-title {
    background: linear-gradient(135deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apple-hero .hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.14286;
    letter-spacing: 0.007em;
    margin-bottom: 24px;
    color: #f5f5f7;
    opacity: 0.9;
}

.apple-hero.light .hero-subtitle {
    color: #1d1d1f;
}

.apple-hero .hero-desc {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.381;
    letter-spacing: 0.011em;
    max-width: 600px;
    margin-bottom: 32px;
    color: #a1a1a6;
}

.apple-hero.light .hero-desc {
    color: #86868b;
}

.apple-hero .hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.apple-hero .btn-primary {
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    background: #0071e3;
    padding: 12px 24px;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.apple-hero .btn-primary:hover {
    background: #0077ed;
    transform: scale(1.02);
}

.apple-hero .btn-secondary {
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    background: #0071e3;
    padding: 12px 24px;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.apple-hero .btn-secondary:hover {
    background: #0077ed;
    transform: scale(1.02);
}

/* ==================== 产品展示区 - 卡片网格 ==================== */
.apple-section {
    padding: 100px 0;
    background: #fbfbfd;
}

.apple-section.dark {
    background: #000;
    color: #f5f7ff;
}

.apple-section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.003em;
    color: #1d1d1f;
}

.apple-section.dark .apple-section-title {
    color: #f5f5f7;
}

.apple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.apple-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.apple-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.apple-card .card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
}

.apple-card .card-content {
    padding: 32px;
}

.apple-card .card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.apple-card .card-desc {
    font-size: 15px;
    color: #86868b;
    line-height: 1.4;
    margin-bottom: 16px;
}

.apple-card .card-link {
    font-size: 15px;
    color: #0071e3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.apple-card .card-link::after {
    content: '>';
    font-size: 12px;
}

/* ==================== 特性展示 - 两栏布局 ==================== */
.apple-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 600px;
}

.apple-feature:nth-child(even) {
    direction: rtl;
}

.apple-feature:nth-child(even) > * {
    direction: ltr;
}

.apple-feature .feature-content {
    padding: 80px;
    max-width: 600px;
}

.apple-feature .feature-label {
    font-size: 14px;
    font-weight: 600;
    color: #bf4800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.apple-feature .feature-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.005em;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.apple-feature .feature-desc {
    font-size: 21px;
    line-height: 1.381;
    color: #86868b;
    margin-bottom: 32px;
}

.apple-feature .feature-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
}

/* ==================== 大图展示区 ==================== */
.apple-showcase {
    padding: 120px 0;
    text-align: center;
    background: #000;
    color: #f5f5f7;
}

.apple-showcase .showcase-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.003em;
    margin-bottom: 24px;
}

.apple-showcase .showcase-image {
    max-width: 100%;
    height: auto;
    margin-top: 60px;
}

/* ==================== 页脚 - 简洁风格 ==================== */
.apple-footer {
    background: #f5f5f7;
    padding: 40px 0 20px;
    border-top: 1px solid #d2d2d7;
}

.apple-footer .footer-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

.apple-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.apple-footer .footer-links a {
    font-size: 12px;
    color: #424245;
    text-decoration: none;
    transition: color 0.3s ease;
}

.apple-footer .footer-links a:hover {
    color: #1d1d1f;
    text-decoration: underline;
}

.apple-footer .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #d2d2d7;
}

.apple-footer .copyright {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 8px;
}

.apple-footer .company-info {
    font-size: 12px;
    color: #86868b;
    line-height: 1.5;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .apple-hero .hero-title {
        font-size: 72px;
    }
    
    .apple-hero .hero-subtitle {
        font-size: 24px;
    }
    
    .apple-feature {
        grid-template-columns: 1fr;
    }
    
    .apple-feature:nth-child(even) {
        direction: ltr;
    }
    
    .apple-feature .feature-content {
        padding: 60px 40px;
        order: 2;
    }
    
    .apple-feature .feature-image {
        min-height: 400px;
        order: 1;
    }
}

@media (max-width: 768px) {
    .apple-nav .nav-menu {
        display: none;
    }
    
    .apple-nav .menu-toggle {
        display: flex;
    }
    
    .apple-hero {
        min-height: 70vh;
        padding-top: 100px;
    }
    
    .apple-hero .hero-title {
        font-size: 48px;
    }
    
    .apple-hero .hero-subtitle {
        font-size: 21px;
    }
    
    .apple-hero .hero-desc {
        font-size: 17px;
    }
    
    .apple-section-title {
        font-size: 32px;
    }
    
    .apple-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    
    .apple-feature .feature-title {
        font-size: 40px;
    }
    
    .apple-feature .feature-desc {
        font-size: 17px;
    }
    
    .apple-showcase .showcase-title {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .apple-hero .hero-title {
        font-size: 40px;
    }
    
    .apple-hero .hero-cta {
        flex-direction: column;
        gap: 16px;
    }
}

/* ==================== 动画效果 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
