/* ========================================
   WELCOME / LANDING - PinStory
   Nadbudowa global.css
   ======================================== */

body {
	background: #fafafa;
}

/* ========================================
   HEADER
   ======================================== */

.landing-header {
	background: white;
	border-bottom: 3px
		solid
		var(
			--brand
		);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px
		8px
		rgba(
			0,
			0,
			0,
			0.06
		);
}
.landing-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.landing-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	font-weight: 800;
	color: var(--brand);
	letter-spacing: -0.5px;
	font-family: var(
		--font-family-headline
	);
}
.landing-logo img {
	height: 30px;
	width: auto;
	display: block;
}

.btn-login-header {
	padding: 10px 22px;
	background: var(
		--brand
	);
	color: white;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	transition: var(
		--button-transition
	);
}
.btn-login-header:hover {
	background: var(
		--brand-dark
	);
	color: white;
	transform: translateY(
		-1px
	);
	box-shadow: 0 4px
		12px
		rgba(
			200,
			73,
			62,
			0.3
		);
}

/* ========================================
   HERO
   ======================================== */

.hero {
	background: linear-gradient(
		135deg,
		var(
				--brand
			)
			0%,
		var(
				--brand-dark
			)
			100%
	);
	color: white;
	padding: 100px 24px
		120px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		circle,
		rgba(
				255,
				255,
				255,
				0.04
			)
			1px,
		transparent
			1px
	);
	background-size: 30px
		30px;
	pointer-events: none;
}
.hero-inner {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.hero h1 {
	font-family: var(
		--font-family-headline
	);
	font-size: 56px;
	font-weight: 800;
	margin-bottom: 24px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: white;
}
.hero h1 .accent {
	display: block;
	color: #fef2f2;
	opacity: 0.92;
}
.hero p {
	font-size: 18px;
	color: rgba(
		255,
		255,
		255,
		0.9
	);
	margin: 0 auto 40px;
	max-width: 600px;
	line-height: 1.6;
}
.hero-cta {
	display: inline-block;
	background: white;
	color: var(--brand);
	padding: 16px 44px;
	border-radius: 7px;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	transition: var(
		--button-transition
	);
	box-shadow: 0 8px
		20px
		rgba(
			0,
			0,
			0,
			0.15
		);
}
.hero-cta:hover {
	transform: translateY(
		-2px
	);
	box-shadow: 0 12px
		28px
		rgba(
			0,
			0,
			0,
			0.2
		);
	color: var(
		--brand-dark
	);
}
.hero-note {
	margin-top: 20px;
	color: rgba(
		255,
		255,
		255,
		0.7
	);
	font-size: 13px;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
	padding: 80px 24px;
}
.section-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.section-title {
	font-family: var(
		--font-family-headline
	);
	text-align: center;
	font-size: 34px;
	font-weight: 800;
	margin-bottom: 12px;
	color: var(
		--gray-700
	);
}
.section-subtitle {
	text-align: center;
	color: var(
		--gray-500
	);
	font-size: 15px;
	margin-bottom: 56px;
}

/* ========================================
   FEATURES
   ======================================== */

.features-grid {
	display: grid;
	grid-template-columns: repeat(
		3,
		1fr
	);
	gap: 28px;
}
.feature-card {
	background: white;
	padding: 36px 28px;
	border-radius: 10px;
	box-shadow: 0 2px
		8px
		rgba(
			0,
			0,
			0,
			0.08
		);
	transition: all
		250ms
		cubic-bezier(
			0.4,
			0,
			0.2,
			1
		);
	border-top: 4px
		solid
		transparent;
}
.feature-card:hover {
	transform: translateY(
		-6px
	);
	box-shadow: 0 12px
		28px
		rgba(
			200,
			73,
			62,
			0.15
		);
	border-top-color: var(
		--brand
	);
}
.feature-icon {
	font-size: 40px;
	margin-bottom: 18px;
	display: inline-block;
}
.feature-card h3 {
	font-family: var(
		--font-family-headline
	);
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(
		--gray-700
	);
}
.feature-card p {
	color: var(
		--gray-500
	);
	font-size: 14px;
	margin: 0;
	line-height: 1.6;
}

/* ========================================
   HOW IT WORKS
   ======================================== */

.how-it-works {
	background: white;
}
.steps {
	display: grid;
	grid-template-columns: repeat(
		3,
		1fr
	);
	gap: 40px;
	margin-top: 20px;
}
.step {
	text-align: center;
	position: relative;
}
.step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: linear-gradient(
		135deg,
		var(
			--brand
		),
		var(
			--brand-dark
		)
	);
	color: white;
	border-radius: 50%;
	font-family: var(
		--font-family-headline
	);
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 18px;
	box-shadow: 0 6px
		16px
		rgba(
			200,
			73,
			62,
			0.25
		);
}
.step h4 {
	font-family: var(
		--font-family-headline
	);
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(
		--gray-700
	);
}
.step p {
	color: var(
		--gray-500
	);
	font-size: 13px;
	margin: 0;
}

