/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background:linear-gradient(145.94deg,#8bfdff 5.36%,#fffdc6 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* background: rgba(255, 255, 255, 0.95); */
    /* backdrop-filter: blur(10px); */
    z-index: 1000;
    padding: 15px 0;
    /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); */
}

.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: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d5a87;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2d5a87;
}

/* 主页区域 */
.hero {
    min-height: 100vh;
    /* background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 30%, #0ea5e9 70%, #0284c7 100%); */
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 主标题 */
.hero-title {
    text-align: center;
    margin-bottom: 40px;
    z-index: 10;
}

.hero-title h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #1e40af;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

/* 下载按钮 */
.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    z-index: 10;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
}

.download-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
}

/* 手机展示 */
.phone-showcase {
    position: relative;
    z-index: 5;
    margin-bottom: 40px;
}

.phone-device {
    /* width: 280px;
    height: 560px; */
    width:316px;
    height:658px;
    background: #1f2937;
    border-radius: 35px;
    padding: 8px;
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.screen-header {
    padding: 15px 20px 10px;
    background: rgba(255, 255, 255, 0.1);
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 0.9rem;
}

.status-icons {
    display: flex;
    gap: 5px;
}

.screen-content {
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.app-showcase {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    backdrop-filter: blur(10px);
}

.app-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.app-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.mini-phone {
    width: 80px;
    height: 140px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin: 0 auto;
    padding: 8px;
}

.mini-screen {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}

.screen-bottom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.nav-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* 左侧角色 */
.character-left {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.character-bubble {
    background: rgba(255, 165, 0, 0.9);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.bubble-text {
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
    line-height: 1.2;
}

.character-avatar {
    width: 100px;
    height: 120px;
    position: relative;
    margin: 0 auto;
}

.avatar-body {
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 30px 30px 15px 15px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.avatar-head {
    width: 40px;
    height: 40px;
    background: #fbbf24;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.avatar-hair {
    width: 45px;
    height: 25px;
    background: #7c3aed;
    border-radius: 25px 25px 0 0;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

/* 右侧特色功能 */
.features-right {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.feature-bubble {
    background: rgba(255, 165, 0, 0.9);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.feature-bubble.bottom {
    animation-delay: 1.5s;
    position: relative;
    right: 130px;
    top: 160px;
}

/* 功能特色区域 */
.features-section {
    margin-top: 20px;
    padding: 80px 0;
    /* background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 50px 30px 16px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #0ea5e9;
}

.feature-icon {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    /* background: linear-gradient(135deg, #0ea5e9, #0284c7); */
    color: white;
    /* box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3); */
    position: absolute;
    top: -50%;
    left: 50%;
    margin-left: -65px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    /* color: #1e40af; */
    color: black;
    font-weight: bold;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 页脚 */
.footer {
    /* background: #f8fafc; */
    padding: 40px 0;
    /* border-top: 1px solid #e2e8f0; */
}

.footer-content {
    text-align: center;
}

.company-info,
.app-info {
    margin-bottom: 20px;
}

.company-info p,
.app-info p {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* 动画效果 */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title h1 {
        font-size: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .phone-device {
        width: 220px;
        height: 440px;
    }

    .character-left,
    .features-right {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title h1 {
        font-size: 1.5rem;
    }

    .phone-device {
        width: 180px;
        height: 360px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}