/* 宜荣财达APP下载页 */
.yrc-app-page {
    background: linear-gradient(135deg, #0a0e27 0%, #0d1b3e 100%);
    min-height: 100vh;
    padding: 40px 0;
    position: relative;
}

/* ========== 微信顶部引导 ========== */
.wechat-top-guide {
    display: none;
    background: rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding: 15px 20px;
    text-align: center;
    position: relative;
    animation: guideSlideDown 0.5s ease;
}

@keyframes guideSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.wechat-top-guide .guide-arrow {
    position: absolute;
    right: 25px;
    top: 8px;
    font-size: 32px;
    color: #ffd700;
    animation: arrowBounce 1s infinite;
    font-weight: bold;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0) rotate(-45deg); }
    50% { transform: translateY(-8px) rotate(-45deg); }
}

.wechat-top-guide .guide-text {
    color: #ffd700;
    font-size: 15px;
    line-height: 1.6;
}

.wechat-top-guide .guide-text .dots {
    font-weight: bold;
    letter-spacing: 2px;
}

/* ========== 主内容 ========== */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.app-hero {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
}

.app-hero h1 {
    font-size: 36px;
    color: #00d4ff;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.app-hero .subtitle {
    font-size: 18px;
    color: #88a4c3;
    line-height: 1.6;
}

/* ========== 主卡片 ========== */
.app-main-card {
    background: rgba(16, 24, 64, 0.6);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ========== 二维码区域（修复图标层级） ========== */
.qrcode-section {
    text-align: center;
    flex-shrink: 0;
}

.qrcode-wrapper {
    position: relative;
    display: inline-block;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
}

.qrcode-box {
    width: 220px;
    height: 220px;
    position: relative;
    z-index: 1;
}

.qrcode-box img,
.qrcode-box canvas {
    display: block;
    border-radius: 4px;
}

/* 二维码中间图标 - 修复层级 */
.qrcode-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 10 !important;
    pointer-events: none;
}

.qrcode-icon img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    display: block;
    object-fit: contain;
}

.qrcode-text {
    margin-top: 15px;
    color: #00d4ff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ========== 下载信息 ========== */
.download-info {
    flex: 1;
    min-width: 280px;
}

.app-meta {
    margin-bottom: 30px;
}

.version-tag {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0a0e27;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    color: #c8d6e5;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .label {
    color: #88a4c3;
    min-width: 80px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0a0e27;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 50px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.5);
}

/* ========== 浏览器下载引导（红框样式） ========== */
.browser-download-guide {
    display: none;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.guide-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #00d4ff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.guide-title {
    font-size: 20px;
    color: #00d4ff;
    font-weight: 700;
    margin-bottom: 10px;
}

.guide-desc {
    font-size: 15px;
    color: #c8d6e5;
    margin-bottom: 20px;
}

.guide-desc .highlight {
    color: #ffd700;
    font-weight: 700;
}

.guide-img-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 168, 255, 0.2);
}

.file-icon {
    font-size: 28px;
}

.guide-img-text span {
    color: #c8d6e5;
    font-size: 15px;
}

.guide-img-text strong {
    color: #00d4ff;
}

.download-tag {
    background: #4a90d9;
    color: #fff;
    padding: 4px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
}

.guide-tip {
    color: #88a4c3;
    font-size: 13px;
}

/* ========== 安装教程 ========== */
.tutorial-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.tutorial-card {
    background: rgba(16, 24, 64, 0.5);
    border: 1px solid rgba(0, 168, 255, 0.15);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0a0e27;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
}

.tutorial-card h3 {
    color: #00d4ff;
    font-size: 17px;
    margin-bottom: 10px;
}

.tutorial-card p {
    color: #88a4c3;
    font-size: 14px;
    line-height: 1.7;
}

/* ========== 温馨提示 ========== */
.tips-section {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 25px 30px;
}

.tips-section h3 {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-section li {
    color: #c8d6e5;
    font-size: 14px;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.tips-section li::before {
    content: "•";
    color: #ffd700;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    .app-hero h1 { font-size: 26px; }
    .app-main-card { padding: 25px; gap: 30px; }
    .btn-download { width: 100%; padding: 16px; }
    .tutorial-grid { grid-template-columns: 1fr; }
    .wechat-top-guide .guide-text { font-size: 13px; }
}