/* ==========================================================================
   citame.io — Landing styles
   Tokens replicados de citame/src/app/globals.css
   ========================================================================== */

:root {
	--background: #071326;
	--background-deep: #061122;
	--foreground: #e7e9ee;
	--surface: #0a192c;
	--surface-subtle: #0f1a2e;
	--surface-raised: #132238;
	--surface-high: #1a2b43;
	--border: #1d2b40;
	--border-strong: #33445c;
	--brand: #f49527;
	--brand-deep: #d47b01;
	--brand-soft: rgba(244, 149, 39, 0.14);
	--brand-glow: rgba(244, 149, 39, 0.36);
	--success: #22c55e;
	--info: #5b72ee;
	--chatgpt: #10a37f;
	--danger: #ff6b5f;
	--muted: #9aa7ba;

	--maxw: 1140px;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	background: var(--background);
}

body {
	min-height: 100vh;
	background:
		radial-gradient(circle at 18% 0%, rgba(244, 149, 39, 0.08), transparent 30rem),
		radial-gradient(circle at 88% 12%, rgba(91, 114, 238, 0.08), transparent 28rem),
		linear-gradient(180deg, #071326 0%, #061122 100%);
	background-attachment: fixed;
	color: var(--foreground);
	font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
		BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: rgba(244, 149, 39, 0.28);
	color: #fff7ed;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
}

.eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: 14px;
}

.muted {
	color: var(--muted);
}

.brand-accent {
	color: var(--brand);
}

/* ---------- Header / Nav ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(12px);
	background: rgba(7, 19, 38, 0.78);
	border-bottom: 1px solid var(--border);
}

.nav {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 68px;
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.05rem;
}

.nav-brand img {
	height: 44px;
	width: auto;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-left: auto;
}

/* enlaces de navegación con subrayado animado */
.nav-link {
	position: relative;
	font-size: 0.92rem;
	color: var(--muted);
	transition: color 0.18s ease;
	padding: 4px 0;
}

.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
	color: var(--foreground);
}

.nav-link.active::after,
.nav-link:hover::after {
	transform: scaleX(1);
}

/* ---------- Dropdown "Soluciones" (desktop) ---------- */
.nav-dropdown {
	position: relative;
}

.nav-dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	font: inherit;
}

.nav-dropdown-toggle .chevron {
	transition: transform 0.2s ease;
}

.nav-dropdown[data-open="true"] .nav-dropdown-toggle .chevron {
	transform: rotate(180deg);
}

.nav-dropdown-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	min-width: 230px;
	background: var(--surface-raised);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 60;
}

.nav-dropdown[data-open="true"] .nav-dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--foreground);
	transition: background 0.15s ease;
}

.nav-dropdown-menu a:hover {
	background: var(--brand-soft);
}

.nav-dropdown-menu a small {
	color: var(--muted);
	font-size: 0.8rem;
}

/* ---------- Botón hamburguesa (solo móvil) ---------- */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--border-strong);
	border-radius: 10px;
	cursor: pointer;
	margin-left: auto;
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--foreground);
	transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
	opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.lang-switch {
	display: inline-flex;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	overflow: hidden;
}

.lang-switch button {
	background: transparent;
	border: 0;
	color: var(--muted);
	padding: 5px 11px;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.18s ease;
}

.lang-switch button.active {
	background: var(--brand-soft);
	color: var(--brand);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 11px 20px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
	white-space: nowrap;
}

.btn-primary {
	background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
	color: #1a0e00;
	box-shadow: 0 10px 28px -12px var(--brand-glow);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -14px var(--brand-glow);
}

.btn-ghost {
	background: transparent;
	border-color: var(--border-strong);
	color: var(--foreground);
}

.btn-ghost:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.btn-sm {
	padding: 8px 15px;
	font-size: 0.88rem;
}

.btn-lg {
	padding: 14px 26px;
	font-size: 1.02rem;
}

.btn.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
	filter: grayscale(0.3);
}

/* ---------- Modal de formulario (lead) ---------- */
.lead-modal {
	width: min(440px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: linear-gradient(160deg, var(--surface-raised), var(--surface) 75%);
	color: var(--foreground);
	box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.8);
	overflow: hidden;
}

.lead-modal::backdrop {
	background: rgba(4, 9, 18, 0.66);
	backdrop-filter: blur(3px);
}

