

/* =========================
   MAIN — global template
   ========================= */
:root {
	--bg-start: #0f172a; /* slate-900 */
	--bg-end: #111827; /* gray-900 */
	--surface-1: #1f2937; /* gray-800 */
	--surface-2: #0b1220; /* deep slate */
	--text: #e5e7eb; /* gray-200 */
	--muted: #9ca3af; /* gray-400 */
	--primary: #8b5cf6; /* violet-500 */
	--primary-2: #06b6d4; /* cyan-500 */
	--accent: #f43f5e; /* rose-500 */
	--ok: #22c55e; /* green-500 */
	--warn: #f59e0b; /* amber-500 */
	--border: #374151; /* gray-700 */
	--radius: 16px;
	--radius-sm: 12px;
	--maxw: 1200px;
	--shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	color: var(--text);
	background: radial-gradient(1200px 600px at 20% 0%, rgba(139,92,246,0.12), transparent 60%), radial-gradient(900px 500px at 80% 100%, rgba(6,182,212,0.10), transparent 60%), linear-gradient(180deg, var(--bg-start), var(--bg-end));
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	line-height: 1.5;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

a {
	color: var(--primary);
	text-decoration: none;
}

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


/* =========================
   HEADER — top part
   ========================= */
.topbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: saturate(140%) blur(8px);
	background: linear-gradient(180deg, rgba(17,24,39,0.85), rgba(17,24,39,0.65));
	border-bottom: 1px solid var(--border);
}

