/* ======== 68Browser 前台样式 ======== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: #1f2937; background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ======== Header ======== */
.site-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #eef1f6; z-index: 100; }
.site-header .site-container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-logo img { height: 50px; width: auto; }
.site-nav { display: flex; gap: 32px; flex: 1; justify-content: center; }
.site-nav a { font-size: 15px; color: #4b5563; transition: color .2s; position: relative; padding: 4px 0; }
.site-nav a:hover { color: #1f6feb; }
.site-nav a.active { color: #1f6feb; font-weight: 500; }
.site-nav a.active::after { content: ''; position: absolute; bottom: -20px; left: 0; right: 0; height: 2px; background: #1f6feb; border-radius: 1px; }
.site-header-right { display: flex; gap: 12px; align-items: center; }
.site-btn { padding: 8px 20px; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; transition: all .2s; display: inline-block; }
.site-btn-login { color: #4b5563; background: transparent; border: 1px solid #e5e7eb; }
.site-btn-login:hover { color: #1f6feb; border-color: #1f6feb; }
.site-user-btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 24px; transition: background .15s; }
.site-user-btn:hover { background: #f4f6fa; }
.site-user-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #4b83ff, #1f6feb); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-shrink: 0; }
.site-user-name { font-size: 14px; font-weight: 600; color: #1f2937; }
.site-user-wrap { position: relative; display: inline-flex; }
.site-user-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 150px;
	background: #fff;
	border: 1px solid #e5e9f0;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
	padding: 6px;
	z-index: 120;
}
.site-user-wrap:hover .site-user-menu,
.site-user-menu:hover { display: block; }
/* 透明桥接区：填充按钮与菜单之间的 8px 间隙，避免鼠标经过时 hover 断开导致菜单收起 */
.site-user-menu::after {
	content: '';
	position: absolute;
	top: -9px;
	left: 0;
	right: 0;
	height: 9px;
}
.sum-item {
	display: block;
	padding: 9px 14px;
	border-radius: 8px;
	font-size: 14px;
	color: #374151;
	text-decoration: none;
	transition: background .12s, color .12s;
}
.sum-item:hover { background: #f0f6ff; color: #1f6feb; }
.site-btn-primary { background: #1f6feb; color: #fff; }
.site-btn-primary:hover { background: #1958c7; }
.site-mobile-menu { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.site-mobile-menu span { display: block; width: 22px; height: 2px; background: #333; margin: 4px 0; }
.site-mobile-nav { display: none; background: #fff; border-top: 1px solid #eef1f6; padding: 16px 24px; }
.site-mobile-nav a { display: block; padding: 12px 0; font-size: 15px; color: #4b5563; border-bottom: 1px solid #f3f4f6; }
.site-mobile-nav a.active { color: #1f6feb; font-weight: 500; }
.site-mobile-nav-btns { display: flex; gap: 12px; margin-top: 16px; }

/* ======== Hero ======== */
.site-hero { padding: 80px 0 60px; background: linear-gradient(135deg, #f0f7ff 0%, #fff 60%); overflow: hidden; }
.hero-row { display: flex; align-items: center; gap: 60px; }
.hero-left { flex: 1; min-width: 0; }
.hero-tag { display: inline-block; padding: 6px 14px; background: #e8f0ff; color: #1f6feb; border-radius: 20px; font-size: 13px; margin-bottom: 24px; font-weight: 500; }
.hero-tag::before { content: '★ '; }
.hero-title { font-size: 24px; font-weight: 600; line-height: 1.3; color: #1f6feb; margin-bottom: 20px; }
.hero-title span { color: #1f6feb; }
.hero-sub { font-size: 17px; color: #6b7280; margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; align-items: center; margin-bottom: 32px; }
.hero-btn-download { background: #1f6feb; color: #fff; padding: 14px 36px; border-radius: 8px; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: background .2s; }
.hero-btn-download:hover { background: #1958c7; }
.hero-btn-download svg { width: 20px; height: 20px; }
.hero-btn-watch { color: #4b5563; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.hero-btn-watch:hover { color: #1f6feb; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; color: #6b7280; }
.hero-tags span { display: inline-flex; align-items: center; gap: 6px; }
.hero-tags .tag-ok { color: #10b981; font-weight: bold; }
.hero-tags .tag-warn { color: #f59e0b; font-weight: bold; }
.hero-tags .tag-info { color: #1f6feb; font-weight: bold; }

/* Hero Right - Browser UI Mock */
.hero-right { flex: 1; min-width: 0; }
.hero-mock { background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(31, 111, 235, 0.15); border: 1px solid #eef1f6; overflow: hidden; }
.hero-mock-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f9fafb; border-bottom: 1px solid #eef1f6; }
.hero-mock-dots { display: flex; gap: 6px; }
.hero-mock-dots span { width: 12px; height: 12px; border-radius: 50%; }
.hero-mock-dots .d-r { background: #ff5f57; }
.hero-mock-dots .d-y { background: #febc2e; }
.hero-mock-dots .d-g { background: #28c840; }
.hero-mock-url { flex: 1; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 4px 12px; font-size: 12px; color: #6b7280; display: flex; align-items: center; }
.hero-mock-body { padding: 28px; }
.hero-mock-user { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-mock-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1f6feb, #5ba3ff); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 18px; }
.hero-mock-user-info h4 { font-size: 15px; margin-bottom: 2px; }
.hero-mock-user-info p { font-size: 12px; color: #10b981; }
.hero-mock-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-mock-badges span { padding: 6px 14px; border: 1px solid #dbeafe; background: #eff6ff; color: #1f6feb; border-radius: 20px; font-size: 12px; font-weight: 500; }

/* ======== Stats Bar ======== */
.site-stats { padding: 48px 0; background: #fff; border-bottom: 1px solid #eef1f6; }
.stats-row { display: flex; gap: 40px; text-align: center; }
.stat-item { flex: 1; padding: 20px; border-right: 1px solid #eef1f6; }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 36px; font-weight: 700; color: #1f6feb; line-height: 1.2; }
.stat-label { font-size: 14px; color: #6b7280; margin-top: 8px; }

/* ======== Platforms ======== */
.site-platforms { padding: 64px 0; background: #fafbfc; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 30px; font-weight: 700; color: #111827; margin-bottom: 10px; }
.section-title p { color: #6b7280; font-size: 15px; }
.platforms-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.platform-item { width: 110px; height: 60px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #eef1f6; border-radius: 10px; font-size: 18px; font-weight: 600; color: #4b5563; transition: all .2s; }
.platform-item:hover { border-color: #1f6feb; color: #1f6feb; box-shadow: 0 4px 12px rgba(31,111,235,0.1); }

/* ======== Features ======== */
.site-features { padding: 80px 0; background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { padding: 32px; background: #fff; border: 1px solid #eef1f6; border-radius: 12px; transition: all .2s; }
.feature-card:hover { border-color: #1f6feb; box-shadow: 0 8px 24px rgba(31,111,235,0.08); transform: translateY(-2px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: #eff6ff; color: #1f6feb; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: #6b7280; font-size: 14px; line-height: 1.7; }

/* ======== CTA ======== */
.site-cta { padding: 80px 0; background: linear-gradient(135deg, #1f6feb, #1958c7); color: #fff; text-align: center; }
.site-cta h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.site-cta p { font-size: 16px; opacity: .9; margin-bottom: 32px; }
.site-cta .site-btn-primary { background: #fff; color: #1f6feb; padding: 14px 40px; font-size: 16px; }
.site-cta .site-btn-primary:hover { background: #f3f4f6; }

/* ======== Footer ======== */
.site-footer { background: #111827; color: #9ca3af; padding: 60px 0 24px; }
.sf-top { display: flex; gap: 48px; margin-bottom: 48px; flex-wrap: wrap; }
.sf-col { flex: 1; min-width: 160px; }
.sf-col-brand { flex: 1.8; }
.sf-col-brand .site-logo img { height: 36px; }
.sf-brand-desc { font-size: 14px; margin-top: 16px; line-height: 1.7; }
.sf-col h4 { color: #fff; font-size: 14px; margin-bottom: 20px; font-weight: 600; }
.sf-col a { display: block; font-size: 14px; padding: 6px 0; transition: color .2s; }
.sf-col a:hover { color: #fff; }
.sf-col-qr h4 { margin-bottom: 16px; }
.sf-qr { width: 110px; height: 110px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sf-qr-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #9ca3af; font-size: 13px; background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 6px, #fff 6px, #fff 12px); border-radius: 8px; }
.sf-contact { font-size: 13px; line-height: 1.8; }
.sf-bottom { border-top: 1px solid #1f2937; padding-top: 24px; text-align: center; font-size: 13px; }

/* ======== Inner pages banner ======== */
.site-banner { padding: 80px 0 48px; background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%); text-align: center; }
.site-banner h1 { font-size: 36px; font-weight: 700; color: #111827; margin-bottom: 12px; }
.site-banner p { font-size: 16px; color: #6b7280; max-width: 600px; margin: 0 auto; }

/* ======== Download page ======== */
.site-download { padding: 60px 0 80px; }
.download-card { background: #fff; border: 1px solid #eef1f6; border-radius: 16px; padding: 40px; max-width: 560px; margin: 0 auto; text-align: center; }
.download-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.download-card p { color: #6b7280; margin-bottom: 28px; }
.download-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.download-btn { display: flex; align-items: center; gap: 12px; padding: 16px 28px; background: #111827; color: #fff; border-radius: 10px; font-size: 15px; transition: background .2s; min-width: 180px; }
.download-btn:hover { background: #1f6feb; }
.download-btn .db-label { font-size: 13px; opacity: .8; display: block; }
.download-btn .db-name { font-weight: 600; }
.download-btn svg { width: 28px; height: 28px; }
.download-tips { margin-top: 32px; font-size: 13px; color: #9ca3af; }

/* ======== Help page ======== */
.site-help { padding: 60px 0 80px; }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.help-item { padding: 24px; background: #fff; border: 1px solid #eef1f6; border-radius: 10px; }
.help-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: #111827; }
.help-item p { font-size: 14px; color: #6b7280; line-height: 1.7; }
.help-item a { color: #1f6feb; font-size: 13px; margin-top: 10px; display: inline-block; }

/* ======== Contact page ======== */
.site-contact { padding: 60px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { padding: 32px; background: #fff; border: 1px solid #eef1f6; border-radius: 12px; text-align: center; }
.contact-icon { width: 80px; height: 80px; border-radius: 50%; background: #eff6ff; color: #1f6feb; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.contact-icon svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.contact-card p { color: #6b7280; font-size: 14px; }
.contact-card .c-value { color: #1f6feb; font-weight: 500; font-size: 15px; }

/* ======== Responsive ======== */
@media (max-width: 1024px) {
	.hero-title { font-size: 36px; }
	.features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.site-nav { display: none; }
	.site-header-right { display: none; }
	.site-mobile-menu { display: block; }
	.hero-row { flex-direction: column-reverse; gap: 40px; }
	.hero-title { font-size: 30px; }
	.hero-sub { font-size: 15px; }
	.stat-item { border-right: none; border-bottom: 1px solid #eef1f6; padding: 16px 0; }
	.stats-row { flex-direction: column; gap: 0; }
	.features-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.help-grid { grid-template-columns: 1fr; }
	.sf-top { flex-direction: column; gap: 32px; }
	.section-title h2 { font-size: 24px; }
}
