/* 乐达助手 - 美化版 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(180deg, #fef2f2 0%, #faf8f8 100%);
    color: #333;
    line-height: 1.6;
}

.page {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    padding-bottom: 40px;
}

/* 品牌头部 */
.brand {
    text-align: center;
    padding: 40px 20px 24px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.brand::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.brand img { border-radius: 16px; margin-bottom: 14px; box-shadow: 0 6px 24px rgba(0,0,0,0.25); position: relative; }
.brand h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; letter-spacing: 1px; position: relative; }
.brand p { font-size: 14px; opacity: 0.9; position: relative; }

/* Logo展示 */
.hero-logo {
    text-align: center;
    padding: 32px 0 24px;
    background: linear-gradient(180deg, #fef2f2 0%, #fff 100%);
}
.hero-logo img {
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(220,38,38,0.15);
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* 下载按钮 */
.download-btn-wrap { text-align: center; padding: 0 24px 24px; }
.btn-download {
    display: block;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
    padding: 18px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(249,115,22,0.3);
    transition: 0.2s;
    position: relative;
    overflow: hidden;
}
.btn-download::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { 0%{left:-100%} 100%{left:100%} }
.btn-download:active { transform: scale(0.97); }
.download-tip { margin-top: 12px; font-size: 13px; color: #999; }

/* 客服微信 */
.wechat-section {
    margin: 0 20px 24px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid #fca5a5;
}
.wechat-title { font-size: 15px; color: #991b1b; margin-bottom: 16px; text-align: center; font-weight: 600; }
.wechat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(220,38,38,0.08);
}
.wechat-row:last-child { margin-bottom: 0; }
.wechat-row span { font-size: 13px; color: #666; }
.wechat-row strong { font-size: 19px; color: #dc2626; letter-spacing: 1px; font-weight: 800; }
.wechat-row button {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 3px 10px rgba(220,38,38,0.25);
}
.wechat-row button:active { transform: scale(0.95); background: #b91c1c; }

/* 注册流程 */
.flow-section { padding: 28px 20px; background: #fafbfc; }
.flow-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 20px; text-align: center; color: #1e293b; }
.flow-list { margin-bottom: 18px; }
.flow-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    background: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.flow-item span {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(220,38,38,0.25);
}
.flow-item p { font-size: 14px; color: #555; padding-top: 3px; }
.flow-tip {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border: 1px solid #fbbf24;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13px;
    color: #92400e;
    text-align: center;
    font-weight: 500;
}

/* 折叠面板 */
.panel {
    margin: 0 16px 14px;
    border-radius: 14px;
    border: 1px solid #e8e8ee;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: 0.2s;
}
.panel[open] { border-color: #fca5a5; box-shadow: 0 4px 16px rgba(220,38,38,0.08); }
.panel summary {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: #333;
    transition: background 0.2s;
}
.panel summary::-webkit-details-marker { display: none; }
.panel summary:active { background: #fef2f2; }
.panel-body {
    padding: 0 18px 18px;
    font-size: 14px;
    color: #555;
}
.panel-body h3 { font-size: 15px; font-weight: 600; color: #333; margin: 16px 0 10px; }
.panel-body h3:first-child { margin-top: 0; }
.panel-body ul { list-style: none; }
.panel-body li { padding: 6px 0; border-bottom: 1px solid #f0f0f0; line-height: 1.7; }
.panel-body li:last-child { border-bottom: none; }
.panel-body p { margin-bottom: 6px; line-height: 1.7; }

.badges { display: flex; gap: 8px; margin-top: 12px; justify-content: center; }
.badges span { background: #ecfdf5; color: #065f46; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; }

/* 底部 */
.footer { text-align: center; padding: 36px 20px; font-size: 13px; color: #999; background: #fafbfc; }
.footer p:first-child { color: #555; margin-bottom: 6px; font-weight: 500; }
.copyright { font-size: 12px; }

/* Toast */
.toast {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%,-50%) scale(0.8);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: 0.3s;
    z-index: 999;
    pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* 响应式 - 大屏居中 */
@media (min-width: 641px) {
    body { padding: 20px 0; }
    .page { box-shadow: 0 0 40px rgba(220,38,38,0.1); border-radius: 20px; overflow: hidden; }
}
