/* byWitty brief — siyah / sarı / gri / beyaz tema */

:root {
	--bw-black: #050505;
	--bw-black-soft: #0f0f10;
	--bw-grey-900: #141416;
	--bw-grey-800: #1c1c1f;
	--bw-grey-700: #2a2a2e;
	--bw-grey-500: #6b6b70;
	--bw-grey-400: #9a9a9f;
	--bw-white: #f7f7f8;
	--bw-white-muted: #c4c4c8;
	--bw-yellow: #e8c547;
	--bw-yellow-bright: #f5d55a;
	--bw-yellow-dim: #a88b2a;
	--bw-glow: rgba(232, 197, 71, 0.35);
}

html {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	padding-top: 65px;
	min-height: 100%;
	box-sizing: border-box;
	font-family: "Open Sans", system-ui, sans-serif !important;
	background: var(--bw-black);
	color: var(--bw-white-muted);
}

/* Hareketli degrade zemin (hub + formlar) */
body.brief-hub-page,
body.brief-form-page {
	background: linear-gradient(
		-42deg,
		#030303,
		#121212,
		#1a1708,
		#0a0a0a,
		#151820,
		#080808
	);
	background-size: 420% 420%;
	animation: brief-gradient-flow 22s ease infinite;
	color: var(--bw-white-muted);
}

@keyframes brief-gradient-flow {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.brief-hub-page,
	body.brief-form-page {
		animation: none;
		background: linear-gradient(165deg, #0a0a0a 0%, #121212 50%, #0d0d0d 100%);
		background-size: 100% 100%;
	}
}

body.brief-hub-page {
	min-height: 100vh;
	height: auto;
	padding-top: 0;
	display: flex;
	flex-direction: column;
}

body.brief-form-page {
	padding-top: 65px;
}

/* —— Form tabloları —— */
table.main {
	margin: 0 auto;
	width: 850px;
	max-width: calc(100% - 32px);
	background: var(--bw-grey-900);
	border: 1px solid rgba(232, 197, 71, 0.18);
	border-radius: 12px;
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.4),
		0 24px 48px rgba(0, 0, 0, 0.45),
		0 0 80px rgba(232, 197, 71, 0.04);
	border-spacing: 10px;
	border-bottom: 1px solid rgba(232, 197, 71, 0.12);
}

table.alt {
	width: 100%;
}

