/* LaxmiFin public home — premium retail finance look */
:root {
	--ph-bg: #f0f3f8;
	--ph-bg-deep: #e6ebf3;
	--ph-surface: #ffffff;
	--ph-border: #d5dde8;
	--ph-text: #122033;
	--ph-muted: #5a6779;
	--ph-accent: #ea580c;
	--ph-accent-deep: #c2410c;
	--ph-accent-soft: #fff1e7;
	--ph-ink: #0b1220;
	--ph-shadow: 0 22px 50px rgba(15, 23, 42, 0.09);
	--ph-font: 'Sora', 'DM Sans', sans-serif;
	--ph-display: 'Fraunces', Georgia, serif;
}

body.public-home-page {
	background:
		radial-gradient(1000px 420px at 0% -5%, rgba(234, 88, 12, 0.1), transparent 50%),
		radial-gradient(800px 380px at 100% 8%, rgba(15, 23, 42, 0.06), transparent 48%),
		linear-gradient(180deg, var(--ph-bg) 0%, var(--ph-bg-deep) 100%);
	font-family: var(--ph-font);
	color: var(--ph-text);
	overflow-x: hidden;
}

/* Navbar */
.public-home-page .nav-bar-c {
	background: rgba(11, 18, 32, 0.92) !important;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
}
.public-home-page .nav-bar-c .navbar-brand img {
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.public-home-page .nav-bar-c .nav-link {
	font-family: var(--ph-font);
	font-weight: 500;
	letter-spacing: 0.06em;
	font-size: 11px;
	border-radius: 8px;
	padding: 0.5rem 0.85rem !important;
	opacity: 0.88;
}
.public-home-page .nav-bar-c .nav-link:hover,
.public-home-page .nav-bar-c .nav-link.active {
	background: rgba(255, 255, 255, 0.12);
	opacity: 1;
}
.public-home-page .nav-bar-c .cta-btn .nav-link {
	background: var(--ph-accent);
	color: #fff !important;
	border-radius: 9px;
	padding: 0.5rem 1.1rem !important;
	margin-left: 0.4rem;
	opacity: 1;
	font-weight: 600;
}
.public-home-page .nav-bar-c .cta-btn .nav-link:hover {
	background: var(--ph-accent-deep);
}

.ph-shell {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.ph-kicker {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ph-muted);
	margin: 0 0 0.45rem;
}

.ph-section-head {
	margin-bottom: 1.75rem;
}
.ph-section-title {
	font-family: var(--ph-display);
	font-size: clamp(1.6rem, 2.8vw, 2.1rem);
	font-weight: 650;
	letter-spacing: -0.025em;
	margin: 0;
	color: var(--ph-text);
}
.ph-section-sub {
	margin: 0.55rem 0 0;
	max-width: 42ch;
	color: var(--ph-muted);
	font-size: 0.98rem;
	line-height: 1.55;
}

.ph-flash {
	border-radius: 12px;
	margin: 1rem 0;
}

/* ========== Hero ========== */
.ph-hero-stage {
	position: relative;
	min-height: min(92vh, 700px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--ph-ink);
}

.ph-hero-carousel,
.ph-hero-media-wrap {
	position: absolute;
	inset: 0;
}
.ph-hero-carousel .carousel-inner,
.ph-hero-carousel .carousel-item {
	height: 100%;
}
.ph-hero-media {
	width: 100%;
	height: 100%;
	min-height: min(92vh, 700px);
	object-fit: cover;
	object-position: center 30%;
	transform: scale(1.05);
	animation: phKenBurns 16s ease-in-out infinite alternate;
	filter: saturate(1.05) contrast(1.02);
}
@keyframes phKenBurns {
	from { transform: scale(1.05) translate3d(0, 0, 0); }
	to { transform: scale(1.12) translate3d(-1.8%, -1.2%, 0); }
}

.ph-hero-veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(115deg, rgba(8, 12, 22, 0.92) 0%, rgba(8, 12, 22, 0.62) 38%, rgba(8, 12, 22, 0.18) 68%, rgba(8, 12, 22, 0.4) 100%),
		linear-gradient(0deg, rgba(8, 12, 22, 0.72) 0%, transparent 42%);
}
.ph-hero-grain {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.18;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
}

.ph-hero-copy {
	position: relative;
	z-index: 2;
	max-width: 1140px;
	width: 100%;
	margin: 0 auto;
	padding: 5rem 1.25rem 3.75rem;
	color: #fff;
}
.ph-brand-mark {
	font-family: var(--ph-display);
	font-size: clamp(2.75rem, 7vw, 4.4rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 0.95;
	margin: 0 0 1.15rem;
	color: #fff;
}
.ph-brand-mark span {
	color: #fb923c;
}
.ph-hero-copy h1 {
	font-family: var(--ph-display);
	font-size: clamp(1.45rem, 3vw, 2.15rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.22;
	margin: 0 0 0.9rem;
	max-width: 15ch;
	color: rgba(255, 255, 255, 0.95);
}
.ph-hero-lede {
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.76);
	max-width: 34ch;
	margin: 0 0 1.85rem;
}
.ph-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 0.9rem;
	align-items: center;
}

