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

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: url('../assets/images/bg-gradient3771b792f07347711d68.png') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
}

/* 主容器 */
.main-container {
    display: flex;
    height: auto;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px 80px 80px;
    gap: 20px;
    align-items: flex-start;
}

/* 左侧主要内容 */
.hero-section {
    min-width: 600px;
    max-width: 600px;
    padding: 0;
    align-self: flex-start;
    flex-shrink: 0;
}

/* Logo区域 */
.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
}

/* 主标题 */
.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.title-line {
    display: block;
    margin-bottom: 10px;
}

/* 下载按钮区域 */
.download-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    justify-content: center;
    text-decoration: none;
}

.ios-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.android-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* 二维码 */
.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
    position: relative;
    cursor: pointer;
}

.qr-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.qr-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* 二维码弹窗 */
.qr-popup {
    position: absolute;
    top: -20px;
    left: 100%;
    margin-left: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.qr-popup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid white;
}

.qr-popup-image {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    display: block;
}

/* 悬停效果 - 仅PC端 */
@media (hover: hover) {
    .qr-code:hover .qr-popup {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .qr-code:hover .qr-image {
        transform: scale(1.05);
    }
}

/* 移动端点击打开大图 */
@media (hover: none) {
    .qr-code {
        cursor: pointer;
    }
    
    .qr-code:active .qr-image {
        transform: scale(0.95);
    }
    
    .qr-popup {
        display: none;
    }
    
    .qr-text {
        position: relative;
    }
    
    .qr-text::after {
        content: '（点击查看大图）';
        font-size: 10px;
        color: #999;
        margin-left: 5px;
    }
}

/* 底部信息 */
.app-info {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.developer {
    font-weight: 500;
    margin-bottom: 5px;
}

.version {
    margin-bottom: 10px;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #333;
}

.separator {
    color: #ccc;
}

/* 右侧手机展示 */
.phone-display {
    position: relative;
    flex: 1;
    height: auto;
    flex-shrink: 0;
}

.phone-mockup {
    position: relative;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    width: 90%;
    display: flex;
    align-items: flex-start;
}

.phone-frame {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.35));
    border-radius: 30px;
}

/* 内容区域 */
.content-section {
    background: #fff;
    padding: 80px 0;
    width: 100%;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
}

/* 移动端界面展示 */
.mobile-showcase {
    flex: 1;
    max-width: 400px;
}

.mobile-interface {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 内容信息 */
.content-info {
    flex: 1;
    max-width: 600px;
}

.feature-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 30px;
}

.feature-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-section .section-title {
    margin-bottom: 30px;
}

.about-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.contact-info {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* 底部版权 */
.footer {
    background: #2c3e50;
    color: #bdc3c7;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-content p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .main-container {
        gap: 20px;
        padding: 0 40px 40px 40px;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .content-container {
        gap: 40px;
        padding: 0 40px;
    }
    
    .hero-section {
        min-width: 500px;
        max-width: 500px;
    }
    
    .phone-mockup {
        max-width: 600px;
        top: 70px;
        width: 85%;
    }
}

@media (max-width: 768px) {
    /* 移动端布局 */
    .main-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px 20px 20px 20px;
        text-align: center;
        align-items: center;
        height: auto;
    }
    
    .hero-section {
        order: 2;
        min-width: auto;
        max-width: 100%;
        padding: 0;
        align-self: center;
    }
    
    .phone-display {
        order: 1;
        max-width: 550px;
        margin-bottom: 20px;
        margin-top: 0;
        height: auto;
        position: relative;
        flex: none;
    }
    
    .phone-mockup {
        position: relative;
        top: 0;
        left: auto;
        transform: none;
        align-items: center;
        width: 100%;
    }
    
    .logo-container {
        justify-content: center;
        margin-bottom: 40px;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .hero-title {
        font-size: 42px;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .download-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .download-btn {
        width: 100%;
        max-width: 250px;
        padding: 18px 30px;
        font-size: 16px;
    }
    
    .qr-code {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .qr-image {
        width: 100px;
        height: 100px;
    }
    
    /* 内容区域移动端 */
    .content-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding: 0 20px;
    }
    
    .mobile-showcase {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .content-info {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 20px;
    }
    
    .feature-desc,
    .about-desc {
        font-size: 15px;
        text-align: left;
    }
    
    .app-info {
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .download-btn {
        padding: 16px 25px;
        font-size: 15px;
    }
    
    .phone-display {
        max-width: 450px;
    }
    
    .mobile-showcase {
        max-width: 260px;
    }
    
    .phone-mockup {
        max-width: 380px;
        height: auto;
        align-items: center;
    }
    
    .footer-content p {
        font-size: 12px;
    }
}

/* 特殊效果 */
.hero-section {
    animation: fadeInUp 0.8s ease-out;
}

.phone-display {
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.content-info {
    animation: fadeInLeft 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
