/* ===== Reset & Base ===== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #1e1e2e;
	background: #fafafa;
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
}

code {
	font-family: 'JetBrains Mono', monospace;
	background: rgba(99, 102, 241, 0.08);
	padding: 0.15em 0.4em;
	border-radius: 4px;
	font-size: 0.88em;
}

.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: 100px 0;
}

.section-label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #6366f1;
	margin-bottom: 12px;
}

.section-title {
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 16px;
}

.section-subtitle {
	font-size: 1.1rem;
	color: #64748b;
	max-width: 600px;
	margin: 0 auto 48px;
}

.gradient {
	background: linear-gradient(135deg, #6366f1, #ec4899);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.btn-primary {
	display: inline-block;
	padding: 14px 32px;
	background: linear-gradient(135deg, #6366f1, #ec4899);
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	border-radius: 12px;
	border: none;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	font-family: inherit;
	text-align: center;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary.btn-outline {
	background: transparent;
	border: 2px solid #6366f1;
	color: #6366f1;
}

.btn-primary.btn-outline:hover {
	background: linear-gradient(135deg, #6366f1, #ec4899);
	color: #fff;
	border-color: transparent;
}

.btn-secondary {
	display: inline-block;
	padding: 14px 32px;
	color: #6366f1;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 12px;
	border: 1.5px solid #e2e8f0;
	transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
}

/* ===== Nav ===== */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(250, 250, 250, 0.8);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	transition: background 0.3s;
}

.nav .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 1.25rem;
	color: #1e1e2e;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav-links a {
	font-size: 0.9rem;
	font-weight: 500;
	color: #64748b;
	transition: color 0.2s;
}

.nav-links a:hover {
	color: #1e1e2e;
}

.nav-cta {
	padding: 8px 20px !important;
	background: linear-gradient(135deg, #6366f1, #ec4899);
	color: #fff !important;
	border-radius: 10px;
	font-weight: 600 !important;
}

.nav-cta:hover {
	opacity: 0.9;
}

.nav-mobile-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #1e1e2e;
}

/* ===== Hero ===== */
.hero {
	position: relative;
	padding: 140px 0 100px;
	text-align: center;
	overflow: hidden;
	min-height: 90vh;
	display: flex;
	align-items: center;
}

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

.hero-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	opacity: 0.4;
	animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, #6366f1, transparent 70%);
	top: -10%;
	left: -5%;
}

.hero-orb-2 {
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, #ec4899, transparent 70%);
	bottom: -15%;
	right: -5%;
	animation-delay: -6s;
}

@keyframes orbFloat {
	0%, 100% {
		transform: translate(0, 0) scale(1);
	}
	33% {
		transform: translate(30px, -20px) scale(1.05);
	}
	66% {
		transform: translate(-20px, 15px) scale(0.95);
	}
}

.hero .container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.hero-content {
	max-width: 700px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: rgba(99, 102, 241, 0.08);
	border-radius: 100px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #6366f1;
	margin-bottom: 24px;
}

.hero-badge .dot {
	width: 6px;
	height: 6px;
	background: #22c55e;
	border-radius: 50%;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.3;
	}
}

.hero-badge a {
	color: #6366f1;
	font-weight: 700;
}

.hero-badge a:hover {
	text-decoration: underline;
}

