/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-image.small {
    height: 30px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6b9d;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* 主页横幅 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #fff5f5 0%, #f0f8ff 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-description {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.btn-secondary {
    background: white;
    color: #ff6b9d;
    border: 2px solid #ff6b9d;
}

.btn-secondary:hover {
    background: #ff6b9d;
    color: white;
    transform: translateY(-2px);
}

/* 海星场景 */
.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.elephant-scene {
    position: relative;
    width: 400px;
    height: 400px;
}

.elephant {
    position: absolute;
    transition: all 0.3s ease;
    object-fit: contain;
}

.elephant-large {
    bottom: 50px;
    left: 50px;
    width: 200px;
    height: auto;
    transform: scale(1.2);
}

.elephant-small {
    top: 50px;
    right: 50px;
    width: 120px;
    height: auto;
    transform: scale(0.8);
    /* 添加混合模式来去除白色背景 */
    mix-blend-mode: multiply;
    /* 或者使用滤镜去除白色背景 */
    filter: brightness(1.1) contrast(1.1);
}

/* 为小角色添加特殊效果 */
.elephant-small {
    /* 去除白色背景的CSS技巧 */
    mix-blend-mode: multiply;
    /* 如果背景是白色，可以用这个滤镜 */
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

.elephant-body {
    width: 120px;
    height: 80px;
    background: #ffb3d9;
    border-radius: 60px;
    position: relative;
}

.elephant-head {
    position: absolute;
    top: -40px;
    left: 20px;
}

.elephant-ears {
    display: flex;
    gap: 20px;
}

.ear {
    width: 30px;
    height: 40px;
    background: #ffb3d9;
    border-radius: 50%;
}

.elephant-face {
    position: relative;
    margin-top: 10px;
}

.elephant-eyes {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.elephant-eye {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    position: relative;
}

.elephant-eye::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
    top: 3px;
    left: 3px;
}

.elephant-trunk {
    width: 8px;
    height: 20px;
    background: #ffb3d9;
    border-radius: 4px;
    margin: 0 auto;
}

.elephant-mouth {
    width: 15px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    margin: 5px auto 0;
}

.elephant-legs {
    position: absolute;
    bottom: -20px;
    left: 20px;
    display: flex;
    gap: 15px;
}

.leg {
    width: 15px;
    height: 30px;
    background: #ffb3d9;
    border-radius: 8px;
}

.bandana {
    position: absolute;
    top: 10px;
    left: 15px;
    width: 90px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 10px;
    border: 2px solid white;
}

.party-hat {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.hat-body {
    width: 40px;
    height: 30px;
    background: white;
    border-radius: 20px 20px 0 0;
    border: 2px solid #ffb3d9;
}

.hat-pom {
    width: 12px;
    height: 12px;
    background: #87ceeb;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cloud {
    position: absolute;
    background: white;
    border-radius: 50px;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.cloud-1 {
    width: 60px;
    height: 30px;
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.cloud-2 {
    width: 40px;
    height: 20px;
    top: 80px;
    right: 40px;
    animation-delay: 1s;
}

.cloud-3 {
    width: 50px;
    height: 25px;
    bottom: 100px;
    left: 60px;
    animation-delay: 2s;
}

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

.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 40%; right: 30%; animation-delay: 0.3s; }
.sparkle:nth-child(3) { bottom: 30%; left: 40%; animation-delay: 0.6s; }
.sparkle:nth-child(4) { top: 60%; left: 60%; animation-delay: 0.9s; }
.sparkle:nth-child(5) { bottom: 50%; right: 20%; animation-delay: 1.2s; }
.sparkle:nth-child(6) { top: 80%; left: 30%; animation-delay: 1.5s; }

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* 特色功能 */
.features {
    padding: 5rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.2);
    border-color: #ffb3d9;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 关于我们 */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff5f5 0%, #f0f8ff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 300px;
}

.floating-elements {
    position: relative;
    width: 200px;
    height: 200px;
}

.floating-heart,
.floating-star,
.floating-cloud {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
}

.floating-heart {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.floating-star {
    top: 80px;
    right: 40px;
    animation-delay: 1.3s;
}

.floating-cloud {
    bottom: 40px;
    left: 60px;
    animation-delay: 2.6s;
}

/* 下载区域 */
.download {
    padding: 5rem 0;
    background: white;
}

.download-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.2);
    border-color: #ffb3d9;
}

.qr-code {
    margin-bottom: 1.5rem;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-pattern {
    width: 120px;
    height: 120px;
    background: repeating-linear-gradient(
        0deg,
        #333,
        #333 2px,
        transparent 2px,
        transparent 8px
    ),
    repeating-linear-gradient(
        90deg,
        #333,
        #333 2px,
        transparent 2px,
        transparent 8px
    );
    border-radius: 5px;
}

.app-stores {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #ff6b9d;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #ff6b9d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: #ff6b9d;
    color: white;
    transform: translateY(-2px);
}

.store-icon {
    font-size: 1.2rem;
}

.download-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.download-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6b9d;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.company-info {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.company-info a {
    color: #ff6b9d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-info a:hover {
    color: #ff8fab;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .elephant-scene {
        width: 300px;
        height: 300px;
    }
    
    .elephant-large {
        transform: scale(0.8);
        bottom: 30px;
        left: 30px;
        width: 150px;
    }
    
    .elephant-small {
        transform: scale(0.6);
        top: 30px;
        right: 30px;
        width: 90px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .elephant-scene {
        width: 250px;
        height: 250px;
    }
    
    .elephant-large {
        transform: scale(0.6);
        width: 120px;
    }
    
    .elephant-small {
        transform: scale(0.5);
        width: 70px;
    }
} 