/* landing.css - 分享落地页样式，大按钮、大号手机号显示，移动端适配 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f1ff 50%, #f5f7fa 100%);
    color: #1f2937;
    min-height: 100vh;
    line-height: 1.6;
}

.landing-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
}

.landing-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 560px;
}
.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.brand-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #1677ff, #4096ff);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}
.brand-name {
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
}

.landing-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(22,119,255,0.12);
    padding: 28px 24px;
    width: 100%;
    max-width: 560px;
}
.project-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 18px;
}
.project-title .dot {
    display: inline-block;
    width: 10px; height: 10px;
    background: #1677ff;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 0 0 4px rgba(22,119,255,0.15);
}

/* 信息行 */
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eef2ff;
    font-size: 14px;
    color: #4b5563;
}
.info-row:last-of-type { border-bottom: none; margin-bottom: 20px; }
.info-row .label { color: #6b7280; }
.info-row .value { font-weight: 600; color: #111827; }
.price { color: #ef4444 !important; font-size: 15px; }
.remain.unlimited { color: #10b981 !important; }

/* 手机号显示 */
.phone-box {
    margin: 24px 0;
    padding: 28px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #eaf2ff 100%);
    border: 2px dashed #bfdbfe;
    border-radius: 14px;
    text-align: center;
    position: relative;
}
.phone-number {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #1677ff;
    margin-bottom: 12px;
    word-break: break-all;
    font-family: "SF Mono", Consolas, monospace;
}
.phone-number.placeholder {
    font-size: 20px;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0;
    padding: 20px 0;
}
.phone-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #1677ff;
    color: #1677ff;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: all .15s;
}
.phone-copy-btn:hover {
    background: #1677ff;
    color: #fff;
}

/* 验证码显示 */
.code-box {
    margin: 18px 0;
    padding: 24px 20px;
    background: #f0fdf4;
    border: 2px dashed #86efac;
    border-radius: 14px;
    text-align: center;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.code-value {
    font-size: 36px;
    font-weight: 800;
    color: #059669;
    letter-spacing: 6px;
    margin-bottom: 10px;
    font-family: "SF Mono", Consolas, monospace;
}
.code-waiting {
    color: #6b7280;
    font-size: 16px;
}
.dots {
    display: inline-flex;
    gap: 5px;
    margin-left: 4px;
}
.dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #1677ff;
    animation: dotPulse 1.4s infinite ease-in-out both;
}
.dots span:nth-child(1) { animation-delay: -0.32s; }
.dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes dotPulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* 状态提示 */
.status-line {
    text-align: center;
    margin: 14px 0;
    font-size: 14px;
    color: #4b5563;
    min-height: 20px;
}
.status-line.success { color: #059669; }
.status-line.error { color: #dc2626; }
.status-line.warning { color: #b45309; }

/* 操作按钮区 */
.actions-wrap {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.btn-big {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all .15s;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-primary-big {
    background: linear-gradient(135deg, #1677ff, #4096ff);
    color: #fff;
    box-shadow: 0 6px 18px rgba(22,119,255,0.35);
}
.btn-primary-big:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(22,119,255,0.45); }
.btn-primary-big:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary-row {
    display: flex;
    gap: 10px;
}
.btn-secondary-row .btn-big {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    min-height: 48px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    color: #374151;
    box-shadow: none;
}
.btn-secondary-row .btn-big:hover {
    border-color: #1677ff;
    color: #1677ff;
}
.btn-secondary-row .btn-danger-big:hover {
    border-color: #dc2626;
    color: #dc2626;
}

/* 密码表单 */
.pwd-form { padding: 10px 0 20px; }
.pwd-form .form-group { margin-bottom: 16px; }
.pwd-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}
.pwd-form input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    transition: all .15s;
}
.pwd-form input:focus { border-color: #1677ff; box-shadow: 0 0 0 3px rgba(22,119,255,0.1); }

/* 错误页 */
.error-page {
    text-align: center;
    padding: 40px 20px;
}
.error-icon {
    font-size: 56px;
    margin-bottom: 14px;
}
.error-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}
.error-desc {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: 14px;
}

/* 页脚 */
.landing-footer {
    margin-top: 24px;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
    padding: 16px;
}

/* Toast */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-80px);
    background: rgba(17,24,39,0.92);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 9999;
    transition: transform .3s ease, opacity .3s ease;
    opacity: 0;
    pointer-events: none;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.toast.success { background: rgba(16,185,129,0.95); }
.toast.error   { background: rgba(239,68,68,0.95); }
.toast.warning { background: rgba(245,158,11,0.95); }

/* 响应式 */
@media (max-width: 480px) {
    .landing-card { padding: 22px 16px; border-radius: 14px; }
    .project-title { font-size: 18px; }
    .phone-number { font-size: 34px; }
    .code-value { font-size: 30px; letter-spacing: 4px; }
    .btn-big { font-size: 16px; min-height: 52px; }
    .btn-secondary-row { flex-direction: column; }
    .phone-box { padding: 20px 12px; }
    .code-box { padding: 18px 12px; }
}