/* ========================================
   DOWNLOAD APP
   ======================================== */

.download-section {
	background: #fafafa;
	padding: 80px 24px;
}
.download-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.download-text h2 {
	font-family: var(
		--font-family-headline
	);
	font-size: 34px;
	font-weight: 800;
	margin-bottom: 14px;
	color: var(
		--gray-700
	);
}
.download-text p {
	color: var(
		--gray-500
	);
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 28px;
}
.download-badges {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}
.download-badges a {
	display: inline-block;
	transition: transform
		200ms;
}
.download-badges a:hover {
	transform: translateY(
		-2px
	);
}
.download-badges img {
	height: 52px;
	width: auto;
	display: block;
}
.download-note {
	margin-top: 18px;
	font-size: 13px;
	color: var(
		--gray-500
	);
}

.download-visual {
	display: flex;
	justify-content: center;
}
.download-phone {
	width: 240px;
	height: 480px;
	background: linear-gradient(
		135deg,
		var(
			--brand
		),
		var(
			--brand-dark
		)
	);
	border-radius: 32px;
	box-shadow: 0 24px
		60px
		rgba(
			200,
			73,
			62,
			0.3
		);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.download-phone-screen {
	width: 216px;
	height: 456px;
	background: white;
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.download-phone-screen img {
	width: 64px;
	height: 64px;
}
.download-phone-screen span {
	font-family: var(
		--font-family-headline
	);
	font-weight: 800;
	color: var(--brand);
	font-size: 18px;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
	background: linear-gradient(
		135deg,
		var(
				--brand
			)
			0%,
		var(
				--brand-dark
			)
			100%
	);
	color: white;
	text-align: center;
	padding: 80px 24px;
}
.cta-section h2 {
	font-family: var(
		--font-family-headline
	);
	font-size: 32px;
	font-weight: 800;
	margin-bottom: 14px;
	color: white;
}
.cta-section p {
	color: rgba(
		255,
		255,
		255,
		0.9
	);
	font-size: 16px;
	margin-bottom: 32px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
	background: #1f1f1f;
	color: rgba(
		255,
		255,
		255,
		0.6
	);
	padding: 32px 24px;
	text-align: center;
	font-size: 13px;
}
.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.footer a {
	color: var(--brand);
	text-decoration: none;
	font-weight: 600;
}
.footer a:hover {
	color: white;
	text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
	.hero {
		padding: 60px
			24px
			80px;
	}
	.hero h1 {
		font-size: 34px;
	}
	.hero p {
		font-size: 15px;
	}
	.hero-cta {
		padding: 14px
			32px;
		font-size: 15px;
	}
	.section {
		padding: 60px
			24px;
	}
	.section-title {
		font-size: 26px;
	}
	.features-grid,
	.steps {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.cta-section h2 {
		font-size: 26px;
	}
	.landing-header-inner {
		height: 56px;
	}
	.btn-login-header {
		display: none !important;
	}
	.landing-logo {
		font-size: 18px;
	}

	/* Download section - stack na mobile */
	.download-section {
		padding: 60px
			24px;
	}
	.download-inner {
		grid-template-columns: 1fr;
		gap: 32px;
		text-align: center;
	}
	.download-text h2 {
		font-size: 26px;
	}
	.download-badges {
		justify-content: center;
	}
	.download-visual {
		order: -1;
	}
	.download-phone {
		width: 200px;
		height: 400px;
	}
	.download-phone-screen {
		width: 180px;
		height: 380px;
	}
}
