/* PlaceSharing brand overrides for Appzen template */

:root {
	--primary-color: #0a0a0a;
	--secondary-color: #141414;
	--bg-color: #0f0f0f;
	--text-color: #b8b8b8;
	--accent-color: #edde54;
	--accent-secondary-color: #f5e98a;
	--white-color: #f7f7f5;
	--divider-color: rgba(237, 222, 84, 0.14);
	--dark-divider-color: rgba(255, 255, 255, 0.1);
	--default-font: "DM Sans", sans-serif;
	--display-font: "Manrope", "DM Sans", sans-serif;
}

html {
	scroll-behavior: smooth;
}

body.ps-body {
	background: #0a0a0a;
	color: var(--text-color);
	font-family: var(--default-font);
	/* Avoid layout shift when scrollbar appears — causes fixed nav jitter */
	overflow-y: scroll;
}

/* Faster paint for below-the-fold blocks */
.ps-about,
.ps-why,
.how-it-work,
.our-interface,
.ps-download,
.main-footer {
	content-visibility: auto;
	contain-intrinsic-size: 1px 720px;
}

img {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6,
.section-title h1,
.section-title h2,
.section-title h3,
.ps-hero-brand,
.ps-brand-name {
	font-family: var(--display-font);
	letter-spacing: -0.02em;
}

/* Kill template button arrow / wipe that eats the last letter */
.btn-default::before,
.btn-default::after,
.btn-default.btn-highlighted::before,
.btn-default.btn-highlighted::after {
	content: none !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	background: none !important;
}

.btn-default,
.btn-default.btn-highlighted {
	padding: 14px 24px !important;
	border-radius: 999px !important;
	overflow: visible !important;
}

/* Clean CTA — no template decorations */
.ps-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 13px 22px;
	border-radius: 999px;
	background: var(--accent-color);
	color: #0a0a0a !important;
	font-family: var(--default-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	border: none;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.2s ease;
}

.ps-btn:hover {
	background: var(--accent-secondary-color);
	color: #0a0a0a !important;
	transform: translateY(-1px);
}

.header-btn .ps-btn {
	position: relative;
	z-index: 2;
	padding: 11px 18px;
	font-size: 14px;
	background: rgba(237, 222, 84, 0.95);
	box-shadow: 0 4px 18px rgba(237, 222, 84, 0.2);
}

.header-btn .ps-btn::before,
.header-btn .ps-btn::after,
.ps-btn::before,
.ps-btn::after {
	content: none !important;
	display: none !important;
}

/* Fixed liquid-glass menu — stable, no scroll jitter */
header.main-header {
	position: fixed !important;
	top: 12px !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 1200 !important;
	pointer-events: none;
	transform: translate3d(0, 0, 0) !important;
	-webkit-transform: translate3d(0, 0, 0) !important;
	transition: none !important;
	animation: none !important;
	will-change: auto;
}

header.main-header .header-sticky,
.main-header .header-sticky,
header.main-header .header-sticky.active,
header.main-header .header-sticky.hide {
	pointer-events: auto;
	position: relative !important;
	top: 0 !important;
	left: auto !important;
	right: auto !important;
	transform: translate3d(0, 0, 0) !important;
	-webkit-transform: translate3d(0, 0, 0) !important;
	transition: none !important;
	animation: none !important;
	overflow: visible !important;
	width: min(1120px, calc(100% - 24px)) !important;
	max-width: min(1120px, calc(100% - 24px)) !important;
	margin: 0 auto !important;
	border-radius: 22px !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
	background: rgba(18, 18, 18, 0.55) !important;
	background-image: none !important;
	backdrop-filter: blur(24px) saturate(160%) !important;
	-webkit-backdrop-filter: blur(24px) saturate(160%) !important;
	box-shadow:
		0 10px 40px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
}

.main-header .navbar {
	padding: 12px 10px !important;
}

/* Brand mark in nav — square icon, no stretch */
.ps-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
}

