* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
	--primary: #4f46e5;
	--primary-dark: #3730a3;
	--secondary: #7c3aed;
	--text: #1f2937;
	--muted: #6b7280;
	--light: #f8fafc;
	--white: #ffffff;
	--shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
	--shadow-sm: 0 4px 12px rgba(31, 41, 55, 0.08);
	--transition: all 0.35s ease;
	--border-radius: 20px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--light);
	color: var(--text);
	line-height: 1.7;
	overflow-x: hidden;
}

header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(14px);
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
	position: sticky;
	top: 0;
	z-index: 100;
}

.navbar-container {
	max-width: 1100px;
	margin: auto;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	color: var(--primary);
	font-size: 26px;
	font-weight: 800;
	text-decoration: none;
	transition: var(--transition);
	letter-spacing: -0.5px;
}

.logo:hover {
	transform: translateY(-2px);
	color: var(--primary-dark);
}

.nav-links {
	display: flex;
	gap: 28px;
	list-style: none;
}

.nav-links a {
	position: relative;
	text-decoration: none;
	color: var(--text);
	font-weight: 600;
	font-size: 15px;
	transition: var(--transition);
}

.nav-links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	border-radius: 999px;
}

.nav-links a:hover {
	color: var(--primary);
}

.nav-links a:hover::after {
	width: 100%;
}

.menu-btn {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
	width: 40px;
	height: 30px;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	gap: 5px;
	transition: var(--transition);
}

.menu-btn span {
	display: block;
	width: 25px;
	height: 3px;
	background: var(--primary);
	border-radius: 999px;
	transition: var(--transition);
}

.hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 20px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	color: white;
	text-align: center;
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		circle at 50% 0%,
		rgba(255, 255, 255, 0.1),
		transparent 70%
	);
}

.hero-shapes {
	position: absolute;
	inset: 0;
}

.shape {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	filter: blur(40px);
}

.shape-1 {
	width: 300px;
	height: 300px;
	top: -50px;
	left: -50px;
	animation: float 8s ease-in-out infinite;
}

.shape-2 {
	width: 250px;
	height: 250px;
	bottom: 10%;
	right: 5%;
	animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
	width: 200px;
	height: 200px;
	top: 50%;
	right: 10%;
	animation: float 12s ease-in-out infinite;
	animation-delay: 2s;
}

.hero-text {
	position: relative;
	max-width: 820px;
	z-index: 2;
	animation: slideUp 0.8s ease-out;
}