.hero h1 {
	font-size: clamp(2.5rem, 6vw, 3.8rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 20px;
}

.hero-desc {
	font-size: 1.1rem;
	color: #64748b;
	max-width: 560px;
	margin: 0 auto 32px;
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ===== Hero Terminal ===== */
.terminal {
	background: #1e1e2e;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
	text-align: left;
	width: 100%;
	max-width: 560px;
}

.terminal-sm {
	max-width: 100%;
}

.terminal-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: #181825;
}

.terminal-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.terminal-dot.red {
	background: #f38ba8;
}

.terminal-dot.yellow {
	background: #f9e2af;
}

.terminal-dot.green {
	background: #a6e3a1;
}

.terminal-title {
	flex: 1;
	text-align: center;
	font-size: 0.75rem;
	color: #6c7086;
	font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
	padding: 16px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.85rem;
	line-height: 1.8;
	color: #cdd6f4;
}

.prompt {
	color: #a6e3a1;
}

.command {
	color: #89b4fa;
}

.output {
	color: #9399b2;
}

.term-line.delayed {
	opacity: 0;
	animation: fadeInLine 0.4s ease-out forwards;
}

.term-line.delayed.d1 {
	animation-delay: 1.2s;
}

.term-line.delayed.d2 {
	animation-delay: 2.4s;
}

.term-line.delayed.d3 {
	animation-delay: 3.6s;
}

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

.hero-terminal {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* ===== Manifesto ===== */
.manifesto {
	background: #fff;
}

.manifesto-inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.manifesto-title {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 32px;
}

.manifesto-body p {
	font-size: 1.05rem;
	color: #475569;
	line-height: 1.8;
	margin-bottom: 20px;
}

.manifesto-body p:last-child {
	font-weight: 600;
	color: #1e1e2e;
}

/* ===== Features ===== */
.features {
	text-align: center;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	margin-top: 12px;
}

.feature-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: left;
	transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(99, 102, 241, 0.08);
}

.feature-icon {
	font-size: 2rem;
	margin-bottom: 16px;
}

.feature-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.feature-flag {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.72rem;
	font-weight: 600;
	background: linear-gradient(135deg, #6366f1, #ec4899);
	color: #fff;
	padding: 2px 10px;
	border-radius: 100px;
}

.feature-card p {
	font-size: 0.92rem;
	color: #64748b;
	line-height: 1.7;
}

/* ===== How It Works ===== */
.how-it-works {
	background: #fff;
	text-align: center;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 32px;
	margin-top: 12px;
}

.step-card {
	text-align: left;
	padding: 32px 24px;
	border-radius: 16px;
	background: #fafafa;
	border: 1px solid #f1f5f9;
}

.step-number {
	font-size: 2.5rem;
	font-weight: 800;
	background: linear-gradient(135deg, #6366f1, #ec4899);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 16px;
	line-height: 1;
}

.step-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.step-card p {
	font-size: 0.92rem;
	color: #64748b;
	line-height: 1.7;
}

/* ===== Demo ===== */
.demo {
	text-align: center;
}

.demo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 24px;
	margin-top: 12px;
}

.demo-card {
	text-align: left;
}

.demo-card h4 {
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 12px;
	color: #475569;
}

/* ===== Stats ===== */
.stats {
	background: linear-gradient(135deg, #6366f1, #ec4899);
	text-align: center;
	color: #fff;
}

.stats .section-label {
	color: rgba(255, 255, 255, 0.7);
}

.stats .section-title {
	color: #fff;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	margin-top: 12px;
}

.stat-card {
	padding: 24px;
}

.stat-number {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	margin-bottom: 8px;
	font-variant-numeric: tabular-nums;
}

.stat-label {
	font-size: 0.9rem;
	opacity: 0.85;
}

/* ===== Testimonials ===== */
.testimonials {
	background: #fff;
	text-align: center;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-top: 12px;
}

.testimonial-card {
	background: #fafafa;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: left;
}

.testimonial-stars {
	color: #f59e0b;
	font-size: 1rem;
	margin-bottom: 16px;
	letter-spacing: 2px;
}

.testimonial-text {
	font-size: 0.95rem;
	color: #475569;
	line-height: 1.7;
	margin-bottom: 20px;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6366f1, #ec4899);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	color: #fff;
	flex-shrink: 0;
}

.avatar::after {
	content: attr(data-initials);
}

.testimonial-author strong {
	display: block;
	font-size: 0.9rem;
}

.testimonial-author span {
	display: block;
	font-size: 0.8rem;
	color: #94a3b8;
}

/* ===== Pricing ===== */
.pricing {
	text-align: center;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	align-items: start;
	margin-top: 12px;
}

.pricing-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 40px 28px;
	text-align: left;
	position: relative;
	transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(99, 102, 241, 0.1);
}

.pricing-card.featured {
	border: 2px solid #6366f1;
	box-shadow: 0 8px 40px rgba(99, 102, 241, 0.12);
}

.pricing-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #6366f1, #ec4899);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 16px;
	border-radius: 100px;
	white-space: nowrap;
}

.pricing-tier {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #6366f1;
	margin-bottom: 8px;
}

.pricing-price {
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 8px;
}

.pricing-price span {
	font-size: 1rem;
	font-weight: 500;
	color: #94a3b8;
}

.pricing-desc {
	font-size: 0.9rem;
	color: #64748b;
	margin-bottom: 24px;
}

.pricing-features {
	text-align: left;
	margin-bottom: 28px;
}

.pricing-features li {
	padding: 8px 0;
	font-size: 0.9rem;
	color: #475569;
	border-bottom: 1px solid #f1f5f9;
	padding-left: 24px;
	position: relative;
}

.pricing-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #6366f1;
	font-weight: 700;
}

.pricing-card .btn-primary {
	width: 100%;
}

