@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Roboto:wght@400;500;700;900&display=swap');

html,
body,
body * {
	font-family: 'Tajawal', sans-serif !important;
}

.brand-en,
.brand-en * {
	font-family: 'Roboto', sans-serif !important;
}

:root {
	--purple: #673ab7;
	--purple-mid: #795095;
	--purple-light: #9c27b0;
	--purple-100: #ede7f6;
	--purple-200: #d1c4e9;
	--purple-50: #f3e8fd;
	--text-dark: rgba(0, 0, 0, 0.87);
	--text-muted: rgba(0, 0, 0, 0.54);
	--white: #ffffff;
	--font-main: 'Tajawal', sans-serif;
	--font-brand: 'Roboto', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	color: var(--text-dark);
	background: #fff;
	overflow-x: hidden;
	direction: rtl;
}

.brand-en {
	font-weight: 700;
	letter-spacing: 0.01em;
}

::selection {
	background: rgba(103, 58, 183, 0.25);
	color: var(--text-dark);
}

::-moz-selection {
	background: rgba(103, 58, 183, 0.25);
	color: var(--text-dark);
}

img {
	max-width: 100%;
	display: block;
}

ul {
	list-style: none;
}


.navbar {
	position: sticky;
	top: 0;
	z-index: 200;
	background: #fff;
	border-bottom: 1px solid #f0ebfb;
	box-shadow: 0 2px 16px rgba(103, 58, 183, 0.07);
	padding: 0 40px;
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.navbar-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.35rem;
	font-weight: 900;
	color: var(--purple);
	white-space: nowrap;
}

.brand-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 900;
	font-size: 1.05rem;
}

.navbar-links {
	display: flex;
	gap: 28px;
	align-items: center;
}

.navbar-links a {
	color: var(--text-dark);
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.2s;
}

.navbar-links a:hover {
	color: var(--purple);
}

.navbar-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

.btn {
	display: inline-block;
	font-family: var(--font-main) !important;
	cursor: pointer;
	transition: all 0.25s;
	border: none;
	text-align: center;
	font-weight: 700;
}

.btn-primary {
	background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
	color: #fff;
	border-radius: 50px;
	padding: 10px 26px;
	font-size: 0.95rem;
	box-shadow: 0 6px 20px rgba(103, 58, 183, 0.3);
}

.btn-primary:hover {
	color: #fff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 10px 28px rgba(103, 58, 183, 0.4) !important;
}

.btn-outline {
	background: transparent;
	color: var(--purple);
	border: 2px solid var(--purple);
	border-radius: 50px;
	padding: 9px 24px;
	font-size: 0.95rem;
}

.btn-outline:hover {
	background: var(--purple);
	color: #fff;
}

.btn-lg {
	padding: 14px 40px;
	font-size: 1.05rem;
}

.btn-xl {
	padding: 16px 48px;
	font-size: 1.1rem;
}

.btn-green {
	background: #7cb518;
	color: #fff;
	border-radius: 50px;
	padding: 14px 44px;
	font-size: 1.05rem;
	box-shadow: 0 6px 20px rgba(124, 181, 24, 0.3);
}

.btn-green:hover {
	color: #fff;
	background: #69a014;
	transform: translateY(-2px);
}


.hero {
	position: relative;
	min-height: calc(100vh - 68px);
	overflow: hidden;
	background: linear-gradient(135deg,
			#f5eeff 0%,
			#ede7f6 25%,
			#e8eaf6 55%,
			#ede7f6 80%,
			#f3e8fd 100%);
	display: flex;
	align-items: stretch;
	padding: 0;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 55% at 20% 100%, rgba(103, 58, 183, 0.14) 0%, transparent 65%),
		radial-gradient(ellipse 50% 45% at 85% 10%, rgba(156, 39, 176, 0.10) 0%, transparent 60%),
		radial-gradient(ellipse 40% 40% at 50% 50%, rgba(123, 97, 255, 0.06) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.hero::after {
	content: '';
	position: absolute;
	top: -80px;
	right: -80px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(156, 39, 176, 0.10) 0%, transparent 60%);
	pointer-events: none;
	z-index: 0;
}

.hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 0;
	padding: 0 60px;
	min-height: calc(100vh - 68px);
}