.ph-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.35rem;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 10px;
	border: 1px solid transparent;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.ph-btn:hover {
	text-decoration: none;
	transform: translateY(-2px);
}
.ph-btn--solid {
	background: linear-gradient(135deg, #f97316, #ea580c);
	color: #fff;
	box-shadow: 0 10px 28px rgba(234, 88, 12, 0.35);
}
.ph-btn--solid:hover {
	background: linear-gradient(135deg, #fb923c, #c2410c);
	color: #fff;
}
.ph-btn--line {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(6px);
}
.ph-btn--line:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}
.ph-btn--text {
	background: transparent;
	color: rgba(255, 255, 255, 0.88);
	padding-left: 0.4rem;
	padding-right: 0.4rem;
}
.ph-btn--text:hover { color: #fff; }
.ph-btn--ghost {
	background: #fff;
	color: var(--ph-text);
	border-color: var(--ph-border);
	box-shadow: var(--ph-shadow);
}
.ph-btn--ghost:hover { color: var(--ph-accent); }

.ph-hero-dots {
	bottom: 1.35rem;
	z-index: 3;
	margin: 0;
}
.ph-hero-dots li {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	margin: 0 4px;
}
.ph-hero-dots .active {
	background: #fb923c;
	transform: scale(1.15);
}

.ph-hero-nav {
	z-index: 3;
	width: 64px;
	opacity: 1;
}
.ph-hero-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	backdrop-filter: blur(8px);
	transition: background 0.15s ease;
}
.ph-hero-nav:hover .ph-hero-nav-btn {
	background: rgba(255, 255, 255, 0.22);
}
.ph-hero-nav .carousel-control-prev-icon,
.ph-hero-nav .carousel-control-next-icon {
	display: none;
}

/* Trust strip */
.ph-trust {
	margin-top: -1.75rem;
	position: relative;
	z-index: 4;
	padding-bottom: 0.5rem;
}
.ph-trust-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--ph-border);
	border: 1px solid var(--ph-border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--ph-shadow);
}
.ph-trust-row > div {
	background: var(--ph-surface);
	padding: 1.2rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.ph-trust-row strong {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ph-text);
}
.ph-trust-row span {
	font-size: 0.82rem;
	color: var(--ph-muted);
}

