/* ===== Landing Page Styles =====
 *
 * 网站总首页（未登录访客看到的宣传页）的样式。
 * 参考 up.sc.cn 的落地页结构，配色统一走 app.css 里的 CSS 变量
 * （--primary / --border-color / --text-main / --bs-primary-rgb 等），
 * 所以换主色时这里不用改。
 *
 * 只有首页会加载这个文件；后台与工作台不受影响。
 */

/* 首页外壳：居中正文列，宽度与参考站一致 */
.landing-wrap {
    max-width: 960px;
    margin: 0 auto;
}

/* 首页整体背景：比后台的灰底更亮一点，和落地页的浅色卡片更搭 */
body.landing-page {
    background:
        radial-gradient(900px 420px at 50% -80px, rgba(var(--bs-primary-rgb), .07), transparent 70%),
        #f8fafc;
}

.landing-container {
    max-width: 1100px;
    padding: 20px 20px 0;
}

/* Scroll-triggered Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.anim-ready { opacity: 0; transform: translateY(24px); }
.anim-in { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.anim-delay-1 { animation-delay: 0.08s; }
.anim-delay-2 { animation-delay: 0.16s; }
.anim-delay-3 { animation-delay: 0.24s; }
.anim-delay-4 { animation-delay: 0.32s; }
.anim-delay-5 { animation-delay: 0.40s; }
.anim-delay-6 { animation-delay: 0.48s; }

/* Navbar */
.landing-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; margin-bottom: 0; position: sticky; top: 0; z-index: 100;
    background: rgba(248,250,252,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.landing-nav.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.landing-nav .nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1.15rem; color: var(--text-main); text-decoration: none;
}
.landing-nav .nav-brand .brand-icon {
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 8px rgba(var(--bs-primary-rgb), 0.25);
}
.landing-nav .nav-brand .brand-icon i { color: #fff; font-size: 16px; }
.landing-nav .nav-actions { display: flex; gap: 8px; align-items: center; }
.landing-nav .btn-nav {
    padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 0.82rem;
    text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.landing-nav .btn-nav-ghost { color: var(--text-muted); background: transparent; }
.landing-nav .btn-nav-ghost:hover { color: var(--primary); background: var(--primary-light); }
.landing-nav .btn-nav-solid {
    color: #fff; background: var(--primary); box-shadow: 0 3px 10px rgba(var(--bs-primary-rgb), 0.25);
}
.landing-nav .btn-nav-solid:hover { background: var(--primary-hover); transform: translateY(-1px); color: #fff; }

/* Hero */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(4deg); }
}
@keyframes float-med {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
}
@keyframes float-fast {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.1); }
}
@keyframes status-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes tag-glow {
    0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    50% { box-shadow: 0 4px 16px rgba(var(--bs-primary-rgb), 0.1); }
}
.landing-hero {
    text-align: center;
    padding: 56px 20px 32px;
    position: relative; overflow: hidden;
}
/* Subtle dot grid background */
.hero-grid-bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image: radial-gradient(rgba(var(--bs-primary-rgb), 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
}
/* Decorative floating shapes */
.hero-decor {
    position: absolute; pointer-events: none; z-index: 0;
}
.hero-decor-1 {
    width: 72px; height: 72px; top: 20%; left: 4%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(59,130,246,0.06));
    animation: float-slow 7s ease-in-out infinite;
    filter: blur(1px);
}
.hero-decor-2 {
    width: 44px; height: 44px; top: 12%; right: 7%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(6,182,212,0.14), rgba(var(--bs-primary-rgb), 0.05));
    animation: float-med 5.5s ease-in-out infinite 0.8s;
}
.hero-decor-3 {
    width: 32px; height: 32px; bottom: 28%; right: 10%;
    border-radius: 8px; transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(239,68,68,0.06));
    animation: float-slow 8s ease-in-out infinite 1.5s;
}
.hero-decor-4 {
    width: 20px; height: 20px; top: 45%; left: 10%;
    border-radius: 50%;
    border: 2px solid rgba(var(--bs-primary-rgb), 0.12);
    animation: float-fast 4s ease-in-out infinite 0.3s;
}
.hero-decor-5 {
    width: 52px; height: 52px; bottom: 18%; left: 7%;
    border-radius: 14px; transform: rotate(-15deg);
    border: 2px solid rgba(6,182,212,0.1);
    animation: float-med 6s ease-in-out infinite 2s;
}
.landing-hero h1 {
    font-size: 2.8rem; font-weight: 800; color: var(--text-main);
    letter-spacing: -0.04em; margin-bottom: 20px; line-height: 1.1;
    animation: fadeUp 0.7s 0.05s both cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; z-index: 1;
}
.landing-hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary), #2563eb, #06b6d4, var(--primary));
    background-size: 300% 300%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}