.lead-modal[open] {
	animation: lead-pop 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes lead-pop {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.lead-modal-inner {
	padding: 28px;
}

.lead-modal-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.lead-modal-head h2 {
	font-size: 1.5rem;
}

.lead-modal-head p {
	color: var(--muted);
	font-size: 0.92rem;
	margin-top: 6px;
}

.lead-close {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--border-strong);
	border-radius: 9px;
	color: var(--muted);
	cursor: pointer;
	transition: all 0.15s ease;
}

.lead-close:hover {
	color: var(--brand);
	border-color: var(--brand);
}

.lead-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lead-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lead-field label {
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--muted);
}

.lead-field input {
	width: 100%;
	padding: 11px 13px;
	background: var(--background);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	color: var(--foreground);
	font-size: 0.95rem;
	transition: border-color 0.15s ease;
}

.lead-field input:focus {
	outline: none;
	border-color: var(--brand);
}

.lead-field input:invalid:not(:placeholder-shown) {
	border-color: var(--danger);
}

/* honeypot: oculto a humanos, visible para bots */
.lead-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.lead-error {
	color: var(--danger);
	font-size: 0.86rem;
	min-height: 1.1em;
}

.lead-form .btn {
	margin-top: 4px;
	width: 100%;
}

.lead-success {
	text-align: center;
	padding: 12px 0 4px;
}

.lead-success svg {
	color: var(--success);
	margin-bottom: 12px;
}

.lead-success h2 {
	font-size: 1.4rem;
	margin-bottom: 8px;
}

.lead-success p {
	color: var(--muted);
}

/* ---------- Badge Beta ---------- */
.badge-beta {
	display: inline-block;
	margin-left: 10px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--brand-soft);
	border: 1px solid var(--brand);
	color: var(--brand);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	vertical-align: middle;
}

/* ---------- Bloque de código (snippet MCP) ---------- */
.code-block {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	margin-top: 14px;
	overflow: hidden;
}

.code-block pre {
	margin: 0;
	padding: 18px 18px 18px;
	overflow-x: auto;
	font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, Consolas, monospace);
	font-size: 0.84rem;
	line-height: 1.6;
	color: #d6e2f0;
}

.code-copy {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 5px 12px;
	font-size: 0.78rem;
	font-weight: 600;
	background: var(--surface-high);
	border: 1px solid var(--border-strong);
	border-radius: 7px;
	color: var(--foreground);
	cursor: pointer;
	transition: all 0.15s ease;
}

.code-copy:hover {
	border-color: var(--brand);
	color: var(--brand);
}

/* ---------- MCP: pasos y tools ---------- */
.mcp-steps {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 760px;
	margin: 0 auto;
}

.mcp-step {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 20px 22px;
}

.mcp-step h3 {
	font-size: 1.05rem;
	margin-bottom: 6px;
}

.mcp-step p {
	color: var(--muted);
	font-size: 0.93rem;
}

.mcp-tool-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mcp-tool-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.93rem;
}

.mcp-tool-list li svg {
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--brand);
}

/* ---------- Sections ---------- */
section {
	padding: 84px 0;
}

.section-head {
	max-width: 640px;
	margin: 0 auto 52px;
	text-align: center;
}

h1 {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.02em;
}

h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.3rem);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.01em;
}

h3 {
	font-size: 1.18rem;
	font-weight: 700;
}

/* ---------- Hero ---------- */
.hero {
	padding: 96px 0 72px;
	text-align: center;
}

.hero p.lead {
	max-width: 620px;
	margin: 22px auto 34px;
	font-size: 1.15rem;
	color: var(--muted);
}

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

.trust-row {
	margin-top: 26px;
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 0.86rem;
	color: var(--muted);
}

.trust-row span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.trust-row svg {
	color: var(--success);
}

/* ---------- LLM logos row ---------- */
.llm-row {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 38px;
}

.llm-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	font-size: 0.88rem;
	color: var(--muted);
}

.llm-chip .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

/* ---------- Cards ---------- */
.grid {
	display: grid;
	gap: 22px;
}

.grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

.card {
	position: relative;
	background:
		radial-gradient(circle at 100% 0%, var(--brand-soft), transparent 60%),
		linear-gradient(160deg, var(--surface-raised), var(--surface) 70%);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow);
}

