* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0071e3;
    --color-secondary: #1d1d1f;
    --color-text: #1d1d1f;
    --color-text-secondary: #6e6e73;
    --color-background: #ffffff;
    --color-background-alt: #f5f5f7;
    --color-border: #d2d2d7;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    color: var(--color-text);
    background: var(--color-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Apple风格导航栏 */
.global-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    height: 44px;
}

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

.nav-logo {
    font-size: 18px;
    color: #f5f5f7;
    font-weight: 600;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo .nav-icon {
    width: 24px;
    height: 24px;
    background: url('IMG/ic_launcher.webp') center/cover;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #f5f5f7;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

/* Hero区域 */
.hero {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    padding: 60px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 980px;
    margin: 0 auto;
}

.app-icon {
    width: 140px;
    height: 140px;
    background: url('IMG/ic.jpg') center/cover;
    border-radius: 30px;
    margin: 0 auto 28px;
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.4), 0 10px 30px rgba(118, 75, 162, 0.3);
    position: relative;
    overflow: hidden;
}

.app-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 21px;
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 0.011em;
    margin-bottom: 6px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.07;
    color: var(--color-text);
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.004em;
    line-height: 1.14;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #667eea);
    background-size: 500% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease-in-out infinite;
    margin-bottom: 32px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-cta {
    margin-bottom: 60px;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s;
}

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

.about-btn {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    border: 1px solid var(--color-primary);
    transition: all 0.3s;
}

.about-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.02);
}

/* 设备展示区域 */
.devices-showcase {
    position: relative;
    margin-top: 40px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-stack {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device {
    position: absolute;
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.device-1 {
    width: 220px;
    height: 460px;
    transform: translateX(-360px) rotateY(-20deg) scale(0.85);
    z-index: 1;
}

.device-2 {
    width: 240px;
    height: 500px;
    transform: translateX(-180px) rotateY(-12deg) scale(0.9);
    z-index: 2;
}

.device-3 {
    width: 280px;
    height: 580px;
    transform: translateX(0) rotateY(0deg) scale(1);
    z-index: 3;
}

.device-4 {
    width: 240px;
    height: 500px;
    transform: translateX(180px) rotateY(12deg) scale(0.9);
    z-index: 2;
}

.device-5 {
    width: 220px;
    height: 460px;
    transform: translateX(360px) rotateY(20deg) scale(0.85);
    z-index: 1;
}

.devices-showcase:hover .device-1 {
    transform: translateX(-320px) rotateY(-15deg) scale(0.88);
}

.devices-showcase:hover .device-2 {
    transform: translateX(-160px) rotateY(-8deg) scale(0.93);
}

.devices-showcase:hover .device-3 {
    transform: translateX(0) rotateY(0deg) scale(1.03);
}

.devices-showcase:hover .device-4 {
    transform: translateX(160px) rotateY(8deg) scale(0.93);
}

.devices-showcase:hover .device-5 {
    transform: translateX(320px) rotateY(15deg) scale(0.88);
}


/* 设计区域 */
.design-section {
    padding: 100px 20px;
    background: var(--color-background-alt);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.design-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('IMG/yulan/2.png') center/cover;
    opacity: 0.3;
    filter: blur(40px);
}

.design-content {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
}

.design-eyebrow {
    font-size: 21px;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 6px;
}

.design-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.08;
    color: var(--color-text);
    margin-bottom: 60px;
}

.design-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 600px;
    margin: 0 auto 60px;
}

.design-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 30px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.design-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.design-card-icon {
    width: 80px;
    height: 80px;
    background: url('IMG/yulan/2.png') center/cover;
    border-radius: 20px;
}

.design-card-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-text);
}

.design-card h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
}

.design-card-list {
    list-style: none;
}

.design-card-list li {
    font-size: 17px;
    color: var(--color-text-secondary);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.design-card-list li::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-text-secondary);
    border-radius: 50%;
    flex-shrink: 0;
}

.design-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.design-feature {
    text-align: center;
}

.design-feature-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 12px;
}

.design-feature p {
    font-size: 17px;
    font-weight: 500;
}


/* 统计区域 */
.stats {
    padding: 100px 20px;
    background: var(--color-background-alt);
    text-align: center;
}

.stats-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.015em;
    background: linear-gradient(135deg, #0071e3 0%, #42a5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 21px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* 兼容系统区域 */
.compatibility {
    padding: 100px 20px;
    background: var(--color-background);
    text-align: center;
}

.compatibility-content {
    max-width: 980px;
    margin: 0 auto;
}

.compatibility-content p {
    font-size: 21px;
    color: var(--color-text-secondary);
    margin-top: 20px;
    line-height: 1.6;
}

/* CTA区域 */
.cta {
    padding: 120px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #667eea);
    background-size: 400% 400%;
    text-align: center;
    color: white;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.cta h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 21px;
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-primary {
    padding: 16px 40px;
    background: white;
    color: #333;
    border: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.btn-secondary {
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    border-color: white;
}

/* Footer */
footer {
    background: #f5f5f7;
    padding: 60px 20px 40px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 12px;
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--color-text);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--color-text-secondary);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-text);
}