.hero-text {
	padding: 60px 0 60px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(103, 58, 183, 0.07);
	border: 1.5px solid rgba(103, 58, 183, 0.25);
	color: var(--purple);
	padding: 6px 14px;
	border-radius: 30px;
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 22px;
	width: fit-content;
	white-space: nowrap;
	animation: badgeFade 0.7s ease both;
}

@keyframes badgeFade {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-title {
	font-size: clamp(2.4rem, 4.5vw, 4rem);
	font-weight: 900;
	line-height: 1.2;
	color: var(--text-dark);
	margin-bottom: 1.2rem;
	animation: slideFade 0.8s 0.1s ease both;
}

.hero-title span {
	color: var(--purple);
}

.hero-subtitle {
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	color: var(--text-muted);
	line-height: 1.9;
	margin-bottom: 2.2rem;
	max-width: 440px;
	animation: slideFade 0.8s 0.2s ease both;
}

@keyframes slideFade {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-btns {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: center;
	animation: slideFade 0.8s 0.3s ease both;
}

.hero-phone-wrap {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	align-self: stretch;
	overflow: visible;
	z-index: 2;
	padding-top: 30px;
}

.hero-phone-wrap::before {
	content: '';
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
	width: 380px;
	height: 380px;
	background: radial-gradient(circle,
			rgba(103, 58, 183, 0.22) 0%,
			rgba(156, 39, 176, 0.14) 30%,
			rgba(103, 58, 183, 0.06) 55%,
			transparent 72%);
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	animation: circlePulse 5s ease-in-out infinite;
}

@keyframes circlePulse {

	0%,
	100% {
		transform: translateX(-50%) scale(1);
		opacity: 0.85;
	}

	50% {
		transform: translateX(-50%) scale(1.12);
		opacity: 1;
	}
}

.hero-phone-box {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 460px;
	animation: phoneEntry 1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both,
		phoneFloat 6s 4s ease-in-out infinite;
	transform-origin: bottom center;
	filter: drop-shadow(0 40px 60px rgba(103, 58, 183, 0.28));
}

@keyframes phoneEntry {
	from {
		opacity: 0;
		transform: translateY(60px) scale(0.9);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes phoneFloat {

	0%,
	100% {
		transform: translateY(0);
		filter: drop-shadow(0 40px 60px rgba(103, 58, 183, 0.28));
	}

	50% {
		transform: translateY(-16px);
		filter: drop-shadow(0 56px 70px rgba(103, 58, 183, 0.18));
	}
}

.hero-phone-screen {
	position: relative;
	width: 100%;
	overflow: visible;
}

.hero-phone-screen img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.hero-phone-screen::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 55%;
	height: 100%;
	background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
	animation: shimmer 4.5s 1.5s ease-in-out infinite;
	pointer-events: none;
}

@keyframes shimmer {
	0% {
		left: -100%;
		opacity: 0;
	}

	10% {
		opacity: 1;
	}

	90% {
		opacity: 1;
	}

	100% {
		left: 140%;
		opacity: 0;
	}
}

.deco {
	position: absolute;
	pointer-events: none;
}

.deco-circle {
	border-radius: 50%;
	border: 7px solid var(--purple);
	opacity: 0.15;
}

.deco-rect {
	border: 7px solid rgba(103, 58, 183, 0.25);
	opacity: 0.18;
}

.deco-plus {
	color: var(--purple);
	opacity: 0.18;
	font-weight: 100;
	line-height: 1;
}

.deco-c1 {
	width: 55px;
	height: 55px;
	top: 15%;
	right: 22%;
	animation: decoSpin 18s linear infinite;
}

.deco-c2 {
	width: 36px;
	height: 36px;
	top: 60%;
	right: 30%;
	animation: decoSpin 14s linear infinite reverse;
}

.deco-c3 {
	width: 80px;
	height: 80px;
	top: 8%;
	left: 38%;
	animation: decoSpin 22s linear infinite;
}

.deco-c4 {
	width: 28px;
	height: 28px;
	bottom: 20%;
	left: 45%;
	animation: decoSpin 10s linear infinite reverse;
}

.deco-r1 {
	width: 50px;
	height: 50px;
	top: 30%;
	right: 16%;
	transform: rotate(-20deg);
	animation: decoFloat 7s ease-in-out infinite;
}

.deco-r2 {
	width: 34px;
	height: 34px;
	bottom: 28%;
	left: 42%;
	transform: rotate(15deg);
	animation: decoFloat 9s ease-in-out infinite reverse;
}

.deco-p1 {
	font-size: 26px;
	top: 25%;
	right: 35%;
	animation: decoFloat 8s ease-in-out infinite;
}

.deco-p2 {
	font-size: 20px;
	bottom: 25%;
	right: 18%;
	animation: decoFloat 6s ease-in-out infinite reverse;
}

.deco-p3 {
	font-size: 40px;
	top: 55%;
	left: 52%;
	animation: decoFloat 10s ease-in-out infinite;
}

.deco-p4 {
	font-size: 18px;
	top: 12%;
	right: 45%;
	animation: decoFloat 7s ease-in-out 1s infinite;
}

@keyframes decoSpin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes decoFloat {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-8px);
	}
}

@media (max-width: 900px) {
	.hero-inner {
		grid-template-columns: 1fr;
		padding: 40px 24px 0;
		min-height: auto;
	}

	.hero-text {
		padding: 50px 0 30px;
		text-align: center;
	}

	.hero-btns {
		justify-content: center;
	}

	.hero-subtitle {
		margin: 0 auto 2rem;
	}

	.hero-phone-wrap {
		padding-top: 0;
		justify-content: center;
	}

	.hero-phone-box {
		max-width: 300px;
	}

	.deco {
		display: none;
	}
}

.sections-intro {
	text-align: center;
	padding: 50px 20px 10px;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
}

.sections-intro-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(103, 58, 183, 0.08);
	border: 1.5px solid rgba(103, 58, 183, 0.25);
	color: var(--purple);
	padding: 6px 16px;
	border-radius: 30px;
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 22px;
	white-space: nowrap;
}

