:root {
	color-scheme: dark;
	--background: #070a11;
	--surface: #0d131d;
	--surface-raised: #121a26;
	--text: #f5f7fb;
	--muted: #9ca8b9;
	--quiet: #6f7b8d;
	--border: #273244;
	--cyan: #42d8f4;
	--violet: #b58cff;
	--gold: #f1c86b;
	--green: #6dd7aa;
	--page-width: 1180px;
	--reading-width: 820px;
}

* {
	box-sizing: border-box;
	letter-spacing: 0;
}

html {
	background: var(--background);
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	background: var(--background);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--cyan);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--text);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

img {
	display: block;
	max-width: 100%;
}

code {
	border: 1px solid var(--border);
	border-radius: 4px;
	background: var(--surface);
	color: #dce6f3;
	padding: 0.1em 0.35em;
	font-size: 0.92em;
}

[data-language-panel] {
	display: none;
}

html[data-language="en"] [data-language-panel="en"],
html[data-language="tr"] [data-language-panel="tr"] {
	display: block;
}

.skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	transform: translateY(-160%);
	border-radius: 4px;
	background: var(--text);
	color: var(--background);
	padding: 0.65rem 0.9rem;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid rgba(39, 50, 68, 0.82);
	background: rgba(7, 10, 17, 0.94);
	backdrop-filter: blur(14px);
}

.header-inner,
.page-inner,
.footer-inner {
	width: min(calc(100% - 3rem), var(--page-width));
	margin: 0 auto;
}

.header-inner {
	display: flex;
	min-height: 70px;
	align-items: center;
	gap: 1.5rem;
}

.brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.7rem;
	color: var(--text);
	font-size: 1.02rem;
	font-weight: 650;
	text-decoration: none;
}

.brand img {
	width: 36px;
	height: 36px;
	border-radius: 8px;
}

.site-nav {
	display: flex;
	min-width: 0;
	flex: 1;
	align-items: center;
	justify-content: flex-end;
	gap: 1.25rem;
}

.site-nav a {
	position: relative;
	color: var(--muted);
	font-size: 0.88rem;
	font-weight: 560;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: var(--text);
}

.site-nav a[aria-current="page"]::after {
	position: absolute;
	right: 0;
	bottom: -0.55rem;
	left: 0;
	height: 2px;
	background: var(--cyan);
	content: "";
}

.language-switch {
	display: inline-grid;
	grid-template-columns: repeat(2, 38px);
	height: 34px;
	flex: 0 0 auto;
	border: 1px solid var(--border);
	border-radius: 5px;
	overflow: hidden;
}

.language-switch button {
	width: 38px;
	height: 32px;
	border: 0;
	border-right: 1px solid var(--border);
	background: transparent;
	color: var(--quiet);
	cursor: pointer;
	font-size: 0.75rem;
	font-weight: 700;
}

.language-switch button:last-child {
	border-right: 0;
}

.language-switch button[aria-pressed="true"] {
	background: var(--surface-raised);
	color: var(--text);
}

.language-switch button:focus-visible,
.button:focus-visible,
a:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
}

main {
	overflow: hidden;
}

.magnio-hero {
	position: relative;
	display: flex;
	min-height: 570px;
	align-items: flex-end;
	background-image: url("./icons/icon-512x512.png");
	background-position: calc(50% + 245px) 48%;
	background-repeat: no-repeat;
	background-size: 560px 560px;
	overflow: hidden;
}

.magnio-hero::before {
	position: absolute;
	inset: 0;
	background: rgba(7, 10, 17, 0.36);
	content: "";
}

.hero-content {
	position: relative;
	z-index: 1;
	width: min(calc(100% - 3rem), var(--page-width));
	margin: 0 auto;
	padding: 6rem 0 5rem;
}

