/* 自定义字体 */
@font-face {
    font-family: 'DeliusSwashCaps';
    src: url('assets/delius_swash_caps.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 遮罩层 */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.overlay.active {
    display: block;
}

/* 全局样式 */
:root {
    --primary-color: #67DFFE;
    --secondary-color: #FEBA44;
    --text-color: #1d1d1f;
    --text-color-secondary: #86868b;
    --background-color: #ffffff;
    --section-spacing: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 顶部标题栏 */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-logo {
    height: 48px;
    width: auto;
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-name {
    font-family: 'DeliusSwashCaps', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    font-size: 2.4rem;
    font-weight: normal;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 主要内容区域 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 功能概述 */
.app-intro {
    max-width: 800px;
    margin: 0 auto var(--section-spacing);
    padding: var(--section-spacing) 1rem 0;
}

.intro-content {
    text-align: left;
    max-width: 720px;
    margin: 0 auto;
}

.app-intro h2 {
    color: var(--text-color);
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.pain-points {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.pain-points li {
    font-size: 1.2rem;
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-left: 1.8rem;
    position: relative;
}

.pain-points li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--secondary-color);
    font-size: 1.4rem;
    line-height: 1;
}

.personal-note {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(to right, rgba(103, 223, 254, 0.1), rgba(254, 186, 68, 0.1));
    border-radius: 12px;
}

/* 功能展示部分 */
.features {
    margin-bottom: var(--section-spacing);
}

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

.feature-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #f5f5f7;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: scale(1.02);
}

.feature-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

/* 下载部分 */
.download {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(165deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 24px;
    margin: 2rem 0 var(--section-spacing);
    overflow: hidden;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    transform: skewY(-5deg);
}

.download h2 {
    color: white;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

.download-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: relative;
}

/* 下载按钮基础样式 */
.store-link, .qr-container {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    display: inline-block;
}

.store-link:hover, .qr-container:hover {
    background-color: white;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

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

.qr-container {
    position: relative;
}

.qr-text {
    color: white;
    pointer-events: none;
}

/* 桌面端二维码样式 */
@media (min-width: 769px) {
    .qr-code {
        position: absolute;
        width: 180px;
        height: auto;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%) scale(0.8);
        opacity: 0;
        transition: all 0.3s ease;
        border-radius: 8px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        border: 4px solid white;
        background: white;
        pointer-events: none;
        z-index: 1001;
    }

    .qr-code.active {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    .qr-container:hover .qr-code {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* 移动端样式 */
@media (max-width: 768px) {
    :root {
        --section-spacing: 80px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .app-intro {
        padding: calc(var(--section-spacing) / 2) 1rem 0;
    }

    .app-intro h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .pain-points li {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .personal-note {
        font-size: 1.1rem;
        padding: 1.2rem;
    }

    .download {
        padding: 3rem 1rem;
        margin: 1rem;
    }

    .download h2 {
        font-size: 2rem;
    }

    .download-options {
        flex-direction: column;
        gap: 2rem;
    }

    /* 移动端按钮样式 */
    .store-link, .qr-container {
        width: 80%;
        max-width: 300px;
    }

    /* 移动端二维码样式 */
    .qr-code {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 280px;
        height: auto;
        background-color: white;
        padding: 1rem;
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        border: 4px solid white;
        z-index: 1001;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .qr-code.active {
        display: block;
        opacity: 1;
    }

    /* 移动端禁用悬停效果 */
    .qr-container:hover .qr-code {
        display: none;
        opacity: 0;
    }
}

/* 底部链接 */
footer {
    background-color: #f5f5f7;
    padding: 3rem 2rem;
    margin-top: var(--section-spacing);
}

.footer-links {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-links a img {
    width: 10px;  /* 调整图标大小 */
    height: auto;
    margin-right: 2px;
}

.footer-links a:hover {
    color: var(--text-color);
} 