.hero {
	position: relative;
	z-index: 1;
	padding-top: calc(var(--nav-h) + 96px);
	padding-bottom: 80px;
	overflow: hidden;
	text-align: center;
}

.hero::before {
	content: "";
	position: absolute;
	top: -220px;
	left: 50%;
	transform: translateX(-50%);
	width: 1100px;
	height: 560px;
	background: radial-gradient(ellipse at center, var(--violet-glow) 0%, rgba(124, 58, 237, 0.12) 45%, transparent 70%);
	filter: blur(10px);
	pointer-events: none;
	z-index: 0;
}

.hero-inner {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.hero h1 {
	font-size: clamp(34px, 6vw, 58px);
}

.hero h1 .accent {
	background: linear-gradient(135deg, var(--violet-300), var(--violet-500));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero p.lead {
	font-size: 17px;
	max-width: 520px;
}

.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 6px;
}

/* --- App preview: elemento firma, mini panel de la herramienta --- */
.app-preview {
	position: relative;
	z-index: 1;
	margin: 64px auto 0;
	width: 100%;
	max-width: 560px;
	text-align: left;
	background: linear-gradient(180deg, var(--surface), var(--bg-soft));
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.02);
	overflow: hidden;
}

.app-preview-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
}

.app-preview-bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--surface-2);
}

.app-preview-bar .label {
	margin-left: 8px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-muted);
}

.app-preview-body {
	padding: 22px 24px 24px;
}

.app-preview-char {
	display: flex;
	align-items: center;
	gap: 12px;
}

.app-preview-char .avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	flex-shrink: 0;
	background: linear-gradient(135deg, var(--violet-500), var(--violet-300));
}

.char-info {
	flex-grow: 1;
	min-width: 0;
}

.char-name {
	font-size: 14.5px;
	font-weight: 600;
}

.hp-bar {
	width: 100%;
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
	margin-top: 7px;
}

.hp-fill {
	width: 88%;
	height: 100%;
	background: linear-gradient(90deg, var(--violet-400), var(--violet-300));
}

.app-preview-char .status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--success);
	white-space: nowrap;
	flex-shrink: 0;
}

.app-preview-char .status .pulse {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--success);
	box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
	animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
	70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
	100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.app-preview-features {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.app-preview-features li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 14px;
}

.toggle {
	width: 34px;
	height: 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	position: relative;
	flex-shrink: 0;
}

.toggle::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.25s var(--ease);
}

.toggle.is-on {
	background: linear-gradient(135deg, var(--violet-400), var(--violet-500));
}

.toggle.is-on::after {
	transform: translateX(14px);
}

.app-preview-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--border);
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-muted);
}

.app-preview-foot svg {
	color: var(--success);
	flex-shrink: 0;
}

.hero-trust {
	position: relative;
	z-index: 1;
	margin-top: 56px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.hero-trust .label {
	font-size: 13px;
	color: var(--text-muted);
}

.hero-trust .marks {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
	justify-content: center;
	opacity: 0.55;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 15px;
	color: var(--text-secondary);
}

@media (max-width: 600px) {
	.hero {
		padding-top: calc(var(--nav-h) + 56px);
	}
	.key-terminal {
		margin-top: 44px;
	}
}