.card .icon {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--brand-soft);
	color: var(--brand);
	margin-bottom: 16px;
}

.card h3 {
	margin-bottom: 8px;
}

.card p {
	color: var(--muted);
	font-size: 0.95rem;
}

/* segment cards (link cards) */
.segment-card {
	display: block;
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.segment-card:hover {
	transform: translateY(-4px);
	border-color: var(--brand);
}

.segment-card .arrow {
	margin-top: 16px;
	color: var(--brand);
	font-weight: 600;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---------- Pricing ---------- */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: start;
}

.price-card {
	background: linear-gradient(160deg, var(--surface-raised), var(--surface) 75%);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
	display: flex;
	flex-direction: column;
}

.price-card.featured {
	border-color: var(--brand);
	box-shadow: 0 24px 60px -26px var(--brand-glow);
}

.price-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--brand);
	color: #1a0e00;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 999px;
}

.price-card .price {
	font-size: 2.4rem;
	font-weight: 800;
	margin: 12px 0 4px;
}

.price-card .price small {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--muted);
}

.price-card .tagline {
	color: var(--muted);
	font-size: 0.92rem;
	min-height: 42px;
}

.feature-list {
	list-style: none;
	margin: 20px 0 24px;
	display: flex;
	flex-direction: column;
	gap: 9px;
	flex: 1;
}

.feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 0.9rem;
}

.feature-list li svg {
	flex-shrink: 0;
	margin-top: 3px;
}

.feature-list li.included svg {
	color: var(--success);
}

.feature-list li.excluded {
	color: var(--muted);
	opacity: 0.6;
}

.feature-list li.excluded svg {
	color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	max-width: 900px;
	margin: 0 auto;
}

.faq-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 22px;
}

.faq-item h3 {
	font-size: 1.02rem;
	margin-bottom: 8px;
}

.faq-item p {
	color: var(--muted);
	font-size: 0.93rem;
}

/* ---------- CTA band ---------- */
.cta-band {
	text-align: center;
	background:
		radial-gradient(circle at 50% 0%, var(--brand-soft), transparent 70%),
		linear-gradient(160deg, var(--surface-raised), var(--surface));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 56px 28px;
}

.cta-band p {
	color: var(--muted);
	max-width: 520px;
	margin: 14px auto 28px;
}

/* ---------- Banner de cookies ---------- */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: linear-gradient(135deg, var(--surface-raised), var(--surface));
	border-top: 1px solid var(--border-strong);
	box-shadow: 0 -8px 40px -8px rgba(0, 0, 0, 0.5);
	padding: 16px 0;
}

.cookie-banner-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.cookie-banner-text {
	flex: 1;
	font-size: 0.88rem;
	color: var(--muted);
	min-width: 260px;
}

.cookie-banner-text a {
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cookie-banner-actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

/* Formulario: checkbox de consentimiento de privacidad */
.lead-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.86rem;
	color: var(--muted);
}

.lead-consent input[type="checkbox"] {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	accent-color: var(--brand);
	cursor: pointer;
}

.lead-consent a {
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--border);
	padding: 40px 0;
	margin-top: 40px;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-links {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 0.88rem;
}

.footer-links a {
	color: var(--muted);
}

.footer-links a:hover {
	color: var(--foreground);
}

.footer-copy {
	font-size: 0.84rem;
	color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
	.grid-3,
	.grid-4,
	.pricing-grid {
		grid-template-columns: 1fr;
	}
	.faq-grid {
		grid-template-columns: 1fr;
	}

	/* mostrar hamburguesa, ocultar el lang-switch del header (va dentro del panel) */
	.nav-toggle {
		display: flex;
	}
	.nav > .lang-switch {
		display: none;
	}

	/* el nav-links pasa a ser un panel desplegable a pantalla completa */
	.nav-links {
		position: fixed;
		inset: 68px 0 0 0;
		margin: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		padding: 24px;
		background: linear-gradient(180deg, var(--background) 0%, var(--background-deep) 100%);
		border-top: 1px solid var(--border);
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: 40;
	}
	body.nav-open .nav-links {
		transform: translateX(0);
	}
	body.nav-open {
		overflow: hidden;
	}

	.nav-link {
		font-size: 1.1rem;
		padding: 14px 6px;
		border-bottom: 1px solid var(--border);
	}
	.nav-link::after {
		display: none;
	}

	/* dropdown se aplana: el toggle se oculta y los hijos se muestran indentados */
	.nav-dropdown {
		display: contents;
	}
	.nav-dropdown-toggle {
		display: none;
	}
	.nav-dropdown-menu {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		min-width: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 14px;
	}
	.nav-dropdown-menu a {
		padding: 12px 6px;
		border-bottom: 1px solid var(--border);
		border-radius: 0;
	}

	.nav-links .lang-switch {
		align-self: flex-start;
		margin-top: 16px;
	}
	.nav-links .btn {
		justify-content: center;
		margin-top: 8px;
	}
}

