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

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.4;
    color: #182341;
    background: linear-gradient(180deg, #FFFFFF 0%, #E8EFFF 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 移动端和桌面端显示控制 */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}



/* 背景装饰 */
.background-decoration {
    position: absolute;
    top: 0;
    left: 28px;
    width: 320px;
    height: 163px;
    pointer-events: none;
    opacity: 0.6;
}

/* 主要内容区域 */
.main-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 20px;
    min-height: calc(100vh - 120px);
}

/* 品牌区域 */
.brand-section {
    text-align: center;
    margin-top: 20px;
    z-index: 10;
    position: relative;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.app-icon-img {
    width: 24px;
    height: 24px;
    border-radius: 4.6px;
}

.brand-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    height: 20px;
    width: auto;
}

/* 标语区域 */
.slogan-section {
    margin: 40px 0;
}

.slogan-main, .slogan-sub {
    font-family: 'CKTKingKong', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.37;
    background: linear-gradient(135deg, #5673C0 0%, #0C2E87 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.slogan-main {
    text-align: left;
    margin-left: 50px;
}

.slogan-sub {
    text-align: right;
    margin-right: 50px;
    margin-top: 16px;
}

/* 预览区域 */
.preview-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 40px;
}

.phone-mockup {
    width: 251px;
    height: 295px;
    background: white;
    border: 10px solid white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.phone-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* 底部区域 */
.footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4.9px);
    padding: 20px 0 0;
    margin-top: auto;
}

.footer-content {
    padding: 0 20px 15px;
}

.developer-info {
    font-size: 11px;
    line-height: 1.4;
    color: #ABB2C5;
    text-align: center;
    margin: 0;
}

.developer-info .link {
    color: #1B49C2;
    text-decoration: none;
}

.developer-info .link:hover {
    text-decoration: underline;
}

/* 移动端底部指示器 */
.home-indicator {
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 13px;
}

.home-indicator::before {
    content: '';
    width: 134px;
    height: 5px;
    background: #182341;
    border-radius: 100px;
}

/* 桌面端响应式设计 */
@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
    
    body {
        padding: 0;
    }
    
    .main-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
        flex-direction: row;
        align-items: center;
        gap: 80px;
        min-height: calc(100vh - 120px);
    }
    
    .background-decoration {
        display: none;
    }
    
    .brand-section {
        flex: 1;
        text-align: left;
        margin-top: 0;
    }
    
    .logo-container {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 60px;
    }
    
    .app-icon-img {
        width: 64px;
        height: 64px;
        border-radius: 12px;
        margin-right: 20px;
    }
    
    .brand-logo {
        height: 32px;
    }
    
    .slogan-main, .slogan-sub {
        font-size: 72px;
        line-height: 1.2;
    }
    
    .slogan-main {
        text-align: left;
        margin-left: 0;
    }
    
    .slogan-sub {
        text-align: left;
        margin-right: 0;
        margin-top: 20px;
        margin-left: 80px;
    }
    
    .preview-section {
        flex: 1;
        margin-top: 0;
        display: flex;
        justify-content: center;
    }
    
    .phone-mockup {
        width: 300px;
        height: 350px;
        border-radius: 30px;
        border: 15px solid white;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
    
    .footer {
        position: relative;
        background: transparent;
        backdrop-filter: none;
        padding: 40px 0 20px;
        margin-top: 0;
    }
    
    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .developer-info {
        font-size: 12px;
    }
}

/* 大屏幕优化 */
@media (min-width: 1200px) {
    .main-content {
        gap: 120px;
        padding: 60px 20px;
    }
    
    .slogan-main, .slogan-sub {
        font-size: 84px;
    }
    
    .phone-mockup {
        width: 320px;
        height: 380px;
    }
}

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

.brand-section, .preview-section {
    animation: fadeInUp 0.8s ease-out;
}

.slogan-main {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.slogan-sub {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* 悬停效果 */
.link:hover {
    color: #0C2E87;
    transition: color 0.2s ease;
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .slogan-main, .slogan-sub {
        background: #0C2E87;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .app-screenshot {
        background: #F5F5F5;
        border: 1px solid #E0E0E0;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(180deg, #1a1a1a 0%, #0f1419 100%);
        color: #ffffff;
    }
    
    .phone-mockup {
        background: #2a2a2a;
        border-color: #2a2a2a;
    }
    
    .footer {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .developer-info {
        color: #888;
    }
    
    .home-indicator::before {
        background: #ffffff;
    }
} 