/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a855f7;
    --secondary-color: #ec4899;
    --light-bg: #faf5ff;
    --dark-text: #1f2937;
    --light-text: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #ffffff;
}

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

/* ==================== 按钮样式 ==================== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 100%;
    padding: 14px 24px;
    margin-bottom: 12px;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.3);
}

.download-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2);
}

/* ==================== 导航栏 ==================== */
.header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 700;
    font-size: 20px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.logo-image {
    border-radius: 50%;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ==================== Hero 区域 ==================== */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(250, 245, 255, 0.8), rgba(255, 240, 245, 0.8));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    /* height: 560px; */
    aspect-ratio: 1080 / 1920;
    background: white;
    border-radius: 40px;
    border: 12px solid #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #faf5ff, #fff0f5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.phone-preview {
    /* object-fit: contain; */
}

/* ==================== 关于应用区域 ==================== */
.about-app {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-text);
}

.section-header p {
    font-size: 16px;
    color: var(--light-text);
    max-width: 500px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-item {
    padding: 32px;
    background: linear-gradient(135deg, rgba(250, 245, 255, 0.5), rgba(255, 240, 245, 0.5));
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.about-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-text);
}

.about-item p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.feature-list,
.mission-list {
    list-style: none;
    margin-left: 0;
}

.feature-list li,
.mission-list li {
    padding: 12px 0;
    color: var(--light-text);
    line-height: 1.8;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list li:last-child,
.mission-list li:last-child {
    border-bottom: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.stat-card {
    padding: 24px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--light-text);
}

/* ==================== 功能区域 ==================== */
.features {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #faf5ff);
}

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

.feature-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.feature-card p {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 14px;
}

/* ==================== 用户故事区域 ==================== */
.stories {
    padding: 80px 0;
    background: white;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.story-card {
    padding: 28px;
    background: linear-gradient(135deg, rgba(250, 245, 255, 0.5), rgba(255, 240, 245, 0.5));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.story-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.stars {
    display: block;
    margin-bottom: 16px;
    font-size: 16px;
}

.story-text {
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 14px;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.author-info p {
    margin: 0;
    line-height: 1.4;
}

.author-name {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 14px;
}

.author-role {
    color: var(--light-text);
    font-size: 12px;
}

.story-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ==================== 下载区域 ==================== */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(250, 245, 255, 0.8), rgba(255, 240, 245, 0.8));
}

.download-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.download-info-box {
    padding: 32px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.download-info-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-text);
}

.download-info-box p {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.download-features {
    list-style: none;
    margin-left: 0;
}

.download-features li {
    padding: 12px 0;
    color: var(--light-text);
    line-height: 1.8;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.download-features li:last-child {
    border-bottom: none;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.download-card {
    padding: 40px;
    background: white;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.platform-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.download-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.version-info {
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 12px;
}

.download-card p {
    color: var(--light-text);
    margin-bottom: 24px;
    font-size: 14px;
}

.qr-toggle {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.qr-toggle:hover {
    color: var(--secondary-color);
}

.download-additional {
    padding: 32px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.download-additional h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-text);
}

.download-additional p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.download-methods {
    list-style: none;
    margin-left: 0;
}

.download-methods li {
    padding: 12px 0;
    color: var(--light-text);
    line-height: 1.8;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.download-methods li:last-child {
    border-bottom: none;
}

/* ==================== FAQ 区域 ==================== */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.faq-item {
    padding: 28px;
    background: linear-gradient(135deg, rgba(250, 245, 255, 0.5), rgba(255, 240, 245, 0.5));
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.faq-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.faq-item p {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 14px;
}

/* ==================== 页脚 ==================== */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.footer-desc {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-info {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

/* ==================== 页面样式 ==================== */
.page-content {
    padding: 60px 0;
    min-height: 70vh;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--dark-text);
}

.page-text {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 24px;
}

.page-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--dark-text);
}

.page-text ul {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 24px;
}

.page-text li {
    margin-bottom: 12px;
    color: var(--light-text);
    line-height: 1.8;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-menu {
        display: none;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .features-grid,
    .stories-grid,
    .download-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .download-btn {
        padding: 12px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 28px;
    }
}