.sections-intro-title {
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	font-weight: 900;
	color: var(--text-dark);
	line-height: 1.3;
	margin-bottom: 18px;
}

.sections-intro-title span {
	background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.sections-intro-desc {
	font-size: clamp(0.97rem, 1.4vw, 1.12rem);
	color: var(--text-muted);
	line-height: 1.9;
	max-width: 720px;
	margin: 0 auto;
}

.sections-intro {
	opacity: 0;
	transform: translateY(30px);
	animation: introFade 0.8s ease forwards;
}

@keyframes introFade {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.reduction-section {
	padding: 80px 40px;
	background: #fff;
	overflow: hidden;
}

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

.reduction-headline {
	font-size: clamp(1.2rem, 2vw, 1.7rem);
	font-weight: 700;
	color: var(--text-muted);
	margin-bottom: 52px;
}

.reduction-headline strong {
	color: var(--text-dark);
}

.reduction-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.reduction-card {
	background: #fff;
	border: 2px solid var(--purple-100);
	border-radius: 20px;
	padding: 36px 20px 28px;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.reduction-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(103, 58, 183, 0.14);
	border-color: rgba(103, 58, 183, 0.35);
}

.reduction-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--purple) 0%, var(--purple-light) 100%);
	border-radius: 20px 20px 0 0;
}

.reduction-pct {
	font-size: clamp(2.6rem, 4vw, 3.6rem);
	font-weight: 900;
	line-height: 1;
	background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: block;
	margin-bottom: 12px;
}

.reduction-label {
	font-size: clamp(0.95rem, 1.3vw, 1.1rem);
	font-weight: 700;
	color: var(--text-dark);
}

.reduction-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--purple-100);
	color: var(--purple);
	font-size: 1.1rem;
	margin-bottom: 14px;
}

@media (max-width: 768px) {
	.reduction-grid {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.reduction-section {
		padding: 50px 18px;
	}
}


.section-header {
	text-align: center;
	margin-bottom: 52px;
}

.section-title {
	font-size: clamp(1.7rem, 2.8vw, 2.6rem);
	font-weight: 800;
	color: var(--text-dark);
}

.section-line {
	width: 58px;
	height: 5px;
	background: linear-gradient(90deg, var(--purple) 0%, var(--purple-light) 100%);
	border-radius: 10px;
	margin: 14px auto 0;
}

.section-subtitle {
	font-size: clamp(0.95rem, 1.4vw, 1.15rem);
	color: var(--text-muted);
	max-width: 680px;
	margin: 14px auto 0;
	line-height: 1.85;
}


.features-section {
	background: #fafafa;
	padding: 80px 40px;
}

.cards-grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.feat-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 0 1px rgba(12, 26, 75, 0.24), 0 3px 8px rgba(50, 50, 71, 0.05);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-top: 3px solid transparent;
}

