/*!
 * Netden Secim Rehberi — onyuz stilleri.
 * Renk, yaricap, golge ve tipografi tema token'larindan (--nd-*) gelir;
 * tema yuklu degilse yedek degerler devreye girer.
 */

.netden-finder {
	--ndf-ink: var(--nd-ink, #0C1424);
	--ndf-text-2: var(--nd-text-2, #3A4358);
	--ndf-text-3: var(--nd-text-3, #6B7590);
	--ndf-muted: var(--nd-muted, #8A93A8);
	--ndf-bg: var(--nd-bg, #F4F6FB);
	--ndf-surface: var(--nd-surface, #FFFFFF);
	--ndf-border: var(--nd-border, #E5E9F2);
	--ndf-hairline: var(--nd-hairline, #EDF0F7);
	--ndf-border-dark: var(--nd-border-dark, #D5DCEA);
	--ndf-accent: var(--nd-accent, #F4470B);
	--ndf-accent-hover: var(--nd-accent-hover, #D93D08);
	--ndf-accent-soft: var(--nd-accent-soft, #FFECE3);
	--ndf-accent-border: var(--nd-accent-border, #FFD2B8);
	--ndf-green: var(--nd-green, #12B76A);
	--ndf-green-text: var(--nd-green-text, #0F8A54);
	--ndf-green-soft: var(--nd-green-soft, #E7F8EE);
	--ndf-amber: var(--nd-amber, #FFB020);
	--ndf-amber-soft: var(--nd-amber-soft, #FFF9EC);
	--ndf-amber-border: var(--nd-amber-border, #F5E3B8);
	--ndf-orange: var(--nd-orange, #C2410C);
	--ndf-font-display: var(--nd-font-display, "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	--ndf-font-body: var(--nd-font-body, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	--ndf-radius-card: var(--nd-radius-card, 16px);
	--ndf-radius-btn: var(--nd-radius-btn, 12px);
	--ndf-shadow: var(--nd-shadow-card, 0 10px 26px rgba(12, 20, 36, 0.10));
	--ndf-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

	max-width: 760px;
	margin: 32px auto;
	font-family: var(--ndf-font-body);
	font-size: 14px;
	line-height: 1.55;
	color: var(--ndf-ink);
}

.netden-finder *,
.netden-finder *::before,
.netden-finder *::after {
	box-sizing: border-box;
}

/* ------------------------------- Kabuk ------------------------------- */

.ndf-shell {
	background: var(--ndf-surface);
	border: 1px solid var(--ndf-border);
	border-radius: var(--ndf-radius-card);
	box-shadow: var(--ndf-shadow);
	padding: 28px;
}

.ndf-shell--loading,
.ndf-shell--error {
	text-align: center;
	color: var(--ndf-text-3);
}

.ndf-shell--error {
	color: var(--ndf-orange);
}

.ndf-noscript {
	background: var(--ndf-amber-soft);
	border: 1px solid var(--ndf-amber-border);
	border-radius: var(--ndf-radius-btn);
	padding: 14px 18px;
	color: var(--ndf-text-2);
}

/* ------------------------------- Baslik ------------------------------- */

.ndf-kicker {
	font-family: var(--ndf-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--ndf-accent);
	margin: 0 0 8px;
	text-transform: uppercase;
}

.ndf-title {
	font-family: var(--ndf-font-display);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.5px;
	color: var(--ndf-ink);
	margin: 0 0 14px;
	outline: none;
}

.ndf-intro {
	margin: -6px 0 18px;
	color: var(--ndf-text-3);
	font-size: 13.5px;
}

.ndf-progress {
	display: flex;
	gap: 6px;
	margin-bottom: 22px;
}

.ndf-dot {
	width: 28px;
	height: 4px;
	border-radius: 999px;
	background: var(--ndf-border);
	transition: background 0.18s ease;
}

.ndf-dot.is-active {
	background: var(--ndf-accent);
}

/* ------------------------------ Secenekler ---------------------------- */

.ndf-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ndf-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	text-align: left;
	background: var(--ndf-surface);
	border: 1.5px solid var(--ndf-border);
	border-radius: var(--ndf-radius-btn);
	padding: 16px 18px;
	cursor: pointer;
	color: var(--ndf-ink);
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ndf-option:hover {
	border-color: var(--ndf-accent);
	background: var(--ndf-accent-soft);
}

.ndf-option.is-selected {
	border-color: var(--ndf-accent);
	background: var(--ndf-accent-soft);
}

.ndf-option-label {
	font-family: var(--ndf-font-display);
	font-weight: 800;
	font-size: 15px;
	line-height: 1.3;
}

.ndf-option-hint {
	font-size: 12.5px;
	color: var(--ndf-text-3);
}

.ndf-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	background: var(--ndf-surface);
	border: 1.5px solid var(--ndf-border-dark);
	border-radius: var(--ndf-radius-btn);
	color: var(--ndf-ink);
	padding: 9px 16px;
	font-size: 12.5px;
	font-weight: 800;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.ndf-back:hover {
	border-color: var(--ndf-ink);
}

/* ------------------------------- Sonuclar ----------------------------- */

.ndf-result {
	background: var(--ndf-surface);
	border: 1px solid var(--ndf-border);
	border-radius: var(--ndf-radius-card);
	padding: 20px;
	margin-bottom: 14px;
}

.ndf-result.is-top {
	border-color: var(--ndf-accent-border);
	background: linear-gradient(180deg, var(--ndf-accent-soft) 0%, var(--ndf-surface) 120px);
}

.ndf-status {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.ndf-light {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	flex: none;
}

.ndf-light--green {
	background: var(--ndf-green);
	box-shadow: 0 0 0 3px var(--ndf-green-soft);
}

.ndf-light--amber {
	background: var(--ndf-amber);
	box-shadow: 0 0 0 3px var(--ndf-amber-soft);
}

.ndf-status-text {
	font-family: var(--ndf-mono);
	font-size: 11.5px;
	letter-spacing: 0.04em;
	color: var(--ndf-text-3);
	text-transform: uppercase;
}

.ndf-result-main {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.ndf-thumb {
	width: 78px;
	height: 78px;
	object-fit: contain;
	background: var(--ndf-bg);
	border: 1px solid var(--ndf-hairline);
	border-radius: var(--ndf-radius-btn);
	flex: none;
}

.ndf-model {
	font-family: var(--ndf-mono);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ndf-ink);
	margin: 0 0 8px;
}

.ndf-badge {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ndf-accent);
	background: var(--ndf-accent-soft);
	border: 1px solid var(--ndf-accent-border);
	border-radius: 999px;
	padding: 3px 11px;
}

.ndf-specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 22px;
	border-top: 1px solid var(--ndf-hairline);
	padding-top: 14px;
	margin-bottom: 14px;
}

.ndf-spec {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	font-size: 13px;
}

.ndf-spec-label {
	color: var(--ndf-text-3);
	flex: none;
}

.ndf-spec-value {
	font-family: var(--ndf-mono);
	font-size: 12.5px;
	color: var(--ndf-ink);
	text-align: right;
}

.ndf-why-title {
	font-family: var(--ndf-font-display);
	font-weight: 800;
	font-size: 14px;
	margin: 6px 0 8px;
	color: var(--ndf-ink);
}

.ndf-why {
	margin: 0 0 16px;
	padding-left: 20px;
	color: var(--ndf-text-2);
	font-size: 13.5px;
}

.ndf-why li {
	margin-bottom: 4px;
}

.ndf-empty {
	background: var(--ndf-bg);
	border: 1px solid var(--ndf-border);
	border-radius: var(--ndf-radius-btn);
	padding: 18px;
	color: var(--ndf-text-2);
	margin: 0;
}

/* -------------------------------- Butonlar ---------------------------- */

.ndf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ndf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1.5px solid transparent;
	border-radius: var(--ndf-radius-btn);
	padding: 11px 20px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ndf-btn--primary {
	background: var(--ndf-accent);
	color: #fff;
}

.ndf-btn--primary:hover {
	background: var(--ndf-accent-hover);
	color: #fff;
	text-decoration: none;
}

.ndf-btn--ghost {
	background: var(--ndf-surface);
	border-color: var(--ndf-border-dark);
	color: var(--ndf-ink);
}

.ndf-btn--ghost:hover {
	border-color: var(--ndf-ink);
	color: var(--ndf-ink);
	text-decoration: none;
}

/* ------------------------------ Ek oneri ------------------------------ */

.ndf-upsell {
	background: var(--ndf-amber-soft);
	border: 1px solid var(--ndf-amber-border);
	border-radius: var(--ndf-radius-btn);
	padding: 16px 18px;
	margin-bottom: 16px;
}

.ndf-upsell-title {
	font-family: var(--ndf-font-display);
	font-weight: 800;
	font-size: 14px;
	color: var(--ndf-orange);
	margin: 0 0 4px;
}

.ndf-upsell-text {
	margin: 0 0 12px;
	font-size: 13.5px;
	color: var(--ndf-text-2);
}

.ndf-alt-title {
	font-family: var(--ndf-font-display);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ndf-text-3);
	margin: 4px 0 12px;
}

.ndf-alts .ndf-result {
	background: var(--ndf-bg);
}

/* --------------------------- Erisilebilirlik -------------------------- */

.ndf-option:focus-visible,
.ndf-back:focus-visible,
.ndf-btn:focus-visible {
	outline: 2px solid var(--ndf-accent);
	outline-offset: 2px;
}

/* -------------------------------- Mobil ------------------------------- */

@media (max-width: 640px) {
	.netden-finder {
		margin: 20px auto;
	}

	.ndf-shell {
		padding: 20px 18px;
	}

	.ndf-title {
		font-size: 19px;
	}

	.ndf-options,
	.ndf-specs {
		grid-template-columns: 1fr;
	}

	.ndf-result-main {
		gap: 12px;
	}

	.ndf-thumb {
		width: 64px;
		height: 64px;
	}

	.ndf-actions {
		flex-direction: column;
	}

	.ndf-btn {
		width: 100%;
	}
}

/* -------------------------- Hareket tercihi --------------------------- */

@media (prefers-reduced-motion: reduce) {
	.netden-finder *,
	.netden-finder *::before,
	.netden-finder *::after {
		transition: none !important;
		animation: none !important;
	}
}
