/**
 * CashCom app phone — port of Cryptolink merchant phone-mockup.
 * Brand: teal #78DED4 / navy #003E52 (no purple/pink).
 */

/* Kill Elementor light fills (#EEFFFD / #F8F9FD) + mastercard stage behind the phone.
   Match Elementor post-1354 specificity so theme CSS wins. */
body.ccp-magic-bento .elementor-element.elementor-element-ed1d975,
body.ccp-magic-bento .elementor-element.elementor-element-ed1d975:not(.elementor-motion-effects-element-type-background),
body.ccp-magic-bento .elementor-element.elementor-element-ed1d975 > .e-con-inner,
body.ccp-magic-bento .elementor-element.elementor-element-ed1d975 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
}

body.ccp-magic-bento .elementor-element.elementor-element-db46198,
body.ccp-magic-bento .elementor-element.elementor-element-db46198 > .elementor-widget-container,
body.ccp-magic-bento .ccp-app-phone-host > .elementor-widget-container {
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	padding: 1rem 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 560px;
}

/* Hide leftover Lottie shell if Elementor re-injects it */
body.ccp-magic-bento .ccp-app-phone-host .e-lottie__container,
body.ccp-magic-bento .elementor-element-db46198 .e-lottie__container {
	display: none !important;
}

.ccp-app-visual {
	position: relative;
	width: 100%;
	max-width: 380px;
	height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.ccp-phone-mockup {
	position: relative;
	width: 260px;
	height: 520px;
	background: linear-gradient(135deg, #0b4b60, #001820);
	border: 1px solid rgba(120, 222, 212, 0.28);
	border-radius: 36px;
	padding: 16px;
	box-sizing: border-box;
	box-shadow:
		0 30px 60px rgba(0, 0, 0, 0.35),
		0 0 40px rgba(120, 222, 212, 0.1);
	animation: ccp-phone-float 4s ease-in-out infinite;
	z-index: 2;
}

@keyframes ccp-phone-float {
	0%, 100% { transform: translateY(0) rotateY(0deg); }
	50% { transform: translateY(-16px) rotateY(4deg); }
}

.ccp-phone-screen {
	width: 100%;
	height: 100%;
	/* Light app screen — soft mint → white (CashCom kit light) */
	background: linear-gradient(165deg, #e8f8f6 0%, #f4fbfa 45%, #ffffff 100%);
	border-radius: 28px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 36px 18px;
	box-sizing: border-box;
}

.ccp-phone-logo {
	width: 150px;
	max-width: 80%;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ccp-phone-logo img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.ccp-phone-name {
	font-family: "DIN Next", Sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 4px;
	color: #003e52;
}

.ccp-phone-tagline {
	font-family: "DIN Next", Sans-serif;
	font-size: 0.85rem;
	opacity: 1;
	margin-bottom: 28px;
	color: rgba(0, 62, 82, 0.7);
	text-align: center;
}

.ccp-phone-features {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ccp-phone-feature {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(0, 62, 82, 0.12);
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 62, 82, 0.06);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.ccp-phone-feature svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	stroke: #003e52;
	fill: none;
	stroke-width: 2;
}

.ccp-phone-feature span {
	font-family: "DIN Next", Sans-serif;
	font-size: 0.85rem;
	color: #003e52;
	font-weight: 500;
}

@media (max-width: 767px) {
	body.ccp-magic-bento .ccp-app-phone-host > .elementor-widget-container {
		min-height: 480px;
	}

	.ccp-app-visual {
		height: 480px;
		max-width: 320px;
	}

	.ccp-phone-mockup {
		width: 220px;
		height: 440px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ccp-phone-mockup {
		animation: none !important;
	}
}
