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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	overflow-x: hidden;
	background: linear-gradient(135deg, #6a82a9 0%, #2d3748 50%, #41557d 100%);
	min-height: 100vh;
	position: relative;
}

.floating-particles {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	overflow: hidden;
}

.particle {
	position: absolute;
	background: #6a82a9;
	border-radius: 50%;
	pointer-events: none;
	animation: floatDefault 15s ease-in-out infinite;
	box-shadow: 0 0 8px rgba(71, 85, 105, 0.2);
	transition: all 0.5s ease;
}

.particle.blue {
	background: rgb(49,57,74);
	box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

@keyframes floatDefault {
	0% {
		transform: translate(0px, 0px) rotate(0deg);
		opacity: 0;
	}
	15% {
		opacity: 1;
	}
	25% {
		transform: translate(15px, 20px) rotate(45deg);
	}
	50% {
		transform: translate(-10px, 40px) rotate(90deg);
	}
	75% {
		transform: translate(20px, 60px) rotate(135deg);
	}
	85% {
		opacity: 1;
	}
	100% {
		transform: translate(0px, 80px) rotate(180deg);
		opacity: 0;
	}
}

.container {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	text-align: center;
	transform: translateY(-5vh);
}

.logo-container {
	margin-bottom: 40px;
	animation: fadeInUp 1s ease-out;
}

.logo {
	width: 120px;
	height: 120px;
	background: #38588d;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.logo::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transform: rotate(45deg);
	animation: shine 12s infinite;
}

@keyframes shine {
	0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
	10% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
	30% { transform: translateX(100%) translateY(100%) rotate(45deg); }
	100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.code-icon {
	font-size: 48px;
	color: white;
	font-weight: bold;
	font-family: 'Courier New', monospace;
}

.company-name {
	font-size: 4rem;
	font-weight: 700;
	color: #94a3b8;
	margin-bottom: 10px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
	animation: fadeInUp 1s ease-out 0.3s both;
	cursor: pointer;
}

.divider {
	width: 280px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #94a3b8, transparent);
	margin: 20px auto;
	animation: fadeInUp 1s ease-out 0.6s both;
}

.tagline {
	font-size: 1.5rem;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 8px;
	text-transform: uppercase;
	font-weight: 300;
	animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-section {
	margin-top: 60px;
	animation: fadeInUp 1s ease-out 1.2s both;
}

.features {
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 40px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	animation: fadeInUp 1s ease-out 1.5s both;
}

.feature {
	display: flex;
	align-items: center;
	gap: 8px;
}

.feature-icon {
	width: 20px;
	height: 20px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.container {
		transform: translateY(-2vh);
	}
	.company-name {
		font-size: 2.5rem;
	}
	
	.tagline {
		font-size: 1rem;
		letter-spacing: 4px;
	}
	
	.cta-button {
		display: block;
		margin: 10px auto;
		width: fit-content;
	}
}

.scroll-indicator {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.5);
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateX(-50%) translateY(0);
	}
	40% {
		transform: translateX(-50%) translateY(-10px);
	}
	60% {
		transform: translateX(-50%) translateY(-5px);
	}
}

.contact-float {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 100;
	cursor: pointer;
}

.contact-button {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #94a3b8 0%, #1b3e79 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 25px rgba(45, 55, 72, 0.4);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	animation: pulse 2s infinite;
	position: relative;
	overflow: hidden;
}

.contact-button:hover {
	transform: scale(1.1);
	box-shadow: 0 12px 35px rgba(45, 55, 72, 0.6);
}

.contact-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(101, 139, 214, 0.3) 0%, transparent 100%);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.contact-button:hover::before {
	opacity: 1;
}

.contact-icon {
	font-size: 24px;
	color: white;
	transition: transform 0.3s ease;
}

.contact-button:hover .contact-icon {
	transform: rotate(15deg) scale(1.1);
}

@keyframes pulse {
	0% {
		box-shadow: 0 8px 25px rgba(45, 55, 72, 0.4), 0 0 0 0 rgba(45, 55, 72, 0.7);
	}
	70% {
		box-shadow: 0 8px 25px rgba(45, 55, 72, 0.4), 0 0 0 10px rgba(45, 55, 72, 0);
	}
	100% {
		box-shadow: 0 8px 25px rgba(45, 55, 72, 0.4), 0 0 0 0 rgba(45, 55, 72, 0);
	}
}

.contact-tooltip {
	position: absolute;
	bottom: 70px;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 15px;
	padding: 20px;
	min-width: 280px;
	max-width: calc(100vw - 32px);
	max-height: 80vh; /* fallback; JS will fine-tune on open */
	overflow-y: hidden; /* avoid showing scroll when not needed */
	-webkit-overflow-scrolling: touch;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px) scale(0.9);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transform-origin: bottom right;
}

.contact-float:hover .contact-tooltip,
.contact-float.open .contact-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.contact-tooltip::after {
	content: '';
	position: absolute;
	bottom: -8px;
	right: 20px;
	width: 16px;
	height: 16px;
	background: rgba(255, 255, 255, 0.95);
	border-right: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	transform: rotate(45deg);
	backdrop-filter: blur(20px);
}

.contact-header {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	color: #2d3748;
}

.contact-header-icon {
	width: 32px;
	height: 32px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	color: white;
	font-size: 16px;
}

.contact-header h3 {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}

.contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	color: #4a5568;
	text-decoration: none;
	transition: all 0.3s ease;
	padding: 8px;
	border-radius: 8px;
}

.contact-item:hover {
	background: rgba(102, 126, 234, 0.1);
	color: #667eea;
	transform: translateX(5px);
}

.contact-item:last-child {
	margin-bottom: 0;
}

.contact-item-icon {
	width: 20px;
	height: 20px;
	margin-right: 12px;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #667eea;
}

.contact-item-text {
	font-size: 14px;
	font-weight: 500;
}

@media (max-width: 768px) {
	.contact-float {
		bottom: 20px;
		right: 20px;
	}
	
	.contact-button {
		width: 50px;
		height: 50px;
	}
	
	.contact-icon {
		font-size: 20px;
	}
	
	.contact-tooltip {
		/* Keep tooltip fully within viewport on mobile */
		bottom: 60px;
		right: 0;         /* anchor to the button's right edge */
		left: auto;
		width: calc(100vw - 32px);
		max-width: calc(100vw - 32px);
		min-width: 0;
	/* Use dynamic viewport height when available to minimize unwanted scrollbars */
	max-height: calc(100dvh - (80px + env(safe-area-inset-bottom))); /* fallback to 80vh is set above */
	}
}
