/* VigyanSoft Portfolio page: product-showcase aesthetic, scoped to .vsp */
.vsp {
	--vsp-ink: #0b1220;
	--vsp-ink-2: #121b2e;
	--vsp-text: #1d2433;
	--vsp-muted: #5d667a;
	--vsp-line: #e4e8f0;
	--vsp-soft: #f5f7fb;
	--vsp-brand: #0088cc;
	--vsp-brand-2: #00aaff;
	--vsp-live: #1f9d6b;
	--vsp-radius: 20px;
	color: var(--vsp-text);
}
.vsp h1, .vsp h2, .vsp h3, .vsp h4 { letter-spacing: -0.02em; }
.vsp p { color: var(--vsp-muted); }
.vsp .vsp-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--vsp-brand);
}

/* Hero */
.vsp-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(60% 80% at 85% 10%, rgba(0,170,255,.28), transparent 60%),
		radial-gradient(50% 70% at 5% 100%, rgba(0,136,204,.30), transparent 60%),
		var(--vsp-ink);
	padding: 72px 0 64px;
}
.vsp-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 75%);
}
.vsp-hero .container { position: relative; z-index: 1; }
.vsp-hero .breadcrumb { margin-bottom: 22px; }
.vsp-hero .breadcrumb li, .vsp-hero .breadcrumb a { color: rgba(255,255,255,.7) !important; }
.vsp-hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); line-height: 1.08; font-weight: 800; margin: 14px 0 18px; max-width: 820px; }
.vsp-hero h1 span { background: linear-gradient(90deg, #4fc3ff, #8fd8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vsp-hero .vsp-lead { color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.65; max-width: 680px; margin-bottom: 30px; }
.vsp-hero .vsp-eyebrow { color: #7fd3ff; }
.vsp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vsp-btn {
	display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
	padding: 13px 24px; font-weight: 700; font-size: 15px; text-decoration: none !important;
	transition: transform .2s, box-shadow .2s, background .2s;
}
.vsp-btn:hover { transform: translateY(-2px); }
.vsp-btn-primary { background: var(--vsp-brand); color: #fff !important; box-shadow: 0 10px 30px rgba(0,136,204,.35); }
.vsp-btn-primary:hover { background: #0077b3; }
.vsp-btn-ghost { border: 1px solid rgba(255,255,255,.3); color: #fff !important; }
.vsp-btn-ghost:hover { background: rgba(255,255,255,.08); }
.vsp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.vsp-stat { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 16px; padding: 20px 18px; }
.vsp-stat strong { display: block; font-size: 34px; font-weight: 800; color: #fff; line-height: 1; }
.vsp-stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.7); font-size: 14px; }

/* Product index */
.vsp-index { padding: 72px 0 32px; background: #fff; }
.vsp-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 28px; }
.vsp-section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 8px 0 0; color: var(--vsp-ink); }
.vsp-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.vsp-filter {
	border: 1px solid var(--vsp-line); background: #fff; color: var(--vsp-text);
	border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.vsp-filter:hover { border-color: var(--vsp-brand); color: var(--vsp-brand); }
.vsp-filter.is-active { background: var(--vsp-ink); border-color: var(--vsp-ink); color: #fff; }
.vsp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vsp-card {
	position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px;
	border: 1px solid var(--vsp-line); border-radius: var(--vsp-radius); background: #fff;
	text-decoration: none !important; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.vsp-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--vsp-radius) var(--vsp-radius) 0 0; background: linear-gradient(90deg, var(--p1), var(--p2)); }
.vsp-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,18,32,.10); border-color: transparent; }
.vsp-card-top { display: flex; align-items: center; gap: 12px; }
.vsp-card img.vsp-logo { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; box-shadow: 0 4px 12px rgba(11,18,32,.12); }
.vsp-card h3 { font-size: 19px; font-weight: 800; margin: 0; color: var(--vsp-ink); }
.vsp-card p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.vsp-card .vsp-more { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--p2); }

/* Badges */
.vsp-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.vsp-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--vsp-soft); color: #3b4458; }
.vsp-badge svg { width: 13px; height: 13px; }
.vsp-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--vsp-live); }
.vsp-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(31,157,107,.15); }

