/**
 * Personal Landing Page (PLP) Custom Styles
 * 
 * Dark theme design for conversion-optimized landing pages
 * This stylesheet is conditionally loaded only on PLP post type pages
 * Works with custom templates for complete design control
 * 
 * Typography: Uses Google Fonts - Archivo family
 * Weights: 400 (regular), 500 (medium), 600 (semi-bold), 700 (bold)
 * Loaded via functions.php with preconnect optimization
 * 
 * @package Pollock Child
 * @since 1.0.0
 */

/* ==========================================================================
   CSS Variables for PLP Theme
   ========================================================================== */

:root {
	--plp-dark-bg: #050714;
	--plp-dark-secondary: #1e293b;
	--plp-dark-tertiary: #334155;
	--plp-blue-primary: #2F64AA;
	--plp-blue-hover: #2563eb;
	--plp-text-white: #FAFAFA;
	--plp-text-light: #e2e8f0;
	--plp-text-muted: #94a3b8;
	--plp-border-dark: rgba(255, 255, 255, 0.1);
	--plp-border-light: #417ECF;
	--plp-box-bg: linear-gradient(73deg, rgba(25, 26, 38, 0.40) 1.72%, rgba(92, 96, 140, 0.40) 198.29%);

	--plp-tag-bg: rgba(148, 163, 184, 0.2);
	--plp-container-max: 85%
	--plp-container-padding: 2rem;
	--plp-border-radius: 6px;
	--plp-transition: all 0.3s ease;
	
	/* Typography - Archivo font family with system fallbacks */
	--plp-font-primary: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	--plp-font-heading: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	--plp-font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ==========================================================================
   Base PLP Main Content Styles
   ========================================================================== */

/* Main container for PLP pages */
.plp-main-content {
	background: var(--plp-dark-bg);
	color: var(--plp-text-white);
	min-height: 100vh;
	overflow: hidden;
	font-family: var(--plp-font-body);
	font-size: 16px;
	line-height: 1.6;
	font-feature-settings: "kern" 1, "liga" 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.plp-main-content * {
	box-sizing: border-box;
}

/* Container utility class */
.plp-container {
	max-width: var(--plp-container-max);
	margin: 0 auto;
	padding: 1rem;
}

/* ==========================================================================
   PLP Header Styles
   ========================================================================== */

.plp-header {
	position: sticky;
	top: 0;
	color: var(--plp-text-white);
	z-index: 999;
	transition: all 0.5s ease;
	padding-top: 1.5rem;
}

body.scrolled .plp-header {
	background: var(--plp-dark-bg);
	padding-top: 0;
}

.plp-header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.plp-header-logo {
	flex: 1;
}

.plp-logo-link {
	color: var(--plp-text-white);
	text-decoration: none;
	transition: var(--plp-transition);
}

.plp-logo-link:hover {
	color: var(--plp-blue-primary);
}

.plp-logo-text {
	font-family: var(--plp-font-heading);
	font-size: 2.75rem;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.plp-header-nav {
	flex: 2;
	display: flex;
	justify-content: center;
}

.plp-nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2rem;
}

.plp-nav-menu li {
	margin: 0;
}

.plp-nav-menu a {
	color: var(--plp-text-light);
	text-decoration: none;
	font-family: var(--plp-font-body);
	font-weight: 500;
	transition: var(--plp-transition);
}

.plp-nav-menu a:hover {
	color: var(--plp-blue-primary);
}

.plp-header-cta {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	color: #FAFAFA;
	font-family: var(--plp-font-body);
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

/* ==========================================================================
   PLP Button Styles
   ========================================================================== */

.plp-cta-button,
.plp-button-primary {
	display: inline-block;
	background: var(--plp-blue-primary);
	color: var(--plp-text-white);
	padding: 12px 24px;
	border: none;
	border-radius: var(--plp-border-radius);
	font-family: var(--plp-font-body);
	font-weight: 600;
	font-size: 20px;
	text-decoration: none;
	cursor: pointer;
	transition: var(--plp-transition);
	text-align: center;
}

.plp-cta-button:hover,
.plp-button-primary:hover {
	background: var(--plp-blue-hover) !important;
	color: var(--plp-text-white) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.plp-cta-button:focus,
.plp-button-primary:focus {
	outline: 2px solid var(--plp-blue-primary);
	outline-offset: 2px;
}

/* ==========================================================================
   PLP Hero Section Styles
   ========================================================================== */

.plp-hero {
	/* background: linear-gradient(135deg, var(--plp-dark-bg) 0%, var(--plp-dark-secondary) 100%); */
	padding: 4rem 0 6rem;
	position: relative;
	overflow: hidden;
	min-height: 80vh;
	display: flex;
	align-items: center;
}

.plp-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.1;
	z-index: 1;
}

.plp-hero-content {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.plp-hero-left {
	max-width: 600px;
}

.plp-hero-title {
	font-family: var(--plp-font-heading);
	color: #FFF;
	font-size: 64px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

.plp-hero-description {
	font-family: var(--plp-font-body);
	color: #FFF;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%; /* 21.6px */
	letter-spacing: 0.72px;
}

.plp-hero-cta {
	margin-top: 2rem;
}

.plp-hero-cta .plp-cta-button {
	color: #FAFAFA;
	font-family: var(--plp-font-primary);
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	display: inline-flex;
	padding: 12px 24px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: 6px;
	background: var(--plp-blue-primary);
}

.plp-hero-right {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: flex-start;
}

.plp-features-grid {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
}

.plp-feature-box {

	background: var(--plp-box-bg, linear-gradient(73deg, rgba(25, 26, 38, 0.40) 1.72%, rgba(92, 96, 140, 0.40) 198.29%));
	box-shadow: -16px 4px 16px 0px rgba(0, 0, 0, 0.09);
	backdrop-filter: blur(6px);
	/* background: var(--plp-box-bg); */
	border: 1px solid var(--plp-border-dark);
	border-radius: 12px;
	padding: 20px;
	transition: var(--plp-transition);
	position: relative;
	overflow: hidden;
}

.plp-feature-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.1) 100%);
	opacity: 0;
	transition: var(--plp-transition);
}

.plp-feature-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
	border-color: var(--plp-blue-primary);
}

.plp-feature-box:hover::before {
	opacity: 1;
}

.plp-feature-content {
	position: relative;
	z-index: 2;
}

.plp-feature-title {
	color: var(--plp-text-white);
	font-family: var(--plp-font-heading);
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: 120%; /* 24px */
	letter-spacing: 0.8px;
}

.plp-feature-description {
	color: var(--plp-text-light);
	font-family: var(--plp-font-body);
	font-size: 18px;
	font-style: normal;
	font-weight: 300;
	line-height: 120%; /* 21.6px */
	letter-spacing: 0.72px;
	margin-bottom: 10px;
}

.plp-feature-tags {
	display: flex;
	flex-wrap: wrap;
	padding: 8px 0px 8px;
	justify-content: start;
	align-items: center;
	gap: 10px;
	margin-top: 1rem;
}

.plp-tag {
	background: #417ECF33;
	color: var(--plp-text-white);
	padding: 8px 16px;
	border-radius: 20px;
	font-family: var(--plp-font-body);
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.72px;
	border: 2px solid var(--plp-border-light);
}

.plp-tag:hover {
	/* background: var(--plp-blue-primary);
	transform: scale(1.05); */
}

/* ==========================================================================
   PLP Content Section Styles
   ========================================================================== */

.plp-content-section {
	padding: 4rem 0;
	background: var(--plp-dark-bg);
}

.plp-post-content {
	color: var(--plp-text-light);
	font-family: var(--plp-font-body);
	line-height: 1.6;
}

.plp-post-content h1,
.plp-post-content h2,
.plp-post-content h3,
.plp-post-content h4,
.plp-post-content h5,
.plp-post-content h6 {
	color: var(--plp-text-white);
	font-family: var(--plp-font-heading);
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.plp-post-content p {
	margin-bottom: 1.5rem;
}

.plp-post-content a {
	color: var(--plp-blue-primary);
	text-decoration: none;
}

.plp-post-content a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   PLP Footer Styles
   ========================================================================== */

.plp-footer {
	background: var(--plp-dark-bg);
	color: var(--plp-text-white);
	padding: 2rem;
	border-top: 1px solid var(--plp-border-dark);
	position: relative;
	z-index: 100;
}

.plp-footer-container {
	position: relative;
}

.plp-footer-overlay {
	position: absolute;
	width: 150%;
	height: 320px;
	flex-shrink: 0;
	bottom: -30%;
	left: 0;
	border-radius: 5000%;
	opacity: 0.2;
	background: rgba(47, 100, 170, 0.40);
	filter: blur(5px);
	transform: translateX(-16%);
}

.plp-footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
	width: 85%;
	margin: 0 auto;
}

.plp-footer-copyright {
	flex: 1;
	/* min-width: 250px; */
}

.plp-copyright-text {
	margin: 0;
	font-family: var(--plp-font-body);
	font-size: 14px;
	font-weight: 400;
	color: var(--plp-text-muted);
	line-height: normal;
	font-style: normal;
}

.plp-footer-links {
	flex: 2;
	display: flex;
	justify-content: center;
	min-width: 300px;
}

.plp-footer-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.plp-footer-link {
	color: var(--plp-text-light);
	text-decoration: none;
	font-family: var(--plp-font-body);
	font-size: 14px;
	font-weight: 400;
	transition: var(--plp-transition);
	position: relative;
}

.plp-footer-link:hover {
	color: var(--plp-blue-primary);
	transform: translateY(-1px);
}

.plp-footer-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--plp-blue-primary);
	transition: width 0.3s ease;
}