/* ===== Team ===== */
.team {
	background: #fff;
	text-align: center;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
	margin-top: 12px;
}

.team-card {
	text-align: center;
	padding: 32px 24px;
}

.team-avatar {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6366f1, #ec4899);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 1.3rem;
	font-weight: 800;
	color: #fff;
	position: relative;
}

.team-avatar::after {
	content: attr(data-initials);
}

.team-card h4 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.team-role {
	font-size: 0.82rem;
	color: #6366f1;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.team-bio {
	font-size: 0.9rem;
	color: #64748b;
	margin-top: 12px;
	line-height: 1.7;
}

.team-quote {
	font-size: 0.88rem;
	color: #94a3b8;
	font-style: italic;
	margin-top: 12px;
}

/* ===== FAQ ===== */
.faq {
	text-align: center;
}

.faq-list {
	max-width: 720px;
	margin: 0 auto;
	text-align: left;
}

.faq-item {
	border-bottom: 1px solid #e2e8f0;
}

.faq-question {
	width: 100%;
	padding: 20px 0;
	background: none;
	border: none;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 600;
	color: #1e1e2e;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	text-align: left;
}

.faq-toggle {
	font-size: 1.4rem;
	color: #6366f1;
	transition: transform 0.3s;
	flex-shrink: 0;
	line-height: 1;
}

.faq-item.open .faq-toggle {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
	max-height: 300px;
	padding-bottom: 20px;
}

.faq-answer p {
	font-size: 0.95rem;
	color: #64748b;
	line-height: 1.7;
}

/* ===== Waitlist ===== */
.waitlist {
	text-align: center;
	background: #fff;
}

.waitlist-inner {
	max-width: 600px;
	margin: 0 auto;
}

.waitlist-form {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.waitlist-input {
	flex: 1;
	min-width: 240px;
	padding: 14px 20px;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	font-size: 0.95rem;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s;
}

.waitlist-input:focus {
	border-color: #6366f1;
}

.waitlist-note {
	font-size: 0.8rem;
	color: #94a3b8;
}

/* ===== Portfolio Banner ===== */
.portfolio-banner {
	background: #1e1e2e;
	padding: 48px 0;
	text-align: center;
	color: #cdd6f4;
}

.portfolio-banner h3 {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 24px;
}

.portfolio-banner h3 a {
	color: #a5b4fc;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.portfolio-banner h3 a:hover {
	color: #c4b5fd;
}

.portfolio-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: center;
	font-size: 0.82rem;
	font-family: 'JetBrains Mono', monospace;
}

.portfolio-list a {
	color: #9399b2;
	transition: color 0.2s;
	padding: 3px 0;
}

.portfolio-list a:hover {
	color: #cdd6f4;
}

.portfolio-current {
	color: #a5b4fc;
	font-weight: 700;
	padding: 3px 0;
}

/* ===== Footer ===== */
.footer {
	background: #fafafa;
	border-top: 1px solid #e2e8f0;
	padding: 64px 0 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
}

.footer-brand p {
	font-size: 0.88rem;
	color: #64748b;
	margin-top: 12px;
	line-height: 1.7;
}

.footer-brand a {
	color: #6366f1;
	font-weight: 600;
}

.footer-brand a:hover {
	text-decoration: underline;
}

.footer-brand .nav-logo {
	margin-bottom: 4px;
}

.footer-col h4 {
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #94a3b8;
	margin-bottom: 16px;
}

.footer-col li {
	margin-bottom: 10px;
}

.footer-col a {
	font-size: 0.9rem;
	color: #475569;
	transition: color 0.2s;
}

.footer-col a:hover {
	color: #6366f1;
}

.footer-bottom {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid #e2e8f0;
}

.footer-bottom p {
	font-size: 0.82rem;
	color: #94a3b8;
}

/* ===== Modal ===== */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.modal {
	background: #fff;
	border-radius: 20px;
	padding: 48px 36px;
	max-width: 420px;
	width: 100%;
	text-align: center;
	transform: translateY(20px);
	transition: transform 0.3s;
}

.modal-overlay.active .modal {
	transform: translateY(0);
}

.modal-close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	font-size: 1.8rem;
	color: #94a3b8;
	cursor: pointer;
}

.modal-icon {
	font-size: 3rem;
	margin-bottom: 16px;
}

.modal h3 {
	font-size: 1.4rem;
	font-weight: 800;
	margin-bottom: 12px;
}

.modal p {
	font-size: 0.95rem;
	color: #64748b;
	margin-bottom: 24px;
	line-height: 1.7;
}