.ps-brand-mark {
	width: 36px !important;
	height: 36px !important;
	max-width: 36px !important;
	object-fit: contain !important;
	object-position: center;
	flex-shrink: 0;
	border-radius: 9px;
	display: block;
}

.navbar-brand img,
.ps-brand img {
	width: 36px !important;
	height: 36px !important;
	max-height: 36px !important;
	object-fit: contain !important;
}

.ps-brand-name {
	font-family: var(--display-font);
	font-size: 1.05rem;
	font-weight: 700;
	font-stretch: normal;
	font-style: normal;
	color: var(--accent-color);
	line-height: 1.1;
	letter-spacing: -0.01em;
	white-space: nowrap;
	transform: none !important;
}

.main-header .nav-link {
	color: #f0f0f0 !important;
}

.main-header .nav-link:hover {
	color: var(--accent-color) !important;
}

.header-btn .ps-btn {
	background: rgba(237, 222, 84, 0.95);
	box-shadow: 0 4px 16px rgba(237, 222, 84, 0.22);
}

.preloader #loading-icon img {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	object-fit: contain;
	filter: drop-shadow(0 0 12px rgba(237, 222, 84, 0.35));
}

/* Hero */
.ps-hero,
.hero.ps-hero {
	position: relative;
	min-height: auto !important;
	height: auto !important;
	max-height: none !important;
	padding: 120px 0 72px !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
	border-radius: 0 !important;
	overflow: visible !important;
	display: block;
	background: #050505 !important;
	background-image: none !important;
}

.ps-hero::before {
	content: none;
}

.ps-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.ps-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
	animation: ps-hero-drift 18s ease-in-out infinite alternate;
}

.ps-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(105deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.72) 42%, rgba(5, 5, 5, 0.35) 70%, rgba(5, 5, 5, 0.55) 100%),
		linear-gradient(0deg, rgba(5, 5, 5, 0.75) 0%, transparent 45%);
	pointer-events: none;
}

.ps-hero .container {
	position: relative;
	z-index: 2;
}

.ps-hero .row {
	align-items: center !important;
}

.ps-hero-content,
.hero-content.ps-hero-content {
	max-width: 34rem;
	padding: 1rem 0 2rem;
	text-align: left !important;
	margin: 0;
}

.ps-hero-brand {
	display: block;
	font-family: var(--display-font) !important;
	font-size: clamp(2.4rem, 5.5vw, 3.75rem) !important;
	font-weight: 800 !important;
	font-stretch: normal !important;
	color: var(--accent-color) !important;
	line-height: 1.05 !important;
	margin: 0 0 1rem !important;
	text-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
	letter-spacing: -0.02em !important;
	transform: none !important;
	max-width: none;
}

.ps-hero-lead {
	font-family: var(--display-font) !important;
	font-size: clamp(1.25rem, 2.5vw, 1.7rem) !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 0 0.85rem !important;
	max-width: 22ch;
	line-height: 1.3 !important;
}

.ps-hero-sub {
	color: #d2d2d2 !important;
	font-size: 1.05rem !important;
	max-width: 38ch;
	margin: 0 0 1.75rem !important;
	line-height: 1.5 !important;
}

.ps-hero-phone {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 8px 0 24px;
	overflow: visible !important;
	animation: ps-phone-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ps-hero-phone img {
	width: min(100%, 300px);
	max-width: 100%;
	max-height: none !important;
	height: auto !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
	object-position: center top;
	border-radius: 0 !important;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.65));
}