.plp-footer-link:hover::after {
	width: 100%;
}

.plp-footer-social {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	min-width: 200px;
}

.plp-social-links {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.plp-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	aspect-ratio: 1/1;
	/* background: var(--plp-box-bg); */
	/* border: 1px solid var(--plp-border-dark); */
	/* border-radius: 50%; */
	color: var(--plp-text-light);
	text-decoration: none;
	transition: var(--plp-transition);
}

.plp-social-link:hover {
	background: var(--plp-blue-primary);
	color: var(--plp-text-white);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.plp-social-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* ==========================================================================
   Brand Carousel Styles
   ========================================================================== */

.plp-brands-carousel-container {
	position: relative;
	width: 90%;
}

.brands-carousel-container {
    margin: 58px 0 78px 0;
    position: relative;
    overflow: hidden;
    background: var(--plp-dark-bg);
}

.brands-carousel-overlay {
	background-image: linear-gradient(to right, 
	  var(--plp-dark-bg) 0%, 
	  transparent 10%, 
	  transparent 90%, 
	  var(--plp-dark-bg) 100%);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	pointer-events: none;
}

.brands-carousel-heading {
    text-align: center;
	color: var(--plp-text-white);
	font-family: var(--plp-font-heading);
	margin-bottom: 2rem;
	font-weight: 700;
	font-style: normal;
	font-size: 2rem;
	opacity: 0;
	animation: fadeInUp 0.8s ease-out forwards;
}

.brands-slider {
    width: 100%;
    height: 80px;
    position: relative;
}

.brands-track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: brandSlide 30s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
	background-color: #ffffff;
}