.modal-cta {
	width: 100%;
}

.modal {
	position: relative;
}

/* ===== Fade-in animation ===== */
.fade-in {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		padding: 24px;
		gap: 16px;
		border-bottom: 1px solid #e2e8f0;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	}

	.nav-links.open {
		display: flex;
	}

	.nav-mobile-toggle {
		display: block;
	}

	.hero {
		padding: 120px 0 60px;
		min-height: auto;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero-desc {
		font-size: 1rem;
	}

	.hero-actions {
		flex-direction: column;
		align-items: center;
	}

	.section {
		padding: 64px 0;
	}

	.features-grid,
	.steps-grid,
	.demo-grid,
	.stats-grid,
	.testimonials-grid,
	.pricing-grid,
	.team-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.pricing-card.featured {
		order: -1;
	}
}

@media (max-width: 480px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.demo-grid {
		grid-template-columns: 1fr;
	}

	.terminal-body {
		font-size: 0.75rem;
	}
}

/* ===== Portfolio Pills (universal) ===== */
.portfolio-banner,
[class*="portfolio-banner"] {
	padding: 3rem 0;
	text-align: center;
}

.portfolio-banner .container,
[class*="portfolio-banner"] .container,
[class*="portfolio-banner"] [class*="portfolio-banner-inner"] {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.portfolio-scroll,
.portfolio-grid,
.portfolio-list,
.portfolio-links,
.portfolio-commands,
.portfolio-track,
.portfolio-banner-commands,
.portfolio-items,
.footer-commands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 1rem;
}

.portfolio-scroll a,
.portfolio-grid a,
.portfolio-list a,
.portfolio-links a,
.portfolio-commands a,
.portfolio-track a,
.portfolio-banner-commands a,
.portfolio-items a,
.footer-commands a {
	display: inline-block;
	padding: 6px 14px;
	font-size: .75rem;
	font-weight: 600;
	border-radius: 100px;
	border: 1px solid #6366f1;
	opacity: .55;
	text-decoration: none;
	transition: opacity .2s ease, transform .15s ease;
	white-space: nowrap;
}

.portfolio-scroll a:hover,
.portfolio-grid a:hover,
.portfolio-list a:hover,
.portfolio-links a:hover,
.portfolio-commands a:hover,
.portfolio-track a:hover,
.portfolio-banner-commands a:hover,
.portfolio-items a:hover,
.footer-commands a:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.portfolio-current,
.portfolio-scroll .portfolio-current,
.portfolio-grid .portfolio-current,
.portfolio-list .portfolio-current,
.portfolio-banner-commands .portfolio-current,
span.portfolio-current,
[class*="portfolio"] span.current,
[class*="portfolio"] span[class*="current"] {
	display: inline-block;
	padding: 6px 14px;
	font-size: .75rem;
	font-weight: 700;
	border-radius: 100px;
	opacity: 1;
	white-space: nowrap;
}

.portfolio-label,
.portfolio-banner-label {
	font-size: .8125rem;
	opacity: .6;
	margin-bottom: .5rem;
}

.portfolio-label a,
.portfolio-banner-label a {
	border: none !important;
	padding: 0 !important;
	opacity: 1 !important;
	font-weight: 700 !important;
	border-radius: 0 !important;
}

.portfolio-current,
span.portfolio-current,
[class*="portfolio"] span.current,
[class*="portfolio"] span[class*="current"] {
	background: #6366f1;
	color: #fff;
	border: 1px solid #6366f1;
}

/* Dark theme pill overrides */
.portfolio-scroll a,
.portfolio-grid a,
.portfolio-list a,
.portfolio-links a,
.portfolio-commands a,
.portfolio-track a,
.portfolio-banner-commands a,
.portfolio-items a,
.footer-commands a {
	color: #ccc !important;
	border-color: #555 !important;
	opacity: .8 !important;
}
.portfolio-scroll a:hover,
.portfolio-grid a:hover,
.portfolio-list a:hover,
.portfolio-links a:hover,
.portfolio-commands a:hover,
.portfolio-track a:hover,
.portfolio-banner-commands a:hover,
.portfolio-items a:hover,
.footer-commands a:hover {
	color: #ff6600 !important;
	border-color: #ff6600 !important;
	opacity: 1 !important;
}

.portfolio-current,
span.portfolio-current {
	background: #6366f1 !important;
	color: #fff !important;
	border: 1px solid #6366f1 !important;
	opacity: 1 !important;
}

[class*="avatar"]{overflow:hidden}[class*="avatar"] img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}