/* ========================================
   FINGAURD STYLE SHEET - MINIMAL
   ======================================== */

/* Import Primary Fonts */
@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap");

/* Import Material Symbols */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,300,0,0");

/* ========================================
   DESIGN TOKENS
   ======================================== */

:root {
	--font-primary: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	--font-secondary: "Bebas Neue", "Urbanist", system-ui, sans-serif;
	--font-mono: "JetBrains Mono", monospace;
	--font-medium: 500;
	--font-semibold: 600;
	--font-bold: 700;

	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.25rem;
	--text-xl: 1.5rem;
	--font-size-sm: 0.875rem;
	--leading-normal: 1.5;

	--background: #ffffff;
	--background-muted: #f8fafc;
	--text-primary: #111827;
	--text-secondary: #475569;
	--text-inverse: #ffffff;

	--color-primary: #2563eb;
	--color-primary-100: rgba(37, 99, 235, 0.14);
	--color-secondary: #54e8e8;
	--color-secondary-soft: rgba(84, 232, 232, 0.18);
	--hover-primary: #1e40af;
	--accent-color: #2563eb;
	--success-color: #22c55e;

	--shadow-sm: 0 6px 12px rgba(15, 23, 42, 0.08);
	--shadow-md: 0 12px 24px rgba(15, 23, 42, 0.12);
	--shadow-lg: 0 18px 36px rgba(15, 23, 42, 0.18);

	--radius-md: 1rem;
	--radius-lg: 1.5rem;
	--radius-pill: 9999px;

	--spacing-xs: 0.25rem;
	--spacing-sm: 0.5rem;
	--spacing-md: 0.75rem;
	--spacing-base: 1rem;

	--focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.22);

	scroll-behavior: smooth;
}

.font-display {
	font-family: var(--font-secondary);
}

/* ========================================
   BASE STYLES & RESETS
   ======================================== */

@layer base {
	*, *::before, *::after {
		box-sizing: border-box;
		color: inherit;
		font-family: var(--font-primary);
		list-style: none;
		margin: 0;
		padding: 0;
		text-decoration: none;
		transition: all 0.3s ease !important;
	}
}

.material-symbols-rounded {
	font-size: inherit;
}

html,
body {
	max-width: 100%;
	overflow-x: hidden;
	width: 100%;
}

body {
	background: var(--background);
	color: var(--text-primary);
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: var(--leading-normal);
	scroll-behavior: smooth;
}

/* ========================================
   HEADER - Minimal styles for brand
   ======================================== */

.brand a {
	font-family: var(--font-secondary);
	font-size: var(--text-lg);
	font-weight: var(--font-bold);
	text-transform: uppercase;
}

.cart-count {
	background: var(--color-primary);
	border-radius: 50%;
	color: #fff;
	font-size: var(--text-xs);
	height: 1.25rem;
	line-height: 1.25rem;
	position: absolute;
	right: -0.5rem;
	text-align: center;
	top: -0.5rem;
	width: 1.25rem;
}

/* ========================================
   GLOBAL INTERACTIONS & COMPONENTS
   ======================================== */

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

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

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-whatsapp {
	align-items: center;
	background: #ffffff;
	border: 1px solid transparent;
	border-radius: var(--radius-lg);
	color: var(--text-primary);
	display: inline-flex;
	font-family: var(--font-primary);
	font-weight: var(--font-semibold);
	gap: 0.6rem;
	justify-content: center;
	padding: 0.75rem 1.75rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--hover-primary) 100%);
	box-shadow: var(--shadow-sm);
	color: var(--text-inverse);
}

.btn-primary:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.btn-secondary {
	background: #ffffff;
	border-color: rgba(37, 99, 235, 0.24);
	color: var(--color-primary);
}

.btn-secondary:hover {
	background: rgba(37, 99, 235, 0.08);
	color: var(--hover-primary);
}

.btn-outline {
	background: transparent;
	border-color: rgba(15, 23, 42, 0.18);
	color: var(--text-secondary);
}

