@charset "utf-8";

/* 基础样式 */
html,
body {
	height: 100%;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 1.42857143;
	color: #333;
	background: #d4e7ed;
	max-width: 720px;
	margin: 0 auto;
}

/* 错误提示框 */
.errorbox {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	display: none;
	z-index: 9999999;
	align-items: center;
	justify-content: center;
}

.error-content {
	padding: 20px;
	line-height: 18px;
	word-break: break-all;
	overflow: hidden;
	font-size: 18px;
	color: #fff;
	background: rgba(0, 0, 0, 0.8);
}

/* AI模态框 */
.ai-modal {
	position: fixed;
	display: none;
	right: 0px;
	left: 0px;
	top: 0px;
	bottom: 0px;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	z-index: 9999;
	align-items: center;
	background: rgba(0, 0, 0, 0.7);
	color: white;
}

/* 进度条样式 */
.ai-progress {
	width: 95%;
}

.pro-box {
	background: rgb(9 76 137);
	border-radius: 12px;
	padding: 32px 18px;
	max-width: 680px;
	margin: 60px auto;
}

.title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 1rem;
	font-weight: 600;
	color: #ffa200;
	text-align: center;
	width: 100%;
}

.title .word {
	font-size: 30px;
	font-weight: bold;
}

.progress-box .item {
	margin-bottom: 16px;
}

.progress-box .i-title {
	font-size: 25px;
}

.layui-progress {
	background: #eee;
	border-radius: 8px;
	height: 16px;
}

.layui-progress-bar {
	background: #00dcf4;
	height: 100%;
	border-radius: 8px;
	width: 0%;
}

/* 结果框样式 */
.ai-result {
	display: none;
}

.result-box {
	background: rgb(9 76 137);
	border-radius: 12px;
	padding: 32px 18px;
	height: inherit;
	margin: 26px;
	max-width: 680px;
}

.result-con .con {
	font-size: 15px;
	margin-bottom: 18px;
}

#tips-code {
	color: #15a223;
}

.btn.anniu {
	background: #15a223;
	color: #fff;
	padding: 12px 0;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0 auto;
	font-size: 22px;
}

/* 主体内容 */
.wrapper {
	position: relative;
	text-align: center;
	overflow: hidden;
	max-width: none;
	margin: -15% auto;
	background: url("./bg.gif") top center no-repeat;
	background-size: cover;
}

.wrapper .robot {
	background-size: cover;
}

.header {
	margin: 0 auto;
}

.imgbox {
	margin-top: 64%;
}

.imgbox img {
	display: block;
	margin: auto;
}

/* 输入框和按钮 */
.step0 {
	margin-bottom: 100%;
}

.step0 .inputStockCode {
	font-size: 20px;
	width: 80%;
	height: 60px;
	margin-left: 10%;
	margin-right: 10%;
	text-align: center;
	margin-top: 10px;
	border: 3px solid #00ffff;
	border-radius: 15px;
	background: rgba(0, 0, 0, 0);
	color: white;
}

input:focus {
	outline: none;
}

.step0 .btnAnalysis {
	width: 80%;
	height: auto;
	color: white;
	margin: 0 auto;
	cursor: pointer;
	margin-top: 10px;
}

/* 占位符样式 */
::-webkit-input-placeholder {
	color: #333;
	opacity: 1 !important;
}

::-moz-placeholder {
	color: #333;
	opacity: 1 !important;
}

:-ms-input-placeholder {
	color: #333 !important;
	opacity: 1 !important;
}

:-moz-placeholder {
	color: #333;
	opacity: 1 !important;
}

.placeholder {
	color: #333 !important;
	opacity: 1 !important;
}

::placeholder {
	color: #999;
}

/* 响应式样式 */
@media all and (max-width: 1000px) {
	.imgbox img {
		display: block;
		margin: auto;
		width: 100%;
	}
}

@media all and (max-width: 767px) {

	html,
	body {
		font-size: 22px;
	}

	.imgbox img {
		display: block;
		margin: auto;
		width: 95%;
	}

	.step0 {
		margin-bottom: 30%;
	}

	.step0 .inputStockCode {
		width: 80%;
	}

	.wrapper .robot {
		padding: 10px 0 0 0;
	}
}


.popup-container {
	position: relative;
	width: 90%;
	max-width: 500px;
	display: none;
}

.popup-container .popup {
	background: white;
	border-radius: 20px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	animation: popIn 0.5s ease-out forwards;
}

@keyframes popIn {
	0% {
		transform: scale(0.8);
		opacity: 0;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.popup-container .header {
	background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
	color: white;
	padding: 10px;
	text-align: center;
	position: relative;
}

.popup-container .header h2 {
	font-size: 23px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 2px;
}

.popup-container .header p {
	font-size: 16px;
	opacity: 0.9;
	margin: 2px;
}

.popup-container .content {
	padding: 10px;
}

.popup-container .benefits {
	margin: 0;
}

.popup-container .benefit-item {
	display: flex;
	align-items: flex-start;
}

.popup-container .benefit-icon {
	background: #e8f5e9;
	color: #25D366;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	flex-shrink: 0;
}

.popup-container .benefit-text h3 {
	font-size: 16px;
	margin: 5px;
	color: #333;
}

.popup-container .benefit-text p {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin: 0 5px;
}

.popup-container .urgency {
	background: #fff8e1;
	border-left: 4px solid #ffc107;
	padding: 0 15px;
	border-radius: 8px;
	margin: 5px 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.popup-container .urgency i {
	color: #ff9800;
	font-size: 20px;
}

.popup-container .urgency p {
	color: #e65100;
	font-weight: 600;
	font-size: 14px;
	margin: 5px;
}

.popup-container .whatsapp-btn {
	display: block;
	width: 100%;
	padding: 16px;
	background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
	color: white;
	text-align: center;
	border-radius: 50px;
	border: 0;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
	transition: all 0.3s ease;
	margin-top: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.popup-container .whatsapp-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.popup-container .whatsapp-btn:active {
	transform: translateY(1px);
}

.popup-container .footer {
	text-align: center;
	font-size: 12px;
	color: #999;
	border-top: 1px solid #eee;
}

.popup-container .close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255, 255, 255, 0.2);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	display: none;
}

.popup-container .close-btn:hover {
	background: rgba(255, 255, 255, 0.3);
}

.popup-container .stock-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.2);
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 12px;
}