/* Story panels */
.ph-story {
	padding: 3.5rem 0 1.25rem;
}
.ph-story-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.35rem;
}
.ph-story-panel {
	display: grid;
	grid-template-columns: 1fr;
	background: var(--ph-surface);
	border: 1px solid var(--ph-border);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ph-story-panel:hover {
	transform: translateY(-3px);
	box-shadow: var(--ph-shadow);
}
.ph-story-visual {
	background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}
.ph-story-visual img {
	max-width: 200px;
	max-height: 140px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.ph-story-copy {
	padding: 1.25rem 1.35rem 1.45rem;
}
.ph-story-copy h3 {
	font-family: var(--ph-display);
	font-size: 1.35rem;
	font-weight: 650;
	margin: 0 0 0.45rem;
	letter-spacing: -0.02em;
}
.ph-story-copy p {
	margin: 0;
	color: var(--ph-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Marketplace / sale board */
.ph-marketplace {
	padding: 2rem 0 0.25rem;
}
.ph-marketplace .sale-board-wrap {
	padding-top: 0;
}
.public-home-page .sale-board-wrap {
	padding: 0.25rem 0 0.75rem;
}
.public-home-page .sale-board-panel,
.public-home-page .sale-board-shell {
	border-radius: 18px !important;
	border: 1px solid var(--ph-border) !important;
	box-shadow: var(--ph-shadow) !important;
	overflow: hidden;
	background: var(--ph-surface) !important;
}
.public-home-page .sale-board-head {
	display: none !important; /* title shown in ph-marketplace section head */
}
.public-home-page .sale-empty {
	padding: 2.75rem 1rem !important;
	color: var(--ph-muted) !important;
}
.public-home-page .sale-empty-icon-wrap {
	width: 58px;
	height: 58px;
	border-radius: 14px;
	background: var(--ph-accent-soft);
	color: var(--ph-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 12px;
}

/* Notices */
.ph-notices {
	margin: 2.25rem auto 2.75rem;
}
.ph-notice-board {
	background: var(--ph-surface);
	border: 1px solid var(--ph-border);
	border-radius: 18px;
	box-shadow: var(--ph-shadow);
	overflow: hidden;
	border-left: 4px solid var(--ph-accent);
}
.ph-notice-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 1.35rem 1.4rem 1.05rem;
	border-bottom: 1px solid var(--ph-border);
}
.ph-notice-head h2 {
	font-family: var(--ph-display);
	font-size: 1.4rem;
	font-weight: 650;
	margin: 0;
	letter-spacing: -0.02em;
}
.ph-notice-pause {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--ph-border);
	background: #fff;
	color: var(--ph-text);
	cursor: pointer;
	flex-shrink: 0;
	transition: border-color 0.15s, color 0.15s;
}
.ph-notice-pause:hover {
	border-color: var(--ph-accent);
	color: var(--ph-accent);
}

.ph-msc-box {
	padding: 1.25rem 1.4rem;
	background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}
.ph-msc-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--ph-accent-deep);
	margin: 0 0 0.6rem;
}
.ph-msc-body {
	font-size: 14.5px;
	line-height: 1.75;
	color: #9a3412;
}
.ph-msc-body p { margin: 0 0 0.55rem; }
.ph-msc-body p:last-child { margin-bottom: 0; }
.ph-msc-highlight {
	font-weight: 700;
	color: var(--ph-accent-deep);
}

.ph-ticker-wrap {
	padding: 0.9rem 1rem;
	background: #f1f5f9;
	border-top: 1px solid var(--ph-border);
	overflow: hidden;
}
.ph-ticker {
	display: flex;
	align-items: center;
	animation: phTicker 40s linear infinite;
	white-space: nowrap;
	will-change: transform;
}
.ph-ticker.paused { animation-play-state: paused; }
@keyframes phTicker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
.ph-ticker-item {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin-right: 1.35rem;
	padding: 0.45rem 0.95rem 0.45rem 0.4rem;
	background: #fff;
	border: 1px solid var(--ph-border);
	border-radius: 999px;
	font-size: 13px;
	color: #475569;
}
.ph-ticker-num {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ph-accent-soft);
	color: var(--ph-accent-deep);
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 8px;
}
.ph-ticker-sign {
	margin-right: 1.35rem;
	font-size: 12px;
	font-weight: 600;
	color: var(--ph-muted);
	font-style: italic;
}

/* Partners */
.ph-partners {
	padding: 0.25rem 0 2.5rem;
}
.ph-partners .ph-kicker {
	text-align: center;
	margin-bottom: 1.2rem;
}
.ph-partner-track {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ph-partner-row {
	display: flex;
	align-items: center;
	gap: 3rem;
	width: max-content;
	animation: phPartnerSlide 34s linear infinite;
}
.ph-partner-row img {
	height: 32px;
	width: auto;
	max-width: 110px;
	object-fit: contain;
	opacity: 0.72;
	filter: grayscale(0.15);
	transition: opacity 0.2s;
}
.ph-partner-row img:hover { opacity: 1; }
@keyframes phPartnerSlide {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Closing CTA */
.ph-closing {
	padding: 0 0 3.75rem;
}
.ph-closing-inner {
	background: linear-gradient(135deg, #1a2332 0%, #0f172a 55%, #1e293b 100%);
	border-radius: 22px;
	padding: 2.5rem 1.75rem;
	text-align: center;
	color: #fff;
	box-shadow: var(--ph-shadow);
	position: relative;
	overflow: hidden;
}
.ph-closing-inner::after {
	content: '';
	position: absolute;
	width: 280px;
	height: 280px;
	right: -60px;
	top: -80px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(234, 88, 12, 0.35), transparent 70%);
	pointer-events: none;
}
.ph-closing-inner h2 {
	font-family: var(--ph-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 650;
	margin: 0 0 0.55rem;
	position: relative;
	z-index: 1;
}
.ph-closing-inner p {
	margin: 0 auto 1.4rem;
	max-width: 40ch;
	color: rgba(255, 255, 255, 0.75);
	position: relative;
	z-index: 1;
}
.ph-closing-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	position: relative;
	z-index: 1;
}

/* Motion */
.ph-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}
.ph-reveal.is-in {
	opacity: 1;
	transform: none;
}
.ph-hero-copy.ph-reveal { transition-delay: 0.1s; }

.ph-review-card {
	border-radius: 14px !important;
	border: 1px solid #f0d9a8 !important;
	box-shadow: var(--ph-shadow) !important;
	margin-top: 1rem;
}

@media (max-width: 900px) {
	.ph-trust-row {
		grid-template-columns: 1fr;
	}
	.ph-story-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.ph-hero-stage,
	.ph-hero-media {
		min-height: 82vh;
	}
	.ph-hero-copy {
		padding: 3.5rem 1.15rem 3rem;
	}
	.ph-hero-nav {
		display: none;
	}
	.ph-trust {
		margin-top: -1.25rem;
	}
}
