/* =========================================================
   FRESHNIYAH - BASE DESIGN SYSTEM (v5 - slide-in mobile drawer)
   ========================================================= */

:root {
	--fn-bg: #FFF9F4;
	--fn-surface: rgba(255, 255, 255, 0.75);
	--fn-border: rgba(255, 255, 255, 0.6);
	--fn-text: #2E2A33;
	--fn-text-muted: #6B6470;

	--fn-pink: #FF9ECF;
	--fn-yellow: #FFE79A;
	--fn-sky: #9EDCFF;

	--fn-pink-soft: rgba(255, 158, 207, 0.25);
	--fn-yellow-soft: rgba(255, 231, 154, 0.25);
	--fn-sky-soft: rgba(158, 220, 255, 0.30);

	--fn-font-heading: 'Space Grotesk', sans-serif;
	--fn-font-body: 'Inter', sans-serif;

	--fn-space-1: 4px;  --fn-space-2: 8px;  --fn-space-3: 12px;
	--fn-space-4: 16px; --fn-space-5: 24px; --fn-space-6: 32px;
	--fn-space-7: 48px; --fn-space-8: 64px;

	--fn-radius-button: 999px;
	--fn-radius-card: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	background: var(--fn-bg);
	color: var(--fn-text);
	font-family: var(--fn-font-body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--fn-font-heading);
	font-weight: 600;
	margin-bottom: var(--fn-space-4);
}

a { color: var(--fn-text); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================================
   ANIMATED CLOUD BACKGROUND
   ========================================================= */
.fn-background {
	position: fixed; inset: 0; z-index: -1; overflow: hidden;
	background: linear-gradient(135deg, #FDEEF5 0%, #F3EFE8 45%, #EAF6FF 100%);
}

.fn-mouse-follower {
	position: absolute; width: 450px; height: 450px;
	background: conic-gradient(
		from 0deg,
		rgba(255, 158, 207, 0.3),
		rgba(255, 231, 154, 0.3),
		rgba(158, 220, 255, 0.3),
		rgba(255, 158, 207, 0.3)
	);
	border-radius: 50%;
	filter: blur(55px);
	pointer-events: none;
	transition: left 0.15s ease, top 0.15s ease;
	animation: fn-glow-shift 6s linear infinite;
}
@keyframes fn-glow-shift {
	0%   { filter: blur(55px) hue-rotate(0deg); }
	50%  { filter: blur(55px) hue-rotate(25deg); }
	100% { filter: blur(55px) hue-rotate(0deg); }
}

.fn-blob {
	position: absolute; border-radius: 50%; filter: blur(60px);
	animation: fn-float 8s ease-in-out infinite;
}
.fn-blob-1 { top: 10%; left: 8%; width: 320px; height: 320px; background: rgba(255, 158, 207, 0.55); }
.fn-blob-2 { bottom: 15%; right: 10%; width: 380px; height: 380px; background: rgba(158, 220, 255, 0.55); animation-delay: 2s; }
.fn-blob-3 { top: 45%; left: 50%; width: 260px; height: 260px; background: rgba(255, 231, 154, 0.6); animation-delay: 4s; }

@keyframes fn-float {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-25px) scale(1.08); }
}

/* =========================================================
   LAYOUT
   ========================================================= */
.fn-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 60px);
}

/* =========================================================
   HEADER (Desktop: Logo left, Menu center, Cart right)
   ========================================================= */
#site-header {
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--fn-border);
	position: sticky; top: 0; z-index: 100;
	width: 100%;
}

.fn-header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: var(--fn-space-4);
	padding: clamp(12px, 2vw, 20px) 0;
}

.fn-logo        { grid-column: 1; justify-self: start; }
.fn-main-nav    { grid-column: 2; justify-self: center; }
.fn-header-cart { grid-column: 3; justify-self: end; }
.fn-menu-toggle { display: none; }
.fn-cart-mobile { display: none; }

.fn-logo-text {
	font-family: var(--fn-font-heading);
	font-size: clamp(18px, 3vw, 24px);
	font-weight: 700;
}

.fn-menu {
	display: flex; gap: clamp(14px, 3vw, 28px);
	list-style: none; flex-wrap: wrap;
	align-items: center;
}
.fn-menu a { font-weight: 500; }

