/* ===== HERO BACKGROUND / GRID ===== */
.ppro-hero h1,
.ppro-hero h2,
.ppro-hero h3,
.ppro-hero h4,
.ppro-hero h5,
.ppro-hero h6,
.ppro-hero label,
.ppro-hero p{
	margin: 0;               /* kasuje globalne marginesy */
	padding: 0;
	line-height: 1.2;        /* neutralny line-height */
	font-family: inherit;    /* ta sama czcionka co reszta */
	font-weight: inherit;    /* ciężar kontrolujemy klasami (.ppro-hero-title itd.) */
}
.ppro-hero {
	background: linear-gradient(
		to bottom,
		rgba(236, 253, 245, 0.4),
		#ffffff 45%,
		#ffffff 100%
	);
	padding-top: 100px;
	color: #0f172a;
	font-family: Poppins !important;
}

.ppro-hero-container {
	max-width: 1000px; /* max-w-6xl */
	margin: 0 auto;
	padding: 4rem 1rem; /* py-16 px-4 */
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-auto-rows: minmax(0, auto);
	align-items: center;
	gap: 3rem; /* gap-12 */
}

@media (min-width: 768px) {
	.ppro-hero-container {
		padding-left: 1.5rem; /* md:px-6 */
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.ppro-hero-container {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		padding-top: 6rem; /* lg:py-24 */
		padding-bottom: 6rem;
	}
}

/* ===== LEFT COLUMN ===== */

.ppro-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background-color: #ecfdf3;
	font-size: 1rem;
	font-weight: 500;
	color: #047857;
}

.ppro-hero-badge-dot {
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 9999px;
	background-color: #10b981;
}

/* switch */

.ppro-hero-switch {
	margin-top: 1.5rem;
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	border: 1px solid #e2e8f0;
	background-color: #f8fafc;
	padding: 0.25rem;
	font-size: 0.75rem;
}

.ppro-hero-switch-btn {
	border: none;
	background: transparent;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	padding: 0.375rem 1rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: #6b7280;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease,
		box-shadow 0.15s ease;
}

.ppro-hero-switch-btn:hover {
	color: #0f172a;
}

.ppro-hero-switch-btn.is-active[data-mode="personal"] {
	background-color: #e0f2fe;
	color: #075985;
	box-shadow: 0 1px 4px rgba(56, 189, 248, 0.4);
}

.ppro-hero-switch-btn.is-active[data-mode="org"] {
	background-color: #d1fae5;
	color: #047857;
	box-shadow: 0 1px 4px rgba(16, 185, 129, 0.4);
}

