/* SD GES Hesap — koyu tech araç sayfası */

body.gh-page {
	--gh-bg: #050b14;
	--gh-panel: rgba(12, 23, 39, 0.78);
	--gh-line: rgba(120, 190, 255, 0.14);
	--gh-tx: #e6f1ff;
	--gh-mut: #8aa0b8;
	--gh-g: #3ddc84;
	--gh-c: #22d3ee;
	--gh-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
	background: var(--gh-bg);
	color: var(--gh-tx);
}

html:has(body.gh-page) { scroll-behavior: smooth; }

body.gh-page #page { overflow-x: clip; }

body.gh-page #content {
	position: relative;
	background:
		radial-gradient(900px 500px at 85% 8%, rgba(34, 211, 238, 0.10), transparent 60%),
		radial-gradient(800px 600px at 10% 40%, rgba(61, 220, 132, 0.08), transparent 60%),
		linear-gradient(var(--gh-line) 1px, transparent 1px) 0 0 / 44px 44px,
		linear-gradient(90deg, var(--gh-line) 1px, transparent 1px) 0 0 / 44px 44px,
		var(--gh-bg);
	background-attachment: fixed, fixed, fixed, fixed, fixed;
}

body.gh-page #primary { margin: 0; padding: 0; }
body.gh-page .entry-content { color: var(--gh-tx); max-width: none; }

