/* Wilav Dev landing */

:root {
	--ink: #0B0E26;
	--ink-2: #1B1F4B;
	--ink-3: #2A2F66;
	--coral: #FF6B57;
	--sun: #FFB547;
	--pink: #FF3D7F;
	--cream: #FFF7F0;
	--text: #1A1C3A;
	--muted: #5E6282;
	--line: #ECE7EF;
	--white: #FFFFFF;
	--gradient: linear-gradient(120deg, var(--sun) 0%, var(--coral) 55%, var(--pink) 100%);
	--radius: 20px;
	--shadow: 0 20px 50px -24px rgba(11, 14, 38, .35);
	--font-head: 'Sora', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

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

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--gradient);
	color: var(--white);
	font: 600 16px var(--font-body);
	cursor: pointer;
	box-shadow: 0 12px 30px -12px rgba(255, 92, 90, .7);
	transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255, 92, 90, .85); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-small { padding: 10px 20px; font-size: 15px; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }

.eyebrow {
	display: inline-block;
	font: 600 13px var(--font-body);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--coral);
	margin-bottom: 14px;
}

/* Header */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
	background: rgba(11, 14, 38, .88);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 22px var(--font-head); color: var(--white); letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.brand em { font-style: normal; color: var(--coral); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) { color: rgba(255, 255, 255, .75); font-weight: 500; font-size: 15px; transition: color .2s; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--white); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(120% 90% at 10% 0%, var(--ink-2) 0%, var(--ink) 60%);
	color: var(--white);
	padding: 150px 0 110px;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.hero-glow-1 { width: 520px; height: 520px; background: var(--coral); right: -140px; top: -120px; opacity: .35; animation: drift 14s ease-in-out infinite; }
.hero-glow-2 { width: 420px; height: 420px; background: var(--ink-3); left: -160px; bottom: -200px; animation: drift-2 18s ease-in-out infinite; }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); font-weight: 800; }
.hero h1 .heart { width: .78em; height: .72em; margin-left: .12em; vertical-align: -.04em; fill: var(--coral); overflow: visible; }
.hero-copy > p { margin-top: 22px; max-width: 540px; font-size: 19px; color: rgba(255, 255, 255, .72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 44px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .7); font-size: 15px; font-weight: 500; }
.hero-pillars i { color: var(--sun); margin-right: 6px; }

@keyframes heart-ping { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.8); opacity: 0; } 100% { transform: scale(1.8); opacity: 0; } }

.hero-art { position: relative; }
.device {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 22px;
	padding: 18px 22px 26px;
	backdrop-filter: blur(6px);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
	transform: rotate(-3deg);
}
.device-bar { display: flex; gap: 7px; margin-bottom: 18px; }
.device-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.device-bar span:first-child { background: var(--coral); }
.device-bar span:nth-child(2) { background: var(--sun); }
.device pre { margin: 0; font: 15px/1.9 ui-monospace, 'SF Mono', Menlo, monospace; color: rgba(255, 255, 255, .85); white-space: pre-wrap; }
.device b { color: var(--pink); font-weight: 500; }
.device i { color: var(--sun); font-style: normal; }
.device u { color: #8FD3FF; text-decoration: none; }
.device s { color: rgba(255, 255, 255, .4); text-decoration: none; }
.hero-icon {
	position: absolute;
	z-index: 2;
	width: 120px;
	right: -18px;
	bottom: -48px;
	border-radius: 28px;
	box-shadow: 0 24px 50px -16px rgba(255, 61, 127, .55);
	transform: rotate(8deg);
}
.hero-icon svg { display: block; width: 100%; height: auto; }
/* Ripple that grows out of the heart and fades, like a live indicator */
.heart-ping { transform-box: fill-box; transform-origin: 50% 55%; animation: heart-ping 1.8s ease-out infinite; }

/* Hearts rising from the icon */
.hero-hearts { position: absolute; right: -30px; bottom: 20px; width: 170px; height: 340px; pointer-events: none; }
.hero-hearts svg {
	position: absolute;
	bottom: 0;
	left: var(--x);
	width: calc(22px * var(--s));
	fill: var(--coral);
	opacity: 0;
	animation: rise 4.8s ease-in infinite;
	animation-delay: var(--d);
}
.hero-hearts svg:nth-child(even) { fill: var(--pink); }
.hero-hearts svg:nth-child(3n) { fill: var(--sun); }

.caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: -.2em; background: var(--sun); animation: blink 1s steps(1) infinite; }

