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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #f8f0ff 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 顶部导航 */
.header {
    padding: 20px 30px;
    position: relative;
    z-index: 10;
}

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

.monk-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.monk-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.app-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.main-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sparkles {
    font-size: 20px;
    color: #64b5f6;
    animation: sparkle 2s ease-in-out infinite;
}

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

/* 手机界面容器 */
.phone-container {
    position: relative;
    margin-bottom: 24px;
}

.phone-frame {
    width: 320px;
    height: 600px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 8px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-interface-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}


/* 通用分节 */
.section {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(121, 87, 255, 0.08);
    padding: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.section-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* 联系方式 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-card {
    background: #f6f3ff;
    border: 1px solid #e7e2ff;
    border-radius: 16px;
    padding: 16px 16px 14px;
    box-shadow: 0 6px 16px rgba(121, 87, 255, 0.08);
}

.contact-card h3 {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
}

/* 更贴近移动端的列表小圆点样式 */
.contact-hint li::marker { color: #6a5acd; }

.support-email {
    color: #6a5acd;
    text-decoration: none;
}

.support-email:hover { text-decoration: underline; }

.contact-hint {
    margin-top: 8px;
    padding-left: 18px;
    color: #555;
}

.contact-hint li { margin: 6px 0; line-height: 1.7; }

.cta-button {
    display: inline-block;
    margin-top: 8px;
    background: #6a5acd;
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
}

.cta-button:hover { background: #5a4ac7; color: #fff !important; }

.support-hours { font-size: 12px; color: #666; margin-top: 8px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: #f9f8ff;
    border: 1px solid #ece8ff;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(121, 87, 255, 0.06);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #333;
    list-style: none;
    padding: 14px 16px;
    background: #ffffff;
    position: relative;
    user-select: none;
}

.faq-item p { margin: 0 16px 14px 16px; color: #555; line-height: 1.7; }

/* FAQ 折叠箭头 */
.faq-item summary::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #8a7bff;
    border-bottom: 2px solid #8a7bff;
    transform: translateY(-50%) rotate(-45deg);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

/* 关于 */
.about-list { padding-left: 18px; color: #555; line-height: 1.8; }
.about-list li { margin: 6px 0; }

/* 基本文字与链接统一样式，贴近移动端视觉 */
.section p, .section li { font-size: 14px; }
.section a { color: #6a5acd; text-decoration: none; }
.section a:hover { text-decoration: underline; }
.section strong { color: #2f2f2f; }

/* 底部区域 */
.footer {
    background: #A698FE;
    padding: 40px 30px 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: #A698FE;
    border-radius: 50%;
    opacity: 0.3;
}

.footer::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: #A698FE;
    border-radius: 50%;
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer .monk-icon {
    width: 36px;
    height: 36px;
}

.footer .monk-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.footer .app-name {
    font-size: 20px;
    color: #333;
    font-weight: 700;
}

.registration-info {
    color: #333;
    font-size: 12px;
}

.record-number {
    color: #333;
    font-size: 12px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-title {
        font-size: 28px;
    }
    
    .phone-frame {
        width: 300px;
        height: 560px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 20px;
    }
    
    .main-content {
        padding: 0 20px;
    }
    
    .main-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .phone-frame {
        width: 280px;
        height: 520px;
    }
    
    .footer {
        padding: 30px 20px 20px;
    }
    
    .record-number {
        flex-direction: column;
        gap: 5px;
    }
}

/* 动画效果 */
@keyframes tap {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.tap-animation {
    animation: tap 0.2s ease-in-out;
}

/* 点击波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
