/**
 * Development Stage Section Styles
 *
 * @package Eryvium
 * @since Eryvium 1.0.0
 */

.development-stage-section {
	position: relative;
	padding: clamp(80px, 12vw, 160px) 0;
	overflow: hidden;
	background: #000000;
}

.development-stage-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	background: #000000;
}

.development-stage-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: translate3d(0, 0, 0) scale(1.16);
	will-change: transform;
	backface-visibility: hidden;
}

.development-stage-section .container {
	position: relative;
	z-index: 1;
}

/* Block 1: Header */
.development-stage-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 60px;
	gap: 24px;
}

.development-stage-title {
	color: #ffffff;
	font-family: var(--font-family-h2);
	font-size: var(--font-size-h2);
	font-weight: var(--font-weight-h2);
	line-height: var(--line-height-h2);
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.development-stage-title-line-1,
.development-stage-title-line-2 {
	display: block;
}

/* Financing Solutions page - subtitle styling */
.financing-solutions-page .development-stage-title-line-2 {
	font-family: 'DM Sans', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 27px;
}

/* Banner button uses standard button styles from components.css */
.development-stage-header .banner-button {
	flex-shrink: 0;
}

/* Block 2: Cards */
.development-stage-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.development-stage-card-full-width {
	grid-column: 1 / -1;
}

.development-stage-card {
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 20px;
	padding: 24px;
	/* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); */
	display: flex;
	flex-direction: column;
	gap: 24px;
	/* transition: box-shadow 260ms ease, background-color 260ms ease, border-color 260ms ease; */
	/* isolation: isolate; */
}

.development-stage-card:hover,
.development-stage-card:focus-within {
	background-color: rgb(255 255 255 / 24%);
	border-color: rgba(255, 255, 255, 0.38);
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.development-stage-card-title {
	color: #ffffff;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

.development-stage-card-items {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.development-stage-card-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.development-stage-card-item-label {
	color: #cccccc;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.development-stage-card-item-chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	color: #ffffff;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50px;
	white-space: nowrap;
	background-color: rgba(255, 255, 255, 0.06);
	transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.development-stage-card:hover .development-stage-card-item-chip,
.development-stage-card:focus-within .development-stage-card-item-chip {
	background-color: rgba(7, 179, 241, 0.22);
	border-color: rgba(7, 179, 241, 0.55);
	box-shadow: 0 8px 20px rgba(7, 179, 241, 0.16);
}

@media (prefers-reduced-motion: reduce) {
	.development-stage-card,
	.development-stage-card-item-chip {
		transition: none !important;
	}

	.development-stage-card:hover,
	.development-stage-card:focus-within {
		transform: none;
	}
}

.development-stage-card-description {
	color: #cccccc;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	margin: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
	.development-stage-cards {
		grid-template-columns: 1fr;
	}
	
	.development-stage-header {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 768px) {
	.development-stage-section {
		padding: 60px 0;
	}
	
	.development-stage-header {
		margin-bottom: 40px;
	}
	
	.development-stage-card {
		padding: 20px;
	}
	
	.development-stage-card-title {
		font-size: 20px;
	}
}

@media (max-width: 400px) {
	.development-stage-section {
		padding: 60px 0;
		overflow-x: hidden;
	}
	
	.development-stage-section .container {
		padding: 0 16px;
		overflow-x: hidden;
	}
	
	.development-stage-cards {
		padding: 0;
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
		box-sizing: border-box;
	}
	
	.development-stage-card,
	.development-stage-card.animate-on-scroll,
	.development-stage-card.fade-in-up,
	.development-stage-card.animated {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
		overflow: hidden;
	}
	
	.development-stage-card-item {
		flex-wrap: wrap;
	}
	
	.development-stage-card-item-chip {
		flex-shrink: 0;
		word-break: break-word;
		white-space: normal;
		text-align: center;
	}
}
