:root {
	--primary-color: #1677ff;
	--primary-dark: #0d5fd9;
	--primary-light: #e6f7ff;
	--success-color: #52c41a;
	--warning-color: #fa8c16;
	--error-color: #ff4d4f;
	--text-primary: #1a1a1a;
	--text-secondary: #595959;
	--text-tertiary: #8c8c8c;
	--border-color: #f0f0f0;
	--background-color: #fafafa;
	--card-background: #ffffff;
	--shadow-light: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);
	--shadow-medium: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
	--shadow-heavy: 0 12px 32px 4px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.08);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	background-color: #ffffff;
	color: var(--text-primary);
	line-height: 1.5715;
	font-size: 14px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* 顶部导航栏 - 阿里云/腾讯云风格 */
.header {
	background: var(--card-background);
	box-shadow: var(--shadow-light);
	position: sticky;
	top: 0;
	z-index: 1000;
	height: 64px;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

.logo {
	display: flex;
	align-items: center;
	font-size: 18px;
	font-weight: 600;
	color: var(--primary-color);
	text-decoration: none;
}

.logo-icon {
	width: 32px;
	height: 32px;
	background: linear-gradient(135deg, var(--primary-color), #69b1ff);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
	color: white;
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
}

.nav-item {
	position: relative;
	margin: 0 12px;
	height: 100%;
	display: flex;
	align-items: center;
}

.nav-item a {
	color: var(--text-primary);
	text-decoration: none;
	font-weight: 500;
	padding: 8px 0;
	position: relative;
	transition: color 0.2s;
}

.nav-item a:hover {
	color: var(--primary-color);
}

.nav-item.active a {
	color: var(--primary-color);
}

.nav-item.active a::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: var(--primary-color);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.btn {
	padding: 8px 20px;
	border-radius: 4px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
	text-decoration: none;
	display: inline-block;
	border: none;
	font-size: 14px;
	line-height: 1.5715;
}

.btn-primary {
	background-color: var(--primary-color);
	color: white;
	border: 1px solid var(--primary-color);
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	border-color: var(--primary-dark);
}

.btn-outline {
	background-color: transparent;
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.btn-outline:hover {
	background-color: var(--primary-light);
}

/* 英雄区域 */
.hero-section {
	background: linear-gradient(135deg, #f0f7ff 0%, #e6f7ff 100%);
	padding: 120px 0 80px;
	position: relative;
	overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" opacity="0.05"><path d="M0,200 Q200,100 400,200 T800,200" stroke="%231677ff" fill="none" stroke-width="2"/></svg>');
	background-repeat: no-repeat;
	background-position: top right;
}

.hero-content {
	max-width: 800px;
	position: relative;
	z-index: 1;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	background-color: white;
	border-radius: 20px;
	padding: 6px 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--success-color);
	margin-bottom: 24px;
	box-shadow: var(--shadow-light);
}

.hero-badge i {
	margin-right: 8px;
	font-size: 12px;
}

.hero-title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-primary);
	margin-bottom: 24px;
}

.hero-subtitle {
	font-size: 20px;
	color: var(--text-secondary);
	margin-bottom: 40px;
	max-width: 600px;
}

.hero-actions {
	display: flex;
	gap: 16px;
	margin-bottom: 60px;
}

.hero-btn {
	padding: 12px 32px;
	font-size: 16px;
}

.hero-stats {
	display: flex;
	gap: 48px;
}

.stat-item {
	display: flex;
	flex-direction: column;
}

.stat-number {
	font-size: 32px;
	font-weight: 700;
	color: var(--primary-color);
}

.stat-label {
	font-size: 14px;
	color: var(--text-tertiary);
	margin-top: 4px;
}

/* 功能特色区域 */
.features-section {
	padding: 100px 0;
	background-color: var(--card-background);
}

.section-title {
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 16px;
}

.section-subtitle {
	text-align: center;
	font-size: 16px;
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto 60px;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	gap: 32px;
}

.feature-card {
	background: var(--card-background);
	border-radius: 8px;
	padding: 32px;
	box-shadow: var(--shadow-light);
	transition: all 0.3s;
	border: 1px solid var(--border-color);
}

.feature-card:hover {
	box-shadow: var(--shadow-medium);
	transform: translateY(-4px);
}

.feature-icon-container {
	width: 64px;
	height: 64px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	font-size: 28px;
}

.feature-card.monitoring .feature-icon-container {
	background-color: rgba(250, 140, 22, 0.1);
	color: var(--warning-color);
}

.feature-card.speed .feature-icon-container {
	background-color: rgba(82, 196, 26, 0.1);
	color: var(--success-color);
}

.feature-card.management .feature-icon-container {
	background-color: rgba(22, 119, 255, 0.1);
	color: var(--primary-color);
}

.feature-card h3 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 16px;
	color: var(--text-primary);
}

