/* =========================================================
   Farvision — style.css
   Palette: deep navy (trust) + emerald→cyan gradient (tech)
   ========================================================= */

:root {
	--navy-950: #060d1a;
	--navy-900: #0a1628;
	--navy-800: #10233d;
	--navy-700: #1a3354;
	--ink: #0e1c30;
	--slate: #4b5c72;
	--light: #f6f9fc;
	--white: #ffffff;
	--green: #10b981;
	--cyan: #22d3ee;
	--grad: linear-gradient(100deg, var(--green), var(--cyan));
	--font-display: "Sora", sans-serif;
	--font-body: "Inter", sans-serif;
	--radius: 18px;
	--shadow: 0 20px 50px -20px rgba(10, 22, 40, 0.25);
	--container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--navy-950);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; overflow-wrap: break-word; }

.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 14px;
}

/* ---------- Reveal-on-scroll (only when JS is available) ---------- */
.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 14px 28px;
	border-radius: 999px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-primary {
	background: var(--grad);
	color: var(--navy-950);
	box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.55);
}
.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -10px rgba(34, 211, 238, 0.6);
}
.btn-ghost {
	color: var(--white);
	border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
	border-color: var(--cyan);
	color: var(--cyan);
	transform: translateY(-2px);
}
.section-light .btn-ghost { color: var(--ink); border-color: rgba(14, 28, 48, 0.25); }

/* ---------- Header / nav ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	padding: 18px 0;
	transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
	background: rgba(6, 13, 26, 0.85);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	padding: 10px 0;
	box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.6);
}
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; }
.brand-name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: 0.01em;
	color: var(--white);
}
.brand-name em {
	font-style: normal;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
	color: rgba(255, 255, 255, 0.82);
	font-weight: 500;
	font-size: 0.95rem;
	transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--cyan); }
.site-nav .nav-cta {
	background: var(--grad);
	color: var(--navy-950);
	font-family: var(--font-display);
	font-weight: 600;
	padding: 10px 22px;
	border-radius: 999px;
}
.site-nav .nav-cta:hover { color: var(--navy-950); filter: brightness(1.08); }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}
.nav-toggle span {
	width: 24px;
	height: 2px;
	background: var(--white);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(ellipse 80% 60% at 50% -10%, rgba(26, 51, 84, 0.9), transparent 70%),
		var(--navy-950);
	padding: 140px 0 100px;
}
#heroCanvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hero-glow {
	position: absolute;
	width: 700px;
	height: 700px;
	left: 50%;
	top: 55%;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(16, 185, 129, 0.14), transparent 60%);
	pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
	color: var(--white);
	font-size: clamp(2.5rem, 6vw, 4.4rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 24px;
}
.hero-sub {
	color: rgba(233, 241, 250, 0.78);
	font-size: clamp(1.02rem, 1.6vw, 1.22rem);
	max-width: 640px;
	margin: 0 auto 38px;
}
.hero-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 52px;
}
.hero-chips {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}
.hero-chips li {
	display: flex;
	align-items: center;
	gap: 9px;
	color: rgba(233, 241, 250, 0.75);
	font-size: 0.86rem;
	font-weight: 500;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(6px);
	padding: 9px 18px;
	border-radius: 999px;
}
.chip-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--grad);
	box-shadow: 0 0 10px rgba(34, 211, 238, 0.9);
}
.scroll-hint {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 26px;
	height: 42px;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	border-radius: 14px;
	z-index: 2;
}
.scroll-hint span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 3px;
	background: var(--cyan);
	animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint {
	0%   { transform: translateY(0); opacity: 1; }
	70%  { transform: translateY(14px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-light { background: var(--light); color: var(--ink); }
.section-dark  { background: var(--navy-900); color: var(--white); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head h2 {
	font-size: clamp(1.9rem, 3.6vw, 2.7rem);
	font-weight: 700;
	letter-spacing: -0.015em;
	margin-bottom: 18px;
}
.section-lede { font-size: 1.08rem; color: var(--slate); }
.section-dark .section-lede { color: rgba(233, 241, 250, 0.65); }

/* ---------- Pillars ---------- */
.pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.pillar {
	background: var(--white);
	border: 1px solid rgba(14, 28, 48, 0.07);
	border-radius: var(--radius);
	padding: 38px 32px;
	box-shadow: var(--shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 60px -22px rgba(10, 22, 40, 0.35);
}
.pillar-icon {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(34, 211, 238, 0.14));
	color: var(--green);
	display: grid;
	place-items: center;
	margin-bottom: 22px;
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.18rem; margin-bottom: 12px; }
.pillar p { color: var(--slate); font-size: 0.97rem; }