.brand-slide {
	width: 76px;
	height: 80px;
	margin-right: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.brand-slide img,
.brand-slide svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    transition: all 0.3s ease;
}
.brand-slide img:hover,
.brand-slide svg:hover {
    filter: grayscale(0);
}

/* Pause animation on hover */
.brands-track:hover {
    animation-play-state: paused;
}

/* Performance optimizations */
.brands-track {
    backface-visibility: hidden;
    perspective: 1000px;
}

.brand-slide {
    backface-visibility: hidden;
	position: relative;
}

/* ==============================================
   HOVER POPUP - RESPONSIVE VERSION
   ============================================== */

/* Popup container - Desktop */
.brand-popup {
    position: absolute;
    display: flex;
	width: 340px;
	padding: 16px 20px;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	top: 120px; /* Position below the brands slider */
	left: 50%;
	transform: translateX(-50%);

	border-radius: 12px;
	border: 2px solid rgba(47, 100, 170, 0.40);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(6px);
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: auto; /* Allow hover events on popup */
}

/* Popup main text - Desktop */
.brand-popup-text {
    font-family: var(--plp-font-body);
    align-self: stretch;
    white-space: normal;
	color: rgba(32, 32, 32, 0.90);
	font-size: 18px;
	font-weight: 500;
	line-height: 120%;
	letter-spacing: 0.72px;
	margin-bottom: 12px;
}