.badge,
.section-label {
	display: inline-block;
	color: var(--primary);
	background: rgba(79, 70, 229, 0.1);
	padding: 10px 16px;
	border-radius: 999px;
	margin-bottom: 20px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.hero .badge {
	color: white;
	background: rgba(255, 255, 255, 0.15);
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
	font-size: clamp(38px, 6vw, 64px);
	line-height: 1.2;
	margin-bottom: 24px;
	font-weight: 900;
	animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero p {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.95);
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
	margin-top: 40px;
	animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 12px;
	text-decoration: none;
	margin: 8px;
	font-weight: 700;
	font-size: 16px;
	transition: var(--transition);
	border: 2px solid transparent;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	transition: left 0.4s ease;
	z-index: -1;
}

.btn:hover::before {
	left: 100%;
}

.btn:hover {
	transform: translateY(-4px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.primary {
	background: var(--white);
	color: var(--primary);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.primary:hover {
	background: #f0f0f0;
}

.secondary {
	border: 2px solid var(--white);
	color: var(--white);
	background: transparent;
}

.secondary:hover {
	background: rgba(255, 255, 255, 0.1);
}

.section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 90px 20px;
	text-align: center;
}

.section-content {
	width: 100%;
}

.section h2 {
	font-size: clamp(32px, 5vw, 48px);
	margin-bottom: 24px;
	color: #111827;
	font-weight: 900;
}

.section-desc {
	max-width: 780px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.8;
}

.product-container,
.advantage-container,
.testimonials-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 48px;
}

.product-card,
.advantage-card,
.testimonial {
	background: var(--white);
	padding: 32px 24px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	border: 1px solid rgba(79, 70, 229, 0.1);
	position: relative;
}

.product-card::before,
.advantage-card::before,
.testimonial::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	border-radius: var(--border-radius) var(--border-radius) 0 0;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.product-card:hover::before,
.advantage-card:hover::before,
.testimonial:hover::before {
	opacity: 1;
}

.product-card:hover,
.advantage-card:hover,
.testimonial:hover {
	transform: translateY(-12px);
	box-shadow: var(--shadow);
}

.product-icon,
.advantage-icon {
	font-size: 48px;
	margin-bottom: 16px;
	animation: bounce 2s ease-in-out infinite;
}

.product-card h3,
.advantage-card h3,
.testimonial strong {
	color: var(--primary);
	margin-bottom: 14px;
	font-size: 18px;
	font-weight: 800;
}

.product-card p,
.advantage-card p,
.testimonial p {
	color: var(--muted);
	font-size: 15px;
	margin-bottom: 12px;
	line-height: 1.6;
}

.product-card h4 {
	margin: 20px 0 16px;
	font-size: 26px;
	color: var(--primary);
	font-weight: 900;
}

.product-btn {
	border: none;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: white;
	padding: 12px 24px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 700;
	transition: var(--transition);
	font-size: 15px;
	width: 100%;
}

.product-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.product-btn:active {
	transform: translateY(-1px);
}

.empty-state {
	grid-column: 1 / -1;
	background: white;
	padding: 20px;
	border-radius: 16px;
	box-shadow: var(--shadow-sm);
	color: var(--muted);
}

.admin-page {
	min-height: 80vh;
}

.admin-form,
.edit-form {
	display: grid;
	gap: 12px;
	max-width: 640px;
	margin: 24px auto 32px;
	text-align: left;
}

.admin-form input,
.admin-form textarea,
.edit-form input,
.edit-form textarea {
	padding: 12px 14px;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	font-size: 15px;
}

.admin-form textarea,
.edit-form textarea {
	min-height: 100px;
	resize: vertical;
}

.message-box {
	margin: 20px auto 0;
	padding: 12px 16px;
	border-radius: 10px;
	background: #ecfdf3;
	color: #047857;
	max-width: 640px;
}

.admin-list {
	display: grid;
	gap: 18px;
	margin-top: 24px;
}

.admin-card {
	background: white;
	padding: 22px;
	border-radius: 16px;
	box-shadow: var(--shadow-sm);
	text-align: left;
}

.admin-card h3 {
	margin-bottom: 10px;
	color: var(--primary);
}

.price {
	font-weight: 700;
	color: var(--primary-dark);
	margin: 12px 0;
}

.admin-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.inline-form {
	display: inline-block;
}

.advantage-section {
	background: linear-gradient(
		135deg,
		rgba(79, 70, 229, 0.03),
		rgba(124, 58, 237, 0.03)
	);
}

.testimonial-stars {
	display: inline-block;
	font-size: 16px;
	margin-bottom: 12px;
}

.testimonial-role {
	display: block;
	font-size: 12px;
	color: var(--secondary);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	margin-top: 10px;
}

.contact-section {
	background: linear-gradient(
		135deg,
		rgba(79, 70, 229, 0.08),
		rgba(124, 58, 237, 0.08)
	);
	border-radius: 32px;
	margin-bottom: 80px;
}

.contact-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 32px;
	flex-wrap: wrap;
}

.contact-btn {
	background: var(--primary);
	color: white;
	margin: 0;
	box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.contact-btn:hover {
	box-shadow: 0 15px 40px rgba(79, 70, 229, 0.5);
}

.email-link {
	background: var(--secondary);
	box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.email-link:hover {
	box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

.contact-info {
	margin-top: 32px;
	color: var(--muted);
}

.contact-response {
	font-size: 14px;
	margin-top: 8px;
	font-weight: 600;
	color: var(--primary);
}

footer {
	text-align: center;
	padding: 10px 20px;
	background: linear-gradient(135deg, #111827, #1f2937);
	color: white;
}

.footer-content p {
	margin: 8px 0;
}

.footer-tagline {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 12px;
}

.reveal {
	opacity: 0;
	transform: translateY(48px);
	transition:
		opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
		transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

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

.reveal-card.active {
	opacity: 1;
	transform: translateY(0);
}

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

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

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

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

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
	.menu-btn {
		display: flex;
	}

	.nav-links {
		position: fixed;
		top: 70px;
		right: 0;
		width: 100%;
		height: calc(100vh - 70px);
		display: flex;
		flex-direction: column;
		gap: 12px;
		background: white;
		padding: 28px 20px;
		border-radius: 0;
		box-shadow: var(--shadow);
		opacity: 0;
		pointer-events: none;
		transform: translateX(100%);
		transition: var(--transition);
		z-index: 99;
	}

	.nav-links.active {
		opacity: 1;
		pointer-events: auto;
		transform: translateX(0);
	}

	.nav-links a {
		font-size: 16px;
		padding: 12px 0;
	}

	.hero {
		min-height: 85vh;
		padding: 80px 20px;
	}

	.product-container,
	.advantage-container,
	.testimonials-container {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.section {
		padding: 60px 20px;
	}

	.section h2 {
		margin-bottom: 20px;
	}

	.hero-buttons {
		display: flex;
		flex-direction: column;
		gap: 12px;
		align-items: center;
	}

	.btn {
		width: 100%;
		max-width: 280px;
	}

	.contact-buttons {
		flex-direction: column;
	}

	.contact-btn {
		width: 100%;
	}

	.product-card,
	.advantage-card,
	.testimonial {
		padding: 24px 20px;
	}
}

@media (max-width: 480px) {
	.logo {
		font-size: 20px;
	}

	.navbar-container {
		padding: 12px 16px;
	}

	.nav-links {
		width: 100%;
	}

	.hero {
		min-height: 80vh;
		padding: 60px 16px;
	}

	.hero h1 {
		font-size: 28px;
	}

	.hero p {
		font-size: 15px;
	}

	.btn {
		padding: 12px 24px;
		font-size: 14px;
		margin: 6px 0;
	}

	.section {
		padding: 50px 16px;
	}

	.section h2 {
		font-size: 26px;
	}

	.section-label {
		font-size: 12px;
	}

	.product-icon,
	.advantage-icon {
		font-size: 36px;
	}

	.product-card h3,
	.advantage-card h3 {
		font-size: 16px;
	}

	.product-card p,
	.advantage-card p {
		font-size: 14px;
	}
}

.market-header {
	background: rgba(255,255,255,0.94);
	backdrop-filter: blur(10px);
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cart-link,
.login-link {
	text-decoration: none;
	color: var(--primary);
	font-weight: 700;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(79, 70, 229, 0.08);
}

.marketplace-hero {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr;
	gap: 28px;
	align-items: center;
	text-align: left;
}

.hero-copy {
	max-width: 680px;
}

.hero-card {
	background: rgba(255,255,255,0.16);
	padding: 24px;
	border-radius: 24px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.25);
}

.hero-card h3 {
	margin-bottom: 12px;
	font-size: 22px;
}

.hero-card ul {
	margin-top: 14px;
	padding-left: 18px;
	color: rgba(255,255,255,0.92);
}

.hero-highlights {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.hero-highlights div {
	background: rgba(255,255,255,0.18);
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 14px;
}

.section-sm {
	padding-top: 20px;
	padding-bottom: 0;
}

.section-heading {
	margin-bottom: 24px;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.category-card {
	background: white;
	padding: 22px;
	border-radius: 18px;
	box-shadow: var(--shadow-sm);
}

.category-card h3 {
	margin-bottom: 8px;
	color: var(--primary);
}

.product-badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(79, 70, 229, 0.1);
	color: var(--primary);
	font-size: 12px;
	font-weight: 700;
}

.product-image-wrap {
	margin-bottom: 14px;
	border-radius: 16px;
	overflow: hidden;
	background: #fff7ed;
	aspect-ratio: 4 / 3;
}

.product-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product-meta {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--muted);
	margin: 12px 0;
}

.product-form {
	margin-top: 10px;
}

.auth-card,
.checkout-card,
.summary-card {
	background: white;
	padding: 24px;
	border-radius: 20px;
	box-shadow: var(--shadow-sm);
	max-width: 760px;
	margin: 0 auto;
}

.auth-form,
.checkout-form {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.auth-form input,
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
	padding: 12px 14px;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	font-size: 15px;
}

.checkout-layout {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 24px;
	align-items: start;
}

.cart-item {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #e5e7eb;
}

.cart-total {
	font-size: 22px;
	font-weight: 800;
	color: var(--primary);
	margin-top: 12px;
}

.success {
	background: #ecfdf3;
	color: #047857;
}

.error {
	background: #fef2f2;
	color: #b91c1c;
}

@media (max-width: 900px) {
	.marketplace-hero,
	.checkout-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.category-grid {
		grid-template-columns: 1fr;
	}

	.nav-right {
		margin-top: 10px;
	}
}

