/* ==========================================================================
   Buttons, cards and effects
   Reusable pieces: buttons, chips, small icon buttons, glass cards, feature cards, check lists and the hover glow effect.
   ========================================================================== */

.btn {
	--btn-bg: var(--grad-btn);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .98rem;
	line-height: 1;
	white-space: nowrap;
	isolation: isolate;
	overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s;
}
.btn__icon { transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--primary {
	background: var(--btn-bg);
	color: #fff;
	box-shadow: 0 10px 30px -10px rgba(147, 51, 234, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--primary::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%);
	transform: translateX(-120%);
	transition: transform .8s var(--ease);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(147, 51, 234, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost {
	background: rgba(255, 255, 255, .04);
	color: #fff;
	box-shadow: inset 0 0 0 1px var(--border-strong);
	backdrop-filter: blur(10px);
}
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .6); transform: translateY(-2px); }
.btn--light { background: #fff; color: #1b0b3a; }
.btn--light:hover { color: #1b0b3a; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 255, 255, .45); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.btn--block { width: 100%; }
.chip, .tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 500;
}
.tag {
	padding: 4px 12px;
	background: rgba(167, 139, 250, .12);
	color: var(--c-primary-2);
	border: 1px solid rgba(167, 139, 250, .25);
	margin-bottom: 12px;
}
.chip {
	padding: 10px 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
	transition: all .25s var(--ease);
}
.chip:hover, .chip.is-active { background: rgba(124, 58, 237, .25); border-color: rgba(167, 139, 250, .6); color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--border-strong);
	background: var(--surface);
	color: #fff;
	transition: all .25s var(--ease);
}
.icon-btn:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--border-strong);
	font-size: .88rem;
	font-weight: 500;
	color: #e9e4ff;
	backdrop-filter: blur(10px);
	margin-bottom: 26px;
}
.pill__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--success);
	box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
	animation: pulse 2s infinite;
}
.glass {
	background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}
.glass--pad { padding: clamp(24px, 3.5vw, 44px); }
/* Cursor-following highlight; JS sets --mx/--my. */
.spotlight { position: relative; overflow: hidden; }
.spotlight::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -200%), rgba(167, 139, 250, .16), transparent 45%);
	opacity: 0;
	transition: opacity .35s;
	pointer-events: none;
	z-index: 0;
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; will-change: transform; }
/* Make a whole card clickable through its heading link. */
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.feature-card__icon, .contact-card__icon {
	width: 58px; height: 58px;
	display: grid; place-items: center;
	border-radius: 16px;
	margin-bottom: 22px;
	background: linear-gradient(145deg, rgba(124, 58, 237, .4), rgba(124, 58, 237, .1));
	border: 1px solid rgba(167, 139, 250, .3);
	color: #fff;
	transition: transform .5s var(--ease), background .4s;
}
.link-card:hover .service-card__more { gap: 14px; color: var(--c-glow); }
.feature-card { padding: 30px 26px; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(167, 139, 250, .4); box-shadow: var(--shadow-glow); }
.feature-card:hover .feature-card__icon { transform: rotate(-8deg) scale(1.06); background: var(--grad-btn); }
.feature-card__title { font-size: 1.16rem; margin-bottom: 8px; }
.feature-card__title a { color: #fff; }
.feature-card__text { color: var(--muted); font-size: .95rem; margin: 0; }
.link-card .feature-card__text { margin-bottom: 14px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .std-icon { margin-top: 3px; color: var(--success); background: rgba(52, 211, 153, .12); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.mv-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.mv-card h2 { font-size: 1.7rem; }
.mv-card p { color: var(--muted); }
.mv-card .check-list { margin-top: 20px; }
.mv-card--accent { background: linear-gradient(160deg, rgba(124, 58, 237, .3), rgba(34, 211, 238, .08)); }
.empty-card { text-align: center; max-width: 720px; margin-inline: auto; }
.empty-card .feature-card__icon { margin-inline: auto; }
.empty-card p { color: var(--muted); margin: 0; }
.empty-state { text-align: center; color: var(--muted); }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; transition: transform .4s var(--ease), border-color .3s; }
.contact-card:hover { transform: translateX(6px); border-color: rgba(167, 139, 250, .4); }
.contact-card__icon { width: 50px; height: 50px; margin: 0; flex-shrink: 0; }
.contact-card__icon--wa { background: linear-gradient(145deg, #22c55e, #15803d); border-color: transparent; }
.contact-card strong { display: block; font-family: var(--font-display); color: #fff; margin-bottom: 2px; }
.contact-card div > a, .contact-card div > span { display: block; color: var(--muted); }
.contact-card a:hover { color: var(--c-glow); }
.contact-card div > small { display: block; color: var(--muted); opacity: .8; }
.chip__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .72rem; font-weight: 600; }
.chip.is-active .chip__count { background: rgba(255, 255, 255, .25); }
.stepper__track { position: absolute; left: 26px; top: 33px; bottom: 33px; width: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; }
.stepper__track i { position: absolute; inset: 0 0 auto; height: var(--progress, 0%); border-radius: inherit; background: linear-gradient(#a78bfa, #22d3ee, #f472b6, #f59e0b, #34d399, #60a5fa); background-size: 100% 600%; transition: height .6s var(--ease); box-shadow: 0 0 12px rgba(167, 139, 250, .6); }
/* Tier buttons */
.btn--tier { background: color-mix(in srgb, var(--kc) 10%, transparent); color: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kc) 55%, transparent); }
.btn--tier:hover { color: #0b0620; background: var(--kc); box-shadow: 0 14px 32px -12px var(--kc); transform: translateY(-2px); }
.btn--tier-solid { background: linear-gradient(120deg, var(--kc2), var(--kc)); color: #fff; box-shadow: 0 12px 30px -10px var(--kc2), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--tier-solid:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--kc2); filter: saturate(1.15) brightness(1.06); }

@media (max-width: 1024px) {
	.mv-grid { grid-template-columns: 1fr; }
}
