:root {
	--cyw-primary: #0c9fed;
	--cyw-navy: #032b4c;
	--cyw-gray: #424242;
	--cyw-primary-hover: #0a8ad4;
	--cyw-light: #f8f9fa;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--cyw-gray);
	line-height: 1.6;
}

/* ?? Hero ?? */

.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	text-align: center;
}

.hero-top {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 2rem 3rem;
	background: #fff;
	position: relative;
}

.hero-actions {
	position: absolute;
	top: 1.5rem;
	right: 2rem;
	display: flex;
	gap: 0.75rem;
}

	.hero-actions .btn-login {
		display: inline-block;
		padding: 0.55rem 1.25rem;
		background: transparent;
		color: var(--cyw-navy);
		text-decoration: none;
		border: 2px solid var(--cyw-navy);
		border-radius: 6px;
		font-weight: 600;
		font-size: 0.9rem;
		transition: background 0.2s, color 0.2s;
	}

		.hero-actions .btn-login:hover {
			background: var(--cyw-navy);
			color: #fff;
		}

	.hero-actions .btn-signup {
		display: inline-block;
		padding: 0.55rem 1.25rem;
		background: var(--cyw-primary);
		color: #fff;
		text-decoration: none;
		border: 2px solid var(--cyw-primary);
		border-radius: 6px;
		font-weight: 600;
		font-size: 0.9rem;
		transition: background 0.2s, border-color 0.2s;
	}

		.hero-actions .btn-signup:hover {
			background: var(--cyw-primary-hover);
			border-color: var(--cyw-primary-hover);
		}

.hero-bottom {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 2rem 4rem;
	background: linear-gradient(160deg, var(--cyw-navy) 0%, #064a7a 100%);
	color: #ffffff;
}

.hero-content {
	max-width: 720px;
}

.hero-logo {
	max-width: 420px;
	width: 100%;
}

.hero h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
	line-height: 1.2;
}

	.hero h1 .highlight {
		color: var(--cyw-primary);
	}

.hero p {
	font-size: 1.2rem;
	opacity: 0.9;
	margin-bottom: 2.5rem;
	line-height: 1.7;
}

.hero-cta {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: var(--cyw-primary);
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-size: 1.15rem;
	font-weight: 700;
	transition: background 0.2s, transform 0.2s;
}

	.hero-cta:hover {
		background: var(--cyw-primary-hover);
		transform: translateY(-2px);
	}

/* ?? Sections ?? */

.section {
	padding: 5rem 2rem;
}

.section-alt {
	background: var(--cyw-light);
}

.section-dark {
	background: var(--cyw-navy);
	color: #fff;
}

.section-title {
	text-align: center;
	font-size: 2rem;
	font-weight: 700;
	color: var(--cyw-navy);
	margin-bottom: 1rem;
}

.section-dark .section-title {
	color: #fff;
}

.section-subtitle {
	text-align: center;
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto 3rem;
	opacity: 0.85;
}

/* ?? Features Grid ?? */

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
	max-width: 1000px;
	margin: 0 auto;
}

.feature-card {
	background: #fff;
	border-radius: 12px;
	padding: 2.5rem 2rem;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s, box-shadow 0.2s;
}

	.feature-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	}

.section-dark .feature-card {
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

	.section-dark .feature-card:hover {
		background: rgba(255, 255, 255, 0.12);
	}

.feature-icon {
	font-size: 2.5rem;
	margin-bottom: 1.25rem;
	color: var(--cyw-primary);
}

.section-dark .feature-icon {
	color: var(--cyw-primary);
}

.feature-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: var(--cyw-navy);
}

.section-dark .feature-card h3 {
	color: var(--cyw-primary);
}

.feature-card p {
	font-size: 1rem;
	line-height: 1.6;
}

/* ?? How it Works ?? */

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	max-width: 900px;
	margin: 0 auto;
}

.step {
	text-align: center;
	padding: 1.5rem;
}

.step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--cyw-primary);
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}

.step h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--cyw-navy);
	margin-bottom: 0.5rem;
}

.step p {
	font-size: 0.95rem;
	opacity: 0.85;
}

/* ?? Guides Grid ?? */

.guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1100px;
	margin: 0 auto;
}

.guide-card {
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border-top: 4px solid var(--cyw-primary);
}

	.guide-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	}

.guide-card-icon {
	font-size: 1.75rem;
	color: var(--cyw-primary);
}

.guide-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--cyw-navy);
	line-height: 1.35;
	margin: 0;
}

.guide-card p {
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--cyw-gray);
	flex: 1;
	margin: 0;
}

.guide-read-more {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--cyw-primary);
	margin-top: 0.25rem;
}

	.guide-read-more i {
		font-size: 0.8rem;
		margin-left: 0.25rem;
		transition: transform 0.2s;
	}

.guide-card:hover .guide-read-more i {
	transform: translateX(4px);
}

/* ?? Article Epigraph ?? */

.article-epigraph {
	text-align: center;
	margin: 2.5rem auto;
	max-width: 620px;
	padding: 2rem 2.5rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
	border-top: 4px solid var(--cyw-primary);
}

	.article-epigraph p {
		font-size: 1.1rem;
		font-style: italic;
		line-height: 1.8;
		color: var(--cyw-navy);
		margin: 0 0 0.75rem;
	}

	.article-epigraph cite {
		font-size: 0.85rem;
		font-style: normal;
		font-weight: 600;
		color: var(--cyw-primary);
		letter-spacing: 0.03em;
		text-transform: uppercase;
	}

/* ?? Guide Article Pages ?? */

