* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF2D55;
    --primary-dark: #E6264C;
    --secondary: #6C63FF;
    --text: #1A1A1A;
    --text-light: #666666;
    --background: #FFFFFF;
    --background-light: #F8FAFC;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

/* 导航栏 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero 区域 */
.hero {
    min-height: 100vh;
    padding: 120px 5% 80px;
    display: flex;
    align-items: center;
    gap: 4rem;
    background: linear-gradient(160deg, #FFF5F7 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #FF6B8B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #FFB800;
    letter-spacing: 2px;
}

/* 手机展示区域 */
.hero-right {
    flex: 1;
    position: relative;
}

.phone {
    width: 300px;
    height: 600px;
    background: white;
    border-radius: 40px;
    box-shadow: var(--shadow);
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F8FAFC;
    padding: 20px;
}

.chat {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 40px;
}

.message {
    display: flex;
    gap: 1rem;
    max-width: 80%;
}

.message.ai {
    flex-direction: row-reverse;
    margin-left: auto;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E5E7EB;
}

.avatar.ai {
    background: var(--primary);
}

.text {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.message.ai .text {
    background: var(--primary);
    color: white;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.element {
    position: absolute;
    padding: 0.8rem 1.2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 0.9rem;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
}

.element:nth-child(1) {
    top: 10%;
    left: 0;
}

.element:nth-child(2) {
    top: 40%;
    right: 0;
    animation-delay: 1s;
}

.element:nth-child(3) {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

/* 功能区域 */
.features {
    padding: 100px 5%;
    background: var(--background-light);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 下载区域 */
.download {
    padding: 100px 5%;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.download p {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--text);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.download-btn img {
    width: 24px;
    height: 24px;
}

.download-btn div {
    text-align: left;
}

.download-btn span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.download-btn strong {
    font-size: 1.1rem;
}

/* 页脚 */
footer {
    background: var(--background-light);
    padding: 2rem 5%;
    text-align: center;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
}

footer p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .phone {
        width: 280px;
        height: 560px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .download-options {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* 隐私政策页面样式 */
.policy-content {
    max-width: 1000px;
    margin: 100px auto 50px;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.policy-content h1 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 2rem;
    text-align: center;
}

.policy-intro {
    margin-bottom: 3rem;
    line-height: 1.8;
}

.policy-intro p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.policy-toc {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.policy-toc h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.policy-toc ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.policy-toc li {
    margin-bottom: 0.5rem;
}

.policy-toc a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.policy-toc a:hover {
    color: var(--primary);
}

.policy-date {
    margin-bottom: 3rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.policy-content section {
    margin-bottom: 3rem;
}

.policy-content section h2 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.section-content {
    color: var(--text-light);
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1rem;
}

.section-content ul,
.section-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.section-content li {
    margin-bottom: 0.5rem;
}

.policy-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
    color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .policy-content {
        padding: 1.5rem;
        margin: 80px 1rem 2rem;
    }

    .policy-content h1 {
        font-size: 2rem;
    }

    .policy-content section h2 {
        font-size: 1.5rem;
    }
}