table thead {
	background: linear-gradient(180deg, #2a2618 0%, #1a1810 100%);
	color: var(--bw-white);
	border-bottom: 2px solid var(--bw-yellow-dim);
}

table thead th {
	font-weight: 600;
	font-size: 20px;
	padding: 10px 14px;
	color: var(--bw-yellow-bright);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

table tbody td {
	font-size: 14px;
	font-weight: 400;
	color: var(--bw-white-muted);
	background: var(--bw-grey-800);
	min-width: 120px;
	border: 1px solid rgba(232, 197, 71, 0.14);
	border-radius: 6px;
	padding: 8px 10px;
}

table tbody td.toplam {
	background: var(--bw-grey-700);
	height: 22px;
	color: var(--bw-white);
}

table tbody tr {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	margin-bottom: 50px;
}

table tbody td.blue {
	background: linear-gradient(180deg, var(--bw-yellow) 0%, var(--bw-yellow-dim) 100%);
	color: var(--bw-black);
	padding: 8px 12px;
	width: 150px;
	font-weight: 600;
	border: 1px solid rgba(0, 0, 0, 0.25);
}

table tbody td.baslik {
	color: var(--bw-yellow-bright);
	font-weight: 700;
	font-size: 22px;
	text-align: center;
	border: none;
	text-shadow: 0 0 24px rgba(232, 197, 71, 0.2);
}

table tbody td.zero {
	border: none;
	padding: 0;
}

button {
	padding: 12px 20px;
	background: linear-gradient(180deg, var(--bw-yellow-bright) 0%, var(--bw-yellow) 100%);
	color: var(--bw-black);
	border: 1px solid var(--bw-yellow-dim);
	cursor: pointer;
	float: right;
	font-weight: 700;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(232, 197, 71, 0.25);
}

button:hover {
	background: var(--bw-yellow-bright);
	box-shadow: 0 6px 20px var(--bw-glow);
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
td:focus {
	border-color: rgba(232, 197, 71, 0.55);
	box-shadow:
		0 1px 1px rgba(0, 0, 0, 0.2) inset,
		0 0 0 2px rgba(232, 197, 71, 0.25);
	outline: 0 none;
}

/* —— Footer —— */
footer {
	background: var(--bw-black-soft);
	color: var(--bw-white-muted);
	font-weight: 300;
	padding: 45px 0;
	margin-top: 45px;
	width: 100%;
	overflow: hidden;
	text-align: center;
	border-top: 1px solid rgba(232, 197, 71, 0.15);
}

body.brief-hub-page footer.site-footer {
	margin-top: auto;
	padding: 20px 20px 24px;
	background: rgba(5, 5, 5, 0.85);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgba(232, 197, 71, 0.28);
}

.site-footer__notice {
	max-width: 640px;
	margin: 0 auto 16px;
	padding: 0 12px;
	box-sizing: border-box;
	font-size: 12px;
	line-height: 1.65;
	color: var(--bw-grey-400);
	text-align: center;
}

.site-footer__notice strong {
	color: var(--bw-yellow-bright);
	font-weight: 600;
}

.site-footer__brand {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
	margin-top: 4px;
}

.site-footer__brand:focus-visible {
	outline: 2px solid var(--bw-yellow);
	outline-offset: 4px;
	border-radius: 4px;
}

footer .site-footer__logo {
	display: block;
	height: auto;
	width: auto;
	max-height: 22px;
	max-width: min(96px, 32vw);
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.06));
}

footer img:not(.site-footer__logo) {
	height: 65px;
}

footer div.footer {
	margin: 0 auto;
	width: 300px;
	font-size: 12px;
}

/* Eski .brief kutuları (varsa) */
.brief {
	border-radius: 12px;
	padding: 15px;
	background: var(--bw-grey-800);
	color: var(--bw-white);
	width: 160px;
	float: left;
	text-align: center;
	height: 150px;
	margin: 10px;
	display: table;
	font-weight: 600;
	border: 1px solid rgba(232, 197, 71, 0.2);
}

.brief a {
	color: var(--bw-white);
	text-decoration: none;
}

.brief-alt {
	display: table-cell;
	vertical-align: middle;
}

/* —— Hub —— */
.brief-hub {
	flex: 1 1 auto;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: clamp(10px, 2vh, 20px) clamp(16px, 4vw, 48px) clamp(28px, 5vh, 48px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 0;
	position: relative;
}

.brief-hub__hero {
	text-align: center;
	margin-bottom: clamp(20px, 3.5vh, 36px);
	padding-top: clamp(4px, 1vh, 10px);
}

.brief-hub__brand {
	display: inline-block;
	margin: 0 auto 12px;
	line-height: 0;
	text-decoration: none;
}

.brief-hub__brand:focus-visible {
	outline: 2px solid var(--bw-yellow);
	outline-offset: 6px;
	border-radius: 4px;
}

.brief-hub__logo {
	display: block;
	width: min(400px, 92vw);
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
}

.brief-hub__title {
	margin: 0 0 16px;
	font-size: clamp(1.75rem, 4.2vw, 2.35rem);
	font-weight: 800;
	color: var(--bw-white);
	letter-spacing: -0.03em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.brief-hub__title span {
	color: var(--bw-yellow-bright);
}

.brief-hub__lead {
	margin: 0 auto;
	max-width: 520px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--bw-grey-400);
}

/* 3 sütun, son satırdaki 2 kart ortada */
.brief-hub__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	max-width: 1020px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.brief-hub__card {
	grid-column: span 2;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px 20px 20px;
	background: linear-gradient(
		145deg,
		rgba(28, 28, 32, 0.92) 0%,
		rgba(14, 14, 16, 0.88) 100%
	);
	border-radius: 16px;
	border: 1px solid rgba(232, 197, 71, 0.22);
	box-shadow:
		0 4px 24px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	text-decoration: none;
	color: inherit;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
	overflow: hidden;
	backdrop-filter: blur(8px);
}

.brief-hub__card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 80% 50% at 50% -20%,
		rgba(232, 197, 71, 0.12),
		transparent 55%
	);
	pointer-events: none;
	opacity: 0.85;
	transition: opacity 0.22s ease;
}