@media (max-width: 560px) {
	section {
		padding: 56px 0;
	}
	.hero {
		padding: 64px 0 48px;
	}
	.nav {
		gap: 10px;
	}
}

/* ---------- Hero: formulario de auditoría gratuita ---------- */
.hero-audit {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 580px;
	margin: 0 auto;
}

.hero-audit-input-wrap {
	flex: 1 1 260px;
	min-width: 0;
	position: relative;
	display: flex;
	align-items: center;
}

.hero-audit-input-wrap::before {
	content: "🌐";
	position: absolute;
	left: 14px;
	font-size: 1rem;
	pointer-events: none;
	opacity: 0.6;
}

.hero-audit input {
	width: 100%;
	min-width: 0;
	padding: 14px 16px 14px 40px;
	background: rgba(255,255,255,0.06);
	border: 1.5px solid rgba(244,149,39,0.25);
	border-radius: 50px;
	color: var(--foreground);
	font-size: 1rem;
	backdrop-filter: blur(6px);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-audit input:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px var(--brand-glow);
}

.hero-audit input::placeholder {
	color: var(--muted);
}

/* ---------- Pricing: banner oferta FUNDADOR ---------- */
.founder-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0 auto 34px;
	max-width: 760px;
	padding: 14px 22px;
	border: 1px solid var(--brand);
	border-radius: var(--radius);
	background: var(--brand-soft);
	text-align: center;
}

.founder-badge {
	flex-shrink: 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--brand);
	color: #071326;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.founder-text {
	font-size: 0.95rem;
	color: var(--foreground);
}

.founder-text code {
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--surface-high);
	border: 1px solid var(--border-strong);
	color: var(--brand);
	font-weight: 700;
}

.founder-count {
	flex-shrink: 0;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--brand);
}

/* ---------- Pricing: nota de precio anual ---------- */
.price-annual {
	margin-top: 4px;
	font-size: 0.84rem;
	color: var(--muted);
}

