/* PieTzion Testimonials — Scoped Design System (header/footer removed) */
.pz-testimonials { font-family: 'Instrument Sans', system-ui, sans-serif; background: #f4f2f8; color: #0b0c15; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.pz-testimonials * { box-sizing: border-box; }

.pz-testimonials__main { max-width: 1280px; margin: 0 auto; padding: 48px 24px; }
@media (min-width: 768px) { .pz-testimonials__main { padding: 80px 40px; } }

/* Intro */
.pz-testimonials__intro { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
@media (min-width: 768px) { .pz-testimonials__intro { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.pz-testimonials__headline { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 42px; line-height: 1.05; letter-spacing: -0.035em; color: #0b0c15; margin: 0; }
.pz-testimonials__headline em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: #8a8494; }
@media (min-width: 768px) { .pz-testimonials__headline { font-size: 60px; } }
.pz-testimonials__sub { color: #8a8494; font-size: 15px; line-height: 1.6; max-width: 420px; margin: 0; }
.pz-testimonials__pagination { display: flex; align-items: center; gap: 12px; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 13px; font-weight: 500; color: #8a8494; }

/* Buttons */
.pz-btn { display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; font-family: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease; }
.pz-btn--circle { height: 36px; width: 36px; border-radius: 50%; background: #fdfcfb; border: 1px solid rgba(11,12,21,0.08); color: #0b0c15; font-size: 16px; line-height: 1; }
.pz-btn--dark { background: #0b0c15; color: #fdfcfb; border-color: rgba(255,255,255,0.1); }
.pz-btn--outline:hover { border-color: rgba(11,12,21,0.2); transform: translateX(-2px); box-shadow: 0 4px 10px rgba(11,12,21,0.06); }
.pz-btn--dark:hover { background: #181b2a; transform: scale(1.08); box-shadow: 0 6px 18px rgba(11,12,21,0.2); }
.pz-btn:focus-visible { outline: 2px solid #4e6cf7; outline-offset: 2px; }

/* Dots + counter */
.pz-dots { display: flex; gap: 6px; }
.pz-dot-btn { height: 8px; width: 8px; padding: 0; border-radius: 50%; border: 1px solid transparent; background: rgba(11,12,21,0.15); transition: all 0.25s ease; cursor: pointer; }
.pz-dot-btn:hover { background: rgba(11,12,21,0.3); }
.pz-dot-btn--active { background: #0b0c15; width: 24px; border-radius: 999px; }
.pz-counter { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 13px; color: rgba(138,132,148,0.7); }

/* Filter */
.pz-testimonials__filter-section { margin-bottom: 24px; }
.pz-testimonials__filter-row { display: flex; align-items: center; gap: 8px; }
.pz-testimonials__filter-label { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #b8b3c7; white-space: nowrap; flex-shrink: 0; }
.pz-testimonials__filter-scroll { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 2px 0; flex: 1; }
.pz-testimonials__filter-scroll::-webkit-scrollbar { display: none; }
.pz-pill { scroll-snap-align: start; flex-shrink: 0; border-radius: 999px; padding: 5px 14px; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 12.5px; font-weight: 500; letter-spacing: 0.01em; border: 1px solid rgba(11,12,21,0.08); background: #fdfcfb; color: #8a8494; white-space: nowrap; transition: all 0.2s ease; box-shadow: 0 1px 2px rgba(11,12,21,0.02); cursor: pointer; }
.pz-pill:hover { border-color: rgba(11,12,21,0.2); color: #0b0c15; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(11,12,21,0.06); }
.pz-pill--active { background: #0b0c15; color: #fdfcfb; border-color: #0b0c15; box-shadow: 0 2px 10px rgba(11,12,21,0.2); }
.pz-pill:focus-visible { outline: 2px solid #4e6cf7; outline-offset: 2px; }
.pz-filter-arrow { flex-shrink: 0; }
/* Desktop/tablet: arrows hidden, all categories wrapped & visible */
@media (min-width: 768px) {
	.pz-filter-arrow { display: none; }
	.pz-testimonials__filter-scroll { flex-wrap: wrap; overflow: visible; }
}

/* Card */
.pz-testimonials__card { position: relative; border-radius: 24px; background: #fdfcfb; border: 1px solid rgba(11,12,21,0.06); box-shadow: 0 30px 80px -30px rgba(11,12,21,0.08); overflow: visible; }
.pz-card-arrow { display: none; position: absolute; top: 50%; z-index: 20; transform: translateY(-50%); height: 48px; width: 48px; border-radius: 50%; background: rgba(253,252,251,0.95); backdrop-filter: blur(8px); border: 1px solid rgba(11,12,21,0.08); color: #0b0c15; font-size: 20px; line-height: 1; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 30px rgba(11,12,21,0.08); transition: all 0.25s ease; }
.pz-card-arrow:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 15px 40px rgba(11,12,21,0.15); }
.pz-card-arrow--left { left: 12px; }
.pz-card-arrow--right { right: 12px; background: #0b0c15; color: #fdfcfb; border-color: rgba(255,255,255,0.1); }
.pz-card-arrow--right:hover { background: #181b2a; }
@media (min-width: 1024px) { .pz-card-arrow { display: flex; } }
.pz-testimonials__card.pz-is-animating { animation: pzFloatIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes pzFloatIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.pz-testimonials__columns { display: grid; gap: 0; }
@media (min-width: 1024px) { .pz-testimonials__columns { grid-template-columns: 1fr 1fr; } }

/* Left column */
.pz-testimonials__left { position: relative; padding: 48px 32px; display: flex; flex-direction: column; }
@media (min-width: 768px)  { .pz-testimonials__left { padding: 64px 48px; } }
@media (min-width: 1024px) { .pz-testimonials__left { padding: 80px 56px; } }
.pz-testimonials__label-row { margin-bottom: 16px; }
.pz-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pz-badge--blue { background: #e8eeff; color: #3a52db; box-shadow: 0 1px 3px rgba(78,108,247,0.12); }
.pz-testimonials__stars { display: flex; gap: 3px; margin: 12px 0 28px; }
.pz-star { color: #e85d5d; font-size: 14px; line-height: 1; }
.pz-star--empty { opacity: 0.25; }
.pz-testimonials__quote { font-family: 'Instrument Serif', Georgia, serif; font-size: 21px; line-height: 1.35; letter-spacing: -0.015em; color: #0b0c15; margin: 0 0 40px; }
@media (min-width: 768px)  { .pz-testimonials__quote { font-size: 26px; } }
@media (min-width: 1024px) { .pz-testimonials__quote { font-size: 28px; } }
.pz-quote-mark { color: rgba(11,12,21,0.2); font-size: 48px; line-height: 0; vertical-align: -8px; margin-right: 4px; }
.pz-quote-mark--end { margin-left: 4px; margin-right: 0; }

/* Client info */
.pz-testimonials__client { margin-top: auto; }
.pz-testimonials__avatar-wrap { margin-bottom: 8px; }
.pz-testimonials__avatar { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(11,12,21,0.06), 0 4px 12px rgba(11,12,21,0.08); }
.pz-testimonials__name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pz-testimonials__name { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; color: #0b0c15; margin: 0; }
.pz-testimonials__role { font-size: 14px; font-weight: 500; color: #8a8494; line-height: 1.35; margin: 2px 0; }
.pz-testimonials__company { font-size: 13px; color: #b8b3c7; line-height: 1.35; margin: 0; }
.pz-testimonials__tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; border-radius: 999px; background: rgba(11,12,21,0.03); border: 1px solid rgba(11,12,21,0.07); padding: 6px 14px; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #0b0c15; box-shadow: inset 0 1px 0 rgba(11,12,21,0.02); }

/* Verified badge — scalloped SVG icon + accessible tooltip */
.pz-badge--verified { position: relative; padding: 3px 10px 3px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em; background: rgba(78,108,247,0.08); color: #4e6cf7; border: 1px solid rgba(78,108,247,0.15); cursor: default; transition: background 0.2s ease, border-color 0.2s ease; }
.pz-badge--verified:hover, .pz-badge--verified:focus-visible { background: rgba(78,108,247,0.12); border-color: rgba(78,108,247,0.25); outline: none; }
.pz-badge--verified:focus-visible { box-shadow: 0 0 0 2px rgba(78,108,247,0.3); }
.pz-verified-svg { width: 18px; height: 18px; display: block; flex-shrink: 0; }
.pz-tooltip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px); white-space: nowrap; z-index: 50; border-radius: 12px; background: var(--pz-tip-bg, #0b0c15); color: #fdfcfb; padding: 12px 16px; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 13px; font-weight: 500; line-height: 1.35; box-shadow: 0 16px 40px rgba(11,12,21,0.25); pointer-events: none; opacity: 0; transition: opacity 220ms ease, transform 220ms ease; text-transform: none; letter-spacing: 0; }
.pz-badge--verified:hover .pz-tooltip,
.pz-badge--verified:focus-visible .pz-tooltip,
.pz-badge--verified:focus-within .pz-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
.pz-tooltip__line { display: block; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: -0.01em; margin-bottom: 2px; }
.pz-tooltip__sub { display: block; color: #b8b3c7; font-size: 12px; }
.pz-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--pz-tip-bg, #0b0c15); }

/* Right column — realistic browser mockup */
.pz-testimonials__right { position: relative; display: flex; flex-direction: column; background: linear-gradient(135deg, var(--pz-panel-a, #1c2035) 0%, var(--pz-panel-m, #171a2e) 50%, var(--pz-panel-b, #12142a) 100%); overflow: hidden; padding: 40px 24px 32px; border-radius: 0 0 24px 24px; }
@media (min-width: 1024px) { .pz-testimonials__right { padding: 56px 40px 40px; border-radius: 0 24px 24px 0; } }
.pz-testimonials__right::before { content: ''; position: absolute; top: -112px; right: -112px; width: 384px; height: 384px; border-radius: 50%; background: rgba(78,108,247,0.2); filter: blur(110px); pointer-events: none; }
.pz-testimonials__right::after  { content: ''; position: absolute; bottom: -80px; left: -80px; width: 288px; height: 288px; border-radius: 50%; background: rgba(232,93,93,0.1); filter: blur(90px); pointer-events: none; }
.pz-browser-frame { position: relative; z-index: 1; border-radius: 16px; overflow: hidden; background: #0b0c14; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 60px rgba(0,0,0,0.5); flex: 1; display: flex; flex-direction: column; }
.pz-browser-chrome { background: rgba(22,24,43,0.9); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 10px 12px; display: flex; align-items: center; gap: 12px; }
@media (min-width: 768px) { .pz-browser-chrome { padding: 12px 16px; } }
.pz-browser-dots { display: flex; gap: 8px; flex-shrink: 0; }
.pz-dot { height: 10px; width: 10px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.2); }
.pz-dot--red   { background: #ff5f57; }
.pz-dot--amber { background: #febc2e; }
.pz-dot--green { background: #28c840; }
.pz-browser-url { flex: 1; display: flex; align-items: center; justify-content: center; min-width: 0; }
.pz-browser-lock { margin-right: 6px; flex-shrink: 0; }
.pz-browser-url-text { background: #23263d; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 4px 12px; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: rgba(255,255,255,0.8); max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.pz-browser-tabs { background: #0b0c14; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0 16px; display: flex; gap: 4px; overflow: hidden; }
.pz-browser-tab { background: transparent; border: none; border-top: 2px solid transparent; color: rgba(255,255,255,0.5); font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 11px; padding: 7px 12px; cursor: pointer; transition: color 0.15s ease, background 0.15s ease; border-radius: 6px 6px 0 0; white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.pz-browser-tab--active { background: rgba(22,24,43,0.9); color: #fdfcfb; border-top-color: #4e6cf7; }
@media (max-width: 639px) { .pz-browser-tab--optional { display: none; } }
.pz-browser-viewport { flex: 1; background: #0e0f1a; position: relative; min-height: 240px; }
.pz-browser-img { width: 100%; height: 100%; display: block; object-fit: cover; position: absolute; inset: 0; }

/* CTA pill */
.pz-testimonials__cta-wrap { position: relative; z-index: 1; margin-top: 28px; display: flex; justify-content: center; }
.pz-btn--pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 22px; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; background: #fdfcfb; color: #0b0c15; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: all 0.2s ease; }
.pz-btn--pill:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.pz-cta-svg { flex-shrink: 0; }

/* Metrics */
.pz-testimonials__metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
@media (min-width: 768px) { .pz-testimonials__metrics { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.pz-metric-card { background: #fdfcfb; border: 1px solid rgba(11,12,21,0.06); border-radius: 20px; padding: 32px 24px; box-shadow: 0 10px 40px -15px rgba(11,12,21,0.06); transition: all 0.25s ease; }
.pz-metric-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px -20px rgba(11,12,21,0.12); }
.pz-metric-number { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 32px; letter-spacing: -0.03em; color: #0b0c15; margin: 0 0 4px; }
@media (min-width: 768px) { .pz-metric-number { font-size: 40px; } }
.pz-metric-card:hover .pz-metric-number { color: var(--pz-metric-hover, #4e6cf7); }
.pz-metric-label { font-size: 14px; color: #8a8494; font-weight: 500; line-height: 1.35; margin: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.pz-testimonials__card.pz-is-animating { animation: none; }
	.pz-badge--verified, .pz-tooltip, .pz-btn, .pz-pill, .pz-metric-card, .pz-dot-btn, .pz-browser-tab { transition: none; }
	.pz-testimonials__filter-scroll { scroll-behavior: auto; }
}