/* Case studies */
.vsp-cases { background: var(--vsp-soft); padding: 40px 0 24px; }
.vsp-case { padding: 56px 0; border-bottom: 1px solid var(--vsp-line); scroll-margin-top: 110px; }
.vsp-case:last-child { border-bottom: 0; }
.vsp-case-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.vsp-case:nth-child(even) .vsp-case-media { order: -1; }
.vsp-case-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.vsp-case-head img { width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 6px 16px rgba(11,18,32,.14); }
.vsp-case h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 0; color: var(--vsp-ink); }
.vsp-case .vsp-tagline { font-size: 18px; font-weight: 600; color: var(--vsp-text); margin: 0 0 14px; line-height: 1.45; }
.vsp-case .vsp-summary { font-size: 15.5px; line-height: 1.7; margin: 16px 0 20px; }
.vsp-ps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.vsp-ps div { background: #fff; border: 1px solid var(--vsp-line); border-radius: 14px; padding: 14px 16px; }
.vsp-ps b { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--p2); margin-bottom: 6px; }
.vsp-ps p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--vsp-text); }
.vsp-highlights { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.vsp-highlights li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: var(--vsp-text); }
.vsp-highlights li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 6px; background: linear-gradient(135deg, var(--p1), var(--p2)); }
.vsp-highlights li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vsp-links { display: flex; flex-wrap: wrap; gap: 10px; }
.vsp-link { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none !important; background: var(--vsp-ink); color: #fff !important; transition: transform .2s, opacity .2s; }
.vsp-link:hover { transform: translateY(-2px); opacity: .92; }
.vsp-link.alt { background: #fff; color: var(--vsp-ink) !important; border: 1px solid var(--vsp-line); }

/* Media frames */
.vsp-case-media { position: relative; display: flex; flex-direction: column; align-items: center; }
.vsp-case-media::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 40px; background: linear-gradient(135deg, var(--p1), var(--p2)); opacity: .18; filter: blur(40px); }
.vsp-phones { position: relative; display: flex; justify-content: center; align-items: center; gap: 0; width: 100%; min-height: 420px; }
.vsp-phone { position: relative; width: 31%; max-width: 190px; aspect-ratio: 9 / 19.5; padding: 7px; border-radius: 30px; background: #0e1420; box-shadow: 0 24px 50px rgba(11,18,32,.28); }
.vsp-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; background: #fff; }
.vsp-phone.l { transform: translateX(14%) rotate(-6deg) scale(.9); z-index: 1; }
.vsp-phone.c { z-index: 2; }
.vsp-phone.r { transform: translateX(-14%) rotate(6deg) scale(.9); z-index: 1; }
.vsp-browsers { position: relative; width: 100%; min-height: 380px; }
.vsp-browser { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px rgba(11,18,32,.22); border: 1px solid rgba(11,18,32,.08); }
.vsp-browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef1f6; border-bottom: 1px solid var(--vsp-line); }
.vsp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.vsp-browser-bar span { margin-left: 8px; font-size: 11.5px; color: #6b7385; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vsp-browser img { display: block; width: 100%; height: auto; }
.vsp-browsers .vsp-browser.b0 { width: 88%; }
.vsp-browsers .vsp-browser.b1 { width: 70%; margin: -26% 0 0 auto; z-index: 2; }
.vsp-caption { position: relative; margin-top: 16px; font-size: 13px; color: var(--vsp-muted); }

/* Metrics, flows, tech */
.vsp-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.vsp-metric { background: #fff; border: 1px solid var(--vsp-line); border-radius: 16px; padding: 18px; }
.vsp-metric strong { display: block; font-size: 28px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--p1), var(--p2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vsp-metric span { display: block; margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--vsp-ink); }
.vsp-metric small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--vsp-muted); line-height: 1.45; }
.vsp-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.vsp-insight { background: #fff; border: 1px solid var(--vsp-line); border-radius: 16px; padding: 18px; }
.vsp-insight h3 { font-size: 15px; font-weight: 800; margin: 0 0 14px; color: var(--vsp-ink); }
.vsp-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: vspstep; }
.vsp-flow li { position: relative; background: var(--vsp-soft); border-radius: 12px; padding: 12px 10px; font-size: 13.5px; font-weight: 700; color: var(--vsp-ink); counter-increment: vspstep; }
.vsp-flow li::before { content: counter(vspstep); display: grid; place-items: center; width: 22px; height: 22px; margin-bottom: 8px; border-radius: 7px; font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--p1), var(--p2)); }
.vsp-flow.plain li::before { display: none; }
.vsp-flow small { display: block; margin-top: 4px; font-weight: 500; font-size: 12px; color: var(--vsp-muted); line-height: 1.4; }
.vsp-timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--vsp-line); }
.vsp-timeline li { position: relative; padding: 0 0 12px 14px; font-size: 14px; color: var(--vsp-text); }
.vsp-timeline li::before { content: ""; position: absolute; left: -23px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--p1), var(--p2)); }
.vsp-timeline b { display: block; font-size: 12.5px; color: var(--p2); }
.vsp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vsp-chips span { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: var(--vsp-soft); color: #39445a; }
.vsp-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.vsp-meta .vsp-insight ul { margin: 0; padding-left: 18px; }
.vsp-meta .vsp-insight li { font-size: 14px; color: var(--vsp-text); margin-bottom: 6px; }

/* Capabilities */
.vsp-capabilities { padding: 80px 0; background: #fff; }
.vsp-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vsp-cap { display: block; padding: 24px; border-radius: var(--vsp-radius); border: 1px solid var(--vsp-line); text-decoration: none !important; transition: transform .25s, box-shadow .25s; background: #fff; }
.vsp-cap:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11,18,32,.08); }
.vsp-cap h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; color: var(--vsp-ink); }
.vsp-cap p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; }
.vsp-cap span { font-size: 14px; font-weight: 700; color: var(--vsp-brand); }

