/* Hero Section */
main {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}


h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    text-decoration: none;
    color: var(--text-color);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    min-height: 360px; /* 👈 统一卡片高度 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.service-card:hover {
    border-color: #3b82f6; /* 蓝色边框 */
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  }
/* 图标变蓝 */
.service-card:hover .icon i {
    color: #2563eb !important;
  }
  
/* 标题变蓝 */
.service-card:hover h3 {
    color: #2563eb !important;
  }
  
  /* 描述变蓝 */
  .service-card:hover p {
    color: #2563eb !important;
  }

  .service-card h3 {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    line-height: 1.6;
    font-size: 1rem;
    color: #6b7280; /* 比如 text-gray-500 */
    margin-bottom: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card .icon i {
	font-size: 3rem;
	color: #02498f;
	background: none;         /* 去掉背景色 */
	width: auto;              /* 取消固定尺寸 */
	height: auto;
	border-radius: 0;         /* 不要圆形 */
	display: inline;          /* 不再居中对齐 */
	margin-bottom: 1rem;
}

.step-number {
	position: absolute;
	top: -20px;
	background: #02498f;
	color: white;
	font-size: 2rem;
	font-weight: bold;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	z-index: 2; /* 确保在其他元素之上 */
	margin-top: 2rem;
}


.service-card .content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.service-card .title-wrapper {
	height: 6rem; /* 固定标题区域高度 */
	display: flex;
	align-items: center; /* 垂直居中 */
	justify-content: center; /* 水平居中 */
}

.how-it-works {
    text-align: center;
    padding: 4rem 2rem;
	margin-bottom: 2rem;
}

.how-it-works p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}
.steps {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 2rem;
		max-width: 1200px;
		margin: 0 auto;
	}

	.step {
		text-align: center;
		position: relative; /* 确保数字可以在图标上方定位 */
	}


	.icon {
		font-size: 3rem;
		color: #007bff;
		margin-bottom: 1rem;
	
		/* 去掉圆背景相关的样式 */
		background: none;
		width: auto;
		height: auto;
		border-radius: 0;
		display: inline-block;
		justify-content: initial;
		align-items: initial;
	}
	

	.step h3 {
		font-size: 1.2rem;
		margin-bottom: 0.5rem;
		color: #2c3e50;
	}

	.step p {
		font-size: 1rem;
		color: #666;
		line-height: 1.6;
	}

	.service-link {
		text-decoration: none;
		color: inherit;
	}

	.about {
		background: var(--light-bg);
	}

	.about-content {
		max-width: 1200px;
		margin: 0 auto;
	}

	.about-content p {
		margin-bottom: 1.5rem;
		line-height: 1.6;
	}
    
/* 特定样式：How It Works */
.service-card.how-it-works {
	background: none;
	box-shadow: none;
	border: none;
	padding: 0;
	min-height: auto;
	transform: none;
	position: relative;
	padding-top: 1rem; /* 预留给数字空间 */
  }

.service-card.how-it-works .icon {
	font-size: 3rem;
	width: 60px;
	height: 60px;
	color: #02498f;
	background: none;
	margin-bottom: 2rem;
	margin-top: 4rem;
}

.service-card.how-it-works:hover {
	transform: none;
	box-shadow: none;
	border: none;
  }

  .service-card.how-it-works h3 {
	font-size: 1.1rem;
	color: #2c3e50;
	font-weight: 600;
	margin-bottom: 0.5rem;
  }

  .service-card.how-it-works p {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.6;
	margin: 0;
  }
.service-card.how-it-works .title-wrapper {
	height: 2rem; /* 固定标题区域高度 */
	display: flex;
	align-items: center; /* 垂直居中 */
	justify-content: center; /* 水平居中 */
}

/* 特定样式：Upgrade */
.service-card.upgrade .title-wrapper {
	height: 2rem; /* 固定标题区域高度 */
	display: flex;
	align-items: center; /* 垂直居中 */
	justify-content: center; /* 水平居中 */
}
/* 步骤编号 */
.how-it-works .step-number {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	background: #02498f;
	color: white;
	font-size: 1rem;
	font-weight: bold;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	z-index: 10;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  /* 禁止 .how-it-works 卡片变蓝 */
.how-it-works .service-card:hover i,
.how-it-works .service-card:hover h3,
.how-it-works .service-card:hover p {
	color: inherit !important;
}
/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
        min-height: 250px;
    }

    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}
