/**
 * Homepage guide sections (page 95)
 */

.yhz-home-hero {
	padding: 2.5rem 1.25rem 1.5rem;
	text-align: center;
	background: var(--nv-light-bg, #eff6ff);
	position: relative;
	overflow: hidden;
}

.yhz-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 55%);
	pointer-events: none;
	animation: yhzHeroGlow 8s ease-in-out infinite alternate;
}

@keyframes yhzHeroGlow {
	from { opacity: 0.6; }
	to { opacity: 1; }
}

@keyframes yhzHeroIn {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.yhz-home-hero > * {
	position: relative;
	z-index: 1;
}

.yhz-home-hero h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.85rem, 5vw, 2.75rem);
	line-height: 1.15;
	animation: yhzHeroIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.yhz-home-hero p {
	animation: yhzHeroIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.yhz-home-hero p:last-child {
	animation-delay: 0.16s;
}

.yhz-home-hero a {
	display: inline-block;
	transition: transform 0.2s ease;
}

.yhz-home-hero a:hover {
	transform: translateY(2px);
}

@media (prefers-reduced-motion: reduce) {
	.yhz-home-hero::before,
	.yhz-home-hero h1,
	.yhz-home-hero p,
	.yhz-home-hero a {
		animation: none !important;
		transition: none !important;
	}
}

#yuzde-hesaplama-araci {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.yhz-home-hero p {
	max-width: 38rem;
	margin: 0 auto 0.5rem;
	font-size: 1.08rem;
	color: #475569;
}

.yhz-home-hero a {
	color: var(--nv-primary-accent, #2563eb);
	font-weight: 700;
	text-decoration: none;
}

.yhz-home-hero a:hover {
	text-decoration: underline;
}

.yhz-home-section {
	padding: 2.5rem 1.25rem;
	max-width: 920px;
	margin: 0 auto;
	box-sizing: border-box;
}

.yhz-home-section--alt {
	background: #f8fafc;
}

.yhz-home-section h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 3.5vw, 1.75rem);
}

.yhz-home-section > p {
	color: #475569;
	line-height: 1.65;
	margin: 0 0 1rem;
}

.yhz-guide-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-top: 1.25rem;
}

.yhz-guide-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 14px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
	min-height: 100%;
}

.yhz-guide-card:hover,
.yhz-guide-card:focus {
	border-color: var(--nv-primary-accent, #2563eb);
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
	transform: translateY(-2px);
}

.yhz-guide-card__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: var(--nv-primary-accent, #2563eb);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 800;
}

.yhz-guide-card__title {
	font-weight: 800;
	font-size: 0.92rem;
	color: var(--nv-primary-accent, #2563eb);
	line-height: 1.3;
}

.yhz-guide-card__text {
	font-size: 0.86rem;
	color: #64748b;
	line-height: 1.45;
	margin: 0;
}

.yhz-guide-card__cta {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--nv-primary-accent, #2563eb);
	margin-top: auto;
}

.yhz-rehber {
	padding: 2rem 0;
	border-bottom: 1px solid #e2e8f0;
}

.yhz-rehber:last-child {
	border-bottom: 0;
}

.yhz-rehber__back {
	display: inline-block;
	margin-bottom: 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--nv-primary-accent, #2563eb);
	text-decoration: none;
}

.yhz-rehber__back:hover {
	text-decoration: underline;
}

.yhz-rehber h2 {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
}

.yhz-rehber p {
	color: #475569;
	line-height: 1.65;
	margin: 0 0 0.75rem;
}

.yhz-formula-box {
	display: inline-block;
	margin: 0.5rem 0 1rem;
	padding: 0.5rem 0.85rem;
	background: #eff6ff;
	border-radius: 8px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9rem;
	color: #1e293b;
}

.yhz-rehber a.yhz-tab-link {
	font-weight: 700;
	color: var(--nv-primary-accent, #2563eb);
}

.yhz-compare-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
	font-size: 0.95rem;
}

.yhz-compare-table th,
.yhz-compare-table td {
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	text-align: left;
}

.yhz-compare-table th {
	background: #eff6ff;
	font-weight: 700;
}

.yhz-faq dt {
	font-weight: 800;
	margin-top: 1rem;
	color: #1e293b;
}

.yhz-faq dd {
	margin: 0.35rem 0 0;
	color: #475569;
	line-height: 1.55;
}

@media (max-width: 900px) {
	.yhz-guide-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 540px) {
	.yhz-guide-grid {
		grid-template-columns: 1fr;
	}

	.yhz-home-section {
		padding: 2rem 1rem;
	}
}