/* CTA */
.vsp-cta { padding: 72px 0; color: #fff; text-align: center; background: radial-gradient(60% 120% at 50% 0%, rgba(0,170,255,.3), transparent 70%), var(--vsp-ink); }
.vsp-cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 0 0 12px; }
.vsp-cta p { color: rgba(255,255,255,.75); font-size: 17px; max-width: 620px; margin: 0 auto 26px; }
.vsp-cta .vsp-actions { justify-content: center; }
.vsp-cta .vsp-mail { display: block; margin-top: 18px; color: rgba(255,255,255,.7); font-size: 14px; }
.vsp-cta .vsp-mail a { color: #7fd3ff; }

.vsp [hidden] { display: none !important; }

/* Responsive */
@media (max-width: 991.98px) {
	.vsp-grid, .vsp-cap-grid { grid-template-columns: 1fr 1fr; }
	.vsp-case-grid { grid-template-columns: 1fr; gap: 36px; }
	.vsp-case:nth-child(even) .vsp-case-media { order: 0; }
	.vsp-metrics { grid-template-columns: 1fr 1fr; }
	.vsp-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
	.vsp-hero { padding: 48px 0 44px; }
	.vsp-hero .vsp-lead { font-size: 16px; }
	.vsp-grid, .vsp-cap-grid, .vsp-insights, .vsp-meta, .vsp-ps, .vsp-highlights { grid-template-columns: 1fr; }
	.vsp-flow { grid-template-columns: 1fr 1fr; }
	.vsp-phones { min-height: 0; }
	.vsp-browsers { min-height: 0; }
	.vsp-case { padding: 40px 0; }
	.vsp-stat strong { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.vsp-card, .vsp-btn, .vsp-link, .vsp-cap { transition: none; }
}

/* ---------- Product pages ---------- */
.vsp-page-header .sub-title { max-width: 720px; margin: 0 auto; display: block; }
.vsp-psec { padding: 64px 0; background: #fff; }
.vsp-psec.soft { background: var(--vsp-soft); }
.vsp-psec .vsp-case-head h2 { margin-top: 2px; }
.vsp-psec .vsp-summary { font-size: 16.5px; }
.vsp-ps.big { margin: 0; }
.vsp-ps.big div { padding: 24px 26px; border-radius: var(--vsp-radius); }
.vsp-ps.big p { font-size: 17px; line-height: 1.6; }
.vsp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vsp-feature { position: relative; background: #fff; border: 1px solid var(--vsp-line); border-radius: 18px; padding: 22px 22px 20px; overflow: hidden; }
.vsp-feature::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--p1), var(--p2)); }
.vsp-feature-n { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--p2); margin-bottom: 10px; }
.vsp-feature p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--vsp-text); font-weight: 600; }
.vsp-psec .vsp-metrics { margin-top: 0; }
.vsp-btn-outline { border: 1px solid var(--vsp-line); color: var(--vsp-ink) !important; background: #fff; }
.vsp-btn-outline:hover { border-color: var(--vsp-brand); color: var(--vsp-brand) !important; }
.vsp-related { background: #fff; }

/* Card thumbnails on the overview */
.vsp-card-shot { position: relative; margin: -6px -6px 4px; height: 170px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--p1), var(--p2)); }
.vsp-card-shot img { position: absolute; left: 50%; top: 18px; width: 86%; height: auto; transform: translateX(-50%); border-radius: 10px 10px 0 0; box-shadow: 0 10px 30px rgba(11,18,32,.25); }
.vsp-card-shot.phone img { width: 42%; top: 16px; border-radius: 16px 16px 0 0; }
.vsp-card:hover .vsp-card-shot img { transform: translateX(-50%) translateY(-4px); transition: transform .3s; }

@media (max-width: 991.98px) {
	.vsp-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
	.vsp-features { grid-template-columns: 1fr; }
	.vsp-psec { padding: 44px 0; }
	.vsp-ps.big p { font-size: 16px; }
}

/* vsp-fixes: keep product names in their real casing; theme sets h3 uppercase and light h2 */
.vsp .vsp-card h3, .vsp .vsp-cap h3 { text-transform: none; letter-spacing: -0.01em; }
.vsp .vsp-case-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--vsp-ink); line-height: 1.15; margin: 0; }
.vsp .vsp-case-head { align-items: flex-start; }
.vsp .vsp-case-head .vsp-eyebrow { margin-bottom: 4px; }


/* vsp-header-compact: product page banner without the large empty band */
.page-header.vsp-page-header { padding: 56px 0 52px !important; min-height: 0 !important; margin-bottom: 0; }
.page-header.vsp-page-header .row { margin-top: 0 !important; }
.page-header.vsp-page-header h1 { margin-bottom: 6px; }
.page-header.vsp-page-header .breadcrumb { margin-bottom: 10px; }
@media (max-width: 767.98px) { .page-header.vsp-page-header { padding: 40px 0 36px !important; } }
