/*
Theme Name: Piscessoft
Description: A focused corporate theme for Piscessoft.
Author: Piscessoft
Template: twentyseventeen
Version: 1.0.0
Text Domain: piscessoft
*/

:root {
	--ps-ink: #102a43;
	--ps-muted: #52667a;
	--ps-blue: #176b87;
	--ps-teal: #19a7a0;
	--ps-mint: #dff7f2;
	--ps-cream: #f6f8f5;
	--ps-white: #ffffff;
	--ps-border: #d9e4e8;
	--ps-shadow: 0 20px 50px rgba(16, 42, 67, 0.1);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ps-white);
	color: var(--ps-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.65;
}

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

.ps-shell {
	margin: 0 auto;
	max-width: 1180px;
	padding-inline: 24px;
	width: 100%;
}

.ps-header {
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(217, 228, 232, 0.85);
	position: sticky;
	top: 0;
	z-index: 20;
}

.ps-nav {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 76px;
}

.ps-brand {
	align-items: center;
	display: inline-flex;
	font-size: 1.2rem;
	font-weight: 750;
	gap: 10px;
	letter-spacing: -0.02em;
}

.ps-brand-mark {
	background: linear-gradient(135deg, var(--ps-blue), var(--ps-teal));
	border-radius: 10px;
	display: inline-block;
	height: 30px;
	position: relative;
	transform: rotate(45deg);
	width: 30px;
}

.ps-brand-mark::after {
	background: var(--ps-white);
	border-radius: 50%;
	content: "";
	height: 8px;
	position: absolute;
	right: 5px;
	top: 5px;
	width: 8px;
}

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

.ps-nav-links a {
	color: var(--ps-muted);
	font-size: 0.92rem;
	font-weight: 600;
}

.ps-nav-links a:hover,
.ps-nav-links a:focus {
	color: var(--ps-blue);
}

.ps-nav-links .ps-nav-cta {
	background: var(--ps-ink);
	border-radius: 999px;
	color: var(--ps-white);
	padding: 10px 20px;
}