@keyframes ps-hero-drift {
	from { transform: scale(1.04) translate3d(0, 0, 0); }
	to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes ps-phone-rise {
	from { opacity: 0; transform: translateY(48px); }
	to { opacity: 1; transform: translateY(0); }
}

.about-us,
.how-it-work,
.our-interface {
	background: #111111 !important;
	color: var(--text-color);
}

.key-features.bg-section,
.bg-section:not(.dark-section) {
	background: #161616 !important;
}

.section-title h2,
.section-title h3,
.about-us-body-item-content h3,
.how-work-item-content h3,
.ps-feature h3 {
	color: #f3f3f1;
}

.section-title h3 {
	color: var(--accent-color) !important;
}

.section-title p,
.section-title-content p,
.about-us-body-item-content p,
.how-work-item-content p,
.ps-feature p {
	color: #c6c6c6 !important;
}

.section-title-content p {
	color: #d0d0d0 !important;
	font-size: 1.05rem;
	line-height: 1.55;
}

/* Clean feature cards — no stretched icons */
.ps-features-grid {
	margin-top: 8px;
}

.ps-feature {
	height: 100%;
	padding: 28px 24px;
	border-radius: 20px;
	background: #1a1a1a;
	border: 1px solid rgba(255, 255, 255, 0.07);
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.ps-feature:hover {
	border-color: rgba(237, 222, 84, 0.35);
	transform: translateY(-3px);
}

.ps-feature-num {
	display: inline-block;
	font-family: var(--display-font);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--accent-color);
	margin-bottom: 1rem;
}

.ps-feature h3 {
	font-family: var(--display-font);
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 0.65rem;
	line-height: 1.25;
}

.ps-feature p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
}

.ps-about {
	padding-top: 110px;
}

.ps-about .about-us-content-box {
	height: auto !important;
	align-content: start !important;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
}

.ps-about .about-us-body {
	position: relative;
	z-index: 1;
	margin: 0;
}

.ps-about .about-us-body-item:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	border-bottom: none !important;
}

/* CTA must sit below items — never overlap */
.ps-about .about-us-btn {
	position: relative !important;
	display: block;
	clear: both;
	float: none !important;
	margin: 2.25rem 0 0 !important;
	padding: 0 !important;
	inset: auto !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	z-index: 2;
	transform: none !important;
	animation: none !important;
}

.ps-about .about-us-btn .ps-btn {
	position: relative !important;
	display: inline-flex;
	max-width: 100%;
	margin: 0 !important;
	transform: none !important;
}

.ps-about .about-us-body-item {
	position: relative;
	z-index: 1;
}

.ps-about-image figure {
	border-radius: 28px;
	overflow: hidden;
}

.ps-about-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 420px;
}

.dark-section,
.ps-why,
.ps-download,
.main-footer.dark-section {
	background-color: #0a0a0a !important;
	background-image: none !important;
}

.ps-hero.dark-section {
	background-color: #050505 !important;
	background-image: none !important;
}

.why-choose-us.ps-why,
.ps-why {
	position: relative;
	overflow: visible !important;
	padding: 90px 0 160px !important;
}

.ps-why .container,
.ps-why .row,
.ps-why [class*="col-"] {
	overflow: visible !important;
}

.our-social-apps {
	background-image: none !important;
}

.ps-why-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
}

.ps-why-list li {
	position: relative;
	padding: 0.65rem 0 0.65rem 1.6rem;
	color: #e6e6e6;
	font-weight: 500;
}

.ps-why-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.05rem;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--accent-color);
	box-shadow: 0 0 0 4px rgba(237, 222, 84, 0.15);
}

.ps-why-phones {
	position: relative;
	min-height: 0;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
	padding: 48px 12px 56px;
	overflow: visible !important;
}