.topbar-inner {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Logo */
.brand {
	font-weight: 700;
	font-size: 32px;
	letter-spacing: 0.1px;
	background: linear-gradient(90deg, #2e026d, #d946ef, #f0abfc, #6d028c);
	background-size: 500% 500%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
	padding: 0px 10px;
	border: 1px solid transparent;
	border-radius: 10px;
	border-image-slice: 1;
	border-image-source: linear-gradient(270deg, #2e026d, #6d028c);
}

.nav {
	margin-left: auto;
	display: flex;
	gap: 18px;
}

	.nav a {
		color: var(--text);
		opacity: 0.9;
	}

		.nav a:hover {
			color: white;
		}



.marquee-container {
	overflow: hidden;
	white-space: nowrap;
	position: relative;
	width: 100%;
	height: 2em;
}

#marquee {
	position: absolute;
	left: 0;
	white-space: nowrap;
}






/* Info cards (steady or add delays later) */
.grid-info .card {
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	border-image-slice: 1;
	border-image-source: linear-gradient(90deg, #2e026d, #6d028c);
}

/* Services cards (pulsing) */
.grid-services .card {
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	border-image-slice: 1;
	border-image-source: linear-gradient(90deg, #2e026d, #6d028c);
}

/* Hero */
.hero {
	position: relative;
	max-width: var(--maxw);
	margin: 28px auto 24px;
	border-radius: var(--radius);
	overflow: hidden;
	background: linear-gradient(180deg, rgba(31,41,55,0.85), rgba(21,29,46,0.9)); /* card style */
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
}

.hero-content {
	position: relative; /* no overlay needed */
	display: grid;
	place-items: center;
	text-align: center;
	padding: 24px;
}


.hero h1 {
	margin: 0;
	font-size: clamp(28px, 5vw, 54px);
	font-weight: 800;
	color: white;
	text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.hero p {
	margin: 10px auto 0;
	max-width: 900px;
	color: var(--muted);
	font-size: clamp(14px, 2vw, 18px);
}

.hero-cta {
	margin-top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.15);
	background: linear-gradient(90deg, rgba(139,92,246,0.25), rgba(6,182,212,0.25));
	color: white;
	font-weight: 600;
	cursor: pointer;
	animation: heartbeat 1.6s ease-in-out infinite;
}



/* Typewriter effect */
#typewriter {
	font-size: inherit; /* follow parent heading size */
	font-weight: inherit; /* optional, match heading weight */
	color: white;
}

.cursor {
	display: inline-block;
	width: 2px;
	height: 1.1em; /* match text height */
	background: #fff;
	margin-left: 1px;
	animation: blink 0.8s step-end infinite;
	vertical-align: text-bottom; /* aligned with text */
}




/* Section wrapper */
.section {
	max-width: var(--maxw);
	margin: 24px auto;
	padding: 0 20px;
}

	.section h2 {
		margin: 0 0 12px;
		font-size: 18px;
		color: var(--muted);
		letter-spacing: 0.4px;
	}


/* Cards */
.grid {
	display: grid;
	gap: 16px;
}

.card {
	background: linear-gradient(180deg, rgba(31,41,55,0.85), rgba(21,29,46,0.9));
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 16px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

	/* Hover effect for all cards */
	.card:hover {
		transform: translateY(-4px) scale(1.02);
		box-shadow: 0 8px 24px rgba(139,92,246,0.45), 0 0 12px rgba(6,182,212,0.35);
		transition: all 0.3s ease;
		border-image-source: linear-gradient(90deg, #6d028c, #06b6d4);
		color: white; /* brighten text */
	}

		.card:hover h3 {
			text-shadow: 0 0 10px rgba(139,92,246,0.7), 0 0 14px rgba(6,182,212,0.5);
		}

	.card h3 {
		margin: 0 0 6px;
		font-size: 16px;
		color: white;
	}

	.card p {
		margin: 0;
		color: var(--muted);
		font-size: 14px;
	}

.card-list {
	margin: 0.75rem 0 0; /* list spacing */
	padding: 0; /* remove indent */
	list-style: none; /* no bullets */
}

	.card-list li {
		margin: 0.1rem 0; /* space between items */
		line-height: 1.5; /* text spacing */
		position: relative; /* for tick placement */
		padding-left: 2rem; /* space for tick */
	}

		.card-list li::before {
			content: "✔"; /* tick symbol */
			position: absolute; /* place inside li */
			left: 0; /* align left */
			color: #8a2be2; /* tick color */
			font-weight: bold; /* tick weight */
		}





/* Info — 4 medium blocks */
.grid-info {
	grid-template-columns: repeat(4, 1fr);
}
/* Services — 8 blocks in 2 rows */
.grid-services {
	grid-template-columns: repeat(4, 1fr);
}

/* Apps — 20 small blocks */
.grid-apps {
	grid-template-columns: repeat(5, 1fr);
}

.app {
	padding: 12px;
	display: grid;
	gap: 8px;
}

	.app .badge {
		display: inline-block;
		font-size: 12px;
		color: white;
		padding: 4px 8px;
		border-radius: 999px;
		background: linear-gradient(90deg, var(--primary), var(--primary-2));
		border: 1px solid rgba(255,255,255,0.15);
	}


/* Responsive */
@media (max-width: 1024px) {
	.grid-info {
		grid-template-columns: repeat(2, 1fr);
	}

	.grid-services {
		grid-template-columns: repeat(2, 1fr);
	}

	.grid-apps {
		grid-template-columns: repeat(4, 1fr);
	}
}


@media (max-width: 720px) {
	.nav {
		display: flex; /* keep links visible */
		flex-wrap: wrap; /* allow wrapping if too many links */
		gap: 12px; /* spacing between links */
		justify-content: center; /* center them on small screens */
	}

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

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

	.grid-apps {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Footer */
footer.bottombar {
	position: relative; /* normal flow */
	background: linear-gradient(0deg, rgba(17,24,39,0.95), rgba(17,24,39,0.8));
	border-top: 1px solid var(--border);
	backdrop-filter: saturate(140%) blur(8px);
	padding: 40px 20px; /* taller footer */
	color: var(--muted);
}

	footer.bottombar .bottombar-inner {
		max-width: var(--maxw);
		margin: 0 auto;
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 24px;
		font-size: 14px;
	}

	/* Modern info blocks inside footer */
	footer.bottombar .info-block {
		flex: 1;
	}

		footer.bottombar .info-block h4 {
			margin-bottom: 8px;
			font-size: 16px;
			color: #fff;
		}

		footer.bottombar .info-block p {
			margin: 0;
			line-height: 1.4;
		}

/* Scroll-to-top floating button (Option 2) */
.scroll-top {
	position: absolute;
	right: 20px;
	bottom: 20px;
	background: #374151;
	color: #fff;
	font-size: 20px;
	padding: 10px;
	border-radius: 50%;
	text-decoration: none;
	transition: background 0.3s ease, transform 0.3s ease;
}

	.scroll-top:hover {
		background: #4b5563;
		transform: translateY(-4px);
	}
