/* 易歪歪主题 - 公用样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* 全局布局 - 页脚贴底核心（解决底部白块问题） */
html {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* 主体自动撑满高度，把页脚挤到底部 */
.site-main {
    flex: 1;
    padding: 40px 0 80px;
}
.home .site-main, .front-page .site-main {
    padding-top: 0;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

/* 头部 */
.site-header {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	padding: 20px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
/* 优化 Logo 和文字的排列 */
.site-logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-main-text {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-main-text span {
    color: #5B9BD5;
    margin-left: 2px;
}
.main-navigation .nav-menu {
	display: flex;
	list-style: none;
	gap: 30px;
}
.main-navigation .nav-menu li a {
	text-decoration: none;
	color: #333;
	transition: color 0.3s;
}
.main-navigation .nav-menu li a:hover { color: #5B9BD5; }

/* 动画 */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.6s ease-out; }

/* 面包屑 */
.custom-breadcrumbs {
    max-width: 1150px;
    margin: 15px auto;
    padding: 0 20px;
    font-size: 13px;
    color: #999;
    text-align: left;
}

.custom-breadcrumbs a {
    color: #0078d4;
    text-decoration: none;
    transition: all 0.2s ease;
}

.custom-breadcrumbs a:hover {
    color: #0034ff;
    text-decoration: underline;
}

.custom-breadcrumbs .breadcrumb_last {
    color: #666;
    margin-left: 2px;
}

.custom-breadcrumbs span {
    margin: 0 10px;
    color: #ddd;
    font-weight: 300;
}

#breadcrumbs {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ==================================================
   公共底栏样式
==================================================== */
.site-footer {
    background-color: #0d1117;
    color: #f0f6fc;
    padding: 72px 0 32px;
    font-size: 13px; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.2px;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.footer-container {
    max-width: 1140px; /* 限制最大宽度，防止大屏下布局散架 */
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}

/* 文字 Logo 样式 */
.footer-logo {
    margin-bottom: 24px;
}

.footer-logo-text {
    font-size: 24px; 
    font-weight: 700;
    letter-spacing: -0.5px; 
    text-decoration: none !important;
    
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-logo-text:hover {
    opacity: 0.85;
}

.footer-desc {
    line-height: 1.7;
    color: #8b949e; /* 辅助文本灰色 */
    font-size: 13px;
    margin: 0;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 500; 
    margin: 0 0 20px 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

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

.footer-list-item {
    margin-bottom: 12px;
}

.footer-link, .footer-text {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff !important; /* 悬浮高亮变白 */
    text-decoration: none;
}

/* 联络信息（带SVG图标） */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #8b949e;
}

.icon-svg {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    stroke: #8b949e;
    opacity: 0.7;
}

/* 底部下载/行动点按钮 */
.footer-cta-wrapper {
    margin-bottom: 20px;
}

.footer-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f0f6fc; 
    color: #0d1117 !important;
    font-weight: 500;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 4px; /* 直角微圆角 */
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.footer-btn-primary:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.footer-btn-primary:active {
    transform: scale(0.98);
}

.btn-icon {
    width: 14px;
    height: 14px;
}

/* 社交媒体图标 */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px; 
    color: #8b949e;
    transition: all 0.2s ease;
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* 版权及免责声明区域 */
.footer-copyright {
    border-top: 1px solid #21262d; 
    padding-top: 24px;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
    gap: 12px;
}

.footer-copyright-left {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: #484f58;
}

.footer-copyright-text {
    color: #484f58;
    margin: 0;
}

.footer-copy-link {
    color: #484f58;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copy-link:hover {
    color: #8b949e !important;
}

.footer-notice {
    font-size: 11px;
    color: #30363d; /* 弱化法律免责字号，避免抢视觉 */
    max-width: 800px;
    line-height: 1.6;
    margin: 0;
}

/* ==================================================
   页脚响应式断点适配
==================================================== */
/* 平板端 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* 手机端 */
@media (max-width: 768px) {
    .site-footer {
        padding: 48px 0 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .footer-copyright {
        margin-top: 32px;
    }
}

/* 小屏手机对齐兜底 */
@media (max-width: 600px) {
    .footer-grid, 
    .footer-brand-col, 
    .footer-logo img, 
    .footer-social {
        text-align: left !important;
        justify-content: flex-start !important;
        margin-left: 0 !important;
    }
}