/* 响应式设计 */
@media (max-width: 1068px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .device-1, .device-2, .device-4, .device-5 {
        display: block !important;
    }
    
    .device-1 {
        width: 180px;
        height: 380px;
        transform: translateX(-280px) rotateY(-18deg) scale(0.75);
    }
    
    .device-2 {
        width: 200px;
        height: 420px;
        transform: translateX(-140px) rotateY(-10deg) scale(0.85);
    }
    
    .device-3 {
        width: 240px;
        height: 500px;
        transform: translateX(0) rotateY(0deg) scale(0.95);
    }
    
    .device-4 {
        width: 200px;
        height: 420px;
        transform: translateX(140px) rotateY(10deg) scale(0.85);
    }
    
    .device-5 {
        width: 180px;
        height: 380px;
        transform: translateX(280px) rotateY(18deg) scale(0.75);
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .design-cards {
        grid-template-columns: 1fr;
    }
    
    .progress-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 734px) {
    .global-nav-content {
        padding: 0 16px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .nav-link {
        display: none;
    }
    
    .nav-link:last-child {
        display: block;
    }
    
    .hero {
        padding: 40px 16px 60px;
    }
    
    .app-icon {
        width: 100px;
        height: 100px;
        border-radius: 22px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 19px;
        background-size: 500% 100%;
    }
    
    .devices-showcase {
        height: 420px;
    }
    
    .device-1, .device-2, .device-4, .device-5 {
        display: block !important;
    }
    
    .device-1 {
        width: 130px;
        height: 270px;
        transform: translateX(-140px) rotateY(-20deg) scale(0.7);
    }
    
    .device-2 {
        width: 150px;
        height: 310px;
        transform: translateX(-75px) rotateY(-12deg) scale(0.8);
    }
    
    .device-3 {
        width: 180px;
        height: 370px;
        transform: translateX(0) rotateY(0deg) scale(0.95);
    }
    
    .device-4 {
        width: 150px;
        height: 310px;
        transform: translateX(75px) rotateY(12deg) scale(0.8);
    }
    
    .device-5 {
        width: 130px;
        height: 270px;
        transform: translateX(140px) rotateY(20deg) scale(0.7);
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 19px;
    }
    
    .features,
    .progress-section,
    .stats,
    .compatibility,
    .highlights,
    .design-section {
        padding: 60px 16px;
    }
    
    .highlights-grid {
        padding: 0;
    }
    
    .highlight-card {
        min-height: 400px;
        padding: 24px;
    }
    
    .design-cards {
        gap: 20px;
    }
    
    .design-features {
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* 通用内容页面样式 */
.page-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 60px 22px;
}

.page-hero {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    padding: 80px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.page-hero p {
    font-size: 21px;
    color: var(--color-text-secondary);
}

/* 卡片样式 */
.card {
    background: var(--color-background-alt);
    border-radius: 18px;
    padding: 40px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.card p {
    color: var(--color-text-secondary);
    font-size: 17px;
}

/* 按钮样式扩展 */
.btn-outline {
    padding: 12px 32px;
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

/* 通用容器 */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

/* 通用移动端适配 */
@media (max-width: 1068px) {
    .page-hero {
        padding: 60px 16px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .page-hero p {
        font-size: 17px;
    }

    .page-content {
        padding: 40px 16px;
    }

    .card {
        padding: 30px 24px;
    }

    .card h3 {
        font-size: 21px;
    }

    .cta h2 {
        font-size: 36px;
    }

    .cta p {
        font-size: 17px;
    }

    .cta {
        padding: 80px 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 734px) {
    .page-hero {
        padding: 50px 16px 40px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .page-content {
        padding: 30px 12px;
    }

    .card {
        padding: 24px 16px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .card h3 {
        font-size: 19px;
    }

    .card p {
        font-size: 15px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .cta p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .cta {
        padding: 60px 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 32px;
        font-size: 15px;
    }

    .btn-outline {
        padding: 10px 24px;
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .compatibility-content p {
        font-size: 17px;
    }

    .design-features {
        gap: 30px;
    }

    .design-feature-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .design-title {
        font-size: 32px;
    }

    .download-btn,
    .about-btn {
        padding: 12px 32px;
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta .download-btn,
    .hero-cta .about-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .highlight-card {
        min-height: 350px;
        padding: 24px;
    }

    .highlight-content h3 {
        font-size: 22px;
    }

    .highlight-content p {
        font-size: 15px;
    }

    .progress-content {
        padding: 20px;
    }

    .progress-card h4 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 24px;
    }

    .page-hero p {
        font-size: 14px;
    }

    .card h3 {
        font-size: 17px;
    }

    .card p {
        font-size: 14px;
    }

    .cta h2 {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .design-title {
        font-size: 26px;
    }

    .design-feature-icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }

    .design-feature p {
        font-size: 15px;
    }

    .highlight-card {
        min-height: 300px;
        padding: 20px;
    }

    .highlight-content h3 {
        font-size: 20px;
    }

    .stat-item h3 {
        font-size: 36px;
    }

    .stat-item p {
        font-size: 17px;
    }
}


/* ================================
   D.html 3D悬浮版本选择增强
================================ */

.version-cards {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
    perspective: 1400px;
    overflow: visible;
    touch-action: pan-y;
}


.version-card {
    transform-style: preserve-3d;
    will-change: transform, opacity;
    backface-visibility: hidden;
}


.version-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.35),
        transparent 40%
    );
    pointer-events: none;
}


.version-card.active {
    box-shadow:
        0 50px 100px rgba(0,0,0,.18),
        0 0 40px rgba(0,113,227,.12);
}


@media(max-width:734px){

    .version-cards {
        min-height:460px;
    }

    .version-card {
        width:85%;
        padding:30px 20px;
    }

}