.feat-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 42px rgba(103, 58, 183, 0.14);
	border-top: 3px solid var(--purple);
}

.feat-card-img {
	height: 160px;
	overflow: hidden;
	margin: 6px 6px 0;
	border-radius: 10px;
	background: var(--purple-100);
	display: flex;
	align-items: center;
	justify-content: center;
}

.feat-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feat-card-icon-placeholder {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--purple-100);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
}

.feat-card-body {
	padding: 10px 14px 14px !important;
}

.feat-card-body h5 {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 6px;
}

.feat-card-body p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.75;
}


.overview-section {
	padding: 80px 40px;
	background: #fff;
}

.payroll-section {
	padding: 80px 40px;
	background: #fafafa;
}

.system-section {
	padding: 80px 40px;
	background: linear-gradient(180deg, #f8f4ff 0%, #ede7f6 100%);
}

.two-col {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 60px;
}

.two-col.reverse {
	flex-direction: row-reverse;
}

.two-col-text {
	flex: 1;
}

.two-col-visual {
	flex: 1;
}

.section-heading {
	font-size: clamp(1.4rem, 2.4vw, 2.1rem);
	font-weight: 700;
	color: var(--text-dark);
	line-height: 1.5;
	margin-bottom: 1.1rem;
}

.section-heading .accent {
	color: var(--purple-mid);
}

.section-body {
	font-size: clamp(0.93rem, 1.3vw, 1.07rem);
	color: var(--text-dark);
	line-height: 1.88;
}

.check-list {
	margin-top: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.check-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.check-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0.75rem;
	flex-shrink: 0;
}

.check-item span {
	font-size: 1rem;
	color: var(--text-dark);
}

.system-img {
	width: 100%;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.mini-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 26px;
}

.mini-card {
	background: #fff;
	border-radius: 12px;
	padding: 16px 14px;
	text-align: center;
	box-shadow: 0 4px 15px rgba(103, 58, 183, 0.1);
}

.mini-card-icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mini-card-icon svg {
	width: 28px;
	height: 28px;
	color: var(--purple);
	stroke: var(--purple);
}

.mini-card p {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0;
	font-family: var(--font-main) !important;
}


.recruit-banner {
	margin: 0 40px;
	background: #795095;
	border-radius: 24px;
	padding: 56px 60px;
	text-align: center;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.recruit-banner::before {
	content: '';
	position: absolute;
	top: -80px;
	right: -80px;
	width: 280px;
	height: 280px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
}

.recruit-banner::after {
	content: '';
	position: absolute;
	bottom: -100px;
	left: -60px;
	width: 320px;
	height: 320px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 50%;
}

.recruit-banner h2 {
	font-size: clamp(1.5rem, 2.5vw, 2.2rem);
	font-weight: 800;
	margin-bottom: 14px;
}

.recruit-banner p {
	font-size: clamp(0.95rem, 1.4vw, 1.1rem);
	opacity: 0.87;
	max-width: 560px;
	margin: 0 auto 30px;
	line-height: 1.8;
}

.btn-white {
	background: #fff;
	color: var(--purple);
	border: none;
	border-radius: 50px;
	padding: 14px 44px;
	font-family: var(--font-main) !important;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.25s;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.15);
	display: inline-block;
}

.btn-white:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
	color: var(--purple);
}

@media (max-width: 768px) {

	.dual-screens-wrap {
		height: auto !important;
	}

	.dual-screen {
		position: relative !important;
		width: 100% !important;
		top: auto !important;
		right: auto !important;
		transform: none !important;
		opacity: 1 !important;
		filter: none !important;
		border: 0 !important;
		box-shadow: 0 14px 38px rgba(103, 58, 183, 0.18);
	}

	.dual-screen+.dual-screen {
		margin-top: 14px;
	}

	.dual-screens-wrap.swapped .dual-screen-back,
	.dual-screens-wrap.swapped .dual-screen-front {
		transform: none !important;
		opacity: 1 !important;
		filter: none !important;
		top: auto !important;
		z-index: auto !important;
		border: 0 !important;
	}
}