.brief-hub__card::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, var(--bw-yellow-bright), var(--bw-yellow-dim));
	opacity: 0;
	transition: opacity 0.2s ease;
	border-radius: 16px 0 0 16px;
}

.brief-hub__card:hover,
.brief-hub__card:focus-visible {
	transform: translateY(-4px);
	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.5),
		0 0 48px rgba(232, 197, 71, 0.12);
	border-color: rgba(245, 213, 90, 0.45);
	outline: none;
}

.brief-hub__card:hover::after,
.brief-hub__card:focus-visible::after {
	opacity: 1;
}

.brief-hub__card:hover::before,
.brief-hub__card:focus-visible::before {
	opacity: 1;
}

.brief-hub__card-icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 14px;
	border-radius: 10px;
	background: rgba(232, 197, 71, 0.12);
	color: var(--bw-yellow-bright);
	font-size: 18px;
	line-height: 1;
	border: 1px solid rgba(232, 197, 71, 0.25);
}

.brief-hub__card-title {
	position: relative;
	z-index: 1;
	margin: 0 0 8px;
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--bw-white);
}

.brief-hub__card-desc {
	position: relative;
	z-index: 1;
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--bw-grey-400);
	flex: 1;
}

.brief-hub__card-time {
	position: relative;
	z-index: 1;
	margin: 0 0 14px;
	font-size: 12px;
	line-height: 1.45;
	color: rgba(180, 182, 190, 0.9);
	font-weight: 500;
	letter-spacing: 0.01em;
}

.brief-hub__card-cta {
	position: relative;
	z-index: 1;
	font-size: 13px;
	font-weight: 700;
	color: var(--bw-yellow-bright);
	letter-spacing: 0.02em;
}

.brief-hub__card:hover .brief-hub__card-cta,
.brief-hub__card:focus-visible .brief-hub__card-cta {
	color: var(--bw-white);
	text-shadow: 0 0 20px rgba(232, 197, 71, 0.4);
}

/* Form sayfası üst logo */
.brief-form__logo-wrap {
	width: 100%;
	max-width: 850px;
	margin: 0 auto 16px;
	padding: 0 16px;
	box-sizing: border-box;
	text-align: center;
}

.brief-form__logo-wrap a.brief-form__logo-link {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
	border: none;
}
.brief-form__logo-wrap a.brief-form__logo-link:focus-visible {
	outline: 2px solid var(--bw-yellow);
	outline-offset: 4px;
	border-radius: 4px;
}
.brief-form__logo-wrap img {
	display: inline-block;
	width: auto;
	height: auto;
	max-width: min(220px, 70vw);
	max-height: 64px;
}

@media (max-width: 900px) {
	.brief-hub__grid {
		grid-template-columns: 1fr;
		max-width: 420px;
	}

	.brief-hub__card {
		grid-column: 1;
	}
}

@media (max-width: 600px) {
	body.brief-form-page {
		padding-top: 24px;
	}

	.brief-hub {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* Hub — TR/EN (logo ile başlık arasında, kompakt) */
.brief-hub__toolbar {
	display: flex;
	justify-content: center;
	margin: 0 0 18px;
}

.brief-hub__toolbar .wb-langswitch {
	display: inline-flex;
	border-radius: 999px;
	border: 1px solid rgba(232, 197, 71, 0.26);
	overflow: hidden;
	background: rgba(10, 10, 12, 0.82);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brief-hub__toolbar .wb-langswitch__btn {
	margin: 0;
	padding: 3px 9px;
	min-width: 2.1rem;
	font: inherit;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.25;
	border: none;
	cursor: pointer;
	color: var(--bw-white-muted);
	background: transparent;
}

.brief-hub__toolbar .wb-langswitch__btn:hover {
	color: var(--bw-white);
}

.brief-hub__toolbar .wb-langswitch__btn.is-active {
	background: var(--bw-yellow);
	color: #141416;
}
