/**
 * Platform Section Styles
 * Section with text and video block
 */

/* ============================================
   PLATFORM SECTION
   ============================================ */

.platform-section {
	position: relative;
	padding: var(--spacing-4xl) 0;
	background-color: #000000;
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.platform-section .container {
	padding: 0;
}

.platform-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--spacing-4xl);
	width: 100%;
}

/* ============================================
   TEXT BLOCK
   ============================================ */

.platform-text-block {
	flex: 1;
	max-width: var(--container-max-width);
	display: flex;
	flex-direction: column;
}

/* Animation classes */
.platform-section .platform-title,
.platform-section .platform-subtitle,
.platform-section .platform-feature,
.platform-section .platform-actions,
.platform-section .platform-video-block {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.platform-section.animated .platform-title {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.1s;
}

.platform-section.animated .platform-subtitle {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.2s;
}

.platform-section.animated .platform-feature {
	opacity: 1;
	transform: translateY(0);
}

.platform-section.animated .platform-feature:nth-child(1) {
	transition-delay: 0.3s;
}

.platform-section.animated .platform-feature:nth-child(2) {
	transition-delay: 0.4s;
}

.platform-section.animated .platform-feature:nth-child(3) {
	transition-delay: 0.5s;
}

.platform-section.animated .platform-feature:nth-child(4) {
	transition-delay: 0.6s;
}

.platform-section.animated .platform-actions {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.7s;
}

.platform-section.animated .platform-video-block {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.4s;
}

.platform-title {
	font-family: var(--font-family-h2);
	font-size: var(--font-size-h2);
	line-height: var(--line-height-h2);
	font-weight: var(--font-weight-h2);
	color: var(--color-pure-white);
	margin: 0 0 24px 0;
}

.platform-title .title-accent {
	color: var(--color-sky-pulse);
}

.platform-subtitle {
	font-family: var(--font-family-h3);
	font-size: var(--font-size-h3);
	line-height: var(--line-height-h3);
	font-weight: var(--font-weight-h3);
	color: var(--color-pure-white);
	margin: 0 0 40px 0;
}

.platform-features {
	list-style: none;
	padding: 0;
	margin: 0 0 40px 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.platform-feature {
	display: flex;
	align-items: flex-start;
	gap: var(--spacing-md);
}

.feature-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-icon img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.platform-feature .body-text {
	color: var(--color-pure-white);
	margin: 0;
}

.platform-actions {
	display: flex;
	gap: var(--spacing-lg);
	flex-wrap: wrap;
}

/* ============================================
   VIDEO BLOCK
   ============================================ */

.platform-video-block {
	position: relative;
	width: 592px;
	height: 616px;
	flex-shrink: 0;
	border-radius: var(--border-radius-lg);
	overflow: hidden;
}

.platform-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.platform-video-card {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 494px;
	height: 474px;
	background-color: rgba(42, 51, 71, 0.3);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--border-radius-lg);
	padding: var(--padding-32);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	z-index: 2;
	pointer-events: none;
}

.video-card-content {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-xl);
}

.video-card-title {
	font-family: var(--font-family-h3);
	font-size: var(--font-size-h3);
	line-height: var(--line-height-h3);
	font-weight: var(--font-weight-h3);
	color: var(--color-pure-white);
	margin: 0;
}

.video-card-specs {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-lg);
}

.spec-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: var(--spacing-md);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.spec-label {
	font-family: var(--font-family-body);
	font-size: var(--font-size-body);
	line-height: var(--line-height-body);
	font-weight: var(--font-weight-regular);
	color: var(--color-pure-white);
	opacity: 0.9;
}

.spec-value {
	font-family: var(--font-family-body);
	font-size: 24px;
	line-height: 1.5;
	font-weight: var(--font-weight-medium);
	color: var(--color-pure-white);
}

.certified-badge {
	display: inline-block;
	padding: var(--spacing-md) var(--spacing-xl);
	background-color: #128C70;
	color: var(--color-pure-white);
	font-family: var(--font-family-body);
	font-size: var(--font-size-body);
	font-weight: var(--font-weight-medium);
	line-height: 1.5;
	text-align: center;
	border-radius: var(--border-radius-md);
	width: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
	.platform-container {
		flex-direction: column;
		gap: var(--spacing-3xl);
	}
	
	.platform-video-block {
		width: 100%;
		max-width: 592px;
		height: auto;
		aspect-ratio: 592 / 616;
	}
	
	.platform-video-card {
		width: 80%;
		max-width: 494px;
		height: auto;
		min-height: 400px;
	}
}

@media (max-width: 1024px) {
	.platform-video-block {
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 1012 / 616;
	}
}

@media (max-width: 786px) {
	.platform-section .platform-video-block,
	.platform-video-block {
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 730 / 616;
	}
}

@media (max-width: 768px) {
	.platform-section .platform-video-block,
	.platform-video-block {
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 730 / 616;
	}
	
	.platform-video-card {
		width: 90%;
		padding: var(--padding-24);
	}
	
	.platform-actions {
		flex-direction: column;
		width: 100%;
	}
	
	.platform-actions .btn {
		width: auto;
		max-width: 100%;
		align-self: flex-start;
		justify-content: center;
	}
}

@media (max-width: 500px) {
	.platform-section .platform-video-block,
	.platform-video-block {
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 500 / 616;
	}
}
@media (max-width: 400px) {
	.platform-section .platform-video-block,
	.platform-video-block {
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 400 / 616;
	}
}
@media (max-width: 320px) {
	.platform-section {
		position: relative;
		padding: var(--spacing-4xl) 16px;
		background-color: #000000;
		min-height: 100vh;
		display: flex;
		align-items: center;
	}
	.platform-section .platform-video-block,
	.platform-video-block {
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 425 / 616;
	}
	
	.spec-value {
		font-family: var(--font-family-body);
		font-size: 16px;
		line-height: 1.5;
		font-weight: var(--font-weight-medium);
		color: var(--color-pure-white);
	}
}