.sol-icon svg,
.ind-icon svg {
	width: 20px;
	height: 20px;
	stroke: var(--teal, #007F80);
	flex-shrink: 0;
}

.ind-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 9px;
	background: var(--teal-light, #e8f6f6);
	flex-shrink: 0;
}

.sol-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 9px;
	background: var(--teal-light, #e8f6f6);
	flex-shrink: 0;
}

#gotoTop {
	position: fixed;
	bottom: 32px;
	left: 32px;
	z-index: 9999;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
	color: #fff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(103, 58, 183, 0.35);
	opacity: 0;
	transform: translateY(16px) scale(0.85);
	transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
	pointer-events: none;
}

#gotoTop.visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

#gotoTop:hover {
	transform: translateY(-3px) scale(1.08);
	box-shadow: 0 14px 32px rgba(103, 58, 183, 0.45);
}

.hero-badge svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	stroke: var(--purple);
}


#gotoTop:active {
	transform: scale(0.95);
}

.app-section {
	padding: 80px 40px;
	background: #fff;
}

.app-feature-block {
	max-width: 1200px;
	margin: 0 auto 60px;
	display: flex;
	align-items: center;
	gap: 60px;
}

.app-feature-block.reverse {
	flex-direction: row-reverse;
}

.app-feature-block:last-child {
	margin-bottom: 0;
}

.app-phone-wrap {
	flex-shrink: 0;
	width: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.app-phone-img {
	width: 100%;
	max-width: 250px;
	border-radius: 20px;
	box-shadow: 0 20px 55px rgba(103, 58, 183, 0.2);
}

.app-phone-placeholder {
	width: 220px;
	height: 400px;
	background: linear-gradient(145deg, var(--purple) 0%, var(--purple-light) 100%);
	border-radius: 30px;
	box-shadow: 0 20px 55px rgba(103, 58, 183, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1rem;
	font-weight: 600;
}

.app-feature-text {
	flex: 1;
}

.app-feature-title {
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 10px;
}

.app-feature-desc {
	font-size: clamp(0.95rem, 1.3vw, 1.05rem);
	color: var(--text-muted);
	line-height: 1.8;
	margin-bottom: 24px;
}

.feat-items {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.feat-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.feat-item-icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--purple-100);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
}

.feat-item-icon.numbered {
	font-family: var(--font-brand) !important;
	font-weight: 900;
	font-size: 1.1rem;
	color: var(--purple);
	background: var(--purple-100);
}

.feat-item-body h6 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 4px;
}

.feat-item-body p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.65;
	margin: 0;
}

.section-sep {
	height: 1px;
	background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
	max-width: 1200px;
	margin: 40px auto;
}


.dual-screens-wrap {
	position: relative;
	width: 100%;
	height: 340px;
}