/* Revenue section - Desktop */
.brand-revenue {
    display: flex;
	align-items: end;
    width: 100%;
}

/* Revenue text container */
.brand-revenue-text {
    flex: 1;
}

/* Revenue value (large percentage) - Desktop */
.brand-revenue-value {
    font-family: var(--plp-font-heading);
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	color: rgba(32, 32, 32, 0.90);
	margin: 0;
}

/* Revenue label - Desktop */
.brand-revenue-label {
	color: rgba(32, 32, 32, 0.80);
	font-family: var(--plp-font-heading);
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
	letter-spacing: 0.56px;
	margin: 0;
}

/* Arrow icon - Desktop */
.brand-arrow {
    width: 20px;
	height: 20px;
	aspect-ratio: 1/1;
	display: flex;
	justify-content: end;
	align-items: end;
}

.brand-arrow svg {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   User Stories Carousel Styles
   ========================================================================== */

.plp-user-stories-carousel-container {
    margin: 3rem auto 8rem auto;
    position: relative;
}

.plp-user-stories-carousel-content {
    display: flex;
	position: relative;
}

.plp-user-stories-carousel-content button {
	position: absolute;
	background: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--plp-text-white);
	transition: all 0.3s ease;
	z-index: 10;
	padding: 0;
	top: 35%;
	display: none;
}

.plp-user-stories-carousel-container:hover .plp-user-stories-carousel-content button {
	display: block;
}

.plp-user-stories-carousel-prev {
	transform: translate(-150%, 0);
	left: 0;
}

.plp-user-stories-carousel-next {
	transform: translate(150%, 0);
	right: 0;
}

.plp-user-stories-carousel-content button svg {
	color: rgba(47, 100, 170, 1);
}

.plp-user-stories-carousel-content button:hover svg {
	color: rgba(255, 255, 255, 0.5);
}
 
.plp-user-stories-carousel-slider {
    overflow: hidden;
}

.user-stories-track {
    display: flex;
    transition: transform 0.5s ease;
}

.user-stories-slide {
    width: 100%;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Individual Story Card */
.user-story-card {
    background: #FAFAFA14;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
	align-items: flex-start;
    gap: 16px;
    min-height: 224px;
    border: 2px solid rgba(244, 244, 244, 0.08);
    transition: all 0.3s ease;
	width: 100%;
	backdrop-filter: blur(6px);
	justify-content: space-between;
}

.user-story-card:hover {
	border: 2px solid rgba(116, 107, 253, 0.80);
	background: rgba(250, 250, 250, 0.08);
	backdrop-filter: blur(6px);
}

.user-story-card.empty {
    background: transparent;
    border: none;
    min-height: 0;
}

/* Logo Section */
.story-logo {
    width: 94px;
	height: 32px;
	aspect-ratio: 47/16;
}

.story-logo svg, .story-logo img {
    max-width: 100%;
    max-height: 100%;
	object-fit: contain;
}

/* Story Text */
.story-text {
    color: rgba(250, 250, 250, 0.90);
	font-family: var(--plp-font-body);
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
	letter-spacing: 0.72px;
}

/* Metrics Section */
.story-metrics {
    display: flex;
	align-items: flex-end;
	gap: 16px;
	align-self: stretch;
}

.story-revenue {
    flex: 1;
}

.revenue-value {
    color: rgba(250, 250, 250, 0.90);
	font-family: var(--plp-font-heading);
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	margin-bottom: 0;
}

.revenue-label {
    color: rgba(250, 250, 250, 0.80);
	font-family: var(--plp-font-body);
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
	letter-spacing: 0.56px;
	margin-bottom: 0;
}

.story-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
	cursor: pointer;
}