/* ---------- Agencias: calculadora de margen ---------- */
.calc-list {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}
.calc-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--border);
	font-size: 0.95rem;
}
.calc-list li:last-child {
	border-bottom: none;
}
.calc-list li strong {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.calc-list li.calc-total {
	margin-top: 6px;
	padding-top: 16px;
	border-top: 2px solid var(--brand);
	border-bottom: none;
}
.calc-list li.calc-total span {
	font-weight: 600;
}
.calc-list li.calc-total strong {
	font-size: 1.5rem;
	font-weight: 800;
	color: #2ecc8a;
	letter-spacing: -0.02em;
}

/* ============================================================
   Franja diferencial "Úsalo dentro de tu IA" (home) + tarjetas
   ChatGPT/Claude reutilizables en mcp.html. Colores de marca.
   ============================================================ */
.mcp-band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(120% 140% at 85% -10%, rgba(16, 163, 127, 0.1), transparent 55%),
		radial-gradient(120% 140% at 12% 120%, rgba(217, 119, 87, 0.12), transparent 55%),
		linear-gradient(180deg, var(--surface), var(--background-deep));
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.mcp-band .mcp-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 40px;
	align-items: center;
}
.mcp-band h2 {
	margin: 14px 0 0;
	max-width: 16ch;
	text-wrap: balance;
}
.mcp-band h2 .accent {
	background: linear-gradient(180deg, #ffb457, var(--brand-deep));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--brand);
}
.mcp-band p.lead {
	margin: 16px 0 0;
	max-width: 50ch;
	color: var(--muted);
	font-size: 1.08rem;
	line-height: 1.6;
}
.mcp-band p.lead b {
	color: var(--foreground);
	font-weight: 600;
}
.mcp-band .mcp-actions {
	margin-top: 26px;
}
.mcp-why {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.mcp-why .chip {
	font-size: 0.8rem;
	color: var(--muted);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 6px 12px;
}
.mcp-why .chip b {
	color: var(--brand);
	font-weight: 700;
}

/* Tarjetas gemelas ChatGPT / Claude */
.mcp-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.mcp-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--surface-raised), var(--surface));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.mcp-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: var(--edge, var(--brand));
}
.mcp-card.is-gpt {
	--edge: #10a37f;
}
.mcp-card.is-claude {
	--edge: #d97757;
}
.mcp-card:hover {
	transform: translateY(-3px);
	border-color: var(--border-strong);
}
.mcp-card .mcp-logo {
	width: 42px;
	height: 42px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	color: #fff;
}
.mcp-card .mcp-logo.is-gpt {
	background: #0d0d0d;
	border: 1px solid #1f1f1f;
}
.mcp-card .mcp-logo.is-claude {
	background: #d97757;
}
.mcp-card h3 {
	margin: 0;
	font-size: 1.05rem;
}
.mcp-card .mcp-mins {
	font-size: 0.8rem;
	color: var(--muted);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.mcp-card .mcp-mins .clk {
	color: var(--brand);
	font-weight: 700;
}
.mcp-copy {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--foreground);
	background: var(--surface-high);
	border: 1px solid var(--border-strong);
	border-radius: 9px;
	padding: 9px 12px;
	cursor: pointer;
	transition: background 0.15s ease;
	width: fit-content;
}
.mcp-copy:hover {
	background: #22344f;
}
.mcp-copy.is-done {
	color: var(--success);
	border-color: rgba(34, 197, 94, 0.4);
}

/* Sección MCP completa (mcp.html): pasos + prueba de valor */
.mcpb-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	margin-top: 44px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--border);
}
.mcpb-step {
	background: var(--surface);
	padding: 24px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.mcpb-step .n {
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--brand);
	width: 30px;
	height: 30px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	background: var(--brand-soft);
	border: 1px solid rgba(244, 149, 39, 0.3);
}
.mcpb-step h4 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}
.mcpb-step p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--muted);
	line-height: 1.55;
}
.mcpb-step code {
	font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
	font-size: 0.8rem;
	color: var(--brand);
	background: var(--surface-subtle);
	padding: 1px 6px;
	border-radius: 5px;
}
.mcpb-proof {
	margin-top: 44px;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 24px;
	align-items: center;
}
.mcpb-proof ul {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.mcpb-proof li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	font-size: 0.98rem;
	color: var(--foreground);
}
.mcpb-proof li .ck {
	color: var(--success);
	margin-top: 2px;
}
.mcpb-chat {
	background: var(--surface-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 16px;
	font-size: 0.9rem;
	box-shadow: var(--shadow);
}
.mcpb-chat-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 2px 4px 14px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 14px;
}
.mcpb-chat-bar .b {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--border-strong);
}
.mcpb-chat-bar .who {
	margin-left: 8px;
	font-size: 0.75rem;
	color: var(--muted);
	font-weight: 600;
}
.mcpb-bubble {
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 12px;
	line-height: 1.5;
	max-width: 88%;
}
.mcpb-bubble.user {
	background: var(--surface-high);
	margin-left: auto;
	border: 1px solid var(--border-strong);
}
.mcpb-bubble.ai {
	background: var(--surface-raised);
	border: 1px solid var(--border);
}
.mcpb-bubble.ai .tool {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #10a37f;
	background: rgba(16, 163, 127, 0.12);
	border: 1px solid rgba(16, 163, 127, 0.3);
	border-radius: 8px;
	padding: 4px 9px;
	margin-bottom: 9px;
	font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
}
.mcpb-bubble.ai b {
	color: var(--brand);
}
.mcpb-bubble .metric {
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	color: var(--brand);
}

@media (max-width: 860px) {
	.mcp-band .mcp-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.mcpb-steps {
		grid-template-columns: 1fr;
	}
	.mcpb-proof {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 520px) {
	.mcp-cards {
		grid-template-columns: 1fr;
	}
}
