/**
 * Apple Style Override for Hyacinth Template
 * 仅覆盖颜色、背景等外观，不破坏布局
 */

:root {
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --apple-gray: #86868b;
    --apple-dark: #1d1d1f;
    --apple-light-gray: #f5f5f7;
    --apple-white: #ffffff;
    --apple-border: #d2d2d7;
    --apple-green: #34c759;
    --apple-orange: #ff9500;
}

/* 页面背景 - 移除动漫背景图 */
html {
    background-color: #f5f5f7 !important;
    background-image: none !important;
}

body {
    background-color: #f5f5f7 !important;
    background-image: none !important;
    margin-top: 60px;
}

/* 导航栏 - 毛玻璃效果 */
.fly-header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* 按钮样式 */
.layui-btn,
.layui-btn-xs,
.layui-btn-warm,
a.layui-btn,
a.layui-btn-xs,
a.layui-btn-warm {
    background: #0071e3 !important;
    border-radius: 100px !important;
    font-weight: 500 !important;
    border: none !important;
    color: white !important;
}

.layui-btn:hover,
.layui-btn-xs:hover,
.layui-btn-warm:hover,
a.layui-btn:hover,
a.layui-btn-xs:hover,
a.layui-btn-warm:hover {
    background: #0077ed !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3) !important;
}

.layui-btn-disabled,
.layui-btn-disabled:hover,
button.layui-btn-disabled,
button.layui-btn-disabled:hover {
    background: #f5f5f7 !important;
    color: #86868b !important;
    border: 1px solid #d2d2d7 !important;
    transform: none !important;
    box-shadow: none !important;
}

.layui-btn-disabled,
.layui-btn-disabled:hover {
    background: #f5f5f7 !important;
    color: #86868b !important;
    border: 1px solid #d2d2d7 !important;
}

/* 卡片样式 */
.layui-card {
    border-radius: 18px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
}

.layui-card-header {
    font-weight: 600 !important;
    color: #1d1d1f !important;
    border-bottom-color: rgba(0,0,0,0.04) !important;
}

/* 表格样式 - 只改颜色，不改布局 */
.layui-table {
    background-color: transparent !important;
    color: #1d1d1f !important;
}

.layui-table th {
    background: #f5f5f7 !important;
    color: #86868b !important;
    font-weight: 600 !important;
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
}

.layui-table td {
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
}

.layui-table tbody tr:hover {
    background-color: rgba(0, 113, 227, 0.02) !important;
}

/* 标签样式 */
.layui-badge {
    border-radius: 100px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

.layui-bg-green {
    background: rgba(52, 199, 89, 0.1) !important;
    color: #34c759 !important;
}

.layui-bg-gray {
    background: rgba(134, 134, 139, 0.1) !important;
    color: #86868b !important;
}

/* 引用块样式 */
.layui-elem-quote {
    background: rgba(0, 113, 227, 0.05) !important;
    border-left: 4px solid #0071e3 !important;
    border-radius: 0 12px 12px 0 !important;
}

/* 表单样式 */
.layui-input {
    border: 1px solid #d2d2d7 !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
}

.layui-input:focus {
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1) !important;
}

/* 页脚样式 */
.fly-footer {
    background: #f5f5f7 !important;
    color: #86868b !important;
    border-top: none !important;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    border-radius: 24px;
    margin: 20px auto 48px;
    max-width: 1200px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.hero-section p {
    font-size: 21px;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* 辅助类 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
}

.btn-primary {
    background: #0071e3;
    color: white;
}

.btn-primary:hover {
    background: #0077ed;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-outline {
    background: transparent;
    color: #0071e3;
    border: 1px solid #0071e3;
}

.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: inline-block;
}

.badge-auto {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.badge-manual {
    background: rgba(134, 134, 139, 0.1);
    color: #86868b;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 17px;
    }
}