.feature-card p {
	color: var(--text-secondary);
	margin-bottom: 0;
}

/* 域名展示区域 */
.domains-section {
	padding: 80px 0;
	background-color: var(--background-color);
}

.domains-container {
	background: var(--card-background);
	border-radius: 12px;
	padding: 48px;
	box-shadow: var(--shadow-light);
}

.domains-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
	margin-top: 32px;
}

.domain-item {
	background: var(--background-color);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	padding: 12px 16px;
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
	font-size: 14px;
	text-align: center;
	color: var(--primary-color);
	transition: all 0.2s;
	cursor: default;
}

.domain-item:hover {
	background-color: var(--primary-light);
	border-color: var(--primary-color);
}

/* 技术优势区域 */
.advantages-section {
	padding: 80px 0;
	background-color: var(--card-background);
}

.advantage-card {
	background: var(--background-color);
	border-radius: 8px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	border: 1px solid var(--border-color);
}

.advantage-icon {
	width: 48px;
	height: 48px;
	background-color: var(--primary-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-color);
	font-size: 20px;
	margin-bottom: 24px;
}

.advantage-number {
	font-size: 32px;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 8px;
}

.advantage-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
}

.advantage-desc {
	color: var(--text-secondary);
	font-size: 14px;
}

/* 页脚 */
.footer {
	background-color: #001529;
	color: rgba(255, 255, 255, 0.65);
	padding: 60px 0 40px;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 48px;
	margin-bottom: 40px;
}

.footer-column h4 {
	color: white;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 24px;
}

.footer-links {
	list-style: none;
	padding: 0;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: white;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.footer-copyright {
	color: rgba(255, 255, 255, 0.45);
}

.footer-social {
	display: flex;
	gap: 16px;
}

.footer-social a {
	color: rgba(255, 255, 255, 0.65);
	font-size: 18px;
	transition: color 0.2s;
}

.footer-social a:hover {
	color: white;
}

/* 响应式设计 */
@media (max-width: 992px) {
	.hero-title {
		font-size: 36px;
	}

	.hero-subtitle {
		font-size: 18px;
	}

	.section-title {
		font-size: 28px;
	}
}

@media (max-width: 768px) {
	.nav-menu {
		display: none;
	}

	.hero-actions {
		flex-direction: column;
	}

	.hero-stats {
		flex-direction: column;
		gap: 24px;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.domains-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}
}

@media (max-width: 576px) {
	.hero-title {
		font-size: 28px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

	.container {
		padding: 0 16px;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}
}
.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), #69b1ff);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    /* 新增：防止图片溢出 */
    overflow: hidden; 
}

.logo-icon img {
    /* 让图片充满容器，同时保持比例 */
    width: 80%; 
    height: 80%;
    object-fit: contain;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px; /* 对应 header 的高度 */
}

/* 确保 active 状态有明显的视觉反馈 */
.nav-item.active a {
    color: var(--primary-color) !important;
}

.nav-item.active a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}