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

:root {
    --primary-color: #4F46E5;
    --primary-dark: #3730A3;
    --secondary-color: #7C3AED;
    --bg-color: #0F0F23;
    --bg-secondary: #1A1A2E;
    --text-color: #FFFFFF;
    --text-secondary: #A0A0B0;
    --success-color: #10B981;
    --border-radius: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 40px;
}

/* 头部 */
.header {
    text-align: center;
    padding: 40px 0 30px;
}

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

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
}

.logo-icon {
    font-size: 48px;
    line-height: 1;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 2px;
}

/* 应用展示 */
.app-showcase {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.phone-mockup {
    width: 240px;
    height: 400px;
    background: linear-gradient(145deg, var(--bg-secondary), #252540);
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.3);
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* 模拟屏幕 */
.mock-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f23 100%);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mock-header {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.mock-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-item {
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    animation: pulse 2s ease-in-out infinite;
}

.mock-item:nth-child(2) {
    animation-delay: 0.3s;
}

.mock-item:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* 功能特点 */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 30px 0;
}

.feature-item {
    text-align: center;
    padding: 20px 10px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-item h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 下载按钮 */
.download-section {
    padding: 20px 0;
    text-align: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    box-shadow: 0 10px 40px rgba(79, 70, 229, 0.4);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(79, 70, 229, 0.5);
}

.download-btn:active {
    transform: translateY(0);
}

.download-icon {
    font-size: 24px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-text strong {
    font-size: 18px;
    font-weight: 600;
}

.download-text small {
    font-size: 12px;
    opacity: 0.8;
}

.download-tip {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* 安装说明 */
.install-guide {
    padding: 30px 0;
}

.install-guide h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.guide-steps {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.step:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 联系方式 */
.contact {
    padding: 30px 0;
}

.contact h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.3s;
}

.contact-item:hover {
    background: #252540;
}

.contact-item span:first-child {
    font-size: 24px;
}

/* 底部 */
.footer {
    text-align: center;
    padding: 30px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* 弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 360px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.url-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.url-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-color);
    border-radius: 8px;
}

.url-item span {
    font-size: 13px;
    color: var(--text-color);
    word-break: break-all;
}

.url-item button {
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 12px;
}

.url-item button:hover {
    background: var(--primary-dark);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 响应式 */
@media (max-width: 360px) {
    .features {
        grid-template-columns: 1fr;
    }

    .download-btn {
        padding: 16px 32px;
    }
}