.ppro-hero-switch-icon {
	width: 1.1rem;
	height: 1.1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ppro-hero-switch-icon {
	width: 1.1rem;
	height: 1.1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ppro-hero-switch-icon i {
	font-size: 0.9rem;
}


/* hero title */

.ppro-hero-title {
	margin-top: 1.5rem;
	font-weight: 600;
	color: #020617;
	letter-spacing: -0.04em;
	font-size: 2.2rem;
	line-height: 1.15;
	max-width: 40rem;
}
.ppro-hero-title span, .ppro-benefits-title{
	font-size: clamp(26px, 3vw, 32px) !important;
	font-weight: 400 !important;
	font-family: Poppins !important;
}
@media (min-width: 768px) {
	.ppro-hero-title {
		font-size: 3rem !important;
		line-height: 1.1;
	}
}

/* hero text + micro-benefit */

.ppro-hero-text {
	margin-top: 1rem;
	max-width: 36rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: #4b5563;
}

@media (min-width: 768px) {
	.ppro-hero-text {
		font-size: 1rem;
	}
}

.ppro-hero-micro {
	margin-top: 0.85rem;
	font-size: 0.8rem;
	color: #6b7280;
}

/* CTA */

.ppro-hero-cta {
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.ppro-btn-primary,
.ppro-btn-secondary,
.ppro-btn-dark,
.ppro-btn-card {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, box-shadow 0.15s ease,
		transform 0.05s ease, color 0.15s ease;
}

.ppro-btn-primary {
	padding: 0.625rem 1.6rem;
	font-size: 0.875rem;
	font-weight: 600;
	background-color: #059669;
	color: #ffffff;
	box-shadow: 0 16px 40px rgba(16, 185, 129, 0.45);
}

.ppro-btn-primary:hover {
	background-color: #047857;
	box-shadow: 0 20px 50px rgba(16, 185, 129, 0.55);
	transform: translateY(-1px);
}

.ppro-btn-secondary {
	padding: 0.5rem 1.4rem;
	font-size: 0.875rem;
	font-weight: 500;
	border: 1px solid #e2e8f0;
	background-color: #ffffff;
	color: #334155;
}

.ppro-btn-secondary:hover {
	background-color: #f9fafb;
}

/* play icon */

.ppro-btn-secondary-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 9999px;
	border: 2px solid #059669;
	margin-right: 0.5rem;
	position: relative;
}
.ppro-btn-secondary-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 9999px;
	border: 2px solid #059669;
	margin-right: 0.5rem;
}

.ppro-btn-secondary-icon i {
	font-size: 0.7rem;
	color: #059669;
}


/* ===== RIGHT COLUMN / CARD ===== */

.ppro-hero-right {
	position: relative;
	margin-top: 2rem;
}

@media (min-width: 1024px) {
	.ppro-hero-right {
		margin-top: 0;
	}
}

.ppro-card {
	position: relative;
	border-radius: 1.5rem;
	border: 1px solid #bbf7d0;
	background-color: rgba(255, 255, 255, 0.9);
	padding: 1rem;
	box-shadow: 0 25px 50px rgba(16, 185, 129, 0.25);
	backdrop-filter: blur(12px);
}

.ppro-card-inner {
	position: relative;
	min-height: 28rem;
	transform-style: preserve-3d;
	transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ppro-card[data-side="back"] .ppro-card-inner {
	transform: rotateY(180deg);
}

.ppro-card-face {
	position: absolute;
	inset: 0;
	padding: 1rem 1rem 1.5rem;
	backface-visibility: hidden;
}

.ppro-card-front {
	transform: rotateY(0deg);
}

.ppro-card-back {
	transform: rotateY(180deg);
}

/* cover */

.ppro-card-cover {
	position: relative;
	margin: -1rem -1rem 1rem;
	height: 8rem;
	border-radius: 1.5rem 1.5rem 0 0;
	overflow: hidden;
}

.ppro-card-cover-gradient {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(
		135deg,
		#1ea7e6 0%,
		#19b9c8 35%,
		#33c58f 70%,
		#8fd15a 100%
	);
}

/* action buttons */

.ppro-card-actions {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: flex;
	gap: 0.5rem;
	z-index: 2;
}

.ppro-icon-btn {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	border: 1px solid #e5e7eb;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.05s ease;
}

.ppro-icon-btn:hover {
	background-color: #f9fafb;
	transform: translateY(-1px);
}

/* icon shapes */
.ppro-icon-btn i {
	font-size: 0.9rem;
	color: #0f172a;
}


/* front body */

.ppro-card-front-body {
	position: relative;
	margin-top: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-right: 0.75rem;
}

@media (min-width: 640px) {
	.ppro-card-front-body {
		flex-direction: row;
		align-items: center;
		gap: 1.5rem;
		padding-right: 0;
	}
}

/* avatar */

.ppro-avatar-wrapper {
	position: relative;
	width: 10rem;
	height: 10rem;
	margin-top: -2rem;
	flex-shrink: 0;
}

.ppro-avatar-aura {
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background-image: linear-gradient(
		to top right,
		#34d399,
		#22d3ee,
		#a3e635
	);
	opacity: 0.7;
}

.ppro-avatar-org-bg {
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background-color: #f1f5f9;
}

.ppro-avatar-img {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 9999px;
	border: 4px solid #ffffff;
	object-fit: cover;
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
}

.ppro-avatar-img-org {
	object-fit: contain;
	background-color: #ffffff;
}

.ppro-avatar-focus {
	position: absolute;
	left: 50%;
	bottom: -0.5rem;
	transform: translateX(-50%);
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
	border: 2px solid #ffffff;
}

.ppro-avatar-focus-inner {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 9999px;
	border: 2px solid #000000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ppro-avatar-focus-inner::before {
	content: "";
	width: 0.875rem;
	height: 0.875rem;
	border-radius: 9999px;
	background-color: #000000;
}

/* text block */

.ppro-card-front-text {
	min-width: 0;
	flex: 1;
}

.ppro-name-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.ppro-name {
	font-size: 1.125rem;
	font-weight: 600;
	color: #020617;
	letter-spacing: -0.02em;
}

/* verified badge */

.ppro-verified {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.ppro-verified-btn {
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
	border-radius: 9999px;
}

.ppro-verified-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 9999px;
	background-color: #16a34a;
	box-shadow: 0 2px 4px rgba(22, 163, 74, 0.5);
}

.ppro-verified-icon i {
	color: #ecfdf5;
	font-size: 0.8rem;
}


/* tooltip */

.ppro-verified-tooltip {
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%) translateY(4px);
	margin-top: 0.25rem;
	padding: 0.25rem 0.5rem;
	border-radius: 0.75rem;
	border: 1px solid #e5e7eb;
	background-color: #ffffff;
	color: #4b5563;
	font-size: 0.6875rem;
	white-space: nowrap;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.3);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.12s ease, transform 0.12s ease;
	z-index: 10;
}

