/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

/* Main Layout - 上下分割 */
body {
    display: flex;
    flex-direction: column;
}

/* 主内容区域 (上半部分) */
.main-content {
    flex: 1;
    display: flex;
    height: calc(100vh - 80px); /* 减去底部信息的高度 */
}

/* 左侧图片区域 */
.image-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.3) 70%,
        rgba(0,0,0,0.8) 100%
    );
}

/* 右侧内容区域 */
.content-section {
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.content-container {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

/* Brand Section */
.brand-section {
    margin-bottom: 60px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.colorby-logo {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    object-fit: contain;
}

.brand-title {
    font-size: 54px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.tagline {
    font-size: 20px;
    color: #888;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Download Section */
.download-section {
    display: flex;
    justify-content: center;
}

.app-store-button {
    display: inline-block;
    text-decoration: none;
}

.store-badge {
    height: 80px;
    width: auto;
    transition: transform 0.2s ease;
    border-radius: 12px;
}

.store-badge:hover {
    transform: scale(1.05);
}

/* 底部信息区域 (下半部分) */
.footer-section {
    height: 80px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
}

.footer-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-section p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

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

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

.footer-links a:hover {
    color: #999;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-section {
        padding: 30px;
    }
    
    .brand-title {
        font-size: 48px;
    }
    
    .subtitle {
        font-size: 32px;
    }
    
    .colorby-logo {
        width: 54px;
        height: 54px;
        margin-right: 18px;
    }
    
    .store-badge {
        height: 70px;
    }
}

@media (max-width: 1024px) {
    body {
        overflow-y: auto;
    }
    
    .main-content {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 80px);
    }
    
    .image-section {
        height: 50vh;
        flex: none;
    }
    
    .content-section {
        flex: none;
        min-height: 50vh;
        padding: 40px 30px;
    }
    
    .brand-section {
        margin-bottom: 40px;
    }
    
    .brand-title {
        font-size: 42px;
    }
    
    .subtitle {
        font-size: 28px;
    }
    
    .tagline {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .image-section {
        height: 40vh;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .footer-section {
        height: auto;
        padding: 20px;
        justify-content: center;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-container {
        margin-bottom: 25px;
    }
    
    .brand-title {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 24px;
    }
    
    .tagline {
        font-size: 16px;
    }
    
    .colorby-logo {
        width: 48px;
        height: 48px;
        margin-right: 16px;
    }
    
    .store-badge {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 25px 15px;
    }
    
    .footer-section {
        padding: 15px;
    }
    
    .brand-title {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 22px;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .colorby-logo {
        width: 44px;
        height: 44px;
        margin-right: 14px;
    }
    
    .brand-section {
        margin-bottom: 35px;
    }
    
    .store-badge {
        height: 55px;
    }
}

/* Smooth Transitions */
.content-container * {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-container > * {
    animation: fadeIn 0.8s ease forwards;
}

.brand-section {
    animation-delay: 0.1s;
}

.download-section {
    animation-delay: 0.2s;
} 