.fn-icon-cart {
	border: 1px solid var(--fn-border);
	background: rgba(255, 255, 255, 0.5);
	padding: var(--fn-space-2) var(--fn-space-4);
	border-radius: var(--fn-radius-button);
	font-size: 14px;
}

.fn-menu-toggle {
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 210;
}
.fn-menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--fn-text);
	border-radius: 2px;
	transition: all 0.3s ease;
}
.fn-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fn-menu-toggle.active span:nth-child(2) { opacity: 0; }
.fn-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   MOBILE BLUR OVERLAY (behind slide-in drawer)
   ========================================================= */
.fn-menu-overlay {
	position: fixed; inset: 0;
	background: rgba(46, 42, 51, 0.25);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 190;
}
.fn-menu-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

/* =========================================================
   HERO
   ========================================================= */
.fn-hero {
	padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 72px);
	text-align: center;
	position: relative; z-index: 1;
}
.fn-hero h1 { font-size: clamp(1.8rem, 5vw, 3.8rem); line-height: 1.2; }
.fn-hero p {
	font-size: clamp(0.95rem, 2.2vw, 1.25rem);
	color: var(--fn-text-muted);
	max-width: 700px; margin: 0 auto var(--fn-space-5);
}

/* =========================================================
   GLASS CARD
   ========================================================= */
.fn-card {
	background: var(--fn-surface);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--fn-border);
	border-radius: var(--fn-radius-card);
	padding: clamp(20px, 3vw, 40px);
	transition: all 0.3s ease;
}
.fn-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(255, 158, 207, 0.2);
}

.fn-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: clamp(16px, 2.5vw, 30px);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.fn-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: clamp(12px, 2vw, 16px) clamp(20px, 3.5vw, 32px);
	border-radius: var(--fn-radius-button);
	font-weight: 600; font-size: clamp(14px, 2vw, 16px);
	border: none; cursor: pointer; transition: all 0.3s ease;
}
.fn-btn-primary {
	background: linear-gradient(135deg, var(--fn-pink) 0%, var(--fn-sky) 100%);
	color: #fff;
}
.fn-btn-primary:hover { transform: scale(1.05); box-shadow: 0 15px 30px var(--fn-pink-soft); }

/* =========================================================
   PAGE
   ========================================================= */
.fn-page { padding: clamp(40px, 6vw, 72px) 0; position: relative; z-index: 1; }
.fn-page-title { font-size: clamp(1.6rem, 5vw, 2.5rem); }

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
	background: rgba(255, 255, 255, 0.5);
	border-top: 1px solid var(--fn-border);
	padding: var(--fn-space-6) 0;
	margin-top: var(--fn-space-8);
	position: relative; z-index: 1;
}
.fn-footer-inner {
	display: flex; flex-wrap: wrap; justify-content: space-between;
	align-items: center; gap: var(--fn-space-4);
}
.fn-footer-logo { font-family: var(--fn-font-heading); font-weight: 700; }
.fn-footer-tagline { color: var(--fn-text-muted); font-size: 14px; }
.fn-footer-menu { display: flex; gap: var(--fn-space-4); list-style: none; flex-wrap: wrap; }
.fn-footer-copy p { color: var(--fn-text-muted); font-size: 13px; }

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

@media (max-width: 992px) {
	.fn-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 60px); }
}

/* Mobile: Logo left, Hamburger right, Nav becomes a slide-in drawer from the right */
@media (max-width: 768px) {

	.fn-header-inner {
		grid-template-columns: 1fr auto;
	}

	.fn-logo        { grid-column: 1; justify-self: start; }
	.fn-header-cart { display: none; }
	.fn-menu-toggle { display: flex; grid-column: 2; justify-self: end; }

	.fn-main-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: min(300px, 80vw);
		height: 100vh;
		background: rgba(255, 255, 255, 0.85);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
		padding: 100px var(--fn-space-6) var(--fn-space-6);
		transition: right 0.35s ease;
		z-index: 200;
		display: flex;
		flex-direction: column;
	}
	.fn-main-nav.active {
		right: 0;
	}

	.fn-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--fn-space-5);
	}

	.fn-cart-mobile {
		display: inline-block;
		margin-top: var(--fn-space-6);
	}

	.fn-grid { grid-template-columns: 1fr; }
	.fn-footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
	.fn-hero h1 { font-size: 1.8rem; }
	.fn-btn { padding: 12px 20px; font-size: 14px; }
	.fn-icon-cart { padding: 8px 14px; font-size: 13px; }
}