.ps-why-phone {
	width: min(44%, 230px);
	max-width: 230px;
	height: auto !important;
	max-height: none !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
	border-radius: 0 !important;
	filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

.ps-why-phone-a {
	transform: rotate(-6deg) translateX(12px);
	z-index: 1;
	animation: ps-tilt-a 6s ease-in-out infinite alternate;
}

.ps-why-phone-b {
	transform: rotate(5deg) translateX(-12px);
	z-index: 2;
	animation: ps-tilt-b 7s ease-in-out infinite alternate;
}

@keyframes ps-tilt-a {
	from { transform: rotate(-6deg) translateX(12px) translateY(0); }
	to { transform: rotate(-3deg) translateX(12px) translateY(-10px); }
}

@keyframes ps-tilt-b {
	from { transform: rotate(5deg) translateX(-12px) translateY(6px); }
	to { transform: rotate(3deg) translateX(-12px) translateY(-4px); }
}

.how-it-work,
.how-it-work-image-box,
.how-it-work-image,
.how-it-work-image figure {
	overflow: visible !important;
}

.how-it-work-image-box {
	align-items: flex-end !important;
	padding-bottom: 12px;
}

.how-it-work-image figure,
.how-it-work-image img,
.how-it-work-image.box-1 img,
.how-it-work-image.box-2 img {
	width: 100% !important;
	max-height: none !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
	object-position: center bottom !important;
	height: auto !important;
	border-radius: 0 !important;
	border: none !important;
}

.interface-slider-image.ps-screen {
	background: transparent;
	border-radius: 0;
	padding: 0;
	border: none;
	overflow: visible !important;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

/* Keep full phone screens visible — template used object-fit:cover */
.our-interface-slider .swiper {
	overflow: visible !important;
	padding: 12px 0 32px;
}

.interface-slider-image.ps-screen img,
.interface-slider-image img {
	width: auto !important;
	max-width: min(280px, 72vw) !important;
	height: auto !important;
	max-height: none !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
	object-position: center top !important;
	display: block;
	margin: 0 auto;
	border-radius: 28px;
	border: none !important;
	transform: none !important;
}

.our-interface {
	overflow: visible !important;
	padding: 80px 0 100px;
}

.our-interface-slider,
.our-interface-slider .swiper,
.our-interface-slider .swiper-wrapper {
	overflow: visible !important;
}

.our-interface-slider .swiper-slide {
	height: auto !important;
	overflow: visible !important;
}

.section-title h2 {
	overflow: visible !important;
	transform: none !important;
}

.split-line {
	overflow: visible !important;
}

.ps-download {
	background:
		radial-gradient(ellipse at 50% 0%, rgba(237, 222, 84, 0.16), transparent 55%),
		#0a0a0a !important;
	padding-bottom: 90px;
}

.ps-download .app-download-buttons {
	justify-content: center;
}

.main-footer {
	background: #050505 !important;
	border-top: 1px solid var(--dark-divider-color);
}

.ps-footer-brand {
	margin-bottom: 1rem;
}

.ps-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 1.75rem;
	justify-content: flex-end;
}

.ps-footer-links a {
	color: #cfcfcf;
	text-decoration: none;
	font-weight: 500;
}

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

.footer-copyright-text p {
	color: #777;
	text-align: center;
	margin: 1.5rem 0 0;
}

.app-download-btn img {
	filter: none;
	transition: transform 0.25s ease, filter 0.25s ease;
}

.app-download-btn:hover img {
	transform: translateY(-2px);
	filter: drop-shadow(0 8px 16px rgba(237, 222, 84, 0.2));
}

.how-it-work-number h3 {
	color: var(--accent-color) !important;
}

/* Stop template from stretching images in icon boxes elsewhere */
.icon-box img {
	width: auto !important;
	max-width: 28px !important;
	height: auto !important;
	object-fit: contain !important;
}

/* About body icons — keep square, no stretch */
.about-us-body-item .icon-box img {
	width: 28px !important;
	height: 28px !important;
	max-width: 28px !important;
	object-fit: contain !important;
}

/* SplitText wrappers shouldn't distort brand */
.ps-hero-brand .split-line,
.ps-brand-name {
	transform: none !important;
	letter-spacing: -0.02em !important;
}

/* Hide template mobile menu chrome on desktop */
.slicknav_menu {
	display: none !important;
}

@media (max-width: 991px) {
	header.main-header.ps-glass-header {
		top: 8px !important;
	}

	header.main-header .header-sticky {
		position: relative !important;
		width: calc(100% - 16px) !important;
		max-width: calc(100% - 16px) !important;
		border-radius: 18px !important;
		overflow: hidden !important;
		background: #141414 !important;
		backdrop-filter: blur(28px) saturate(180%) !important;
		-webkit-backdrop-filter: blur(28px) saturate(180%) !important;
	}

	.main-header .navbar {
		padding: 10px 56px 10px 10px !important;
		position: relative;
		z-index: 2;
	}

	.ps-glass-header .navbar-toggle {
		display: none !important;
	}

	.ps-glass-header .responsive-menu {
		position: relative;
		z-index: 1;
		width: 100%;
		background: #141414 !important;
	}

	.ps-glass-header .slicknav_menu {
		display: block !important;
		position: static !important;
		width: 100% !important;
		padding: 0 !important;
		background: #141414 !important;
		background-color: #141414 !important;
	}

	/* Burger sits in the header row, not over the hero */
	.ps-glass-header .responsive-menu .slicknav_btn,
	.ps-glass-header .slicknav_btn {
		position: absolute !important;
		top: 10px;
		right: 12px;
		z-index: 5;
		margin: 0 !important;
		background: var(--accent-color) !important;
		border-radius: 10px !important;
		width: 40px !important;
		height: 40px !important;
	}

	.ps-glass-header .slicknav_nav {
		margin: 0 !important;
		padding: 4px 14px 16px !important;
		border-radius: 0 !important;
		background: #141414 !important;
		background-color: #141414 !important;
		border: none !important;
		box-shadow: none !important;
	}

	.ps-glass-header .slicknav_nav > li {
		margin: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		background: #141414 !important;
	}

	.ps-glass-header .slicknav_nav > li:last-child {
		border-bottom: none;
	}

	.ps-glass-header .slicknav_nav .slicknav_row,
	.ps-glass-header .slicknav_nav li a {
		color: #f5f5f5 !important;
		font-family: var(--display-font);
		font-size: 1.05rem !important;
		font-weight: 600 !important;
		padding: 14px 10px !important;
		background: #141414 !important;
		background-color: #141414 !important;
		border-radius: 12px !important;
		text-transform: none !important;
	}

	.ps-glass-header .slicknav_nav a:hover,
	.ps-glass-header .slicknav_nav a:focus,
	.ps-glass-header .slicknav_nav .slicknav_row:hover {
		color: var(--accent-color) !important;
		background: rgba(237, 222, 84, 0.12) !important;
	}

	.ps-glass-header .slicknav_icon .slicknav_icon-bar {
		background-color: #0a0a0a !important;
	}

	.ps-glass-header .slicknav_btn.slicknav_open .slicknav_icon-bar {
		background-color: #0a0a0a !important;
	}

	.ps-hero {
		padding: 100px 0 40px !important;
	}

	.ps-about {
		padding-top: 40px;
	}

	.ps-about .about-us-btn {
		margin-top: 1.75rem !important;
	}

	.ps-hero-phone {
		margin-top: 0.5rem;
		padding-bottom: 16px;
	}

	.ps-hero-phone img {
		width: min(100%, 250px);
	}

	.why-choose-us.ps-why,
	.ps-why {
		padding: 60px 0 100px !important;
	}

	.ps-why-phones {
		min-height: 0;
		margin-top: 1.5rem;
		padding: 28px 8px 40px;
	}

	.ps-why-phone {
		width: min(46%, 170px);
		max-width: 170px;
	}

	.interface-slider-image.ps-screen img,
	.interface-slider-image img {
		max-width: min(240px, 70vw) !important;
	}

	.ps-footer-links {
		justify-content: flex-start;
		margin-top: 1.5rem;
	}

	.ps-about-image img {
		min-height: 280px;
	}

	.header-btn {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ps-hero-bg img,
	.ps-hero-phone,
	.ps-why-phone-a,
	.ps-why-phone-b {
		animation: none !important;
	}
}
