.apple-gradient-text {
    /* 苹果风粗体字 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    
    /* 调色盘七彩渐变 */
    background: linear-gradient(135deg, #e14d95 0%, #d2652a 25%, #cdda16 50%, #76ba09 75%, #049cef8a 100%);
    background-size: 200% auto;
    
    /* 剪裁背景到文字内部，并让文字透明 */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    /* 强制清除阴影，让透明文字不发黑 */
    text-shadow: none !important;
    display: inline-block;
    
    /* 流动动画 */
    /* animation: shine 4s linear infinite; */
}

@keyframes shine {
    to { background-position: -200% center; }
}

/* 高级副标题样式 */
.apple-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #6B7280; /* 优雅的深灰色 */
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

/* 两个图片上传框的标题样式 */
.apple-box-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1F2937; /* 更深一点的碳黑色，增强辨识度 */
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

/* 顺便优化一下框里面“Drag & Drop”文字的字体 */
.upload-content p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 上传框内部主文字：亮白、变大、加粗 */
.upload-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #F9FAFB; /* 极具质感的冷白色 */
    font-size: 1.15rem; /* 字体放大 */
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Browse 按钮：亮青色呼应主题，带悬浮动画 */
.upload-browse {
    color: #00C6FF; /* 呼应你七彩标题里的青色 */
    cursor: pointer;
    font-weight: 700;
    padding-bottom: 2px;
    border-bottom: 2px solid rgba(0, 198, 255, 0.4); /* 苹果风的半透明下划线 */
    transition: all 0.2s ease;
}

.upload-browse:hover {
    opacity: 0.8;
    border-bottom: 2px solid rgba(0, 198, 255, 1);
}

/* 3D 可视化图表左上角的小标签（磨砂玻璃质感） */
.apple-badge {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: rgba(255, 255, 255, 0.85); /* 半透明白色底 */
    color: #374151; /* 深灰色高级字体 */
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* 极其轻微的阴影托起 */
    backdrop-filter: blur(4px); /* 苹果经典的磨砂玻璃背景模糊 */
    -webkit-backdrop-filter: blur(4px);
    top: 8px !important; /* 稍微往里收一点，不要死死贴住边缘 */
    left: 8px !important;
    z-index: 10;
}

/* 苹果风按钮基础骨架 */
.apple-btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    width: 100%;
    height: 54px; /* 完美的触控高度 */
    border-radius: 999px; /* 绝对圆滑的胶囊形状 */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none; /* 防止 a 标签出现下划线 */
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1); /* 苹果丝滑动画曲线 */
}

/* 迷人的物理按压回弹效果 */
.apple-btn:active {
    transform: scale(0.96);
}

/* Generate 按钮：高级 Pro 黑 */
.apple-btn-primary {
    background-color: #12ca74;
    color: #f5f5f7;
    box-shadow: 0 4px 14px rgba(29, 29, 31, 0.2);
}

.apple-btn-primary:hover {
    background-color: #333336;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(29, 29, 31, 0.35);
}

/* 修正版 Download 按钮 */
.apple-btn-secondary {
    background-color: #0071e3 !important; /* 强制苹果蓝 */
    color: #ffffff !important;           /* 强制白字 */
    display: flex !important;            /* 开启 Flex 布局 */
    align-items: center !important;      /* 垂直居中 */
    justify-content: center !important;   /* 水平居中 */
    text-decoration: none !important;    /* 去掉下划线 */
}

.apple-btn-secondary:hover {
    background-color: #0077ED !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.45) !important;
    text-decoration: none !important;
}