.eyebrow,
.section-kicker {
	margin: 0 0 0.65rem;
	color: var(--cyan);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.magnio-hero h1 {
	margin: 0;
	font-size: 4.8rem;
	font-weight: 700;
	line-height: 0.98;
}

.hero-tagline {
	max-width: 620px;
	margin: 1rem 0 0;
	color: var(--text);
	font-size: 1.65rem;
	font-weight: 580;
	line-height: 1.3;
}

.hero-copy {
	max-width: 590px;
	margin: 1.15rem 0 0;
	color: #c6cfdb;
	font-size: 1.05rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.6rem;
}

.button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--cyan);
	border-radius: 6px;
	background: var(--cyan);
	color: #071016;
	padding: 0.65rem 1.05rem;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.button:hover {
	background: var(--text);
	border-color: var(--text);
	color: var(--background);
}

.button.secondary {
	border-color: var(--border);
	background: rgba(7, 10, 17, 0.68);
	color: var(--text);
}

.hero-requirements {
	margin: 1.4rem 0 0;
	color: var(--quiet);
	font-size: 0.82rem;
}

.content-section {
	padding: 5.5rem 0;
	border-top: 1px solid var(--border);
}

.content-section.compact {
	padding: 4rem 0;
}

.section-heading {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
	gap: 3rem;
	align-items: end;
	margin-bottom: 2.75rem;
}

.section-heading h2,
.legal-header h1 {
	margin: 0;
	font-size: 2.45rem;
	line-height: 1.15;
}

.section-heading p {
	margin: 0;
	color: var(--muted);
}

.screenshot-rail {
	display: grid;
	grid-auto-columns: minmax(360px, 1fr);
	grid-auto-flow: column;
	gap: 1rem;
	overflow-x: auto;
	padding: 0 0 1.25rem;
	scroll-snap-type: x mandatory;
	scrollbar-color: var(--border) transparent;
}

.screenshot-rail figure {
	margin: 0;
	scroll-snap-align: start;
}

.screenshot-rail img {
	width: 100%;
	height: auto;
	aspect-ratio: 2868 / 1320;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: var(--surface);
	object-fit: contain;
}

.motion-steps,
.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--border);
	background: var(--border);
}

/* Çalım jestleri dörde çıktı (dokun · eğ · it · kaydır): dar ekranda
   ikişerli, geniş ekranda dört yan yana. */
.motion-steps {
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.motion-step,
.feature-item {
	min-width: 0;
	background: var(--background);
	padding: 1.6rem;
}

.motion-step strong,
.feature-item h3 {
	display: block;
	margin: 0 0 0.55rem;
	color: var(--text);
	font-size: 1rem;
}

.motion-step p,
.feature-item p {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.motion-step:nth-child(1) {
	box-shadow: inset 0 3px 0 var(--cyan);
}

.motion-step:nth-child(2) {
	box-shadow: inset 0 3px 0 var(--violet);
}

.motion-step:nth-child(3) {
	box-shadow: inset 0 3px 0 var(--gold);
}

.feature-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-item:nth-child(1) h3 {
	color: var(--cyan);
}

.feature-item:nth-child(2) h3 {
	color: var(--violet);
}

.feature-item:nth-child(3) h3 {
	color: var(--gold);
}

.feature-item:nth-child(4) h3 {
	color: var(--green);
}

.support-layout {
	display: grid;
	grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
	gap: 4rem;
	align-items: start;
}

.support-intro {
	position: sticky;
	top: 110px;
}

.support-intro h2 {
	margin: 0;
	font-size: 2.25rem;
	line-height: 1.15;
}

.support-intro p {
	margin: 1rem 0 0;
	color: var(--muted);
}

.contact-line {
	margin-top: 1.4rem;
}

.faq-list {
	border-bottom: 1px solid var(--border);
}

.faq-list details {
	border-top: 1px solid var(--border);
}

.faq-list summary {
	position: relative;
	min-height: 64px;
	padding: 1.2rem 3rem 1.2rem 0;
	color: var(--text);
	cursor: pointer;
	font-weight: 650;
	list-style: none;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary::after {
	position: absolute;
	top: 50%;
	right: 0.25rem;
	width: 1.25rem;
	height: 1.25rem;
	transform: translateY(-50%);
	color: var(--cyan);
	content: "+";
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.1;
	text-align: center;
}

.faq-list details[open] summary::after {
	content: "−";
}

.faq-answer {
	max-width: 720px;
	padding: 0 2.5rem 1.4rem 0;
	color: var(--muted);
	font-size: 0.94rem;
}

.faq-answer p {
	margin: 0 0 0.8rem;
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
	margin-bottom: 0;
}

.faq-answer ul {
	margin: 0.65rem 0 1rem;
	padding-left: 1.2rem;
}

.trust-band {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--surface);
}

.trust-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2rem;
	align-items: center;
	padding: 2.1rem 0;
}

.trust-content h2 {
	margin: 0;
	font-size: 1.35rem;
}

.trust-content p {
	margin: 0.35rem 0 0;
	color: var(--muted);
}

.trust-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 1.1rem;
}