.dual-screen {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 16px 44px rgba(103, 58, 183, 0.18);
	position: absolute;
	width: 82%;
	transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.dual-screen img {
	width: 100%;
	display: block;
	border-radius: 14px;
}

.dual-screen-back {
	top: 20px;
	right: 0;
	z-index: 1;
	transform: scale(0.92) translateX(10px);
	opacity: 0.65;
	filter: blur(1px);
}

.dual-screen-front {
	top: 0;
	right: 0;
	z-index: 2;
	transform: scale(1) translateX(0);
	opacity: 1;
	filter: none;
	border: 3px solid #fff;
}

.dual-screens-wrap.swapped .dual-screen-back {
	transform: scale(1) translateX(0);
	opacity: 1;
	filter: none;
	z-index: 2;
	border: 3px solid #fff;
	top: 0;
}

.dual-screens-wrap.swapped .dual-screen-front {
	transform: scale(0.92) translateX(10px);
	opacity: 0.65;
	filter: blur(1px);
	z-index: 1;
	border: none;
	top: 20px;
}

@media (max-width: 768px) {
	.dual-screens-wrap {
		height: 240px;
	}

	.dual-screen {
		width: 88%;
	}
}


.faq-section {
	padding: 80px 40px;
	background: #fff;
}

.faq-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.faq-phone-col {
	flex-shrink: 0;
	width: 240px;
}

.faq-phone-col img {
	width: 100%;
	border-radius: 16px;
}

.faq-content {
	flex: 1;
}

.faq-intro {
	font-size: clamp(0.95rem, 1.4vw, 1.1rem);
	color: var(--text-dark);
	text-align: center;
	margin-bottom: 36px;
	line-height: 1.75;
}

.faq-header-card {
	background: linear-gradient(160deg, var(--purple-light) 17%, #e1bee7 89%);
	border-radius: 26px;
	padding: 44px 36px;
	margin-bottom: 18px;
	position: relative;
	overflow: hidden;
}

.faq-header-card h3 {
	font-size: clamp(1.3rem, 2vw, 1.85rem);
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.faq-header-chevron {
	position: absolute;
	top: 50%;
	left: 28px;
	transform: translateY(-50%) rotate(180deg);
	font-size: 1.4rem;
	color: rgba(255, 255, 255, 0.8);
}

.faq-item {
	background: #fff;
	border-radius: 26px;
	box-shadow: 0 3px 50px rgba(0, 0, 0, 0.07);
	padding: 24px 28px;
	margin-bottom: 14px;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.3s;
}

.faq-item:hover {
	border-color: rgba(103, 58, 183, 0.2);
}

.faq-item.open {
	border-color: rgba(103, 58, 183, 0.3);
}

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.faq-question p {
	font-size: clamp(0.95rem, 1.3vw, 1.1rem);
	font-weight: 700;
	color: var(--text-dark);
	margin: 0;
}

.faq-toggle {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 2px solid var(--purple);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--purple);
	font-size: 1.1rem;
	font-weight: 700;
	transition: all 0.3s;
}

.faq-item.open .faq-toggle {
	background: var(--purple);
	color: #fff;
	transform: rotate(45deg);
}

.faq-answer {
	font-size: 0.93rem;
	color: var(--text-muted);
	line-height: 1.75;
	max-height: 0;
	overflow: hidden;
	transition: all 0.35s ease;
	margin-top: 0;
}

.faq-item.open .faq-answer {
	max-height: 200px;
	margin-top: 12px;
}

.faq-cta {
	text-align: center;
	margin-top: 28px;
}

.faq-cta p {
	font-size: 1.02rem;
	color: var(--text-muted);
	margin-bottom: 18px;
}

.faq-cta strong {
	color: var(--purple);
}


.cta-section {
	padding: 70px 40px;
	background: linear-gradient(135deg, #6a1b9a 0%, #4527a0 100%);
}

.cta-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.cta-text h3 {
	font-size: clamp(1.2rem, 2vw, 1.8rem);
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}

.cta-text p {
	font-size: 0.97rem;
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
}


footer {
	background: #1a1040;
	padding: 48px 40px 24px;
}

.footer-grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 44px;
	margin-bottom: 36px;
}

.footer-brand-desc {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.8;
	margin-top: 12px;
	max-width: 220px;
}

.footer-col h4 {
	color: #fff;
	font-size: 0.97rem;
	font-weight: 700;
	margin-bottom: 16px;
}

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

.footer-col a {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.88rem;
	transition: color 0.2s;
}

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

.footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.footer-copy {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.4);
}

.social-row {
	display: flex;
	gap: 10px;
}

.social-btn {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.85rem;
	transition: all 0.2s;
}

.social-btn:hover {
	background: var(--purple);
	color: #fff;
}

.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
	opacity: 1;
	transform: none;
}

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

	.two-col,
	.app-feature-block {
		gap: 36px;
	}
}

@media (max-width: 768px) {
	.navbar {
		padding: 0 18px;
	}

	.navbar-links {
		display: none;
	}

	.hero {
		padding: 44px 18px 28px;
		min-height: auto;
	}

	.hero-bg,
	.hero-bg-inner {
		width: 100%;
		border-radius: 0;
	}

	.hero-inner {
		flex-direction: column;
		text-align: center;
	}

	.hero-btns {
		justify-content: center;
	}

	.hero-subtitle {
		margin: 0 auto 2rem;
	}

	.deco {
		display: none;
	}

	.stats-inner {
		flex-direction: column;
		gap: 20px;
	}

	.stat-divider {
		width: 80px;
		height: 1px;
	}

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

	.two-col,
	.two-col.reverse {
		flex-direction: column;
	}

	.app-feature-block,
	.app-feature-block.reverse {
		flex-direction: column;
	}

	.app-phone-wrap {
		width: 100%;
	}

	.recruit-banner {
		margin: 0 18px;
		padding: 40px 24px;
	}

	.faq-inner {
		flex-direction: column;
	}

	.faq-phone-col {
		display: none;
	}

	.cta-inner {
		flex-direction: column;
		text-align: center;
	}

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

	section,
	.overview-section,
	.payroll-section,
	.app-section,
	.faq-section,
	.features-section,
	.system-section {
		padding: 50px 18px;
	}
}