.user-story-card:hover .story-arrow {
    opacity: 1;
}

/* Navigation Dots */
.user-stories-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 2.4rem 0 4.8rem 0;
}

.nav-dot {
	padding: 0;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: rgba(47, 100, 170, 0.30);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    width: 20px;
	height: 8px;
	border-radius: 8px;
	background: rgba(47, 100, 170, 0.90);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* CTA Button */
.plp-user-stories-carousel-cta {
	display: block;
	gap: 10px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin: 0 auto;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	width: fit-content;
}

/* ==========================================================================
   Media Queries - Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
	.plp-hero-content {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.plp-hero-title {
		font-size: 3rem;
	}

	.plp-hero-left,
	.plp-hero-right {
		max-width: 100%;
	}

	.plp-footer-content {
		gap: 1.5rem;
	}
	
	.plp-footer-content {
		gap: 1.5rem;
		flex-wrap: nowrap;
	}

	.plp-footer-nav {
		justify-content: center;
	}
	
	.plp-social-links {
		gap: 0.75rem;
	}

	.brands-carousel-heading {
		font-size: 1.75rem;
	}
	
	.brands-slider {
		height: 70px;
	}
	
	.brand-slide {
		width: 70px;
		height: 35px;
		margin-right: 70px;
	}

	.brand-popup {
        width: 300px;
        padding: 14px 18px;
        gap: 10px;
        top: 100px;
    }
    
    .brand-popup-text {
        font-size: 16px;
        letter-spacing: 0.64px;
        margin-bottom: 10px;
    }
    
    .brand-revenue-value {
        font-size: 22px;
    }
    
    .brand-revenue-label {
        font-size: 13px;
        letter-spacing: 0.52px;
    }
    
    .brand-arrow {
        width: 18px;
        height: 18px;
    }

	.user-story-card {
        padding: 20px;
        min-height: 260px;
    }
    
    .story-text {
        font-size: 15px;
    }
    
    .revenue-value {
        font-size: 24px;
    }
    
    .revenue-label {
        font-size: 13px;
    }

	.user-stories-slide {
		grid-template-columns: repeat(2, 1fr);
	}

	.user-stories-slide {
        grid-template-columns: repeat(2, 1fr);
    }

	.plp-footer-overlay {
		bottom: -35%;
	}

	.brands-carousel-overlay {
		background-image: linear-gradient(to right, 
			var(--plp-dark-bg) 0%, 
			transparent 16%, 
			transparent 84%, 
			var(--plp-dark-bg) 100%);
	}
}

@media (max-width: 768px) {
	.brands-carousel-container {
		margin: 40px 0 60px 0;
	}
	
	.brands-carousel-heading {
		font-size: 1.5rem;
		margin-bottom: 25px;
		line-height: 1.3;
	}
	
	.brands-slider {
		height: 60px;
	}
	
	.brand-slide {
		width: 60px;
		height: 30px;
		margin-right: 60px;
	}

	.plp-hero {
		padding: 2rem 0 4rem;
		min-height: 60vh;
	}

	.plp-hero-content {
		gap: 2rem;
	}

	.plp-hero-title {
		font-size: 2.5rem;
	}

	.plp-hero-description {
		font-size: 1.125rem;
	}

	.plp-features-grid {
		gap: 1rem;
	}

	.plp-feature-box {
		padding: 1.25rem;
	}

	.plp-header-nav {
		order: 3;
	}

	.plp-nav-menu {
		flex-direction: column;
		gap: 1rem;
	}

	.plp-cta-button {
		padding: 0.75rem 1.5rem;
	}

	.plp-hero-cta .plp-cta-button {
		padding: 0.875rem 2rem;
	}

	.plp-footer {
		padding: 2rem 0 1.5rem;
	}
	
	.plp-footer-content {
		flex-direction: column;
		text-align: center;
		gap: 1.5rem;
	}
	
	.plp-footer-copyright,
	.plp-footer-links,
	.plp-footer-social {
		flex: none;
		width: 100%;
		min-width: auto;
		justify-content: center;
	}
	
	.plp-footer-nav {
		justify-content: center;
		gap: 1rem;
	}
	
	.plp-footer-link {
		font-size: 0.8rem;
	}

	.brand-popup {
        width: 280px;
        padding: 12px 16px;
        gap: 8px;
        top: 80px;
        border-radius: 10px;
    }
    
    .brand-popup-text {
        font-size: 14px;
        letter-spacing: 0.56px;
        margin-bottom: 8px;
        line-height: 130%;
    }
    
    .brand-revenue-value {
        font-size: 20px;
    }
    
    .brand-revenue-label {
        font-size: 12px;
        letter-spacing: 0.48px;
    }
    
    .brand-arrow {
        width: 16px;
        height: 16px;
    }

	.plp-user-stories-carousel-container {
        margin: 40px auto;
    }
    
    .user-stories-slide {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 5px;
    }
    
    .user-story-card {
        padding: 18px;
        min-height: 220px;
        gap: 14px;
    }
    
    .story-logo {
        height: 35px;
    }
    
    .story-text {
        font-size: 14px;
        line-height: 135%;
    }
    
    .revenue-value {
        font-size: 22px;
    }
    
    .revenue-label {
        font-size: 12px;
    }
    
    .story-arrow {
        width: 20px;
        height: 20px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }

	.user-stories-slide {
        grid-template-columns: repeat(1, 1fr);
    }

	.brands-carousel-overlay {
		background-image: linear-gradient(to right, 
			var(--plp-dark-bg) 0%, 
			transparent 12%, 
			transparent 88%, 
			var(--plp-dark-bg) 100%);
	}

	.plp-user-stories-carousel-container:hover .plp-user-stories-carousel-content button {
		display: none;
	}
}

@media (max-width: 480px) {
	.plp-hero-title {
		font-size: 2rem;
	}

	.plp-hero-description {
		font-size: 1rem;
	}

	.plp-feature-title {
		font-size: 1rem;
	}

	.plp-feature-description {
		font-size: 0.85rem;
	}

	.plp-logo-text {
		font-size: 1.5rem;
	}

	.plp-container {
		padding: 0 1rem;
	}

	.plp-nav-menu {
		gap: 0.75rem;
	}

	.plp-footer {
		padding: 1.5rem 0 1rem;
	}
	
	.plp-footer-content {
		gap: 1rem;
	}
	
	.plp-footer-nav {
		flex-direction: column;
		gap: 0.75rem;
	}
	
	.plp-social-links {
		gap: 0.5rem;
	}
	
	.plp-social-link {
		width: 36px;
		height: 36px;
	}
	
	.plp-social-link svg {
		width: 18px;
		height: 18px;
	}

	.brand-popup {
        width: 260px;
        padding: 10px 14px;
        gap: 6px;
        top: 70px;
        border-radius: 8px;
    }
    
    .brand-popup-text {
        font-size: 13px;
        letter-spacing: 0.52px;
        margin-bottom: 6px;
        line-height: 135%;
    }
    
    .brand-revenue-value {
        font-size: 18px;
    }
    
    .brand-revenue-label {
        font-size: 11px;
        letter-spacing: 0.44px;
    }
    
    .brand-arrow {
        width: 14px;
        height: 14px;
    }

	.user-story-card {
        padding: 16px;
        min-height: 200px;
        gap: 12px;
    }
    
    .story-logo {
        height: 30px;
    }
    
    .story-text {
        font-size: 13px;
        line-height: 140%;
    }
    
    .revenue-value {
        font-size: 20px;
    }
    
    .revenue-label {
        font-size: 11px;
    }
    
    .story-arrow {
        width: 18px;
        height: 18px;
    }
    
    .nav-dot {
        width: 8px;
        height: 8px;
        gap: 8px;
    }

	.user-stories-slide {
        grid-template-columns: repeat(1, 1fr);
    }

	.brands-carousel-overlay {
		background-image: linear-gradient(to right, 
			var(--plp-dark-bg) 0%, 
			transparent 4%, 
			transparent 96%, 
			var(--plp-dark-bg) 100%);
	}

	.plp-header-content {
		flex-direction: column;
		text-align: center;
	}
	
	.plp-user-stories-carousel-container:hover .plp-user-stories-carousel-content button {
		display: none;
	}
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.plp-hero-title {
	animation: fadeInUp 0.8s ease-out;
}

.plp-hero-description {
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.plp-hero-cta {
	animation: fadeInUp 0.8s ease-out 0.4s both;
}

.plp-feature-box:nth-child(1) {
	animation: fadeInUp 0.8s ease-out 0.6s both;
}

.plp-feature-box:nth-child(2) {
	animation: fadeInUp 0.8s ease-out 0.8s both;
	margin: 0 20px;
}

.plp-feature-box:nth-child(3) {
	animation: fadeInUp 0.8s ease-out 1s both;
	margin: 0 40px;
}

/* ==========================================================================
   Focus and Accessibility Styles
   ========================================================================== */

.plp-cta-button:focus-visible,
.plp-button-primary:focus-visible {
	outline: 2px solid var(--plp-blue-primary);
	outline-offset: 2px;
}

.plp-feature-box:focus-within {
	outline: 2px solid var(--plp-blue-primary);
	outline-offset: 2px;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
	.plp-hero-title,
	.plp-hero-description,
	.plp-hero-cta,
	.plp-feature-box {
		animation: none;
	}

	.plp-cta-button:hover,
	.plp-button-primary:hover,
	.plp-feature-box:hover {
		transform: none;
	}
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.plp-text-center {
	text-align: center;
}

.plp-mb-large {
	margin-bottom: 3rem;
}

.plp-mt-large {
	margin-top: 3rem;
}

.plp-hidden {
	display: none;
}

.plp-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.revenue-calculator-main.custom-loading > .container > .loader-overlay {
    position: absolute;
    z-index: 9;
    height: calc(100% + 0px);
    width: calc(100% + 50px);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    filter: blur(10px);
    padding: inherit;
    transform: translate(-25px, 0);
}

.revenue-calculator-main.custom-loading > .container > .loader {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	animation: rotate 1s linear infinite;
	position: absolute;
    z-index: 10;
    translate: -50% -50%;
    left: 50%;
    top: 25%;
}

.revenue-calculator-main.custom-loading > .container > .loader::before,
.revenue-calculator-main.custom-loading > .container > .loader::after {
	content: "";
	box-sizing: border-box;
	position: absolute;
	inset: 0px;
	border-radius: 50%;
	border: 5px solid var(--plp-blue-primary);
	animation: prixClipFix 2s linear infinite;
}

.revenue-calculator-main.custom-loading > .container > .loader::after {
	border-color: var(--plp-dark-bg);
	animation: prixClipFix 2s linear infinite, rotate 0.5s linear infinite reverse;
	inset: 6px;
}

.scroll-to-top {
    bottom: 3rem;
    right: 3rem;
    width: 40px;
    height: 40px;
    position: fixed;
    background: linear-gradient(135deg, #2F64AA, #1e4a7a);
    border: none;
    border-radius: 10%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(2rem);
    transition: all 0.3s ease;
    box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.scroll-to-top.show {
	opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 16px;
    height: 16px;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg)
	}

	100% {
		transform: rotate(360deg)
	}
}

@keyframes prixClipFix {
	0% {
		clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
	}

	25% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
	}

	50% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
	}

	75% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)
	}

	100% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)
	}
}

/* ==========================================================================
   Font Usage Summary
   ========================================================================== */

/*
 * Archivo Font Family Implementation
 * 
 * Primary Font Stack: 'Archivo', system-ui fallbacks
 * Loaded from Google Fonts with font-display: swap
 * 
 * Usage:
 * - Headings (h1-h6): var(--plp-font-heading) - Archivo 600-700
 * - Body Text: var(--plp-font-body) - Archivo 400-500  
 * - Logo: var(--plp-font-heading) - Archivo 700
 * - Buttons: var(--plp-font-body) - Archivo 600
 * - Navigation: var(--plp-font-body) - Archivo 500
 * 
 * Performance Optimizations:
 * - Preconnect links in <head>
 * - font-display: swap for better loading
 * - Conditional loading only on PLP pages
 * - System font fallbacks for better FOUT handling
 */ 