/* Reset and base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		sans-serif;
	line-height: 1.6;
	color: #333;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
.header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 2rem 0;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	margin-bottom: 3rem;
}

.header-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #2d3748;
	margin-bottom: 0.5rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.header-subtitle {
	font-size: 1.2rem;
	color: #718096;
	font-weight: 400;
}

/* Main content */
.main {
	padding-bottom: 4rem;
}

/* Tutorial sections */
.tutorial-section {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 2.5rem;
	margin-bottom: 3rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutorial-section:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.tutorial-header {
	text-align: center;
	margin-bottom: 2rem;
}

.tutorial-title {
	font-size: 2rem;
	font-weight: 600;
	color: #2d3748;
	margin-bottom: 1rem;
	position: relative;
}

.tutorial-title::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 2px;
}

/* Desktop video container - full width */
.desktop-video-container {
	margin-bottom: 2rem;
}

.desktop-wrapper {
	width: 100%;
}

/* Content container - two columns */
.content-container {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2rem;
	align-items: start;
}

/* Mobile video container */
.mobile-video-container {
	display: flex;
	justify-content: end;
}

.mobile-wrapper {
	width: 100%;
	max-width: 350px;
}

/* Video wrapper styles */
.video-wrapper {
	background: #f8fafc;
	border-radius: 15px;
	padding: 1.5rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.video-wrapper:hover {
	transform: translateY(-3px);
}

.video-label {
	font-size: 1.1rem;
	font-weight: 600;
	color: #4a5568;
	margin-bottom: 1rem;
	text-align: center;
	padding: 0.5rem 1rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border-radius: 25px;
	display: inline-block;
	width: 100%;
}

/* Video styles */
.video {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.video:hover {
	transform: scale(1.02);
}

.desktop-video {
	aspect-ratio: 16/9;
	object-fit: cover;
}

.mobile-video {
	aspect-ratio: 9/16;
	object-fit: cover;
	/* max-height: 400px; */
}

/* Video placeholder */
.video-placeholder {
	aspect-ratio: 16/9;
	background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #718096;
	font-weight: 500;
	font-size: 1.1rem;
	border: 2px dashed #a0aec0;
	transition: all 0.3s ease;
}

.video-placeholder:hover {
	background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
	color: #4a5568;
}

/* Mobile video placeholder */
.mobile-wrapper .video-placeholder {
	aspect-ratio: 9/16;
	/* max-height: 400px; */
	text-align: center;
}

/* Tutorial description */
.tutorial-description {
	background: #f8fafc;
	border-radius: 15px;
	padding: 2rem;
	border-left: 4px solid #667eea;
	height: fit-content;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tutorial-description h4 {
	font-size: 1.3rem;
	font-weight: 600;
	color: #2d3748;
	margin-bottom: 1rem;
}

.tutorial-description p {
	color: #4a5568;
	margin-bottom: 1rem;
	font-size: 1rem;
	line-height: 1.7;
}

.tutorial-description ul {
	list-style: none;
	padding-left: 0;
}

.tutorial-description li {
	color: #4a5568;
	margin-bottom: 0.5rem;
	padding-left: 1.5rem;
	position: relative;
	font-size: 0.95rem;
}

.tutorial-description li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #667eea;
	font-weight: bold;
	font-size: 1.1rem;
}

/* Footer */
.footer {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	text-align: center;
	padding: 2rem 0;
	color: #718096;
	font-size: 0.9rem;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
	.container {
		padding: 0 15px;
	}

	.header-title {
		font-size: 2rem;
	}

	.header-subtitle {
		font-size: 1rem;
	}

	.tutorial-section {
		padding: 1.5rem;
		margin-bottom: 2rem;
	}

	.tutorial-title {
		font-size: 1.5rem;
	}

	.content-container {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.mobile-video-container {
		order: -1;
	}

	.video-wrapper {
		padding: 1rem;
	}

	.video-label {
		font-size: 1rem;
	}

	.mobile-video {
		/* max-height: 300px; */
	}

	.tutorial-description {
		padding: 1.5rem;
	}

	.tutorial-description h4 {
		font-size: 1.2rem;
	}

	.mobile-wrapper {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.header {
		padding: 1.5rem 0;
		margin-bottom: 2rem;
	}

	.header-title {
		font-size: 1.8rem;
	}

	.tutorial-section {
		padding: 1rem;
	}

	.tutorial-title {
		font-size: 1.3rem;
	}

	.video-wrapper {
		padding: 0.8rem;
	}

	.mobile-video {
		/* max-height: 250px; */
	}

	.tutorial-description {
		padding: 1rem;
	}
}

/* Custom scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Animation for page load */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tutorial-section {
	animation: fadeInUp 0.6s ease-out;
}

.tutorial-section:nth-child(2) {
	animation-delay: 0.2s;
}

.tutorial-section:nth-child(3) {
	animation-delay: 0.4s;
}
