/* Vexvon Website - Custom Styles */

/* Typography hierarchy */
.text-h1 {
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

@media (min-width: 640px) {
	.text-h1 {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.text-h1 {
		font-size: 3.75rem;
	}
}

@media (min-width: 1280px) {
	.text-h1 {
		font-size: 4.5rem;
	}
}

.text-h2 {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

@media (min-width: 640px) {
	.text-h2 {
		font-size: 1.875rem;
	}
}

@media (min-width: 1024px) {
	.text-h2 {
		font-size: 2.25rem;
	}
}

@media (min-width: 1280px) {
	.text-h2 {
		font-size: 3rem;
	}
}

.text-h3 {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.375;
}

@media (min-width: 640px) {
	.text-h3 {
		font-size: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.text-h3 {
		font-size: 1.875rem;
	}
}

.text-lead {
	font-size: 1.125rem;
	line-height: 1.625;
}

@media (min-width: 640px) {
	.text-lead {
		font-size: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.text-lead {
		font-size: 1.5rem;
	}
}

.text-small {
	font-size: 0.875rem;
	line-height: 1.5;
}

@media (min-width: 640px) {
	.text-small {
		font-size: 1rem;
	}
}

/* Spacing utilities */
.section-spacing {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

@media (min-width: 640px) {
	.section-spacing {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
}

@media (min-width: 1024px) {
	.section-spacing {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}

@media (min-width: 1280px) {
	.section-spacing {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}

.container-spacing {
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 640px) {
	.container-spacing {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.container-spacing {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.content-spacing > * + * {
	margin-top: 1.5rem;
}

@media (min-width: 640px) {
	.content-spacing > * + * {
		margin-top: 2rem;
	}
}

@media (min-width: 1024px) {
	.content-spacing > * + * {
		margin-top: 3rem;
	}
}

/* Glass effects */
.glass-chat {
	backdrop-filter: blur(18px) saturate(180%);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
	background-color: rgba(255, 255, 255, 0.4);
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.glass-card {
	backdrop-filter: blur(18px) saturate(180%);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
	background-color: rgba(255, 255, 255, 0.4);
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.glass-blue {
	background-color: rgba(0, 36, 127, 0.31);
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(9.5px);
	-webkit-backdrop-filter: blur(9.5px);
	border: 1px solid rgba(0, 36, 127, 0.19);
}

.glass-navbar {
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	background: rgba(255, 255, 255, 0.72);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.02);
}

.glass-mobile-menu {
	backdrop-filter: blur(25px) saturate(180%);
	-webkit-backdrop-filter: blur(25px) saturate(180%);
	background: rgba(255, 255, 255, 1);
	border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradients */
.green-gradient {
	background-image: linear-gradient(to right, #00247f, #005db9, #0091cd, #00c1bb, #0cec96);
}

.green-text-gradient {
	background-image: linear-gradient(to right, #00247f, #005db9, #0091cd, #00c1bb, #0cec96);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

/* Enhanced focus states */
.focus-ring:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 36, 127, 0.5);
	border-radius: 0.375rem;
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Enhanced animations */
@keyframes wink {
	0%,
	90%,
	100% {
		transform: scaleY(1);
	}
	95% {
		transform: scaleY(0.1);
	}
}

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

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

@keyframes bounce {
	0%,
	20%,
	53%,
	80%,
	100% {
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
		transform: translate3d(0, 0, 0);
	}
	40%,
	43% {
		animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
		transform: translate3d(0, -30px, 0);
	}
	70% {
		animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
		transform: translate3d(0, -15px, 0);
	}
	90% {
		transform: translate3d(0, -4px, 0);
	}
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
}

.animate-fade-in-up {
	animation: fadeInUp 0.6s ease-out;
}

.animate-bounce-soft {
	animation: bounce 2s infinite;
}

.animate-float {
	animation: float 3s ease-in-out infinite;
}

.wink-animation {
	animation: wink 1s ease-in-out;
}

/* Loading state */
body.loaded {
	opacity: 1;
}

/* Improved transitions */
* {
	transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow,
		transform, filter, backdrop-filter;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}

/* Mobile menu improvements */
.mobile-menu-panel {
	width: 100vw;
	height: 100vh;
	z-index: 9999 !important;
}

.mobile-menu-overlay {
	z-index: 9998 !important;
}

/* Ensure mobile menu is above everything */
#mobile-menu {
	z-index: 9997 !important;
}

@media (max-width: 768px) {
	.mobile-menu-slide {
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}
}

/* FAQ improvements */
.faq-content {
	display: none;
	overflow: hidden;
}

.faq-content.open {
	display: block;
}

.faq-icon {
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon.rotate {
	transform: rotate(180deg);
}

/* Chat improvements */
.chat-message {
	animation: fadeInUp 0.3s ease-out;
}

/* Industry badges hover effect */
.industry-badge {
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 36, 127, 0.15);
}

/* Enhanced button styles */
.btn-primary {
	background-color: #00247f;
	color: white;
	transition: all 0.3s;
}

.btn-primary:hover {
	background-color: #001a5c;
}

.btn-primary:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 36, 127, 0.5);
}

.btn-secondary {
	background-color: white;
	color: #00247f;
	border: 1px solid #00247f;
	transition: all 0.3s;
}

.btn-secondary:hover {
	background-color: #00247f;
	color: white;
}

.btn-secondary:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 36, 127, 0.5);
}

/* Utility classes */
.rotate-180 {
	transform: rotate(180deg);
}

.translate-x-full {
	transform: translateX(100%);
}

.translate-x-0 {
	transform: translateX(0);
}

.opacity-0 {
	opacity: 0;
}

.opacity-100 {
	opacity: 1;
}

/* Custom color classes */
.text-vex-blue {
	color: #00247f;
}

.bg-vex-blue {
	background-color: #00247f;
}

.bg-vex-blue-light {
	background-color: #ccdaff;
}

.hover\:bg-vex-blue-dark:hover {
	background-color: #001a5c;
}

.border-vex-blue {
	border-color: #00247f;
}

/* Grid and layout utilities */
.aspect-square {
	aspect-ratio: 1 / 1;
}

/* Responsive utilities */
@media (min-width: 640px) {
	.sm\:text-5xl {
		font-size: 3rem;
	}
	.sm\:text-3xl {
		font-size: 1.875rem;
	}
	.sm\:text-2xl {
		font-size: 1.5rem;
	}
	.sm\:text-xl {
		font-size: 1.25rem;
	}
	.sm\:text-base {
		font-size: 1rem;
	}
}

@media (min-width: 1024px) {
	.lg\:text-6xl {
		font-size: 3.75rem;
	}
	.lg\:text-4xl {
		font-size: 2.25rem;
	}
	.lg\:text-3xl {
		font-size: 1.875rem;
	}
	.lg\:text-2xl {
		font-size: 1.5rem;
	}
}

@media (min-width: 1280px) {
	.xl\:text-7xl {
		font-size: 4.5rem;
	}
	.xl\:text-5xl {
		font-size: 3rem;
	}
}