.ppro-verified-tooltip.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

/* subtitle / location / rating */

.ppro-card-subtitle {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #0f172a;
}

.ppro-card-location {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	color: #4b5563;
}

.ppro-card-location-inner {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.ppro-flag {
	width: 1rem;
	height: 0.75rem;
	border-radius: 2px;
	object-fit: cover;
}

.ppro-card-rating {
	margin-top: 0.75rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.25rem;
	font-size: 0.75rem;
	color: #4b5563;
}

.ppro-stars {
	display: inline-flex;
	align-items: center;
	gap: 0.1rem;
}


.ppro-rating-score {
	margin-left: 0.25rem;
	font-weight: 600;
	color: #020617;
}

.ppro-rating-count {
	margin-left: 0.5rem;
	color: #6b7280;
}

/* profile CTA */

.ppro-card-cta {
	margin-top: 0.75rem;
}

.ppro-btn-card {
	padding: 0.25rem 0.9rem;
	font-size: 0.6875rem;
	font-weight: 500;
	background-color: #020617;
	color: #f9fafb;
}

.ppro-btn-card:hover {
	background-color: #000000;
}

.ppro-btn-card-arrow {
	display: inline-block;
	margin-left: 0.35rem;
	width: 0;
	height: 0;
	border-top: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-left: 5px solid #f9fafb;
}

/* back side */

.ppro-card-back-body {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 640px) {
	.ppro-card-back-body {
		flex-direction: row;
		align-items: flex-start;
	}
}

.ppro-card-back-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.ppro-card-back-title {
	font-size: 0.875rem;
	font-weight: 600;
	color: #020617;
	text-align: center;
}

.ppro-card-back-qr {
	width: 13rem;
	height: 13rem;
	border-radius: 1rem;
	border: 1px solid #e5e7eb;
	background-color: #ffffff;
	padding: 0.5rem;
}

.ppro-card-back-right {
	flex: 1;
	font-size: 0.875rem;
	color: #374151;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ppro-card-back-urlbox {
	border-radius: 1rem;
	border: 1px solid #e5e7eb;
	background-color: #f8fafc;
	padding: 0.75rem;
	font-size: 0.75rem;
}

.ppro-card-back-url-label {
	margin-bottom: 0.25rem;
	font-weight: 600;
	color: #111827;
}

.ppro-card-back-url-value {
	font-family: Poppins !important;
	font-size: 0.6875rem;
	word-break: break-all;
}

/* dark buttons */

.ppro-btn-dark {
	padding: 0.5rem 1.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 9999px;
	background-color: #020617;
	color: #ffffff;
	border: none;
}

.ppro-btn-dark:hover {
	background-color: #000000;
}

/* ===== MODAL QR ===== */

.ppro-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(15, 23, 42, 0.35);
}

.ppro-modal {
	position: relative;
	width: 100%;
	max-width: 24rem;
	border-radius: 1.25rem;
	border: 1px solid #e5e7eb;
	background-color: #ffffff;
	padding: 1.25rem;
	box-shadow: 0 25px 60px rgba(15, 23, 42, 0.5);
}