.btn-outline:hover {
	border-color: rgba(37, 99, 235, 0.4);
	color: var(--color-primary);
}

.btn-whatsapp {
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
	box-shadow: 0 14px 28px rgba(34, 197, 94, 0.25);
	color: #ffffff;
}

.btn-whatsapp:hover {
	box-shadow: 0 18px 36px rgba(22, 163, 74, 0.3);
	transform: translateY(-2px) scale(1.01);
}

#category-filters ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 0;
}

#category-filters li {
	background: #ffffff;
	border: 1px solid rgba(37, 99, 235, 0.14);
	border-radius: var(--radius-pill);
	color: var(--text-secondary);
	cursor: pointer;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: var(--font-medium);
	padding: 0.55rem 1.3rem;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

#category-filters li:hover {
	border-color: rgba(37, 99, 235, 0.32);
	color: var(--color-primary);
	transform: translateY(-2px);
}

#category-filters li.active {
	background: var(--color-primary);
	border-color: transparent;
	box-shadow: var(--shadow-sm);
	color: #ffffff;
}

.product-card {
	background: #ffffff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	display: block;
	overflow: hidden;
	padding: 1.5rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-6px);
}

.product-card img {
	border-radius: var(--radius-md);
	display: block;
	margin-bottom: 1.25rem;
	width: 100%;
}

.product-card-content {
	display: grid;
	gap: 0.45rem;
}

.product-card-content h3 {
	color: var(--text-primary);
	font-size: 1.1rem;
	font-weight: var(--font-semibold);
}

.product-card-content .price {
	color: var(--color-primary);
	font-size: 1.05rem;
	font-weight: var(--font-semibold);
}

.floating-whatsapp {
	align-items: center;
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
	border-radius: var(--radius-pill);
	bottom: 1.8rem;
	box-shadow: 0 18px 30px rgba(22, 163, 74, 0.28);
	color: #ffffff;
	display: inline-flex;
	gap: 0.6rem;
	padding: 0.75rem 1.5rem;
	position: fixed;
	right: 1.5rem;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	z-index: 500;
}

.floating-whatsapp:hover {
	box-shadow: 0 22px 40px rgba(21, 128, 61, 0.35);
	transform: translateY(-3px);
}

.floating-whatsapp__icon {
	font-size: 1.65rem;
}

.floating-whatsapp__label {
	font-size: 0.95rem;
	font-weight: var(--font-semibold);
}

.bg-aurora {
	bottom: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
	position: fixed;
	right: 0;
	top: 0;
	z-index: -20;
}

.bg-aurora .blob {
	animation: auroraFloat 36s ease-in-out infinite;
	border-radius: 50%;
	filter: blur(120px);
	height: 45vw;
	max-height: 560px;
	max-width: 560px;
	opacity: 0.45;
	position: absolute;
	width: 45vw;
}

.bg-aurora .blob.b1 {
	background: radial-gradient(circle, rgba(37, 99, 235, 0.55) 0%, transparent 70%);
	left: -10vw;
	top: -15vh;
}

.bg-aurora .blob.b2 {
	animation-delay: 6s;
	background: radial-gradient(circle, rgba(84, 232, 232, 0.5) 0%, transparent 70%);
	right: -12vw;
	top: 15vh;
}

.bg-aurora .blob.b3 {
	animation-delay: 12s;
	background: radial-gradient(circle, rgba(34, 197, 94, 0.45) 0%, transparent 65%);
	bottom: -18vh;
	left: 10vw;
}

.bg-aurora .blob.b4 {
	animation-delay: 18s;
	background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, transparent 65%);
	right: 5vw;
	bottom: -20vh;
}

@keyframes auroraFloat {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	33% { transform: translate3d(8%, -6%, 0) scale(1.05); }
	66% { transform: translate3d(-6%, 8%, 0) scale(0.96); }
	100% { transform: translate3d(0, 0, 0) scale(1); }
}