/* ---------- Services ---------- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}
.service-card {
	position: relative;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: var(--radius);
	padding: 40px 36px 34px;
	overflow: hidden;
	transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.service-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: var(--grad);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.service-card:hover {
	transform: translateY(-5px);
	border-color: rgba(34, 211, 238, 0.35);
	background: rgba(255, 255, 255, 0.055);
}
.service-card:hover::before { opacity: 1; }
.service-num {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.15em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 16px;
}
.service-card h3 { font-size: 1.28rem; margin-bottom: 14px; color: var(--white); }
.service-card p { color: rgba(233, 241, 250, 0.68); font-size: 0.97rem; margin-bottom: 22px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags li {
	font-size: 0.76rem;
	font-weight: 500;
	color: rgba(233, 241, 250, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.14);
	padding: 5px 13px;
	border-radius: 999px;
}

/* ---------- Healthcare spotlight ---------- */
.healthcare-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 70px;
	align-items: center;
}
.healthcare-copy h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.015em;
	margin-bottom: 18px;
}
.healthcare-copy > p { color: var(--slate); font-size: 1.05rem; margin-bottom: 26px; }
.check-list { margin-bottom: 34px; }
.check-list li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 13px;
	font-weight: 500;
	color: var(--ink);
}
.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(34, 211, 238, 0.18));
}
.check-list li::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 8px;
	width: 8px;
	height: 5px;
	border-left: 2px solid var(--green);
	border-bottom: 2px solid var(--green);
	transform: rotate(-45deg);
}

.healthcare-visual { position: relative; }
.mock-card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: 0 30px 70px -25px rgba(10, 22, 40, 0.4);
	border: 1px solid rgba(14, 28, 48, 0.06);
}
.mock-main { padding: 26px 28px 30px; }
.mock-head { display: flex; gap: 7px; margin-bottom: 24px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(14, 28, 48, 0.12); }
.mock-dot:first-child { background: var(--green); }
.mock-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-bar { height: 12px; border-radius: 6px; background: rgba(14, 28, 48, 0.08); }
.w-70 { width: 70%; } .w-50 { width: 50%; }
.mock-pill {
	font-size: 0.68rem;
	font-weight: 700;
	font-family: var(--font-display);
	color: var(--navy-950);
	background: var(--grad);
	padding: 3px 10px;
	border-radius: 999px;
}
.mock-chart {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	height: 110px;
	margin-top: 26px;
}
.mock-chart span {
	flex: 1;
	height: var(--h);
	border-radius: 6px 6px 3px 3px;
	background: linear-gradient(180deg, var(--cyan), var(--green));
	opacity: 0.85;
	animation: barGrow 1s ease both;
}
@keyframes barGrow { from { height: 0; } }
.mock-float {
	position: absolute;
	right: -18px;
	bottom: -28px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 22px;
	animation: floaty 5s ease-in-out infinite;
}
.mock-float svg { width: 30px; height: 30px; color: var(--green); flex-shrink: 0; }
.mock-float strong { display: block; font-family: var(--font-display); font-size: 0.9rem; }
.mock-float span { font-size: 0.78rem; color: var(--slate); }
@keyframes floaty {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

/* ---------- Values strip ---------- */
.values-strip {
	background: var(--navy-800);
	padding: 70px 0;
}
.values-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	text-align: center;
}
.value h3 {
	color: var(--white);
	font-size: 1.25rem;
	margin-bottom: 10px;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: inline-block;
}
.value p { color: rgba(233, 241, 250, 0.65); font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact {
	position: relative;
	background: var(--navy-950);
	text-align: center;
	overflow: hidden;
	padding: 130px 0;
}
.contact-glow {
	position: absolute;
	width: 900px;
	height: 500px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: radial-gradient(ellipse, rgba(34, 211, 238, 0.1), transparent 65%);
	pointer-events: none;
}
.contact-inner { position: relative; }
.contact h2 {
	color: var(--white);
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
}
.contact .section-lede { color: rgba(233, 241, 250, 0.65); margin-bottom: 40px; }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--navy-950);
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	padding: 48px 0;
}
.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}
.brand-footer .brand-mark { width: 32px; height: 32px; }
.brand-footer .brand-name { font-size: 1.1rem; }
.footer-tag { color: rgba(233, 241, 250, 0.6); font-size: 0.9rem; }
.footer-copy { color: rgba(233, 241, 250, 0.35); font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.pillars { grid-template-columns: 1fr; }
	.services-grid { grid-template-columns: 1fr; }
	.healthcare-inner { grid-template-columns: 1fr; gap: 60px; }
	.values-inner { grid-template-columns: 1fr; gap: 30px; }
	.mock-float { right: 0; }
}

@media (max-width: 760px) {
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		width: min(78vw, 320px);
		background: rgba(6, 13, 26, 0.97);
		backdrop-filter: blur(16px);
		flex-direction: column;
		justify-content: center;
		gap: 30px;
		transform: translateX(100%);
		transition: transform 0.35s ease;
		box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
	}
	.site-nav.open { transform: translateX(0); }
	.site-nav a { font-size: 1.15rem; }
	.section { padding: 80px 0; }
	.hero { padding: 120px 0 90px; }
}

@media (max-width: 480px) {
	.eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; }
	.hero h1 { font-size: clamp(2.05rem, 9vw, 2.5rem); }
	.hero h1 br { display: none; }
}