body.gh-page .site-footer .site-primary-footer-wrap,
body.gh-page .site-footer .site-below-footer-wrap {
	background: #03070e;
	border-top: 1px solid var(--gh-line);
}
body.gh-page .site-footer h2 { color: #fff; }
body.gh-page .site-footer p,
body.gh-page .site-footer .ast-footer-copyright { color: var(--gh-mut); }
body.gh-page .site-footer a { color: var(--gh-g); }

body.gh-page .entry-content h2,
body.gh-page .entry-content h3 { color: #fff; }
body.gh-page .entry-content a:not(.ghx-btn):not(.gh-btn) {
	color: var(--gh-c);
	text-decoration-color: rgba(34, 211, 238, 0.4);
	text-underline-offset: 3px;
}

/* ---------- Hero (page chrome) ---------- */

.ghx-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(3.5rem, 8vw, 6rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
	border-bottom: 1px solid var(--gh-line);
}
.ghx-orb {
	position: absolute; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(61, 220, 132, 0.22), transparent 68%);
	top: -120px; right: 8%; z-index: 0; pointer-events: none;
	animation: ghx-breathe 7s ease-in-out infinite;
}
.ghx-orb.is-c {
	background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 68%);
	top: auto; bottom: -160px; left: -40px; right: auto;
	animation-delay: -3s;
}
.ghx-floor {
	position: absolute; inset: auto 0 0 0; height: 40%;
	background: linear-gradient(transparent, rgba(5, 11, 20, 0.85));
	z-index: 0; pointer-events: none;
}
.ghx-scan {
	position: absolute; left: 0; right: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--gh-g), var(--gh-c), transparent);
	opacity: 0.35; z-index: 1; pointer-events: none;
	animation: ghx-scan 8s linear infinite;
}
.ghx-hero-inner {
	position: relative; z-index: 2;
	max-width: 820px; margin: 0 auto; text-align: center;
}
.ghx-eyebrow {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
	font-weight: 600; color: var(--gh-mut); margin: 0 0 1rem;
}
.ghx-dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--gh-g);
	box-shadow: 0 0 12px var(--gh-g); animation: ghx-blink 2.2s ease-in-out infinite;
}
.ghx-hero h1 {
	font-size: clamp(2rem, 5vw, 2.85rem); font-weight: 700; line-height: 1.12;
	color: #fff; margin: 0 0 1rem;
}
.ghx-grad {
	background: linear-gradient(120deg, var(--gh-g), var(--gh-c));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.ghx-lead {
	font-size: 1.08rem; line-height: 1.7; color: var(--gh-mut);
	margin: 0 auto 1.5rem; max-width: 640px;
}
.ghx-chips {
	display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem;
}
.ghx-chips span {
	font-family: var(--gh-mono); font-size: 0.72rem; letter-spacing: 0.04em;
	padding: 0.35rem 0.7rem; border-radius: 999px;
	border: 1px solid var(--gh-line); color: var(--gh-c);
	background: rgba(34, 211, 238, 0.06);
}
.ghx-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.85rem 1.5rem; border-radius: 4px; font-weight: 600;
	text-decoration: none !important;
	background: linear-gradient(135deg, #2bb86a, #3ddc84);
	color: #04120a !important; border: none;
	box-shadow: 0 8px 28px rgba(61, 220, 132, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ghx-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(61, 220, 132, 0.4); }

.ghx-section {
	max-width: 1080px; margin: 0 auto; padding: 3rem 1.5rem;
}
.ghx-kicker {
	font-family: var(--gh-mono); font-size: 0.75rem; color: var(--gh-g);
	letter-spacing: 0.08em; margin: 0 0 0.6rem;
}
.ghx-intro {
	display: grid; gap: 2rem;
	grid-template-columns: 1.2fr 1fr;
}
@media (max-width: 800px) {
	.ghx-intro { grid-template-columns: 1fr; }
}
.ghx-intro p { color: var(--gh-mut); line-height: 1.75; }
.ghx-features { display: flex; flex-direction: column; gap: 1rem; }
.ghx-feature {
	display: flex; gap: 0.85rem; padding: 1rem 1.1rem;
	border: 1px solid var(--gh-line); border-radius: 14px;
	background: var(--gh-panel); backdrop-filter: blur(10px);
}
.ghx-ico {
	flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
	display: grid; place-items: center;
	font-family: var(--gh-mono); font-size: 0.7rem; font-weight: 700;
	color: #04120a; background: linear-gradient(135deg, var(--gh-g), var(--gh-c));
}
.ghx-feature b { display: block; color: #fff; margin-bottom: 0.2rem; }
.ghx-feature span { color: var(--gh-mut); font-size: 0.92rem; line-height: 1.5; }

.ghx-tool-head {
	display: flex; flex-wrap: wrap; gap: 1rem; align-items: end;
	justify-content: space-between; margin-bottom: 0.5rem;
}
.ghx-tool-head p { color: var(--gh-mut); max-width: 420px; margin: 0; line-height: 1.6; }

.ghx-steps {
	counter-reset: ghx; list-style: none; padding: 0; margin: 1.5rem 0;
	display: grid; gap: 0.85rem;
}
.ghx-steps li {
	position: relative; padding: 1rem 1rem 1rem 3.4rem;
	border: 1px solid var(--gh-line); border-radius: 12px;
	background: var(--gh-panel); color: var(--gh-mut); line-height: 1.6;
}
.ghx-steps li::before {
	counter-increment: ghx; content: counter(ghx, decimal-leading-zero);
	position: absolute; left: 1rem; top: 1rem;
	font-family: var(--gh-mono); font-size: 0.8rem; color: var(--gh-g);
}
.ghx-formula {
	font-family: var(--gh-mono); font-size: 0.85rem; color: var(--gh-c);
	padding: 1rem 1.2rem; border-radius: 10px;
	border: 1px dashed rgba(34, 211, 238, 0.35);
	background: rgba(34, 211, 238, 0.05); overflow-x: auto;
}
.ghx-faq details {
	border: 1px solid var(--gh-line); border-radius: 12px;
	background: var(--gh-panel); margin-bottom: 0.75rem; padding: 0.2rem 1rem;
}
.ghx-faq summary {
	cursor: pointer; list-style: none; padding: 0.9rem 0;
}
.ghx-faq summary::-webkit-details-marker { display: none; }
.ghx-faq summary h3 {
	display: inline; font-size: 1rem; font-weight: 600; margin: 0; color: #fff;
}
.ghx-faq details[open] summary { border-bottom: 1px solid var(--gh-line); margin-bottom: 0.5rem; }
.ghx-faq p { color: var(--gh-mut); line-height: 1.7; padding-bottom: 0.9rem; }

@keyframes ghx-breathe {
	0%, 100% { transform: scale(1); opacity: 0.9; }
	50% { transform: scale(1.08); opacity: 1; }
}
@keyframes ghx-scan {
	0% { top: 8%; opacity: 0; }
	10% { opacity: 0.4; }
	90% { opacity: 0.4; }
	100% { top: 92%; opacity: 0; }
}
@keyframes ghx-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

/* ---------- Calculator widget ---------- */

.gh {
	max-width: 1120px;
	margin: 0 auto 2rem;
	padding: 0 1.25rem 2rem;
}

.gh-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
	gap: 1.25rem;
	align-items: start;
}
@media (max-width: 960px) {
	.gh-layout { grid-template-columns: 1fr; }
}

.gh-card {
	background: var(--gh-panel);
	border: 1px solid var(--gh-line);
	border-radius: 18px;
	padding: 1.15rem 1.2rem 1.3rem;
	backdrop-filter: blur(12px);
	margin-bottom: 1rem;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.gh-card-head {
	display: flex; align-items: center; gap: 0.75rem;
	margin-bottom: 1rem;
}
.gh-card-head h3 {
	margin: 0; font-size: 1.05rem; font-weight: 650; color: #fff;
}
.gh-step {
	font-family: var(--gh-mono); font-size: 0.68rem; letter-spacing: 0.08em;
	padding: 0.28rem 0.5rem; border-radius: 6px;
	background: rgba(61, 220, 132, 0.12); color: var(--gh-g);
	border: 1px solid rgba(61, 220, 132, 0.28);
}
.gh-step.is-out {
	background: rgba(34, 211, 238, 0.1); color: var(--gh-c);
	border-color: rgba(34, 211, 238, 0.28);
}

.gh-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem 1rem;
}
.gh-span2 { grid-column: 1 / -1; }
@media (max-width: 560px) {
	.gh-grid { grid-template-columns: 1fr; }
	.gh-span2 { grid-column: auto; }
}

.gh-field label {
	display: block; font-size: 0.78rem; color: var(--gh-mut);
	margin-bottom: 0.35rem; letter-spacing: 0.02em;
}
.gh-field input,
.gh-field select {
	width: 100%; box-sizing: border-box;
	background: rgba(5, 11, 20, 0.65);
	border: 1px solid var(--gh-line);
	border-radius: 10px;
	color: var(--gh-tx);
	padding: 0.65rem 0.75rem;
	font-size: 0.95rem;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gh-field input:focus,
.gh-field select:focus {
	border-color: rgba(61, 220, 132, 0.55);
	box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.15);
}
.gh-field input[type="range"] {
	padding: 0; accent-color: var(--gh-g); height: 1.4rem;
	background: transparent; border: none;
}
.gh-range-val {
	font-family: var(--gh-mono); font-size: 0.85rem; color: var(--gh-g);
	margin-top: 0.25rem;
}

.gh-hint, .gh-note, .gh-disclaimer {
	font-size: 0.86rem; line-height: 1.6; color: var(--gh-mut); margin: 0.85rem 0 0;
}
.gh-disclaimer { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem 2rem; }

.gh-kpis {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 0.75rem;
}
@media (max-width: 560px) {
	.gh-kpis { grid-template-columns: 1fr 1fr; }
}
.gh-kpi {
	padding: 0.85rem 0.95rem;
	border-radius: 14px;
	border: 1px solid var(--gh-line);
	background: rgba(5, 11, 20, 0.45);
}
.gh-kpi.is-main {
	grid-column: 1 / -1;
	background:
		linear-gradient(135deg, rgba(61, 220, 132, 0.14), rgba(34, 211, 238, 0.08)),
		rgba(5, 11, 20, 0.45);
	border-color: rgba(61, 220, 132, 0.35);
}
.gh-kpi-label {
	display: block; font-size: 0.72rem; text-transform: uppercase;
	letter-spacing: 0.1em; color: var(--gh-mut); margin-bottom: 0.35rem;
}
.gh-kpi-val {
	font-family: var(--gh-mono); color: #fff; font-size: 1.15rem;
}
.gh-kpi.is-main .gh-kpi-val { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.gh-kpi-val b { font-weight: 700; color: var(--gh-g); }
.gh-kpi.is-main .gh-kpi-val b { color: #fff; }
.gh-kpi-val small { color: var(--gh-mut); font-size: 0.75em; margin-left: 0.2rem; }

.gh-savings {
	display: flex; justify-content: space-between; align-items: center;
	margin-top: 0.9rem; padding: 0.85rem 1rem;
	border-radius: 12px;
	background: rgba(61, 220, 132, 0.1);
	border: 1px solid rgba(61, 220, 132, 0.28);
	color: var(--gh-mut); font-size: 0.9rem;
}
.gh-savings strong {
	font-family: var(--gh-mono); color: var(--gh-g); font-size: 1.15rem;
}
.gh-save-hint {
	display: block;
	font-family: var(--gh-mono);
	font-size: 0.72rem;
	color: rgba(138, 160, 184, 0.9);
	margin-top: 0.2rem;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.gh-npv {
	margin-top: 0.9rem;
	padding: 1rem 1.05rem 1.1rem;
	border-radius: 14px;
	border: 1px solid rgba(34, 211, 238, 0.32);
	background:
		linear-gradient(145deg, rgba(34, 211, 238, 0.10), rgba(61, 220, 132, 0.06)),
		rgba(5, 11, 20, 0.5);
}
.gh-npv-main { margin-bottom: 0.85rem; }
.gh-npv-val {
	display: block;
	font-family: var(--gh-mono);
	font-size: clamp(1.45rem, 3.5vw, 1.95rem);
	color: #fff;
	margin-top: 0.25rem;
}
.gh-npv-val b { color: var(--gh-c); font-weight: 700; }
.gh-npv-val small { color: var(--gh-mut); font-size: 0.7em; margin-left: 0.25rem; }
.gh-npv-story {
	margin: 0.55rem 0 0;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--gh-mut);
}
.gh-npv-badge {
	display: inline-block;
	margin: 0.55rem 0 0;
	padding: 0.45rem 0.75rem;
	border-radius: 8px;
	font-size: 0.82rem;
	line-height: 1.45;
	font-weight: 700;
	letter-spacing: 0.01em;
}
.gh-npv-badge.is-good {
	color: #03150a;
	background: #3ddc84;
	border: 1px solid #2bb86a;
}
.gh-npv-badge.is-mid {
	color: #041018;
	background: #22d3ee;
	border: 1px solid #0ea5c4;
}
.gh-npv-badge.is-bad {
	color: #fff;
	background: #e11d48;
	border: 1px solid #be123c;
}
.gh-npv-meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	margin-bottom: 0.75rem;
}
@media (max-width: 560px) {
	.gh-npv-meta { grid-template-columns: 1fr; }
}
.gh-npv-meta strong.is-good-ratio { color: var(--gh-g); }
.gh-npv-meta strong.is-bad-ratio { color: #ff8da3; }
.gh-npv-meta > div {
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	border: 1px solid var(--gh-line);
	background: rgba(5, 11, 20, 0.4);
}
.gh-npv-meta strong {
	display: block;
	margin-top: 0.25rem;
	font-family: var(--gh-mono);
	font-size: 0.95rem;
	color: var(--gh-g);
}
.gh-npv-chart-wrap { margin-top: 0.35rem; }
.gh-npv .gh-hint { margin-top: 0.65rem; }

.gh-cta-row {
	display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem;
}
.gh-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.65rem 1rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
	text-decoration: none !important;
	background: linear-gradient(135deg, #2bb86a, #3ddc84);
	color: #04120a !important;
	transition: transform 0.15s ease;
}
.gh-btn.is-ghost {
	background: transparent;
	color: var(--gh-c) !important;
	border: 1px solid rgba(34, 211, 238, 0.4);
}
.gh-btn:hover { transform: translateY(-1px); }

.gh-legend {
	display: flex; gap: 1.25rem; margin-bottom: 0.5rem;
	font-size: 0.8rem; color: var(--gh-mut);
}
.gh-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.gh-legend i {
	display: inline-block; width: 12px; height: 12px; border-radius: 3px;
}
.gh-legend .is-cons i { background: rgba(34, 211, 238, 0.7); }
.gh-legend .is-prod i { background: #3ddc84; }

.gh-chart-wrap {
	width: 100%; overflow: hidden; border-radius: 12px;
	background: rgba(5, 11, 20, 0.4);
	border: 1px solid rgba(120, 190, 255, 0.08);
}
.gh-chart-wrap.is-sm { margin-top: 0.25rem; }
.gh-chart { display: block; width: 100%; height: auto; }

.gh-bar {
	transform-origin: bottom;
	animation: gh-grow 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.gh-area, .gh-line {
	animation: gh-fade 0.7s ease both;
}
.gh-dot {
	animation: gh-fade 0.5s ease both;
}

@keyframes gh-grow {
	from { transform: scaleY(0); opacity: 0.4; }
	to { transform: scaleY(1); opacity: 1; }
}
@keyframes gh-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.ghx-orb, .ghx-scan, .ghx-dot, .gh-bar, .gh-area, .gh-line, .gh-dot {
		animation: none !important;
	}
}


body.gh-page .gh-npv-badge.is-good { color: #03150a !important; background: #3ddc84 !important; }
body.gh-page .gh-npv-badge.is-mid { color: #041018 !important; background: #22d3ee !important; }
body.gh-page .gh-npv-badge.is-bad { color: #ffffff !important; background: #e11d48 !important; }
