.demo-try-btn {
	display: block;
	width: 100%;
	padding: 18px;
	background: transparent;
	border: 2px solid rgba(56, 189, 248, 0.4);
	border-radius: 10px;
	color: #38bdf8;
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 14px;
	letter-spacing: 0.3px;
	font-family: inherit;
}

.demo-try-btn:hover {
	background: rgba(56, 189, 248, 0.1);
	border-color: #38bdf8;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
}

.demo-code-btn {
	display: block;
	width: 100%;
	padding: 14px;
	background: transparent;
	border: 1px solid #334155;
	border-radius: 10px;
	color: #94a3b8;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 12px;
	letter-spacing: 0.3px;
	font-family: inherit;
}

.demo-code-btn:hover {
	color: #e2e8f0;
	border-color: #475569;
	background: rgba(148, 163, 184, 0.05);
}

.demo-divider {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 16px 0;
	color: #475569;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
}

.demo-divider::before,
.demo-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #334155;
}

/* Demo Access Modal */
.demo-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}

.demo-modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.demo-modal {
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 16px;
	width: 480px;
	max-width: 95vw;
	max-height: 90vh;
	overflow-y: auto;
	transform: translateY(20px) scale(0.97);
	transition: transform 0.3s;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.demo-modal-overlay.active .demo-modal {
	transform: translateY(0) scale(1);
}

.demo-modal-header {
	padding: 28px 32px 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.demo-modal-header h3 {
	color: #f1f5f9;
	font-size: 24px;
	font-weight: 700;
	margin: 0;
}

.demo-modal-header p {
	color: #64748b;
	font-size: 14px;
	margin: 6px 0 0;
}

.demo-modal-close {
	background: none;
	border: none;
	color: #475569;
	font-size: 24px;
	cursor: pointer;
	padding: 4px;
	line-height: 1;
	transition: color 0.2s;
}

.demo-modal-close:hover {
	color: #94a3b8;
}

.demo-modal-body {
	padding: 24px 32px 32px;
}

.demo-field {
	margin-bottom: 16px;
}

.demo-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 500;
	color: #94a3b8;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.demo-field input {
	width: 100%;
	padding: 14px 16px;
	background: #0f172a;
	border: 1px solid #334155;
	border-radius: 8px;
	font-size: 16px;
	color: #f1f5f9;
	transition: all 0.2s;
	font-family: inherit;
}

.demo-field select {
	width: 100%;
	padding: 14px 16px;
	background: #0f172a;
	border: 1px solid #334155;
	border-radius: 8px;
	font-size: 16px;
	color: #f1f5f9;
	transition: all 0.2s;
	font-family: inherit;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}

.demo-field select:focus {
	outline: none;
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.demo-field select option {
	background: #0f172a;
	color: #f1f5f9;
}

.demo-field input::placeholder {
	color: #475569;
}

.demo-field input:focus {
	outline: none;
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.demo-submit-btn {
	width: 100%;
	padding: 16px;
	background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
	border: none;
	border-radius: 10px;
	color: #0f172a;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 8px;
	font-family: inherit;
}

.demo-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.demo-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.demo-error {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #fca5a5;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 16px;
	display: none;
}

.demo-error.visible {
	display: block;
}

.demo-success-view {
	display: none;
	text-align: center;
}

.demo-success-view.active {
	display: block;
}

.demo-form-view.hidden {
	display: none;
}

.demo-success-icon {
	font-size: 48px;
	margin-bottom: 16px;
}

.demo-success-view h4 {
	color: #f1f5f9;
	font-size: 20px;
	margin: 0 0 8px;
}

.demo-success-view p {
	color: #94a3b8;
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 24px;
}

.demo-code-input {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-bottom: 20px;
}

.demo-code-input input {
	width: 44px;
	height: 54px;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	font-family: monospace;
	background: #0f172a;
	border: 2px solid #334155;
	border-radius: 10px;
	color: #38bdf8;
	text-transform: uppercase;
	transition: all 0.2s;
}

.demo-code-input input:focus {
	outline: none;
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.demo-verify-btn {
	width: 100%;
	padding: 16px;
	background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
	border: none;
	border-radius: 10px;
	color: #0f172a;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	font-family: inherit;
}

.demo-verify-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.demo-verify-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.demo-resend {
	margin-top: 16px;
	color: #64748b;
	font-size: 14px;
}

.demo-resend a {
	color: #38bdf8;
	text-decoration: none;
	cursor: pointer;
	font-weight: 600;
}

.demo-resend a:hover {
	text-decoration: underline;
}

.demo-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(15, 23, 42, 0.3);
	border-top-color: #0f172a;
	border-radius: 50%;
	animation: demo-spin 0.6s linear infinite;
	vertical-align: middle;
	margin-right: 8px;
}

@keyframes demo-spin {
	to { transform: rotate(360deg); }
}