/* Hero 副标题：出站点设置里的「副标题」 */
.landing-hero .hero-lead {
    max-width: 560px; margin: 0 auto 24px;
    color: var(--text-muted); font-size: 1rem; line-height: 1.7;
    position: relative; z-index: 1;
    animation: fadeUp 0.7s 0.1s both cubic-bezier(0.16, 1, 0.3, 1);
}
.landing-hero .hero-tags {
    display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 24px;
    animation: fadeUp 0.7s 0.12s both cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; z-index: 1;
}
.landing-hero .hero-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 16px; border-radius: 10px; font-size: 0.78rem; font-weight: 600;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: var(--text-main); border: 1px solid var(--border-color);
    transition: all 0.25s;
    animation: tag-glow 4s ease-in-out infinite;
}
.landing-hero .hero-tag:nth-child(2) { animation-delay: 1.3s; }
.landing-hero .hero-tag:nth-child(3) { animation-delay: 2.6s; }
.landing-hero .hero-tag:hover {
    border-color: var(--primary); color: var(--primary);
    box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), 0.15);
    transform: translateY(-2px);
}
.landing-hero .hero-tag i { font-size: 15px; color: var(--primary); }
.landing-hero .hero-actions {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.7s 0.2s both cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; z-index: 1;
}
.landing-hero .btn-hero {
    padding: 13px 28px; border-radius: 12px; font-weight: 600; font-size: 0.92rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none;
    display: inline-flex; align-items: center;
}
.landing-hero .btn-hero-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    color: #fff; border: none;
    box-shadow: 0 6px 20px -3px rgba(var(--bs-primary-rgb), 0.4);
}
.landing-hero .btn-hero-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px -4px rgba(var(--bs-primary-rgb), 0.5);
    color: #fff;
}
.landing-hero .btn-hero-outline {
    background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); color: var(--text-main);
    border: 1.5px solid var(--border-color);
}
.landing-hero .btn-hero-outline:hover {
    border-color: var(--primary); color: var(--primary);
    transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
/* Mock card status dot */
.mock-status-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #10b981;
    display: inline-block; animation: status-blink 2s infinite;
}
.mock-tag-link {
    background: linear-gradient(135deg, #dbeafe, #ede9fe); color: #4338ca;
}
/* Stats strip
 * 注意类名用 landing-stats 而不是 hero-stats：app.css 里的 .hero-stats 是后台
 * 仪表盘那条蓝色渐变横幅，同名会把这个浅色数据条也染成蓝底白字（踩过）。 */
.landing-stats {
    display: flex; justify-content: center; align-items: center; gap: 0;
    margin-top: 24px; position: relative; z-index: 1;
    animation: fadeUp 0.8s 0.5s both cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-stat {
    display: flex; flex-direction: column; align-items: center; padding: 0 28px;
}
.hero-stat .stat-num {
    font-size: 1.2rem; font-weight: 800; color: var(--text-main);
    letter-spacing: -0.02em; line-height: 1;
}
.hero-stat .stat-label {
    font-size: 0.68rem; color: var(--text-muted); margin-top: 4px; font-weight: 500;
}
.hero-stat-divider {
    width: 1px; height: 28px; background: var(--border-color);
}

/* Mock Upload UI */
.mock-upload-card {
    max-width: 640px; margin: 36px auto 0;
    background: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: 14px; box-shadow: 0 24px 64px -16px rgba(0,0,0,0.1);
    overflow: hidden; position: relative;
    animation: fadeUp 0.8s 0.4s both cubic-bezier(0.16, 1, 0.3, 1);
}
.mock-upload-header {
    display: flex; align-items: center; gap: 7px;
    padding: 12px 18px; border-bottom: 1px solid #f1f5f9; background: #fafbfc;
}
.mock-upload-header .dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-upload-body {
    padding: 36px 24px 28px; text-align: center; position: relative;
    border: 2px dashed #e2e8f0; border-radius: 10px;
    margin: 16px; background: #fafcff;
}
.mock-upload-body .mock-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 14px; font-size: 26px;
    position: relative;
}
.mock-upload-body .mock-icon::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid rgba(var(--bs-primary-rgb), 0.15);
    animation: pulse-ring 2.5s infinite;
}
.mock-upload-body h6 { font-weight: 700; color: var(--text-main); margin-bottom: 5px; font-size: 0.9rem; }
.mock-upload-body p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.mock-upload-footer {
    display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid #f1f5f9;
    background: var(--surface); flex-wrap: wrap;
}
.mock-tag {
    padding: 5px 11px; border-radius: 7px; font-size: 0.7rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 4px;
}

