:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --text-color: #2C3E50;
    --background-color: #1C1C1E;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #FFFFFF;
    background-color: var(--background-color);
}

/* 二维码悬浮区域样式 */
.qr-hover-area {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.qr-code {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qr-hover-area:hover .qr-code {
    display: block;
}

/* 首屏样式 */
.hero-section {
    height: 100vh;
    max-height: 800px;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(28,28,30,1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    padding: 0;
    animation: fadeIn 1s ease-out;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.logo-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    animation: float 3s ease-in-out infinite;
    border-radius: 25px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* 核心功能样式 */
.features {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(28,28,30,0.8) 0%, rgba(28,28,30,1) 100%);
    position: relative;
}

.features h2 {
    font-size: 36px;
    margin-bottom: 60px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.1);
}

.feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(255,107,107,0.3));
}

.feature-item h3 {
    font-size: 20px;
    margin: 20px 0 15px;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* 产品优势样式 */
.advantages {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    position: relative;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 80px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 24px;
    padding: 60px;
    margin-bottom: 60px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.advantage-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
}

.advantage-image {
    flex: 1;
    max-width: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    position: relative;
}

.advantage-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    aspect-ratio: 9/19;
}

.advantage-content {
    flex: 1;
    max-width: 50%;
    z-index: 1;
    padding: 20px 0;
}

.advantage-item.left {
    flex-direction: row;
}

.advantage-item.reverse {
    flex-direction: row-reverse;
}

.advantage-content h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.advantage-content p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    font-size: 16px;
    max-width: 90%;
    margin: 0 auto;
}

/* 页脚样式 */
footer {
    background: #2C3E50;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links .divider {
    color: rgba(255,255,255,0.3);
}

footer a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        padding: 20px;
    }
    
    .logo-wrapper {
        width: 150px;
        height: 150px;
        border-radius: 25px;
        padding: 15px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }
    
    .advantage-item {
        flex-direction: column !important;
        padding: 30px;
        gap: 40px;
        margin-bottom: 30px;
    }
    
    .advantage-image {
        max-width: 280px;
        margin: 0 auto;
        border-radius: 15px;
    }
    
    .advantage-image img {
        border-radius: 15px;
        aspect-ratio: 9/19;
    }
    
    .advantage-content {
        text-align: center;
        max-width: 100%;
        padding: 0;
    }
    
    .advantage-content h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .advantage-content p {
        max-width: 100%;
        padding: 0 15px;
        font-size: 15px;
    }
    
    .qr-hover-area {
        top: 10px;
        right: 10px;
    }
    
    .logo-image {
        border-radius: 20px;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
}

/* 新增动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-item, .advantage-item {
    animation: fadeIn 0.6s ease-out forwards;
}

/* 为功能图标添加特殊样式 */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--primary-color);
    background: rgba(255,107,107,0.1);
    border-radius: 15px;
    padding: 15px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

/* 二维码占位样式 */
.qr-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
}

.slide-content {
    z-index: 2;
    position: relative;
    text-align: center;
}

.app-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-weight: 700;
}

.subtitle {
    font-size: 24px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.subtitle span {
    margin: 0 10px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .app-name {
        font-size: 24px;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 18px;
        padding: 0 20px;
        line-height: 1.6;
        gap: 15px;
    }
}

/* 添加渐变背景效果 */
.advantage-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
}

/* 添加图片悬停效果 */
.advantage-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.1));
    pointer-events: none;
    border-radius: 20px;
}

.advantage-item:hover .advantage-image img {
    transform: scale(1.02);
    transition: all 0.6s ease;
}

@media (max-width: 768px) {
    .advantage-image::after {
        border-radius: 15px;
    }
}

/* 联系信息样式 */
.contact-info {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.contact-info p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin-bottom: 15px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255,107,107,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255,107,107,0.2);
    transform: translateY(-2px);
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-info {
        margin-top: 30px;
        padding: 15px;
    }
    
    .contact-links {
        gap: 15px;
    }
    
    .contact-link {
        padding: 8px 15px;
        font-size: 14px;
    }
} 