.custom-alert {
	background: #ffffff;
	border-left: 4px solid var(--color-primary);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	min-width: min(320px, calc(100% - 2rem));
	opacity: 0;
	padding: 1rem 1.25rem;
	position: fixed;
	right: 1.5rem;
	top: 1.5rem;
	transform: translateY(-12px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 9999;
}

.custom-alert.show {
	opacity: 1;
	transform: translateY(0);
}

.custom-alert.success { border-left-color: #22c55e; }
.custom-alert.error { border-left-color: #ef4444; }
.custom-alert.info { border-left-color: var(--color-primary); }

.custom-alert-content {
	align-items: center;
	display: flex;
	gap: 0.85rem;
	justify-content: space-between;
}

.custom-alert-message {
	color: var(--text-primary);
	font-size: 0.95rem;
	line-height: 1.4;
}

.custom-alert-close {
	background: transparent;
	border: none;
	color: var(--text-secondary);
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
	padding: 0;
}

.custom-alert-close:hover {
	color: var(--text-primary);
}

@media (max-width: 640px) {
	.floating-whatsapp {
		bottom: 1.25rem;
		right: 1.25rem;
		padding: 0.75rem;
	}

	.floating-whatsapp__label {
		display: none;
	}

	.custom-alert {
		left: 1rem;
		right: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ========================================
   HERO BACKGROUND ELEMENTS
   ======================================== */

.hero-shape {
	animation: float 20s infinite ease-in-out;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.3;
	position: absolute;
	z-index: -1;
}

.hero-shape-1 {
	animation-delay: 0s;
	background: var(--color-primary);
	height: 300px;
	left: 10%;
	top: 20%;
	width: 300px;
}

.hero-shape-2 {
	animation-delay: 5s;
	background: var(--color-secondary);
	height: 250px;
	right: 15%;
	top: 60%;
	width: 250px;
}

.hero-shape-3 {
	animation-delay: 10s;
	background: var(--hover-primary);
	bottom: 20%;
	height: 200px;
	left: 60%;
	width: 200px;
}

@keyframes float {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	33% { transform: translate(30px, -30px) rotate(120deg); }
	66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-grid {
	background-image: 
		linear-gradient(rgba(37, 99, 235, 0.02) 1px, transparent 1px),
		linear-gradient(90deg, rgba(37, 99, 235, 0.02) 1px, transparent 1px);
	background-size: 30px 30px;
	height: 100%;
	opacity: 0.5;
	width: 100%;
}

.solution-grid-pattern {
	background-image:
		linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
	background-position: 0 0;
	background-repeat: repeat;
	background-size: 30px 30px;
}

.gradient-icon {
	background: linear-gradient(135deg, #2563eb 0%, #54e8e8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.animation-delay-1000 {
	animation-delay: 1s;
}

/* ========================================
   HERO PRODUCT ANIMATIONS
   ======================================== */

.image-glow {
	animation: pulse-glow 3s infinite;
	background: radial-gradient(circle, var(--color-secondary), transparent 70%);
	border-radius: 50%;
	height: 70%;
	left: 50%;
	opacity: 0.2;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 70%;
	z-index: -1;
}

@keyframes pulse-glow {
	0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
	50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

.float-product {
	animation: float-product 6s infinite ease-in-out;
}

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

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

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

/* ========================================
   404 PAGE ANIMATIONS
   ======================================== */

.glitch {
	animation: glitch 4s ease-in-out infinite;
}

@keyframes glitch {
	0%, 80%, 100% { 
		transform: translate(0, 0) skew(0deg) scale(1); 
		filter: blur(0);
	}
	82% { 
		transform: translate(-4px, 3px) skew(1deg) scale(1.01); 
		filter: blur(0.5px);
	}
	84% { 
		transform: translate(4px, -3px) skew(-1deg) scale(0.99); 
	}
	86% { 
		transform: translate(-3px, -4px) skew(0.8deg) scale(1.01); 
	}
	88% { 
		transform: translate(3px, 4px) skew(-0.8deg) scale(0.99); 
	}
	90% { 
		transform: translate(-4px, 2px) skew(0.5deg) scale(1); 
	}
}

.bounce-icon {
	animation: bounce-icon 2s infinite;
}

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