/* Trust strip */
.trust-strip {
    display: flex; justify-content: center; align-items: center; gap: 28px;
    flex-wrap: wrap; padding: 16px 0 18px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}
.trust-strip .trust-item {
    display: flex; align-items: center; gap: 7px;
    color: var(--text-muted); font-size: 0.82rem; font-weight: 500;
    transition: color 0.2s;
}
.trust-strip .trust-item:hover { color: var(--text-main); }
.trust-strip .trust-item i { font-size: 1rem; color: #10b981; }

/* Section Shared */
.landing-section { padding: 0 0 60px; }
.landing-section .section-label {
    text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 0.75rem; font-weight: 700; color: var(--primary);
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
}
.landing-section .section-title {
    text-align: center; font-size: 1.6rem; font-weight: 800;
    margin-bottom: 10px; color: var(--text-main); letter-spacing: -0.02em;
}
.landing-section .section-desc {
    text-align: center; color: var(--text-muted); margin-bottom: 36px; font-size: 0.92rem;
    max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* Feature Cards */
.feature-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px;
    padding: 26px 20px; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    height: 100%; position: relative; overflow: hidden;
}
.feature-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), #3b82f6); opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px -8px rgba(0,0,0,0.09);
    border-color: transparent;
}
.feature-card:hover::after { opacity: 1; }
.feature-card:hover .feature-icon { transform: scale(1.08); }
.feature-card .feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; font-size: 20px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card h5 { font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; color: var(--text-main); }
.feature-card p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Flow section */
.flow-section {
    background: linear-gradient(180deg, var(--surface) 0%, var(--card-bg) 100%);
    border-radius: 18px; padding: 44px 24px; margin-bottom: 60px;
    border: 1px solid #f1f5f9;
}
.flow-steps {
    display: flex; justify-content: center; align-items: stretch; gap: 16px; flex-wrap: wrap;
    max-width: 720px; margin: 0 auto;
}
.flow-step {
    flex: 1; min-width: 170px; text-align: center; padding: 24px 16px 20px;
    background: var(--card-bg); border-radius: 14px; border: 1px solid var(--border-color);
    transition: all 0.25s; position: relative;
}
.flow-step:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
.flow-step .step-badge {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 0.65rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 8px rgba(var(--bs-primary-rgb), 0.3);
}
.flow-step .step-icon {
    font-size: 26px; color: var(--primary); margin-bottom: 10px;
}
.flow-step h6 { font-weight: 700; font-size: 0.84rem; margin-bottom: 4px; color: var(--text-main); }
.flow-step p { font-size: 0.73rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.flow-arrow {
    display: flex; align-items: center; color: #cbd5e1; font-size: 18px;
    padding-top: 14px;
}

/* Tiers */
.tier-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px;
    padding: 28px 22px 24px; text-align: center; height: 100%;
    transition: all 0.3s; position: relative; overflow: hidden;
}
.tier-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.tier-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(var(--bs-primary-rgb), 0.1);
    background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.06) 0%, var(--card-bg) 40%);
}
.tier-card.featured::before {
    content: '推荐'; position: absolute; top: 0; right: 0;
    background: var(--primary); color: #fff; padding: 4px 12px 4px 14px;
    border-radius: 0 14px 0 10px; font-size: 0.66rem; font-weight: 700;
}
.tier-card .tier-icon {
    width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.tier-card h5 { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; color: var(--text-main); }
.tier-card .tier-price { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 16px; }
.tier-card ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.tier-card ul li {
    font-size: 0.8rem; color: var(--text-muted); padding: 7px 0;
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid var(--border-color);
}
.tier-card ul li:last-child { border-bottom: none; }
.tier-card ul li i { color: #10b981; font-size: 13px; flex-shrink: 0; }

/* Tech grid */
.tech-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.tech-item {
    display: flex; align-items: center; gap: 12px;
    padding: 16px; background: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: 12px; transition: all 0.25s;
}
.tech-item:hover { border-color: rgba(var(--bs-primary-rgb), 0.3); box-shadow: 0 4px 14px rgba(var(--bs-primary-rgb), 0.05); transform: translateY(-1px); }
.tech-item .tech-icon {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.tech-item .tech-content h6 { font-weight: 700; font-size: 0.82rem; margin-bottom: 2px; color: var(--text-main); }
.tech-item .tech-content p { font-size: 0.76rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* FAQ - Accordion */
.faq-item {
    border-bottom: 1px solid #f1f5f9; overflow: hidden;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    display: flex; align-items: center; gap: 10px; padding: 16px 0;
    cursor: pointer; user-select: none; transition: color 0.2s;
}
.faq-question:hover { color: var(--primary); }
.faq-question h6 {
    font-weight: 700; font-size: 0.88rem; color: inherit; margin: 0;
    flex: 1; display: flex; align-items: center; gap: 8px;
}
.faq-question h6 i { color: var(--primary); font-size: 15px; flex-shrink: 0; }
.faq-question .faq-chevron {
    font-size: 14px; color: var(--text-muted); transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p {
    font-size: 0.8rem; color: var(--text-muted); margin: 0; padding: 0 0 16px 28px; line-height: 1.7;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 50%, #0ea5e9 100%);
    border-radius: 18px; padding: 52px 32px; text-align: center; color: #fff;
    margin-bottom: 28px; position: relative; overflow: hidden;
}
.cta-section::after {
    content: ''; position: absolute; right: -60px; bottom: -60px;
    width: 220px; height: 220px; background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.cta-section::before {
    content: ''; position: absolute; left: -40px; top: -40px;
    width: 160px; height: 160px; background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.cta-section h3 { font-weight: 800; font-size: 1.5rem; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-section p { opacity: 0.9; margin-bottom: 26px; font-size: 0.9rem; position: relative; z-index: 1; max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-section .btn-cta {
    background: var(--card-bg); color: var(--primary); border: none; padding: 13px 34px;
    border-radius: 999px; font-weight: 700; font-size: 0.95rem;
    transition: all 0.3s; position: relative; z-index: 1;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.cta-section .btn-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 32px rgba(0,0,0,0.18); color: var(--primary); }

/* Footer */
.landing-footer {
    text-align: center; padding: 24px 0 36px;
    color: var(--text-muted); font-size: 0.76rem;
    border-top: 1px solid var(--border-color);   /* 跟着主题走，深色模式下才看得见 */
}
.landing-footer a { color: var(--primary); text-decoration: none; font-weight: 500; }
.landing-footer a:hover { text-decoration: underline; }
/* 自义代码可能带统计图标 / 备案号，统一一下行高与换行，别把版面撑歪 */
.landing-footer-code { line-height: 2; word-break: break-word; }
.landing-footer-code img { vertical-align: middle; max-height: 20px; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Responsive - Tablet */
@media (max-width: 767.98px) {
    .hero-decor { display: none; }
    .hero-grid-bg { display: none; }
    .landing-hero { padding: 32px 16px 20px; }
    .landing-hero h1 { font-size: 2rem; margin-bottom: 16px; }
    .landing-hero .hero-tags { gap: 8px; margin-bottom: 18px; }
    .landing-hero .hero-tag { padding: 6px 12px; font-size: 0.72rem; border-radius: 8px; }
    .landing-hero .btn-hero { padding: 12px 22px; font-size: 0.85rem; width: 100%; justify-content: center; border-radius: 10px; }
    .landing-hero .hero-actions { flex-direction: column; gap: 10px; max-width: 260px; margin: 0 auto; }
    .landing-stats { margin-top: 18px; gap: 0; }
    .hero-stat { padding: 0 18px; }
    .hero-stat .stat-num { font-size: 1rem; }
    .hero-stat .stat-label { font-size: 0.62rem; }
    .hero-stat-divider { height: 22px; }
    .trust-strip { gap: 10px; padding: 12px 0 14px; margin-bottom: 16px; }
    .trust-strip .trust-item { font-size: 0.75rem; gap: 5px; }
    .trust-strip .trust-item i { font-size: 0.9rem; }
    .flow-arrow { display: none; }
    .flow-steps { gap: 10px; }
    .flow-step { min-width: 100%; padding: 18px 16px 16px; }
    .flow-step .step-icon { font-size: 22px; }
    .cta-section { padding: 32px 18px; border-radius: 14px; }
    .cta-section h3 { font-size: 1.2rem; }
    .cta-section p { font-size: 0.82rem; }
    .cta-section .btn-cta { padding: 12px 28px; font-size: 0.88rem; }
    .mock-upload-card { margin: 20px auto 0; border-radius: 12px; }
    .mock-upload-body { padding: 24px 14px 18px; margin: 10px; }
    .mock-upload-body .mock-icon { width: 50px; height: 50px; font-size: 22px; }
    .mock-upload-body h6 { font-size: 0.82rem; }
    .mock-upload-body p { font-size: 0.72rem; }
    .mock-upload-footer { padding: 10px 14px; gap: 6px; }
    .mock-tag { font-size: 0.65rem; padding: 4px 9px; }
    .landing-nav .nav-brand span { display: none; }
    .landing-section { padding: 0 0 44px; }
    .landing-section .section-title { font-size: 1.3rem; }
    .landing-section .section-desc { font-size: 0.84rem; margin-bottom: 28px; }
    .landing-section .section-label { font-size: 0.7rem; }
    .feature-card { padding: 20px 16px; border-radius: 12px; }
    .feature-card .feature-icon { width: 42px; height: 42px; font-size: 18px; border-radius: 10px; }
    .feature-card h5 { font-size: 0.82rem; }
    .feature-card p { font-size: 0.75rem; }
    .tech-grid { grid-template-columns: 1fr; gap: 10px; }
    .tech-item { padding: 14px; }
    .tech-item .tech-icon { width: 34px; height: 34px; font-size: 15px; }
    .tier-card { padding: 20px 16px 18px; }
    .tier-card .tier-icon { width: 40px; height: 40px; font-size: 18px; }
    .tier-card h5 { font-size: 0.88rem; }
    .tier-card ul li { font-size: 0.76rem; }
    .faq-question h6 { font-size: 0.82rem; }
    .faq-answer p { font-size: 0.76rem; }
    .landing-footer { padding: 18px 0 28px; font-size: 0.72rem; }
}
/* Responsive - Small phone */
@media (max-width: 400px) {
    .landing-hero h1 { font-size: 1.5rem; }
    .landing-hero .hero-tag { padding: 5px 10px; font-size: 0.68rem; }
    .mock-upload-footer { flex-direction: column; }
    .trust-strip { flex-direction: column; gap: 8px; align-items: center; }
    .tier-card.featured::before { font-size: 0.6rem; padding: 3px 8px 3px 10px; }
}

/* ==========================================================================
   首页：文件加密传输宣传区（类名统一 landing-enc- / led- 前缀，
   避开 app.css 里已有的通用类名）
   ======================================================================== */
.landing-enc {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: center;
    padding: 34px 32px;
    border-radius: 20px;
    border: 1px solid #e3e9f5;
    background:
        radial-gradient(circle at 88% 12%, rgba(70, 113, 255, 0.10), transparent 46%),
        linear-gradient(135deg, #f9fbff 0%, #eef3ff 100%);
}
.landing-enc-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 600; color: #4f46e5;
    background: rgba(79, 70, 229, 0.09);
    border: 1px solid rgba(79, 70, 229, 0.18);
    border-radius: 999px; padding: 5px 12px; margin-bottom: 14px;
}
.landing-enc-left h2 {
    font-size: 1.42rem; font-weight: 800; color: #0f172a;
    line-height: 1.35; margin-bottom: 12px;
}
.landing-enc-left > p {
    font-size: 0.86rem; line-height: 1.75; color: #64748b; margin-bottom: 18px;
}
.landing-enc-left > p b { color: #334155; }
.landing-enc-points {
    list-style: none; padding: 0; margin: 0 0 22px;
    display: grid; gap: 10px;
}
.landing-enc-points li {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 0.8rem; color: #475569; line-height: 1.5;
}
.landing-enc-points li i {
    color: #10b981; font-size: 0.95rem; margin-top: 1px; flex-shrink: 0;
}
.landing-enc-points li b { color: #1e293b; }

.landing-enc-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.landing-enc-actions .btn-hero {
    padding: 12px 24px; border-radius: 11px;
    font-weight: 600; font-size: 0.86rem; text-decoration: none;
    display: inline-flex; align-items: center; gap: 7px;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.landing-enc-actions .btn-hero-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    color: #fff; box-shadow: 0 6px 18px rgba(70, 113, 255, 0.28);
}
.landing-enc-actions .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(70, 113, 255, 0.34);
}
.landing-enc-actions .btn-hero-outline {
    background: var(--card-bg); color: var(--primary);
    border: 1px solid rgba(70, 113, 255, 0.32);
}
.landing-enc-actions .btn-hero-outline:hover { background: rgba(70, 113, 255, 0.06); }

/* 右侧示意卡片 */
.landing-enc-demo {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px;
    padding: 18px; box-shadow: 0 16px 44px rgba(15, 23, 42, 0.10);
}
.led-head {
    display: flex; align-items: center; gap: 8px;
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 1px dashed #e6ebf3;
}
.led-dot {
    width: 9px; height: 9px; border-radius: 50%; background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}
.led-title { font-size: 0.78rem; font-weight: 600; color: #334155; }
.led-tag {
    margin-left: auto; font-size: 0.66rem; color: var(--primary);
    background: rgba(70, 113, 255, 0.08); border-radius: 999px; padding: 3px 9px;
}
.led-block { margin-bottom: 12px; }
.led-label { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 5px; }
.led-field {
    display: flex; align-items: center; gap: 8px; min-width: 0;
    background: var(--surface); border: 1px solid var(--border-color);
    border-radius: 9px; padding: 7px 10px;
}
.led-field code {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.72rem; color: #475569; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.led-key code { letter-spacing: 2px; color: #334155; }
.led-eye { margin-left: auto; color: var(--primary); font-size: 0.85rem; }
.led-shares { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.led-share {
    width: 22px; height: 22px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.68rem; font-weight: 600;
}
.led-share.ok {
    background: rgba(34, 197, 94, 0.10); color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.22);
}
.led-shares em { font-style: normal; font-size: 0.68rem; color: var(--text-muted); margin-left: 4px; }
.led-foot {
    margin-top: 14px; padding-top: 12px;
    border-top: 1px dashed #e6ebf3;
    font-size: 0.72rem; color: #64748b;
    display: flex; align-items: center; gap: 6px;
}

@media (max-width: 991px) {
    .landing-enc { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
    .landing-enc-left h2 { font-size: 1.2rem; }
}
@media (max-width: 575px) {
    .landing-enc { padding: 22px 16px; border-radius: 16px; }
    .landing-enc-left h2 { font-size: 1.05rem; }
    .landing-enc-left > p { font-size: 0.78rem; }
    .landing-enc-points li { font-size: 0.74rem; }
    .landing-enc-actions { flex-direction: column; }
    .landing-enc-actions .btn-hero { justify-content: center; width: 100%; }
    .landing-enc-demo { padding: 14px; }
}

/* ==========================================================================
   夜间模式（落地页）
   :root 上的变量已由 app.css 的 html[data-theme="dark"] 换过，
   这里只补几处落地页特有的写死底色。
   ======================================================================== */
html[data-theme="dark"] body.landing-page {
    background:
        radial-gradient(900px 420px at 50% -80px, rgba(var(--bs-primary-rgb), .14), transparent 70%),
        var(--surface);
}

/* 顶栏与「模拟上传卡」底部条：浅色下是半透明白，深色下换成半透明深 */
html[data-theme="dark"] .landing-nav,
html[data-theme="dark"] .mock-upload-footer {
    background: rgba(21, 29, 47, .88);
}

/* 浅色下靠大白底+淡描边分隔的区块，深色里描边要看得出一点 */
html[data-theme="dark"] .tech-item,
html[data-theme="dark"] .landing-enc-demo,
html[data-theme="dark"] .tier-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .flow-step,
html[data-theme="dark"] .mock-upload-card {
    border-color: var(--border-color);
}

/* CTA 区与加密区里的白色按钮在深色下太扎眼，改成主色描边样式 */
html[data-theme="dark"] .cta-section .btn-cta,
html[data-theme="dark"] .landing-enc-actions .btn-hero-outline {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
}
html[data-theme="dark"] .landing-enc-actions .btn-hero-outline { color: var(--text-main); }

/* ==========================================================================
   游客免登录上传页（guest_layout + guest.php）
   ======================================================================== */
.guest-head { text-align: center; margin: 26px 0 18px; }
.guest-head h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 8px; color: var(--text-main); }
.guest-head h2 i { color: var(--primary); }
.guest-lead { color: var(--text-muted); font-size: .95rem; margin: 0 0 14px; }
.guest-lead b { color: var(--primary); }
.guest-remain { font-size: 1.1rem; }
.guest-facts {
    display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--text-muted);
}
.guest-facts span { display: inline-flex; align-items: center; gap: 4px; }
.guest-note { margin: 20px 0 44px; font-size: 12.5px; color: var(--text-muted); line-height: 1.85; }
.guest-note p { margin: 0 0 6px; }
.guest-note i { color: var(--primary); margin-right: 4px; }

@media (max-width: 767px) {
    .guest-head { margin: 16px 0 14px; }
    .guest-head h2 { font-size: 1.25rem; }
}