.article-page {
	max-width: 760px;
	margin: 0 auto;
	padding: 0rem 2rem 6rem;
}

body:has(.article-page) {
	background: var(--cyw-light);
	overflow-x: hidden;
}

.article-header {
	text-align: center;
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 3rem;
	padding: 5rem 2rem 4rem;
	background: linear-gradient(160deg, var(--cyw-navy) 0%, #064a7a 100%);
	color: #fff;
}

	.article-header h1 {
		font-size: 2.2rem;
		font-weight: 700;
		color: #fff;
		line-height: 1.25;
		margin-bottom: 1.25rem;
	}

	.article-header .article-lead {
		font-size: 1.2rem;
		color: #fff;
		opacity: 0.85;
		line-height: 1.7;
		max-width: 600px;
		margin: 0 auto;
	}

.article-body {
	background: #fff;
	border-radius: 12px;
	padding: 2.5rem;
	padding-top: 1rem;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
	margin-bottom: 2rem;
}

	.article-body h2 {
		font-size: 1.45rem;
		font-weight: 700;
		color: var(--cyw-navy);
		margin: 2.5rem 0 1rem;
		line-height: 1.3;
	}

	.article-body p {
		font-size: 1.05rem;
		line-height: 1.8;
		margin-bottom: 1.25rem;
		color: var(--cyw-gray);
	}

	.article-body ul,
	.article-body ol {
		margin: 0 0 1.25rem 1.5rem;
	}

	.article-body li {
		font-size: 1.05rem;
		line-height: 1.8;
		margin-bottom: 0.4rem;
		color: var(--cyw-gray);
	}

	.article-body blockquote {
		border-left: 4px solid var(--cyw-primary);
		margin: 2rem 0;
		padding: 1rem 1.5rem;
		background: var(--cyw-light);
		border-radius: 0 8px 8px 0;
	}

		.article-body blockquote p {
			font-size: 1.1rem;
			font-style: italic;
			margin: 0;
			color: var(--cyw-navy);
		}

.article-nav {
	background: #fff;
	border-top: 1px solid #e5e7eb;
	padding: 1rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.article-nav-logo {
	height: 70px;
}

.article-nav-links {
	display: flex;
	gap: 1.5rem;
	align-items: center;
}

	.article-nav-links a {
		color: var(--cyw-navy);
		text-decoration: none;
		font-size: 0.9rem;
		font-weight: 600;
		opacity: 0.8;
		transition: opacity 0.2s;
	}

		.article-nav-links a:hover {
			opacity: 1;
		}

	.article-nav-links .btn-signup {
		display: inline-block;
		padding: 0.5rem 1.1rem;
		background: var(--cyw-primary);
		color: #fff;
		text-decoration: none;
		border-radius: 6px;
		font-weight: 600;
		font-size: 0.9rem;
		opacity: 1;
		transition: background 0.2s;
	}

		.article-nav-links .btn-signup:hover {
			background: var(--cyw-primary-hover);
		}

.article-cta {
	margin-top: 4rem;
	padding: 2.5rem;
	background: linear-gradient(160deg, var(--cyw-navy) 0%, #064a7a 100%);
	border-radius: 12px;
	text-align: center;
	color: #fff;
}

	.article-cta h2 {
		font-size: 1.6rem;
		font-weight: 700;
		margin-bottom: 0.75rem;
	}

	.article-cta p {
		font-size: 1rem;
		opacity: 0.85;
		margin-bottom: 1.5rem;
	}

	.article-cta .hero-cta {
		font-size: 1rem;
		padding: 0.85rem 2rem;
	}

.more-guides {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid #e5e7eb;
}

	.more-guides h2 {
		font-size: 1.4rem;
		font-weight: 700;
		color: var(--cyw-navy);
		margin-bottom: 1.5rem;
		text-align: center;
	}

@media (max-width: 768px) {
	.guide-grid {
		grid-template-columns: 1fr;
	}

	.article-header h1 {
		font-size: 1.65rem;
	}

	.article-nav-links a:not(.btn-signup) {
		display: none;
	}
}

/* ?? CTA Banner ?? */

.cta-banner {
	text-align: center;
	padding: 5rem 2rem;
	background: linear-gradient(160deg, var(--cyw-navy) 0%, #064a7a 100%);
	color: #fff;
}

	.cta-banner h2 {
		font-size: 2rem;
		font-weight: 700;
		margin-bottom: 1rem;
	}

	.cta-banner p {
		font-size: 1.15rem;
		opacity: 0.9;
		margin-bottom: 2rem;
		max-width: 550px;
		margin-left: auto;
		margin-right: auto;
	}

	.cta-banner .hero-cta {
		font-size: 1.1rem;
	}

/* ?? Footer ?? */

.footer {
	background: #021e36;
	color: rgba(255, 255, 255, 0.6);
	text-align: center;
	padding: 2rem;
	font-size: 0.9rem;
}

	.footer a {
		color: var(--cyw-primary);
		text-decoration: none;
	}

		.footer a:hover {
			text-decoration: underline;
		}

/* ?? Responsive ?? */

@media (max-width: 768px) {
	.hero h1 {
		font-size: 1.8rem;
	}

	.hero p {
		font-size: 1.05rem;
	}

	.hero-logo {
		max-width: 280px;
	}

	.hero-top {
		padding: 6rem 2rem 4rem;
	}

	.section-title {
		font-size: 1.6rem;
	}

	.nav-logo {
		height: 28px;
	}

	.features {
		grid-template-columns: 1fr;
	}

	.steps {
		grid-template-columns: 1fr;
	}

	.hero-actions .btn-signup {
		display: none;
	}
}
