@import url("global.css");

.main-content {
	padding: 52px 48px 44px;
}

.hero-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.hero-title {
	display: block;
	width: 420px;
	max-width: 90%;
	height: auto;
	object-fit: contain;
}

.hero-section p {
	max-width: 620px;
	margin: 15px 0;
	font-size: 24px;
	line-height: 1.5;
	color: #475569;
}

.ai-search-box {
	display: flex;
	flex-direction: column;
	width: min(1050px, 100%);
	min-height: 180px;
	padding: 24px 28px;
	text-align: left;
	background: #ffffff;
	border: 1px solid #dbe3ef;
	border-radius: 24px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.ai-search-content {
	flex: 1;
	width: 100%;
	min-width: 0;
}

.ai-search-content textarea {
	display: block;
	width: 100%;
	height: 100px;
	min-height: 100px;
	padding: 0;
	border: 0;
	outline: 0;
	resize: none;
	overflow-y: auto;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.45;
	color: #334155;
	background: transparent;
}

.ai-search-content textarea::placeholder {
	color: #6b7280;
	font-weight: 400;
}

.ai-search-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-top: 12px;
}

.ai-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
	color: #2563eb;
}

.send-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: #2563eb;
	color: #ffffff;
	font-size: 17px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.send-button:hover {
	background: #1d4ed8;
	color: #ffffff;
}

@media (max-width: 900px) {
	.main-content {
		padding: 30px 16px 28px;
	}

	.hero-title {
		width: 320px;
		max-width: 95%;
	}

	.hero-section p {
		margin: 15px 0;
		font-size: 17px;
	}

	.ai-search-box {
		min-height: 210px;
		padding: 20px;
		border-radius: 20px;
	}

	.ai-search-content textarea {
		height: 130px;
		min-height: 130px;
		padding: 0;
		font-size: 16px;
		font-weight: 400;
		line-height: 1.45;
	}

	.ai-search-footer {
		margin-top: 10px;
	}

	.ai-icon {
		width: 40px;
		height: 40px;
		font-size: 22px;
	}

	.send-button {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
}