@keyframes rise {
	0% { opacity: 0; transform: translate(0, 0) scale(.4) rotate(0); }
	15% { opacity: .9; }
	60% { transform: translate(-12px, -200px) scale(1) rotate(-12deg); }
	100% { opacity: 0; transform: translate(10px, -320px) scale(.8) rotate(10deg); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-60px, 40px); } }
@keyframes drift-2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(70px, -50px); } }

/* Sections */
.section { padding: 110px 0; }
.section-tinted { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; }
.section-head p { margin-top: 16px; color: var(--muted); }
.section-dark .section-head p { color: rgba(255, 255, 255, .65); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: var(--gradient);
	color: var(--white);
	font-size: 22px;
	margin-bottom: 22px;
}
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

/* Technologies */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.tech li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: var(--white);
	border-radius: 16px;
	font-weight: 600;
	font-size: 15px;
	box-shadow: 0 1px 0 var(--line);
}
.tech i, .tech img { width: 28px; height: 28px; font-size: 26px; text-align: center; color: var(--ink-3); flex: none; object-fit: contain; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden; }
.steps li { background: var(--ink); padding: 34px 32px; transition: background .25s; }
.steps li:hover { background: var(--ink-2); }
.steps span { display: block; font: 700 15px var(--font-head); background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.steps strong { display: block; font: 600 22px var(--font-head); margin-bottom: 6px; }
.steps p { color: rgba(255, 255, 255, .6); font-size: 16px; }

/* Clients */
.section-clients { padding: 80px 0 90px; }
.clients-head { text-align: center; margin-bottom: 32px; }
.clients-head h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; }
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 860px; margin: 0 auto; padding: 0; list-style: none; }
.clients li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; transition: background .2s; }
.clients li:hover { background: var(--cream); }
.client-logo img { display: block; width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.client-logo img.cover { object-fit: cover; border: 0; }
.client-logo img.round { border-radius: 50%; }
.clients strong { display: block; font: 600 15px var(--font-body); }
.country { display: block; font-size: 13px; color: var(--muted); }

/* Contact */
#contact-us { padding-top: 0; }
.contact {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 56px;
	padding: 64px;
	border-radius: 32px;
	background: radial-gradient(90% 120% at 0% 0%, var(--ink-2) 0%, var(--ink) 70%);
	color: var(--white);
	position: relative;
	overflow: hidden;
}
.contact::after { content: ''; position: absolute; width: 360px; height: 360px; right: -120px; bottom: -160px; border-radius: 50%; background: var(--pink); filter: blur(100px); opacity: .35; pointer-events: none; }
.contact-info h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; }
.contact-info p { margin: 16px 0 28px; color: rgba(255, 255, 255, .7); }
.contact-line { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-weight: 500; }
.contact-line i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--sun); }
.contact-line:hover { color: var(--sun); }

.contact-form { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 14px;
	background: rgba(255, 255, 255, .06);
	color: var(--white);
	font: 16px var(--font-body);
	resize: vertical;
	transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--coral); background: rgba(255, 255, 255, .1); }
.contact-form .invalid { border-color: var(--pink); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#contact-result { font-size: 15px; color: var(--sun); }
#contact-result.error { color: #FF8FB0; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer .brand { color: var(--text); font-size: 19px; }
.site-footer p { color: var(--muted); font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
	.heart-ping, .hero-icon, .device, .hero-glow, .caret { animation: none; }
	.hero-hearts { display: none; }
}

/* Responsive */
@media (max-width: 1000px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-art { max-width: 460px; }
	.cards, .clients { grid-template-columns: repeat(2, 1fr); }
	.tech { grid-template-columns: repeat(3, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.contact { grid-template-columns: 1fr; padding: 48px 36px; }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.container { padding: 0 16px; }
	.menu-toggle { display: block; }
	.main-nav {
		position: absolute;
		top: 76px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 16px 20px;
		background: var(--ink);
		display: none;
	}
	.menu-open .main-nav { display: flex; }
	.menu-open .site-header { background: var(--ink); }
	.main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
	.main-nav .btn { margin-top: 16px; }
	.hero { padding: 120px 0 90px; }
	.section { padding: 80px 0; }
	.cards, .steps, .contact-form { grid-template-columns: 1fr; }
	.clients { gap: 4px; }
	.clients li { padding: 8px; }
	.clients strong { font-size: 14px; }
	.tech { grid-template-columns: repeat(2, 1fr); }
	.tech li { padding: 14px; font-size: 14px; gap: 10px; }
	.contact { padding: 36px 22px; border-radius: 24px; }
	.hero-icon { width: 90px; right: 0; }
	.hero-hearts { right: -10px; width: 120px; height: 260px; }
}

/* Visually hidden text that stays readable for screen readers and crawlers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