.ps-hero {
	background:
		radial-gradient(circle at 82% 10%, rgba(25, 167, 160, 0.18), transparent 28%),
		linear-gradient(180deg, #f9fcfb 0%, #ffffff 100%);
	overflow: hidden;
	padding: 96px 0 88px;
	position: relative;
}

.ps-hero-grid {
	align-items: center;
	display: grid;
	gap: 72px;
	grid-template-columns: 1.15fr 0.85fr;
}

.ps-eyebrow {
	color: var(--ps-blue);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.ps-hero h1 {
	font-size: clamp(2.8rem, 6vw, 5.2rem);
	font-weight: 750;
	letter-spacing: -0.055em;
	line-height: 1.02;
	margin: 0;
	max-width: 800px;
}

.ps-gradient-text {
	background: linear-gradient(100deg, var(--ps-blue), var(--ps-teal));
	background-clip: text;
	color: transparent;
	-webkit-background-clip: text;
}

.ps-hero-copy {
	color: var(--ps-muted);
	font-size: 1.12rem;
	margin: 28px 0 34px;
	max-width: 660px;
}

.ps-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.ps-button {
	align-items: center;
	border: 1px solid var(--ps-ink);
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 700;
	justify-content: center;
	padding: 13px 24px;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.ps-button:hover,
.ps-button:focus {
	box-shadow: 0 10px 24px rgba(16, 42, 67, 0.16);
	transform: translateY(-2px);
}

.ps-button-primary {
	background: var(--ps-ink);
	color: var(--ps-white);
}

.ps-button-secondary {
	background: var(--ps-white);
}

.ps-system-card {
	background: var(--ps-white);
	border: 1px solid var(--ps-border);
	border-radius: 24px;
	box-shadow: var(--ps-shadow);
	padding: 28px;
	transform: rotate(2deg);
}

.ps-card-label {
	color: var(--ps-muted);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ps-flow {
	display: grid;
	gap: 12px;
	margin-top: 22px;
}

.ps-flow-item {
	align-items: center;
	background: var(--ps-cream);
	border-radius: 14px;
	display: flex;
	font-size: 0.92rem;
	font-weight: 700;
	gap: 14px;
	padding: 15px;
}

.ps-flow-number {
	align-items: center;
	background: var(--ps-mint);
	border-radius: 50%;
	color: var(--ps-blue);
	display: inline-flex;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.ps-section {
	padding: 96px 0;
}

.ps-section-alt {
	background: var(--ps-cream);
}

.ps-section-heading {
	margin-bottom: 48px;
	max-width: 720px;
}

.ps-section-heading h2 {
	font-size: clamp(2rem, 4vw, 3.25rem);
	letter-spacing: -0.04em;
	line-height: 1.12;
	margin: 0;
}

.ps-section-heading p {
	color: var(--ps-muted);
	font-size: 1.05rem;
	margin: 18px 0 0;
}

.ps-capabilities {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, 1fr);
}

.ps-capability {
	border-top: 2px solid var(--ps-teal);
	padding: 26px 8px 0 0;
}

.ps-capability h3,
.ps-showcase h3 {
	font-size: 1.25rem;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
}

.ps-capability p,
.ps-showcase p {
	color: var(--ps-muted);
	margin: 0;
}

.ps-showcases {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
}

.ps-showcase {
	background: var(--ps-white);
	border: 1px solid var(--ps-border);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	min-height: 340px;
	overflow: hidden;
}

.ps-showcase-visual {
	background: linear-gradient(135deg, #153d57, #1a8190);
	height: 160px;
	overflow: hidden;
	padding: 26px;
	position: relative;
}

.ps-showcase:nth-child(2) .ps-showcase-visual {
	background: linear-gradient(135deg, #234c4b, #2baa8e);
}

.ps-showcase:nth-child(3) .ps-showcase-visual {
	background: linear-gradient(135deg, #263957, #6b76b8);
}

.ps-mini-chart {
	align-items: end;
	bottom: 24px;
	display: flex;
	gap: 8px;
	left: 26px;
	position: absolute;
	right: 26px;
	top: 38px;
}

.ps-mini-chart span {
	background: rgba(255, 255, 255, 0.75);
	border-radius: 5px 5px 0 0;
	flex: 1;
}

.ps-showcase:nth-child(1) .ps-mini-chart span:nth-child(1) { height: 34%; }
.ps-showcase:nth-child(1) .ps-mini-chart span:nth-child(2) { height: 55%; }
.ps-showcase:nth-child(1) .ps-mini-chart span:nth-child(3) { height: 45%; }
.ps-showcase:nth-child(1) .ps-mini-chart span:nth-child(4) { height: 78%; }
.ps-showcase:nth-child(1) .ps-mini-chart span:nth-child(5) { height: 92%; }
.ps-showcase:nth-child(2) .ps-mini-chart span:nth-child(1) { height: 82%; }
.ps-showcase:nth-child(2) .ps-mini-chart span:nth-child(2) { height: 68%; }
.ps-showcase:nth-child(2) .ps-mini-chart span:nth-child(3) { height: 88%; }
.ps-showcase:nth-child(2) .ps-mini-chart span:nth-child(4) { height: 56%; }
.ps-showcase:nth-child(2) .ps-mini-chart span:nth-child(5) { height: 72%; }
.ps-showcase:nth-child(3) .ps-mini-chart span:nth-child(1) { height: 48%; }
.ps-showcase:nth-child(3) .ps-mini-chart span:nth-child(2) { height: 82%; }
.ps-showcase:nth-child(3) .ps-mini-chart span:nth-child(3) { height: 62%; }
.ps-showcase:nth-child(3) .ps-mini-chart span:nth-child(4) { height: 90%; }
.ps-showcase:nth-child(3) .ps-mini-chart span:nth-child(5) { height: 76%; }

.ps-showcase-copy {
	padding: 26px;
}

.ps-tag {
	color: var(--ps-blue);
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.ps-cta {
	background: var(--ps-ink);
	border-radius: 28px;
	color: var(--ps-white);
	display: flex;
	gap: 32px;
	justify-content: space-between;
	padding: 48px;
}

.ps-cta h2 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	letter-spacing: -0.04em;
	line-height: 1.12;
	margin: 0;
	max-width: 650px;
}

.ps-cta .ps-button {
	align-self: center;
	background: var(--ps-white);
	color: var(--ps-ink);
	flex: 0 0 auto;
}

.ps-footer {
	border-top: 1px solid var(--ps-border);
	color: var(--ps-muted);
	font-size: 0.88rem;
	padding: 34px 0;
}

.ps-footer-inner {
	display: flex;
	justify-content: space-between;
}

@media (max-width: 850px) {
	.ps-hero-grid,
	.ps-capabilities,
	.ps-showcases {
		grid-template-columns: 1fr;
	}

	.ps-hero {
		padding-top: 70px;
	}

	.ps-hero-grid {
		gap: 48px;
	}

	.ps-system-card {
		transform: none;
	}

	.ps-nav-links a:not(.ps-nav-cta) {
		display: none;
	}

	.ps-cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 540px) {
	.ps-shell {
		padding-inline: 18px;
	}

	.ps-section {
		padding: 72px 0;
	}

	.ps-hero {
		padding: 60px 0 72px;
	}

	.ps-cta {
		padding: 32px 24px;
	}

	.ps-footer-inner {
		flex-direction: column;
		gap: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.ps-button {
		transition: none;
	}
}
