<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Femicore - Cookie Consent</title>
<!-- Importing Tailwind CSS for styling -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Importing Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
/* Simulating the background of the provided image */
background-color: #f8f9fa;
background-image: radial-gradient(circle at 70% 50%, #ffffff 0%, #f0f2f5 100%);
margin: 0;
padding: 0;
overflow: hidden; /* Prevent scrolling while modal is open */
}
.heading-font {
font-family: 'Playfair Display', serif;
}
/* Simulating the background content to look like the second image */
.mock-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
filter: blur(2px) brightness(0.9); /* Blur effect for focus on modal */
display: flex;
flex-direction: column;
}
.top-bar {
background-color: white;
font-size: 0.7rem;
color: #666;
text-align: center;
padding: 4px 0;
border-bottom: 1px solid #eee;
}
.nav-section {
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem 10%;
}
.logo {
font-family: 'Playfair Display', serif;
font-size: 2rem;
font-weight: 700;
letter-spacing: 2px;
color: #333;
}
.nav-links a {
margin-left: 2rem;
color: #555;
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
}
.hero-section {
display: flex;
padding: 2rem 10%;
flex: 1;
}
.hero-text {
width: 50%;
padding-top: 4rem;
}
.hero-title {
font-size: 3rem;
font-weight: 700;
line-height: 1.2;
color: #2d3748;
margin-bottom: 2rem;
}
.order-btn {
background: linear-gradient(to right, #f6a071, #e87c51);
color: white;
padding: 1rem 2.5rem;
border-radius: 9999px;
font-weight: bold;
font-size: 1.1rem;
border: none;
box-shadow: 0 4px 14px 0 rgba(232, 124, 81, 0.39);
cursor: pointer;
}
.badges {
display: flex;
gap: 1rem;
margin-top: 3rem;
}
.badge-circle {
width: 60px;
height: 60px;
border-radius: 50%;
border: 1px solid #ccc;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.6rem;
text-align: center;
color: #555;
}
.hero-image {
width: 50%;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.bottle-mock {
width: 300px;
height: 400px;
background-color: #e2e8f0;
border-radius: 20px 20px 10px 10px;
position: relative;
box-shadow: -10px 10px 30px rgba(0,0,0,0.1);
}
.bottle-cap {
width: 140px;
height: 60px;
background-color: #cbd5e1;
position: absolute;
top: -60px;
left: 50%;
transform: translateX(-50%);
border-radius: 10px 10px 0 0;
}
.bottle-label {
position: absolute;
bottom: 20px;
left: 20px;
right: 20px;
height: 150px;
background-color: white;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Playfair Display', serif;
font-size: 2rem;
font-weight: bold;
color: #333;
border: 2px solid #e2e8f0;
}
.bottom-banner {
background-color: #f38ba0;
color: white;
display: flex;
justify-content: space-around;
padding: 1.5rem;
font-weight: bold;
font-size: 0.9rem;
}
/* Cookie Modal Styles */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
justify-content: center;
align-items: center;
z-index: 50;
}
.cookie-modal {
background-color: white;
border-radius: 16px;
padding: 24px;
width: 90%;
max-width: 450px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
position: relative;
text-align: center;
animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
from { opacity: 0; transform: translateY(-20px) scale(0.95); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.close-btn {
position: absolute;
top: 16px;
right: 16px;
font-size: 0.875rem;
color: #6b7280;
background: none;
border: none;
cursor: pointer;
font-weight: 500;
}
.close-btn:hover {
color: #111827;
}
.cookie-icon {
font-size: 48px;
margin-bottom: 16px;
display: inline-block;
}
.modal-title {
font-size: 1.25rem;
font-weight: 700;
color: #111827;
margin-bottom: 12px;
}
.modal-text {
font-size: 0.875rem;
color: #4b5563;
line-height: 1.5;
margin-bottom: 24px;
}
.brand-name {
font-weight: 600;
color: #111827;
}
.accept-btn {
/* Adapting button color to Femicore's orange/peach theme */
background: linear-gradient(to right, #f6a071, #e87c51);
color: white;
width: 100%;
max-width: 200px;
padding: 12px 24px;
border-radius: 8px;
font-weight: 600;
font-size: 1rem;
border: none;
cursor: pointer;
box-shadow: 0 4px 6px -1px rgba(232, 124, 81, 0.2), 0 2px 4px -1px rgba(232, 124, 81, 0.1);
transition: transform 0.1s, box-shadow 0.1s;
margin-bottom: 12px;
}
.accept-btn:hover {
transform: translateY(-1px);
box-shadow: 0 6px 8px -1px rgba(232, 124, 81, 0.3), 0 4px 6px -1px rgba(232, 124, 81, 0.2);
}
.accept-btn:active {
transform: translateY(1px);
}
.preferences-link {
display: block;
font-size: 0.75rem;
color: #6b7280;
text-decoration: none;
background: none;
border: none;
cursor: pointer;
margin: 0 auto;
}
.preferences-link:hover {
color: #374151;
text-decoration: underline;
}
</style>
</head>
<body>
<!-- Mock Background representing the Femicore site -->
<div class="mock-background" aria-hidden="true">
<div class="top-bar">
CLICKBANK | CONFIÁVEL & SEGURO
</div>
<nav class="nav-section">
<div class="logo">FEMICORE</div>
<div class="nav-links">
<a href="#">Ingredients</a>
<a href="#">FREE Bonuses</a>
<a href="#">FAQ</a>
</div>
</nav>
<main class="hero-section">
<div class="hero-text">
<h1 class="hero-title">The Natural Breakthrough<br>Formula That Supports a<br>Strong Bladder</h1>
<button class="order-btn" tabindex="-1">ORDER NOW</button>
<div class="badges">
<div class="badge-circle">GMP</div>
<div class="badge-circle">USA</div>
<div class="badge-circle">NATURAL</div>
<div class="badge-circle">FDA</div>
<div class="badge-circle">NON GMO</div>
</div>
</div>
<div class="hero-image">
<!-- Simple CSS representation of the bottle -->
<div class="bottle-mock">
<div class="bottle-cap"></div>
<div class="bottle-label">FEMICORE</div>
</div>
</div>
</main>
<footer class="bottom-banner">
<div>✓ BLADDER CONTROL SUPPORT</div>
<div>✓ MICROBIOME BALANCE</div>
<div>✓ HEALTHY URINARY SYSTEM</div>
</footer>
</div>
<!-- Cookie Consent Modal -->
<div class="modal-overlay" id="cookieOverlay" role="dialog" aria-modal="true" aria-labelledby="cookieModalTitle">
<div class="cookie-modal">
<!-- Close Button -->
<button class="close-btn" id="closeModalBtn" aria-label="Close cookie consent">
Close
</button>
<!-- Cookie Icon (Using Emoji as requested for simple assets) -->
<div class="cookie-icon" aria-hidden="true">
🍪
</div>
<!-- Content -->
<h2 id="cookieModalTitle" class="modal-title">Cookie Consent</h2>
<p class="modal-text">
<span class="brand-name">Femicore</span> uses cookies to improve your browsing experience, provide personalized ads or content, and analyze traffic. By clicking "Accept," you consent to the use of cookies.
</p>
<!-- Actions -->
<button class="accept-btn" id="acceptCookiesBtn">
Accept
</button>
<button class="preferences-link" id="preferencesBtn">
Preferences
</button>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
const overlay = document.getElementById('cookieOverlay');
const closeBtn = document.getElementById('closeModalBtn');
const acceptBtn = document.getElementById('acceptCookiesBtn');
const preferencesBtn = document.getElementById('preferencesBtn');
// Function to handle closing the modal
const closeModal = () => {
// Add a fade out animation
overlay.style.transition = 'opacity 0.2s ease-out';
overlay.style.opacity = '0';
// Remove blur from background
const bg = document.querySelector('.mock-background');
bg.style.transition = 'filter 0.3s ease-out';
bg.style.filter = 'none';
// Restore body scrolling
document.body.style.overflow = 'auto';
// Remove from DOM after animation
setTimeout(() => {
overlay.style.display = 'none';
}, 200);
};
// Event Listeners
closeBtn.addEventListener('click', closeModal);
acceptBtn.addEventListener('click', () => {
// Here you would typically save the consent state (e.g., in localStorage or a real cookie)
console.log('Cookies accepted');
closeModal();
});
preferencesBtn.addEventListener('click', () => {
// In a real application, this would open a more detailed settings panel
console.log('Opening preferences panel');
alert('This would open detailed cookie preferences.');
});
// Prevent clicks inside the modal from closing it when clicking on the overlay
overlay.addEventListener('click', (e) => {
if (e.target === overlay) {
// Optional: click outside modal to close
// closeModal();
}
});
});
</script>
</body>
</html>