.legal-main {
	padding: 5rem 0 6rem;
}

.legal-document {
	width: min(100%, var(--reading-width));
}

.legal-header {
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--border);
}

.legal-meta {
	margin: 0.85rem 0 0;
	color: var(--quiet);
	font-size: 0.88rem;
}

.legal-summary {
	margin: 2rem 0 0;
	border-left: 3px solid var(--cyan);
	background: var(--surface);
	padding: 1.25rem 1.35rem;
	color: #d5dce7;
}

.legal-section {
	padding: 2.2rem 0;
	border-bottom: 1px solid var(--border);
}

.legal-section h2 {
	margin: 0 0 0.75rem;
	font-size: 1.18rem;
}

.legal-section p,
.legal-section li {
	color: var(--muted);
}

.legal-section p {
	margin: 0 0 0.85rem;
}

.legal-section p:last-child {
	margin-bottom: 0;
}

.legal-section ul {
	margin: 0.75rem 0 0;
	padding-left: 1.2rem;
}

address {
	color: var(--muted);
	font-style: normal;
}

.site-footer {
	border-top: 1px solid var(--border);
	background: #06080d;
}

.footer-inner {
	display: flex;
	min-height: 110px;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.footer-inner p {
	margin: 0;
	color: var(--quiet);
	font-size: 0.82rem;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 1rem;
}

.footer-links a {
	color: var(--muted);
	font-size: 0.82rem;
	text-decoration: none;
}

@media (max-width: 900px) {
	.header-inner {
		flex-wrap: wrap;
		gap: 0.7rem 1rem;
		padding: 0.8rem 0;
	}

	.site-nav {
		order: 3;
		width: 100%;
		flex-basis: 100%;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 0.15rem;
	}

	.language-switch {
		margin-left: auto;
	}

	.magnio-hero {
		min-height: 540px;
		background-position: calc(50% + 200px) 47%;
		background-size: 500px 500px;
	}

	.section-heading,
	.support-layout {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.support-intro {
		position: static;
		margin-bottom: 1.5rem;
	}
}

@media (max-width: 680px) {
	body {
		font-size: 15px;
	}

	.header-inner,
	.page-inner,
	.footer-inner,
	.hero-content {
		width: min(calc(100% - 2rem), var(--page-width));
	}

	.site-nav {
		gap: 1rem;
	}

	.magnio-hero {
		min-height: 530px;
		background-position: 70px 15px;
		background-size: 430px 430px;
	}

	.magnio-hero::before {
		background: rgba(7, 10, 17, 0.5);
	}

	.hero-content {
		padding: 8rem 0 3.5rem;
	}

	.magnio-hero h1 {
		font-size: 3.4rem;
	}

	.hero-tagline {
		font-size: 1.35rem;
	}

	.content-section {
		padding: 4rem 0;
	}

	.section-heading h2,
	.legal-header h1 {
		font-size: 2rem;
	}

	.screenshot-rail {
		grid-auto-columns: 88vw;
	}

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

	.trust-content,
	.footer-inner {
		grid-template-columns: 1fr;
		display: grid;
	}

	.trust-links,
	.footer-links {
		justify-content: flex-start;
	}

	.footer-inner {
		padding: 1.8rem 0;
	}

	.legal-main {
		padding: 3.5rem 0 4rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