.ppro-modal-close {
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 9999px;
	border: none;
	background-color: #e5e7eb;
	color: #374151;
	font-size: 0.75rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.ppro-modal-close:hover {
	background-color: #d4d4d8;
}

.ppro-modal-title {
	margin-bottom: 0.75rem;
	text-align: center;
	font-size: 0.875rem;
	font-weight: 600;
	color: #020617;
	padding: 0 2.5rem;
}

.ppro-modal-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.ppro-modal-cyberid {
	font-size: 0.6875rem;
	color: #4b5563;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.ppro-modal-cyberid-label {
	font-weight: 600;
}

.ppro-modal-cyberid-value {
	font-family: Poppins !important;
}

.ppro-modal-qr {
	width: 16rem;
	height: 16rem;
	border-radius: 1rem;
	border: 1px solid #e5e7eb;
	background-color: #ffffff;
	padding: 0.75rem;
}

/* ===== MODE TOGGLING ===== */

.ppro-for-org {
	display: none;
}

.ppro-hero[data-mode="org"] .ppro-for-org {
	display: inline;
}

.ppro-hero[data-mode="org"] .ppro-for-org.ppro-rating-count {
	display: inline;
}

.ppro-hero[data-mode="org"] .ppro-for-personal,
.ppro-hero[data-mode="org"] .ppro-for-personal.ppro-rating-count {
	display: none;
}

/* avatar warianty */

.ppro-hero[data-mode="personal"] .ppro-avatar-wrapper.ppro-for-org {
	display: none;
}

.ppro-hero[data-mode="org"] .ppro-avatar-wrapper.ppro-for-personal {
	display: none;
}

.ppro-hero[data-mode="org"] .ppro-avatar-wrapper.ppro-for-org {
	display: block;
}
/* =========================
*  IZOLACJA TYPOGRAFII W SEKCJI HERO
*  (nadpisuje globalne h1–h6, marginesy itd.)
* ========================= */



/* hero title – żeby na pewno nie łapał nic globalnego */
.ppro-hero-title {
	margin-top: 1.5rem !important;
	margin-bottom: 1.5rem !important;
	/* na wszelki wypadek */
}

/* nazwa na karcie */
.ppro-name {
	margin: 0;               /* usuwa ewentualne marginesy h2 */
	line-height: 1.25;
}

/* =========================
*  POPRAWKA UKŁADU KARTY
*  (więcej miejsca na treść + drobne zmniejszenie avatara)
* ========================= */

/* większy „oddech” w karcie */
.ppro-card-face {
	padding-top: 1rem;
	padding-right: 1rem;
	padding-left: 1rem;
	padding-bottom: 2.1rem; /* było 1.5rem – robi miejsce na przycisk Zobacz profil */
}

/* lekko mniejszy avatar, żeby całość lepiej się mieściła */
.ppro-avatar-wrapper {
	width: 9.4rem;   /* było 10rem */
	height: 9.4rem;
}

/* delikatnie podnosimy treść nad przyciskiem */
.ppro-card-front-body {
	margin-top: 0.75rem; /* było 0.5rem */
}

/* rating w jednej linii na węższych kartach */
.ppro-card-rating {
	flex-wrap: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* jeśli gdzieś globalne style dorzucają marginesy do przycisku */
.ppro-card-cta {
	margin-top: 0.75rem;
	margin-bottom: 0;
}
/* =========================
* NAPRAWA MOBILE (RWD)
* ========================= */

/* 1. Domyślnie (mobile) centrujemy wszystko w karcie */
.ppro-card-front-body {
	align-items: center; /* Wyśrodkowanie avatara i bloku tekstu */
	text-align: center;  /* Wyśrodkowanie samego tekstu */
}

/* 2. Wyśrodkowanie wiersza z imieniem i "ptaszkiem" weryfikacji */
.ppro-name-row {
	justify-content: center;
}

/* 3. Wyśrodkowanie gwiazdek i oceny */
.ppro-card-rating {
	justify-content: center;
}

/* 4. Opcjonalnie: Zmniejszenie avatara na małych ekranach, 
żeby nie dominował całej karty (teraz ma 9.4rem) */
.ppro-avatar-wrapper {
	width: 8rem; 
	height: 8rem;
}

/* =========================
* PRZYWRÓCENIE DESKTOP (od 640px)
* ========================= */
@media (min-width: 640px) {
	.ppro-card-inner {
		min-height: 20rem;
	}
}
/* =========================
 *  DOSTOSOWANIE ROZMIARÓW FONTÓW W SEKCJI 1
 *  (żeby dogonić kroki 3–9)
 * ========================= */

/* główny opis pod tytułem */
.ppro-hero-text {
	font-size: 1rem;
	line-height: 1.8;
}

@media (min-width: 768px) {
	.ppro-hero-text {
		font-size: 1.1rem;
	}
}

/* micro–linijka pod opisem */
.ppro-hero-micro {
	font-size: 0.9rem;
}

/* CTA – żeby guziki wyglądały jak w późniejszych krokach */
.ppro-btn-primary,
.ppro-btn-secondary {
	font-size: 0.95rem;
}

/* teksty na karcie – front */

.ppro-name {
	font-size: 1.2rem;
}

.ppro-card-subtitle {
	font-size: 1rem;
}

.ppro-card-location,
.ppro-card-rating {
	font-size: 0.85rem;
}

.ppro-rating-score {
	font-size: 0.9rem;
}

/* mały przycisk "Zobacz profil" */
.ppro-btn-card {
	font-size: 0.8rem;
}

/* teksty na odwrocie karty */

.ppro-card-back-right {
	font-size: 0.95rem;
}

.ppro-card-back-urlbox {
	font-size: 0.85rem;
}

/* modal z QR – nagłówek + drobny tekst */
.ppro-modal-title {
	font-size: 1rem;
}

.ppro-modal-cyberid {
	font-size: 0.8rem;
}
