Compare commits

...

3 Commits

Author SHA1 Message Date
Norbert Maciaszek
eb6fdadca9 refactor: Reimplement the person profile header, update active navigation link, and adjust updates page content width. 2025-12-28 23:45:47 +01:00
Norbert Maciaszek
cb459990a2 update ui sidebar 2025-12-28 23:05:41 +01:00
Norbert Maciaszek
69069587c5 make more AI 2025-12-28 21:24:48 +01:00
22 changed files with 3038 additions and 1335 deletions

View File

@@ -13,40 +13,71 @@
<body class="bg-gray-50 min-h-screen font-sans">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col shrink-0">
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->

View File

@@ -14,45 +14,75 @@
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col shrink-0">
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8">
<header class="mb-12">
<h2 class="text-4xl font-black text-gray-900 leading-tight mb-4">Centrum Inspiracji</h2>
<h2 class="text-4xl font-black text-gray-900 leading-tight mb-4">Centrum Poradników</h2>
<p class="text-lg text-gray-500 font-medium max-w-2xl leading-relaxed">Odkryj sekrety trafionych prezentów. Nasze poradniki pomogą Ci wybrać idealny upominek, niezależnie od budżetu czy okazji.</p>
</header>

158
budget-locked.html Normal file
View File

@@ -0,0 +1,158 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Analiza Budżetu (Zablokowana) - Gift Planner</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8 pb-24 md:pb-8">
<header class="mb-10">
<h2 class="text-3xl font-black text-gray-900 leading-tight">Analiza Wydatków</h2>
<div class="flex items-center gap-2">
<p class="text-gray-500 font-medium">Sprawdź ile wydajesz na prezenty.</p>
<span class="bg-gray-200 text-gray-600 text-[10px] font-black px-2 py-0.5 rounded uppercase">Wersja Podstawowa</span>
</div>
</header>
<!-- Top Stats (Simplified) -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-10">
<div class="bg-white p-6 rounded-[2rem] border border-gray-50 shadow-sm">
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-1">Całkowity Budżet 2025</p>
<h3 class="text-2xl font-black text-gray-900 leading-none">12 400 PLN</h3>
</div>
<div class="bg-indigo-600 p-6 rounded-[2rem] text-white shadow-xl shadow-indigo-100">
<p class="text-[10px] font-black text-indigo-200 uppercase tracking-widest mb-1">Wykorzystano do dziś</p>
<h3 class="text-2xl font-black leading-none">8 250 PLN</h3>
</div>
</div>
<!-- Gated Analytics Section -->
<section class="bg-white rounded-[3rem] p-8 lg:p-12 mb-10 border border-gray-100 shadow-sm relative overflow-hidden">
<div class="flex flex-col items-center text-center max-w-2xl mx-auto py-12">
<div class="w-20 h-20 bg-indigo-50 rounded-[2rem] flex items-center justify-center text-indigo-600 mb-8 shadow-inner">
<i data-lucide="lock" class="w-10 h-10"></i>
</div>
<h3 class="text-4xl font-black text-gray-900 mb-4 tracking-tight">Odblokuj pełną kontrolę nad budżetem</h3>
<p class="text-gray-500 text-lg mb-10 font-medium leading-relaxed">
Twoja darmowa analiza obejmuje tylko podstawowe statystyki. Wykup pakiet <strong>"Kontrola budżetu"</strong>, aby odblokować wykresy miesięczne, podział na okazje oraz inteligentne prognozy AI.
</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 w-full mb-12">
<div class="p-6 bg-gray-50 rounded-3xl border border-gray-100">
<i data-lucide="bar-chart-3" class="w-6 h-6 text-indigo-400 mb-3 mx-auto"></i>
<p class="text-xs font-black text-gray-900 uppercase">Wykresy Roczne</p>
</div>
<div class="p-6 bg-gray-50 rounded-3xl border border-gray-100">
<i data-lucide="pie-chart" class="w-6 h-6 text-indigo-400 mb-3 mx-auto"></i>
<p class="text-xs font-black text-gray-900 uppercase">Podział Wydatków</p>
</div>
<div class="p-6 bg-gray-50 rounded-3xl border border-gray-100">
<i data-lucide="brain-circuit" class="w-6 h-6 text-indigo-400 mb-3 mx-auto"></i>
<p class="text-xs font-black text-gray-900 uppercase">Prognozy AI</p>
</div>
</div>
<button onclick="window.location.href='settings.html'" class="gradient-bg text-white px-10 py-5 rounded-[2rem] font-black text-lg shadow-2xl shadow-indigo-200 hover:scale-105 transition-all flex items-center gap-3">
SUBSKRYBUJ ZA 6.99 PLN / MSC
</button>
<p class="text-[10px] text-gray-400 font-bold uppercase tracking-widest mt-6">Anuluj w dowolnym momencie</p>
</div>
<!-- Background Blurry Elements -->
<div class="absolute -right-20 top-20 w-64 h-64 bg-indigo-100 rounded-full blur-3xl opacity-30"></div>
<div class="absolute -left-20 bottom-20 w-64 h-64 bg-purple-100 rounded-full blur-3xl opacity-30"></div>
</section>
<!-- History (Simplified for Free) -->
<div class="bg-white rounded-[2.5rem] p-8 border border-gray-50 shadow-sm opacity-50 grayscale pointer-events-none">
<div class="flex items-center justify-between mb-8">
<h4 class="text-xl font-black text-gray-900">Historia Ostatnich Zakupów</h4>
</div>
<div class="space-y-4">
<div class="h-12 bg-gray-100 rounded-2xl w-full"></div>
<div class="h-12 bg-gray-100 rounded-2xl w-full"></div>
<div class="h-12 bg-gray-100 rounded-2xl w-full"></div>
</div>
</section>
</main>
</div>
<script>
lucide.createIcons();
</script>
</body>
</html>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Analiza Budżetu - Gift Planner</title>
<title>Analiza Budżetu (Premium) - Gift Planner</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
@@ -15,44 +15,80 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8 pb-24 md:pb-8">
<header class="mb-10">
<header class="mb-10 flex justify-between items-center">
<div>
<h2 class="text-3xl font-black text-gray-900 leading-tight">Analiza Wydatków</h2>
<p class="text-gray-500 font-medium">Sprawdź ile wydajesz na prezenty i jak optymalizować swój budżet.</p>
<p class="text-gray-500 font-medium">Zaawansowane statystyki Twojego budżetu.</p>
</div>
<div class="flex items-center gap-2 bg-indigo-50 px-4 py-2 rounded-2xl border border-indigo-100">
<i data-lucide="shield-check" class="text-indigo-600 w-5 h-5"></i>
<span class="text-xs font-black text-indigo-700 uppercase tracking-widest">Pakiet Kontrola Budżetu Aktywny</span>
</div>
</header>
<!-- Top Stats -->
@@ -150,6 +186,47 @@
</div>
</div>
<!-- Premium: AI Forecasting Section (Unlocked) -->
<section class="bg-indigo-900 rounded-[3rem] p-10 lg:p-12 mb-10 relative overflow-hidden text-white shadow-2xl border border-indigo-700">
<div class="absolute inset-0 bg-gradient-to-br from-indigo-900 to-purple-900 opacity-50"></div>
<div class="relative z-10">
<div class="flex flex-col md:flex-row items-center gap-12">
<div class="flex-1">
<div class="flex items-center gap-3 mb-6">
<div class="w-12 h-12 bg-white/10 rounded-2xl flex items-center justify-center border border-white/20">
<i data-lucide="sparkles" class="text-indigo-300"></i>
</div>
<h3 class="text-3xl font-black tracking-tight">Prognoza Budżetu AI</h3>
</div>
<p class="text-indigo-100 text-lg mb-8 leading-relaxed font-medium">
Na podstawie Twoich dotychczasowych wydatków, AI przewiduje, że w grudniu wydasz o <span class="text-white font-black">15% mniej</span> niż w roku ubiegłym dzięki optymalizacji listy zakupów.
</p>
<div class="grid grid-cols-2 gap-6">
<div class="p-6 bg-white/5 rounded-3xl border border-white/10">
<p class="text-[10px] text-indigo-300 font-black uppercase mb-1">Przewidywane wydatki (Q1 2026)</p>
<p class="text-2xl font-black">4 200 PLN</p>
</div>
<div class="p-6 bg-white/5 rounded-3xl border border-white/10">
<p class="text-[10px] text-green-400 font-black uppercase mb-1">Potencjalne oszczędności</p>
<p class="text-2xl font-black text-green-400">850 PLN</p>
</div>
</div>
</div>
<div class="w-full md:w-96 h-64 bg-white/5 backdrop-blur-md rounded-3xl border border-white/10 p-6 flex flex-col justify-end">
<div class="flex items-end gap-1 h-full mb-4">
<div class="flex-1 bg-indigo-500/20 h-[30%] rounded-t-lg"></div>
<div class="flex-1 bg-indigo-500/40 h-[45%] rounded-t-lg"></div>
<div class="flex-1 bg-indigo-500/60 h-[60%] rounded-t-lg"></div>
<div class="flex-1 bg-white h-[85%] rounded-t-lg shadow-[0_0_20px_rgba(255,255,255,0.3)]"></div>
<div class="flex-1 bg-indigo-500/30 h-[25%] rounded-t-lg border border-dashed border-white/30"></div>
<div class="flex-1 bg-indigo-500/30 h-[35%] rounded-t-lg border border-dashed border-white/30"></div>
</div>
<p class="text-[10px] font-black uppercase tracking-widest text-center text-indigo-300">Prognoza AI na kolejne miesiące</p>
</div>
</div>
</div>
</section>
<!-- Detailed History -->
<div class="bg-white rounded-[2.5rem] p-8 border border-gray-50 shadow-sm overflow-hidden">
<div class="flex items-center justify-between mb-8">
@@ -196,30 +273,6 @@
</main>
</div>
<!-- Mobile Navigation -->
<nav class="lg:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-2 flex justify-around items-center z-50">
<a href="dashboard.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Home</span>
</a>
<a href="updates.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="bell" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Status</span>
</a>
<a href="inspirations.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="sparkles" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Pomysły</span>
</a>
<a href="blog.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="book-open" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Blog</span>
</a>
<a href="settings.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="settings" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Opcje</span>
</a>
</nav>
<script>
lucide.createIcons();

View File

@@ -13,57 +13,70 @@
<body class="bg-gray-50 min-h-screen">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">
Gift Planner
</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="p-4 border-t border-gray-100">
<a href="settings.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="settings"></i> Ustawienia
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
<div class="flex items-center gap-3 p-4 mt-2">
<div class="w-10 h-10 rounded-full bg-gradient-to-br from-indigo-100 to-purple-100 flex items-center justify-center text-indigo-600 font-bold">
NK
</div>
<div class="flex-1 overflow-hidden">
<p class="text-sm font-semibold truncate">Norbert K.</p>
<p class="text-xs text-gray-500 truncate">Premium Plan</p>
</div>
</div>
</div>
</aside>
@@ -75,6 +88,31 @@
<h2 class="text-2xl font-bold text-gray-900">Witaj, Norbert! 👋</h2>
<p class="text-gray-500">Masz 3 zbliżające się okazje w tym miesiącu.</p>
</div>
<div class="flex items-center gap-4">
<div class="hidden lg:flex items-center gap-4 bg-white border border-gray-100 px-4 py-2 rounded-2xl shadow-sm">
<!-- Tokens -->
<div class="flex items-center gap-2 pr-4 border-r border-gray-100">
<div class="w-8 h-8 bg-yellow-50 rounded-lg flex items-center justify-center text-yellow-600">
<i data-lucide="zap" class="w-4 h-4 fill-yellow-500"></i>
</div>
<div>
<p class="text-[10px] font-black text-gray-400 uppercase leading-none">Tokeny</p>
<p class="text-sm font-bold text-gray-900">120 <span class="text-gray-400 font-medium">/ 200</span></p>
</div>
</div>
<!-- Packages Status -->
<div class="flex items-center gap-3">
<div class="flex items-center gap-1.5 group cursor-pointer" title="Pakiet Oszczędzanie: Aktywny">
<div class="w-2 h-2 rounded-full bg-emerald-500"></div>
<span class="text-[10px] font-black text-gray-400 uppercase tracking-widest group-hover:text-emerald-600 transition-colors">Oszczędzanie</span>
</div>
<div class="flex items-center gap-1.5 group cursor-pointer opacity-40 hover:opacity-100 transition-all" title="Pakiet Kontrola Budżetu: Nieaktywny" onclick="window.location.href='settings.html'">
<div class="w-2 h-2 rounded-full bg-gray-300 group-hover:bg-indigo-500"></div>
<span class="text-[10px] font-black text-gray-400 uppercase tracking-widest group-hover:text-indigo-600">Budżet</span>
<i data-lucide="lock" class="w-2.5 h-2.5 text-gray-400"></i>
</div>
</div>
</div>
<div class="flex gap-3">
<button onclick="openModal('modal-add-person')" class="bg-white border border-gray-200 px-4 py-2 rounded-xl text-sm font-medium hover:bg-gray-50 transition-colors flex items-center gap-2">
<i data-lucide="plus-circle" class="w-4 h-4"></i> Dodaj osobę
@@ -85,201 +123,174 @@
</div>
</header>
<!-- Stats Overview -->
<section class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-10">
<div class="glass-card p-6 rounded-2xl shadow-sm">
<div class="flex items-center justify-between mb-4">
<div class="w-12 h-12 bg-indigo-100 rounded-xl flex items-center justify-center text-indigo-600">
<i data-lucide="shopping-bag"></i>
<!-- Upcoming Events (Reminders) -->
<section class="mb-12">
<div class="flex items-center justify-between mb-8">
<h3 class="text-xl font-black text-gray-900 leading-tight">Nadchodzące wydarzenia</h3>
<a href="occasions.html" class="bg-white px-5 py-2.5 rounded-xl border border-gray-100 text-xs font-black text-gray-500 hover:text-indigo-600 hover:border-indigo-100 transition-all flex items-center gap-2 shadow-sm">
PEŁNY KALENDARZ <i data-lucide="calendar" class="w-3.5 h-3.5"></i>
</a>
</div>
<span class="text-xs font-semibold text-green-600 bg-green-50 px-2 py-1 rounded-full">+12% vs grudzień 2024</span>
<div class="space-y-4">
<!-- Event Reminder 2 -->
<div class="bg-white rounded-[2rem] p-4 pl-8 border border-gray-100 shadow-sm hover:shadow-xl hover:scale-[1.01] transition-all flex items-center gap-6 relative overflow-hidden group cursor-pointer">
<div class="absolute left-0 top-0 bottom-0 w-2 bg-purple-600"></div>
<div class="flex flex-col items-center justify-center shrink-0 w-16 h-16 bg-purple-50 rounded-2xl">
<span class="text-[10px] font-black text-purple-400 uppercase leading-none">GRUD</span>
<span class="text-2xl font-black text-purple-700 leading-none">16</span>
</div>
<div class="flex-1">
<div class="flex items-center gap-2 mb-1">
<h4 class="text-lg font-black text-gray-900">Urodziny Mai 🎂</h4>
<span class="px-3 py-0.5 bg-purple-100 text-purple-700 text-[10px] font-black rounded-full uppercase">Za 4 dni</span>
</div>
<p class="text-sm text-gray-400 font-medium leading-none">30-tka przyjaciółki • 1 osoba na liście</p>
</div>
<div class="flex items-center gap-8 pr-4">
<div class="text-right">
<p class="text-[10px] font-black text-gray-300 uppercase leading-none mb-1">Status</p>
<p class="text-sm font-black text-amber-500 italic">Brak pomysłu</p>
</div>
<div class="w-12 h-12 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400 group-hover:bg-purple-600 group-hover:text-white transition-all">
<i data-lucide="chevron-right" class="w-5 h-5"></i>
</div>
<p class="text-gray-500 text-sm font-medium">Prezenty do kupienia</p>
<h3 class="text-3xl font-bold mt-1">14 / 28</h3>
<div class="w-full bg-gray-100 h-2 rounded-full mt-4 overflow-hidden">
<div class="h-full progress-bar-gradient" style="width: 50%"></div>
</div>
</div>
<div class="glass-card p-6 rounded-2xl shadow-sm">
<div class="flex items-center justify-between mb-4">
<div class="w-12 h-12 bg-purple-100 rounded-xl flex items-center justify-center text-purple-600">
<i data-lucide="credit-card"></i>
</div>
<span class="text-xs font-semibold text-indigo-600 bg-indigo-50 px-2 py-1 rounded-full">Pozostało: 1 200 PLN</span>
</div>
<p class="text-gray-500 text-sm font-medium">Wydany budżet</p>
<h3 class="text-3xl font-bold mt-1">3 800 PLN</h3>
<div class="w-full bg-gray-100 h-2 rounded-full mt-4 overflow-hidden">
<div class="h-full progress-bar-gradient" style="width: 76%"></div>
</div>
<!-- Event Reminder 1 -->
<div class="bg-white rounded-[2rem] p-4 pl-8 border border-gray-100 shadow-sm hover:shadow-xl hover:scale-[1.01] transition-all flex items-center gap-6 relative overflow-hidden group cursor-pointer">
<div class="absolute left-0 top-0 bottom-0 w-2 bg-indigo-600"></div>
<div class="flex flex-col items-center justify-center shrink-0 w-16 h-16 bg-indigo-50 rounded-2xl">
<span class="text-[10px] font-black text-indigo-400 uppercase leading-none">GRUD</span>
<span class="text-2xl font-black text-indigo-700 leading-none">24</span>
</div>
<div class="glass-card p-6 rounded-2xl shadow-sm border-dashed border-2 border-indigo-200 bg-indigo-50/10 flex flex-col items-center justify-center text-center cursor-pointer hover:bg-indigo-50/20">
<div class="w-12 h-12 bg-white rounded-full flex items-center justify-center text-indigo-600 shadow-sm mb-3">
<i data-lucide="lightbulb" class="animate-float"></i>
<div class="flex-1">
<a href="occasion.html">
<div class="flex items-center gap-2 mb-1">
<h4 class="text-lg font-black text-gray-900">Boże Narodzenie 2025</h4>
<span class="px-3 py-0.5 bg-indigo-100 text-indigo-700 text-[10px] font-black rounded-full uppercase">Za 12 dni</span>
</div>
<p class="text-sm text-gray-400 font-medium leading-none">Kolacja u rodziców • 12 osób na liście</p>
</a>
</div>
<div class="flex items-center gap-8 pr-4">
<div class="text-right">
<p class="text-[10px] font-black text-gray-300 uppercase leading-none mb-1">Postęp</p>
<p class="text-sm font-black text-gray-900">8 / 12 <span class="text-indigo-600">Gotowe</span></p>
</div>
<div class="w-12 h-12 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400 group-hover:bg-indigo-600 group-hover:text-white transition-all">
<i data-lucide="chevron-right" class="w-5 h-5"></i>
</div>
</div>
</div>
<p class="text-indigo-600 font-semibold mb-1">Potrzebujesz inspiracji?</p>
<p class="text-gray-500 text-xs px-4">AI pomoże Ci dobrać idealne prezenty na każdą okazję.</p>
</div>
</section>
<!-- Active Occasions -->
<!-- Awaiting Ideas (Actionable Section) -->
<section class="mb-10">
<div class="flex items-center justify-between mb-6">
<h3 class="text-xl font-bold text-gray-900">Aktywne okazje</h3>
<a href="occasions.html" class="text-indigo-600 text-sm font-semibold hover:underline">Zobacz wszystkie</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<!-- Occasion Card 1 -->
<div class="bg-white rounded-3xl p-1 shadow-sm border border-gray-100 hover:shadow-xl transition-shadow cursor-pointer group">
<div class="flex flex-col h-full bg-white rounded-[1.4rem] overflow-hidden">
<div class="h-40 bg-gray-100 relative overflow-hidden">
<img src="assets/logo_hero.png" alt="Christmas" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
<div class="absolute top-4 left-4 bg-white/90 backdrop-blur-md px-3 py-1 rounded-full text-xs font-bold text-indigo-700">
Za 12 dni
</div>
<div class="absolute bottom-4 right-4 bg-indigo-600 text-white p-2 rounded-xl">
<i data-lucide="external-link" class="w-4 h-4"></i>
</div>
</div>
<div class="p-6">
<div class="flex items-center justify-between mb-2">
<h4 class="text-lg font-bold">Boże Narodzenie 2025</h4>
<span class="text-sm font-semibold text-gray-500">Budżet: 5 000 PLN</span>
</div>
<p class="text-gray-500 text-sm mb-4 line-clamp-1">Tradycyjne spotkanie rodzinne u mamy, prezenty dla 12 osób.</p>
<div class="flex items-center gap-3 mb-4">
<div class="flex -space-x-2">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://ui-avatars.com/api/?name=Mama&background=random" alt="User">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://ui-avatars.com/api/?name=Tata&background=random" alt="User">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://ui-avatars.com/api/?name=Ania&background=random" alt="User">
<div class="w-8 h-8 rounded-full border-2 border-white bg-gray-100 flex items-center justify-center text-[10px] font-bold text-gray-400">+9</div>
</div>
<span class="text-xs text-gray-400 font-medium">12 osób na liście</span>
</div>
<div class="flex items-center justify-between text-xs font-bold mb-2">
<span class="text-indigo-600">80% Postępu</span>
<span class="text-gray-400">4 000 / 5 000 PLN</span>
</div>
<div class="w-full bg-gray-100 h-1.5 rounded-full overflow-hidden">
<div class="h-full progress-bar-gradient" style="width: 80%"></div>
<h3 class="text-xl font-bold text-gray-900">Oczekujący na pomysł</h3>
<span class="text-[10px] font-black text-amber-600 bg-amber-50 px-3 py-1 rounded-full uppercase tracking-tighter">Wymagają uwagi</span>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Awaiting Card 1 -->
<div class="bg-white p-6 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all group flex items-center gap-5">
<div class="w-16 h-16 rounded-2xl bg-gray-50 flex items-center justify-center text-gray-300 relative shrink-0">
<i data-lucide="user" class="w-8 h-8"></i>
<div class="absolute -top-1 -right-1 w-4 h-4 bg-amber-500 rounded-full border-2 border-white"></div>
</div>
<div class="flex-1 min-w-0">
<h4 class="font-black text-gray-900 truncate">Tata</h4>
<p class="text-[10px] font-bold text-gray-400 uppercase tracking-widest leading-none mb-2">Urodziny za 14 dni</p>
<a href="search.html" class="inline-flex items-center gap-1.5 text-indigo-600 text-[10px] font-black uppercase tracking-widest hover:gap-2 transition-all">
Znajdź prezent <i data-lucide="chevron-right" class="w-3 h-3"></i>
</a>
</div>
</div>
<!-- Occasion Card 2 -->
<div class="bg-white rounded-3xl p-1 shadow-sm border border-gray-100 hover:shadow-xl transition-shadow cursor-pointer group">
<div class="flex flex-col h-full bg-white rounded-[1.4rem] overflow-hidden">
<div class="h-40 bg-gray-100 relative overflow-hidden">
<img src="https://images.unsplash.com/photo-1464349172904-124bb97af094?auto=format&fit=crop&q=80&w=800" alt="Birthday" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
<div class="absolute top-4 left-4 bg-white/90 backdrop-blur-md px-3 py-1 rounded-full text-xs font-bold text-purple-700">
Za 4 dni
<!-- Awaiting Card 2 -->
<div class="bg-white p-6 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all group flex items-center gap-5">
<div class="w-16 h-16 rounded-2xl bg-gray-50 flex items-center justify-center text-gray-300 relative shrink-0">
<i data-lucide="user" class="w-8 h-8"></i>
<div class="absolute -top-1 -right-1 w-4 h-4 bg-amber-500 rounded-full border-2 border-white"></div>
</div>
<div class="absolute bottom-4 right-4 bg-purple-600 text-white p-2 rounded-xl">
<i data-lucide="external-link" class="w-4 h-4"></i>
<div class="flex-1 min-w-0">
<h4 class="font-black text-gray-900 truncate">Ania</h4>
<p class="text-[10px] font-bold text-gray-400 uppercase tracking-widest leading-none mb-2">Imieniny za 5 dni</p>
<a href="search.html" class="inline-flex items-center gap-1.5 text-indigo-600 text-[10px] font-black uppercase tracking-widest hover:gap-2 transition-all">
Znajdź prezent <i data-lucide="chevron-right" class="w-3 h-3"></i>
</a>
</div>
</div>
<div class="p-6">
<div class="flex items-center justify-between mb-2">
<h4 class="text-lg font-bold">Urodziny Mai 🎂</h4>
<span class="text-sm font-semibold text-gray-500">Budżet: 300 PLN</span>
</div>
<p class="text-gray-500 text-sm mb-4 line-clamp-1">30-tka przyjaciółki z pracy. Składka na wymarzony zegarek.</p>
<div class="flex items-center gap-3 mb-4">
<div class="flex -space-x-2">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://ui-avatars.com/api/?name=Maja&background=random" alt="User">
</div>
<span class="text-xs text-gray-400 font-medium">1 osoba na liście</span>
</div>
<div class="flex items-center justify-between text-xs font-bold mb-2">
<span class="text-purple-600">0% Postępu</span>
<span class="text-gray-400">0 / 300 PLN</span>
</div>
<div class="w-full bg-gray-100 h-1.5 rounded-full overflow-hidden">
<div class="h-full bg-gray-200" style="width: 0%"></div>
</div>
<!-- Awaiting Card 3 -->
<div class="bg-white p-6 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all group flex items-center gap-5">
<div class="w-16 h-16 rounded-2xl bg-gray-50 flex items-center justify-center text-gray-300 relative shrink-0">
<i data-lucide="user" class="w-8 h-8"></i>
<div class="absolute -top-1 -right-1 w-4 h-4 bg-amber-500 rounded-full border-2 border-white"></div>
</div>
<div class="flex-1 min-w-0">
<h4 class="font-black text-gray-900 truncate">Krzysztof</h4>
<p class="text-[10px] font-bold text-gray-400 uppercase tracking-widest leading-none mb-2">Parapetówka za 21 dni</p>
<a href="search.html" class="inline-flex items-center gap-1.5 text-indigo-600 text-[10px] font-black uppercase tracking-widest hover:gap-2 transition-all">
Znajdź prezent <i data-lucide="chevron-right" class="w-3 h-3"></i>
</a>
</div>
</div>
</div>
</section>
<!-- Recently Added Gifts -->
<section class="mb-10">
<!-- Quick Access Section -->
<section class="mb-12">
<div class="flex items-center justify-between mb-6">
<h3 class="text-xl font-bold text-gray-900">Ostatnio dodane prezenty</h3>
<h3 class="text-xl font-bold text-gray-900">Na skróty</h3>
<span class="text-xs font-black text-gray-400 bg-gray-100 px-3 py-1 rounded-full uppercase tracking-tighter">Najczęściej wybierane</span>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
<!-- Gift 1 -->
<div onclick="window.location.href='gift.html'" class="bg-white p-4 rounded-3xl border border-gray-100 shadow-sm hover:shadow-md transition-all cursor-pointer group">
<div class="w-full h-32 bg-gray-50 rounded-2xl overflow-hidden mb-3">
<img src="https://images.unsplash.com/photo-1517668808822-9ebb02f2a0e6?auto=format&fit=crop&q=80&w=300" class="w-full h-full object-cover group-hover:scale-105 transition-transform">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Shortcut 1: Discovery -->
<a href="search.html" class="group relative overflow-hidden bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100 hover:shadow-2xl hover:-translate-y-2 transition-all duration-500 flex flex-col items-center text-center">
<div class="w-20 h-20 bg-indigo-600 rounded-3xl flex items-center justify-center text-white mb-6 shadow-xl shadow-indigo-100 group-hover:scale-110 transition-transform">
<i data-lucide="search" class="w-10 h-10"></i>
</div>
<h4 class="text-sm font-bold text-gray-900 truncate">Sage Barista Express</h4>
<div class="flex items-center justify-between mt-2">
<span class="text-xs font-black text-indigo-600">2 499 PLN</span>
<span class="bg-green-50 text-green-600 text-[10px] font-bold px-2 py-0.5 rounded-full uppercase">Kupiony</span>
<h4 class="text-xl font-black text-gray-900 mb-2">Wyszukiwarka AI</h4>
<p class="text-sm text-gray-500 font-medium leading-relaxed mb-6 italic">"Znajdź prezent na podstawie pasji i zainteresowań."</p>
<div class="mt-auto inline-flex items-center gap-2 text-indigo-600 text-[10px] font-black uppercase tracking-widest">
Uruchom szukanie <i data-lucide="arrow-right" class="w-4 h-4 group-hover:translate-x-1 transition-transform"></i>
</div>
</div>
<!-- Gift 2 -->
<div onclick="window.location.href='gift.html'" class="bg-white p-4 rounded-3xl border border-gray-100 shadow-sm hover:shadow-md transition-all cursor-pointer group">
<div class="w-full h-32 bg-gray-50 rounded-2xl overflow-hidden mb-3">
<img src="https://images.unsplash.com/photo-1523275335684-37898b6baf30?auto=format&fit=crop&q=80&w=300" class="w-full h-full object-cover group-hover:scale-105 transition-transform">
</div>
<h4 class="text-sm font-bold text-gray-900 truncate">Słuchawki Sony WH-1000XM5</h4>
<div class="flex items-center justify-between mt-2">
<span class="text-xs font-black text-indigo-600">1 399 PLN</span>
<span class="bg-indigo-50 text-indigo-600 text-[10px] font-bold px-2 py-0.5 rounded-full uppercase">Wybrany</span>
</div>
</div>
<!-- Gift 3 -->
<div onclick="window.location.href='gift.html'" class="bg-white p-4 rounded-3xl border border-gray-100 shadow-sm hover:shadow-md transition-all cursor-pointer group">
<div class="w-full h-32 bg-gray-50 rounded-2xl overflow-hidden mb-3">
<img src="https://images.unsplash.com/photo-1544947950-fa07a98d237f?auto=format&fit=crop&q=80&w=300" class="w-full h-full object-cover group-hover:scale-105 transition-transform">
</div>
<h4 class="text-sm font-bold text-gray-900 truncate">Książka o Jodze</h4>
<div class="flex items-center justify-between mt-2">
<span class="text-xs font-black text-indigo-600">59 PLN</span>
<span class="bg-gray-50 text-gray-400 text-[10px] font-bold px-2 py-0.5 rounded-full uppercase">Idea</span>
</div>
</div>
<!-- Gift 4 -->
<div onclick="window.location.href='gift.html'" class="bg-white p-4 rounded-3xl border border-gray-100 shadow-sm hover:shadow-md transition-all cursor-pointer group">
<div class="w-full h-32 bg-gray-50 rounded-2xl overflow-hidden mb-3">
<img src="https://images.unsplash.com/photo-1546868871-7041f2a55e12?auto=format&fit=crop&q=80&w=300" class="w-full h-full object-cover group-hover:scale-105 transition-transform">
</div>
<h4 class="text-sm font-bold text-gray-900 truncate">Smartwatch Series 9</h4>
<div class="flex items-center justify-between mt-2">
<span class="text-xs font-black text-indigo-600">1 800 PLN</span>
<span class="bg-indigo-50 text-indigo-600 text-[10px] font-bold px-2 py-0.5 rounded-full uppercase">Wybrany</span>
</div>
</div>
</div>
</section>
</a>
<!-- Quick AI Suggestions Banner -->
<section class="mb-10">
<div class="bg-gradient-to-r from-indigo-600 to-purple-600 rounded-3xl p-8 text-white relative overflow-hidden shadow-2xl shadow-indigo-200">
<div class="relative z-10 max-w-md">
<span class="inline-block bg-white/20 backdrop-blur-sm px-3 py-1 rounded-full text-xs font-bold mb-4 uppercase tracking-wider">Nowość: AI Recommendation Engine</span>
<h3 class="text-3xl font-bold mb-3">Nie wyrywaj sobie włosów z głowy. Zapytaj AI!</h3>
<p class="text-indigo-100 mb-6 text-sm leading-relaxed">Nasz algorytm przeanalizuje zainteresowania Twoich bliskich i dobierze prezenty, które wywołają prawdziwy uśmiech. Gwarantujemy efekt "WOW".</p>
<button class="bg-white text-indigo-700 px-8 py-3 rounded-2xl font-bold hover:bg-indigo-50 transition-colors flex items-center gap-3 shadow-xl shadow-indigo-900/20">
Sprawdź sugestie <i data-lucide="arrow-right" class="w-5 h-5"></i>
</button>
<!-- Shortcut 2: Visual Trends -->
<a href="inspirations.html" class="group relative overflow-hidden bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100 hover:shadow-2xl hover:-translate-y-2 transition-all duration-500 flex flex-col items-center text-center">
<div class="w-20 h-20 bg-purple-600 rounded-3xl flex items-center justify-center text-white mb-6 shadow-xl shadow-purple-100 group-hover:scale-110 transition-transform">
<i data-lucide="sparkles" class="w-10 h-10"></i>
</div>
<!-- Decoration element -->
<div class="absolute -right-20 -bottom-20 w-80 h-80 bg-white/10 rounded-full blur-3xl"></div>
<div class="absolute right-10 top-1/2 -translate-y-1/2 hidden lg:block opacity-20">
<i data-lucide="sparkles" class="w-64 h-64 text-white"></i>
<h4 class="text-xl font-black text-gray-900 mb-2">Inspiracje</h4>
<p class="text-sm text-gray-500 font-medium leading-relaxed mb-6 italic">"Przeglądaj najnowsze trendy i wizualne propozycje."</p>
<div class="mt-auto inline-flex items-center gap-2 text-purple-600 text-[10px] font-black uppercase tracking-widest">
Zobacz pomysły <i data-lucide="arrow-right" class="w-4 h-4 group-hover:translate-x-1 transition-transform"></i>
</div>
</a>
<!-- Shortcut 3: AI Greetings -->
<a href="occasions.html" class="group relative overflow-hidden bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100 hover:shadow-2xl hover:-translate-y-2 transition-all duration-500 flex flex-col items-center text-center">
<div class="w-20 h-20 bg-emerald-600 rounded-3xl flex items-center justify-center text-white mb-6 shadow-xl shadow-emerald-100 group-hover:scale-110 transition-transform">
<i data-lucide="message-square-plus" class="w-10 h-10"></i>
</div>
<h4 class="text-xl font-black text-gray-900 mb-2">Życzenia AI</h4>
<p class="text-sm text-gray-500 font-medium leading-relaxed mb-6 italic">"Wygeneruj piękne i spersonalizowane życzenia."</p>
<div class="mt-auto inline-flex items-center gap-2 text-emerald-600 text-[10px] font-black uppercase tracking-widest">
Napisz życzenia <i data-lucide="zap" class="w-3 h-3 fill-emerald-600 ml-1"></i>
</div>
</a>
</div>
</section>
@@ -287,26 +298,21 @@
</div>
<!-- Mobile Navigation -->
<nav class="lg:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-2 flex justify-around items-center z-50">
<a href="dashboard.html" class="flex flex-col items-center p-2 text-indigo-600">
<nav class="lg:hidden fixed bottom-6 left-6 right-6 bg-gray-900/90 backdrop-blur-xl border border-white/10 p-4 rounded-[2rem] flex justify-around items-center z-50 shadow-2xl shadow-indigo-500/20">
<a href="dashboard.html" class="flex flex-col items-center text-white">
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Home</span>
</a>
<a href="updates.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="bell" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Status</span>
<a href="occasions.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="calendar" class="w-6 h-6"></i>
</a>
<a href="inspirations.html" class="flex flex-col items-center p-2 text-gray-400">
<a href="notes.html" class="w-12 h-12 gradient-bg rounded-2xl flex items-center justify-center text-white shadow-lg shadow-indigo-500/40 -translate-y-4 border-4 border-gray-50">
<i data-lucide="pen-tool" class="w-6 h-6"></i>
</a>
<a href="persons.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="users" class="w-6 h-6"></i>
</a>
<a href="search.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="sparkles" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Pomysły</span>
</a>
<a href="blog.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="book-open" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Blog</span>
</a>
<a href="settings.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="settings" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Opcje</span>
</a>
</nav>

228
gift-locked.html Normal file
View File

@@ -0,0 +1,228 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Szczegóły Prezentu (Podstawowy) - Gift Planner</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="main.js" defer></script>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8">
<button onclick="window.history.back()" class="flex items-center gap-2 text-gray-500 hover:text-indigo-600 transition-colors mb-6 font-medium">
<i data-lucide="arrow-left" class="w-4 h-4"></i> Powrót
</button>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Left Column: Planning Info -->
<div class="lg:col-span-2 space-y-8">
<!-- Planning Record Header -->
<section class="bg-indigo-900 rounded-[2.5rem] p-8 shadow-2xl relative overflow-hidden text-white">
<div class="relative z-10">
<div class="flex items-center gap-2 mb-4">
<span class="bg-indigo-500 text-[10px] font-black px-3 py-1 rounded-full uppercase tracking-widest">Planowanie Prezentu #1024</span>
</div>
<h2 class="text-3xl font-black mb-6">Sage Barista Express dla: Mama</h2>
<div class="flex flex-wrap gap-8 items-center mb-8">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-full bg-white/10 flex items-center justify-center border border-white/20"><i data-lucide="calendar"></i></div>
<div>
<p class="text-[10px] text-indigo-300 font-bold uppercase">Okazja</p>
<p class="text-sm font-black">Boże Narodzenie 2025</p>
</div>
</div>
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-full bg-white/10 flex items-center justify-center border border-white/20"><i data-lucide="wallet"></i></div>
<div>
<p class="text-[10px] text-indigo-300 font-bold uppercase">Budżet na osobę</p>
<p class="text-sm font-black">1 200 PLN</p>
</div>
</div>
</div>
</div>
</section>
<!-- AI: Uzupełnij Prezent -->
<section class="bg-gradient-to-br from-indigo-900 via-indigo-800 to-indigo-950 rounded-[3rem] p-8 lg:p-10 shadow-2xl relative overflow-hidden border border-indigo-700">
<div class="flex flex-col md:flex-row md:items-center justify-between gap-6 mb-10 relative z-10">
<div class="flex items-center gap-4">
<div class="w-14 h-14 bg-white/10 backdrop-blur-md rounded-2xl flex items-center justify-center text-white border border-white/20">
<i data-lucide="wand-2" class="w-8 h-8"></i>
</div>
<div>
<div class="flex items-center gap-2 mb-1">
<span class="bg-indigo-400/30 text-indigo-100 text-[10px] font-black px-2 py-0.5 rounded uppercase tracking-widest border border-indigo-400/30">AI Power</span>
<h3 class="text-2xl font-black text-white">Uzupełnij prezent</h3>
</div>
<p class="text-indigo-200/80 text-sm font-medium">Dobierz dodatki, które sprawią, że prezent będzie kompletny.</p>
</div>
</div>
<button class="bg-white text-indigo-900 px-6 py-3 rounded-2xl font-black text-xs hover:bg-indigo-50 transition-all flex items-center gap-2 shadow-lg">
ODŚWIEŻ SUGESTIE <span class="bg-indigo-100 text-indigo-600 px-2 py-0.5 rounded">-3 <i data-lucide="zap" class="w-3 h-3 inline fill-indigo-600"></i></span>
</button>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-6 relative z-10">
<div class="bg-white/5 backdrop-blur-sm rounded-[2.5rem] p-5 border border-white/10 flex items-center gap-5">
<div class="w-24 h-24 bg-white rounded-3xl overflow-hidden shrink-0">
<img src="https://images.unsplash.com/photo-1559056191-4917a3bc9404?auto=format&fit=crop&q=80&w=200" class="w-full h-full object-cover">
</div>
<div class="flex-1">
<h4 class="font-black text-white leading-tight">Kawa Ethiopia 250g</h4>
<span class="text-indigo-300 font-black">59 PLN</span>
</div>
</div>
<div class="bg-white/5 backdrop-blur-sm rounded-[2.5rem] p-5 border border-white/10 flex items-center gap-5">
<div class="w-24 h-24 bg-white rounded-3xl overflow-hidden shrink-0">
<img src="https://images.unsplash.com/photo-1579227114347-15d08fc37cae?auto=format&fit=crop&q=80&w=200" class="w-full h-full object-cover">
</div>
<div class="flex-1">
<h4 class="font-black text-white leading-tight">Dzbanek Rhino</h4>
<span class="text-indigo-300 font-black">120 PLN</span>
</div>
</div>
</div>
</section>
<!-- Personal Notes -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100">
<h3 class="text-xl font-black text-gray-900 mb-6 flex items-center gap-2">
<i data-lucide="sticky-note" class="text-indigo-600"></i> Twoje Notatki
</h3>
<div class="p-6 bg-gray-50 rounded-3xl border border-gray-100">
<p class="text-sm text-gray-600 italic leading-relaxed">"Mówiła, że jej stary ekspres już ledwo zipie."</p>
</div>
</section>
<!-- Feedback Loop (Locked state but visible) -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100 opacity-60">
<div class="flex items-center justify-between mb-8">
<h3 class="text-xl font-black text-gray-400">Twój Feedback</h3>
<i data-lucide="star" class="text-gray-200"></i>
</div>
<p class="text-xs text-gray-400 italic">Funkcja dostępna po wręczeniu prezentu.</p>
</section>
</div>
<!-- Right Column -->
<div class="space-y-8">
<!-- LOCKED Price Card -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100 relative overflow-hidden group">
<div class="absolute inset-0 bg-white/60 backdrop-blur-[4px] z-20 flex flex-col items-center justify-center p-8 text-center">
<div class="w-16 h-16 bg-white rounded-3xl shadow-xl flex items-center justify-center text-indigo-600 mb-6">
<i data-lucide="lock" class="w-8 h-8"></i>
</div>
<h4 class="text-xl font-black text-gray-900 mb-2 leading-tight">Historia cen jest zablokowana</h4>
<p class="text-xs text-gray-500 mb-6 font-medium leading-relaxed uppercase tracking-wider">Subskrybuj pakiet <strong>"Oszczędzanie"</strong></p>
<button onclick="window.location.href='settings.html'" class="w-full gradient-bg text-white py-4 rounded-2xl font-black shadow-xl shadow-indigo-100 hover:scale-[1.02] transition-all">
ODBLOKUJ ZA 14.99 PLN
</button>
</div>
<!-- Gated content (blurred) -->
<div class="opacity-10 pointer-events-none">
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-4">Aktualna Cena (Ceneo)</p>
<h3 class="text-4xl font-black text-gray-900 leading-none mb-6">2 499 PLN</h3>
<div class="h-32 bg-gray-100 rounded-2xl mb-8"></div>
<div class="space-y-3">
<div class="h-10 bg-gray-50 rounded-xl w-full"></div>
<div class="h-10 bg-gray-50 rounded-xl w-full"></div>
</div>
</div>
</section>
<!-- Status History -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100">
<h4 class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-6">Historia Statusu</h4>
<div class="space-y-6 relative before:absolute before:left-3 before:top-2 before:bottom-2 before:w-0.5 before:bg-gray-100">
<div class="relative pl-10 opacity-40">
<div class="absolute left-0 top-1 w-6 h-6 bg-gray-200 rounded-full border-4 border-white shadow-sm"></div>
<p class="text-xs font-black text-gray-900">Idea dodana</p>
<p class="text-[10px] text-gray-400 font-medium">01 Grudnia 2025</p>
</div>
</div>
</section>
</div>
</div>
</main>
</div>
<script>
lucide.createIcons();
</script>
</body>
</html>

270
gift-radar.html Normal file
View File

@@ -0,0 +1,270 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Radar Prezentowy - Gift Planner</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
<script src="main.js" defer></script>
</head>
<body class="bg-[#0f111a] text-white min-h-screen">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-[#0f111a] p-4 lg:p-8 custom-scrollbar">
<!-- Radar Header -->
<header class="mb-12 relative">
<div class="absolute top-0 right-0 w-64 h-64 bg-indigo-600/10 blur-[100px] rounded-full -mr-20 -mt-20"></div>
<div class="relative z-10">
<div class="flex items-center gap-3 mb-4">
<span class="bg-indigo-600 px-3 py-1 rounded-full text-[10px] font-black uppercase tracking-widest text-white shadow-lg shadow-indigo-600/20">System Aktywny</span>
<span class="text-indigo-400 text-[10px] font-black uppercase tracking-widest">Skanowanie w toku...</span>
</div>
<h2 class="text-4xl font-black text-white mb-4 leading-tight">Radar Prezentowy AI</h2>
<p class="text-gray-400 max-w-2xl font-medium text-lg">System monitorujący w czasie rzeczywistym okazje, spadek cen i trendy, dopasowane do Twoich zapisanych osób i budżetów.</p>
</div>
</header>
<!-- Radar Interface -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-16">
<!-- Visual Radar / High Level Insight -->
<div class="lg:col-span-2 bg-[#161925] rounded-[3rem] p-10 border border-white/5 relative overflow-hidden group">
<div class="relative z-10 h-full flex flex-col">
<div class="flex items-center justify-between mb-12">
<div>
<h3 class="text-xl font-black text-white mb-1">Mapa Okazji</h3>
<p class="text-xs text-gray-500 font-bold uppercase tracking-widest leading-none">Wszystkie powiązane osoby</p>
</div>
<div class="flex -space-x-3">
<img src="https://ui-avatars.com/api/?name=Mama&background=random" class="w-10 h-10 rounded-full border-4 border-[#161925]" alt="">
<img src="https://ui-avatars.com/api/?name=Tata&background=random" class="w-10 h-10 rounded-full border-4 border-[#161925]" alt="">
<img src="https://ui-avatars.com/api/?name=Siostra&background=random" class="w-10 h-10 rounded-full border-4 border-[#161925]" alt="">
<div class="w-10 h-10 rounded-full bg-[#0f111a] border-4 border-[#161925] flex items-center justify-center text-[10px] font-black text-gray-500">+9</div>
</div>
</div>
<!-- Mock Radar Visual -->
<div class="flex-1 flex flex-col items-center justify-center py-10 relative">
<div class="w-64 h-64 border border-indigo-500/20 rounded-full flex items-center justify-center relative">
<div class="w-48 h-48 border border-indigo-500/30 rounded-full flex items-center justify-center">
<div class="w-32 h-32 border border-indigo-500/40 rounded-full flex items-center justify-center">
<div class="w-4 h-4 bg-indigo-500 rounded-full shadow-[0_0_20px_rgba(99,102,241,0.5)]"></div>
</div>
</div>
<!-- Blips -->
<div class="absolute top-10 right-20 w-3 h-3 bg-green-500 rounded-full animate-ping opacity-75"></div>
<div class="absolute bottom-20 left-10 w-2 h-2 bg-indigo-400 rounded-full animate-pulse"></div>
<div class="absolute top-1/2 left-1/4 w-3 h-3 bg-purple-500 rounded-full shadow-[0_0_10px_rgba(168,85,247,0.5)] cursor-pointer group/blip">
<div class="absolute -top-10 left-1/2 -translate-x-1/2 bg-white text-black px-2 py-1 rounded-lg text-[10px] font-black whitespace-nowrap opacity-0 group-hover/blip:opacity-100 transition-opacity">Hit dla: Mamy!</div>
</div>
</div>
<div class="mt-12 text-center">
<p class="text-xs font-black text-indigo-400 uppercase tracking-[0.2em] mb-2">Skanowanie Sieci</p>
<p class="text-sm text-gray-500 font-medium max-w-sm mx-auto">AI przeanalizowało właśnie 240 produktów pod kątem Twoich wymagań budżetowych.</p>
</div>
</div>
</div>
</div>
<!-- Live Signals Side Feed -->
<div class="space-y-6">
<div class="bg-gradient-to-br from-indigo-600 to-purple-600 rounded-[2.5rem] p-8 text-white relative overflow-hidden group cursor-pointer hover:scale-[1.02] transition-all">
<div class="relative z-10 text-center">
<div class="w-14 h-14 bg-white/20 rounded-2xl flex items-center justify-center mx-auto mb-6 border border-white/30 backdrop-blur-md">
<i data-lucide="target" class="w-7 h-7"></i>
</div>
<h4 class="text-xl font-black mb-2">Radar Lock</h4>
<p class="text-xs text-white/70 font-bold uppercase tracking-widest mb-6 leading-relaxed">System automatycznie zarezerwuje najlepszą cenę gdy nadejdzie czas.</p>
<button class="w-full bg-white text-indigo-900 py-4 rounded-2xl font-black text-xs shadow-xl flex items-center justify-center gap-2">
AKTYWUJ TRYB AUTO <span class="bg-indigo-100 px-2 py-1 rounded ml-1 text-indigo-600">PREMIUM</span>
</button>
</div>
</div>
<div class="bg-[#161925] border border-white/5 rounded-[2.5rem] p-8">
<h4 class="text-sm font-black text-white mb-6 uppercase tracking-widest flex items-center gap-2">
<i data-lucide="rss" class="text-indigo-400 w-4 h-4"></i> Sygnały Live
</h4>
<div class="space-y-6">
<div class="flex items-start gap-4 p-4 bg-white/5 rounded-2xl border border-white/5">
<div class="w-8 h-8 rounded-full bg-green-500/20 flex items-center justify-center text-green-500 shrink-0">
<i data-lucide="trending-down" class="w-4 h-4"></i>
</div>
<div>
<p class="text-xs font-black text-white">Apple Watch S10</p>
<p class="text-[10px] text-gray-500 font-bold mb-1">-150 PLN w Media Expert</p>
<p class="text-[9px] text-green-400 font-black uppercase">Okazja dla: Mamy</p>
</div>
</div>
<div class="flex items-start gap-4 p-4 bg-white/5 rounded-2xl border border-white/5 opacity-50">
<div class="w-8 h-8 rounded-full bg-purple-500/20 flex items-center justify-center text-purple-500 shrink-0">
<i data-lucide="shopping-bag" class="w-4 h-4"></i>
</div>
<div>
<p class="text-xs font-black text-white">LEGO Icons Rivendell</p>
<p class="text-[10px] text-gray-500 font-bold mb-1">Pojawiło się w 2 sklepach</p>
<p class="text-[9px] text-purple-400 font-black uppercase">Okazja dla: Tomka</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Detailed Radar Results -->
<div class="mb-12 flex items-center justify-between">
<div>
<h3 class="text-2xl font-black text-white">Najlepsze Trafienia</h3>
<p class="text-sm text-gray-500 font-medium">Produkty o najwyższym współczynniku "Idealny Prezent"</p>
</div>
<div class="flex gap-2">
<button class="bg-white/5 text-gray-400 text-[10px] font-black px-4 py-2 rounded-xl transition-all hover:bg-white/10">KWOTA: 0-500</button>
<button class="bg-indigo-600/20 text-indigo-400 text-[10px] font-black px-4 py-2 rounded-xl border border-indigo-500/30">KWOTA: 500+</button>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 pb-20">
<!-- Radar Result Item -->
<div class="bg-[#161925] rounded-[2.5rem] border border-white/5 overflow-hidden group hover:border-indigo-500/50 transition-all">
<div class="h-64 relative">
<img src="https://images.unsplash.com/photo-1550517355-38f1fdb24227?q=80&w=640&auto=format&fit=crop" class="w-full h-full object-cover group-hover:scale-105 transition-all duration-700">
<div class="absolute top-4 left-4 flex gap-2">
<div class="bg-black/60 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black text-white border border-white/10 uppercase">Dla: Żony</div>
<div class="bg-green-600/80 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black text-white uppercase tracking-tighter shadow-lg shadow-green-600/20">MATCH 98%</div>
</div>
</div>
<div class="p-8">
<p class="text-[10px] font-black text-indigo-400 uppercase tracking-widest mb-2">Zapachy / Premium</p>
<h4 class="text-xl font-black text-white mb-4">Jo Malone London Set</h4>
<div class="p-4 bg-white/5 rounded-2xl mb-6">
<p class="text-[10px] text-gray-500 font-black uppercase tracking-widest mb-2 leading-none">Analiza Radaru AI</p>
<p class="text-xs text-gray-300 font-medium leading-relaxed italic">"Monitorowaliśmy ten zestaw przez 2 tygodnie. Cena spadła o 12% poniżej średniej rynkowej. Pasuje do zainteresowania 'Wellness' zapisanego u Anny."</p>
</div>
<div class="flex items-center justify-between">
<div>
<p class="text-[10px] font-black text-gray-500 uppercase tracking-widest leading-none mb-1">Aktualna cena</p>
<p class="text-2xl font-black text-white leading-none">429 PLN</p>
</div>
<button class="bg-indigo-600 text-white px-6 py-3 rounded-2xl text-xs font-black shadow-lg shadow-indigo-600/20 hover:scale-105 transition-all">DODAJ DO PLANU</button>
</div>
</div>
</div>
<!-- Radar Result Item 2 -->
<div class="bg-[#161925] rounded-[2.5rem] border border-white/5 overflow-hidden group hover:border-indigo-500/50 transition-all">
<div class="h-64 relative">
<img src="https://images.unsplash.com/photo-1593305841991-05c297ba4575?q=80&w=640&auto=format&fit=crop" class="w-full h-full object-cover group-hover:scale-105 transition-all duration-700">
<div class="absolute top-4 left-4 flex gap-2">
<div class="bg-black/60 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black text-white border border-white/10 uppercase">Dla: Syna</div>
<div class="bg-indigo-600/80 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black text-white uppercase tracking-tighter shadow-lg shadow-indigo-600/20">MATCH 94%</div>
</div>
</div>
<div class="p-8">
<p class="text-[10px] font-black text-indigo-400 uppercase tracking-widest mb-2">Gaming / Hardware</p>
<h4 class="text-xl font-black text-white mb-4">PlayStation 5 Slim</h4>
<div class="p-4 bg-white/5 rounded-2xl mb-6">
<p class="text-[10px] text-gray-500 font-black uppercase tracking-widest mb-2 leading-none">Analiza Radaru AI</p>
<p class="text-xs text-gray-300 font-medium leading-relaxed italic">"Wykryliśmy nowy zestaw z 2 padami w cenie podstawowej konsoli. To oszczędność rzędu 240 PLN względem osobnych zakupów."</p>
</div>
<div class="flex items-center justify-between">
<div>
<p class="text-[10px] font-black text-gray-500 uppercase tracking-widest leading-none mb-1">Aktualna cena</p>
<p class="text-2xl font-black text-white leading-none">2 249 PLN</p>
</div>
<button class="bg-indigo-600 text-white px-6 py-3 rounded-2xl text-xs font-black shadow-lg shadow-indigo-600/20 hover:scale-105 transition-all">DODAJ DO PLANU</button>
</div>
</div>
</div>
</div>
</main>
</div>
<!-- Mobile Navigation (Dark) -->
<nav class="lg:hidden fixed bottom-0 left-0 right-0 bg-[#161925] border-t border-white/5 p-2 flex justify-around items-center z-50">
<a href="dashboard.html" class="flex flex-col items-center p-2 text-gray-500">
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Home</span>
</a>
<a href="gift-radar.html" class="flex flex-col items-center p-2 text-indigo-400">
<i data-lucide="radar" class="w-6 h-6 animate-pulse"></i>
<span class="text-[10px] font-bold mt-1">Radar</span>
</a>
<a href="persons.html" class="flex flex-col items-center p-2 text-gray-500">
<i data-lucide="users" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Osoby</span>
</a>
</nav>
<script>
lucide.createIcons();
</script>
</body>
</html>

302
gift.html
View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Szczegóły Prezentu - Gift Planner</title>
<title>Szczegóły Prezentu (Premium) - Gift Planner</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
@@ -16,37 +16,67 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
@@ -63,7 +93,7 @@
<div class="relative z-10">
<div class="flex items-center gap-2 mb-4">
<span class="bg-indigo-500 text-[10px] font-black px-3 py-1 rounded-full uppercase tracking-widest">Planowanie Prezentu #1024</span>
<span class="bg-purple-500 text-white text-[10px] font-black px-3 py-1 rounded-full uppercase tracking-widest">Wręczony</span>
<span class="bg-emerald-500 text-white text-[10px] font-black px-3 py-1 rounded-full uppercase tracking-widest border border-emerald-400">Oszczędzanie Aktywne</span>
</div>
<h2 class="text-3xl font-black mb-6">Sage Barista Express dla: Mama</h2>
@@ -85,7 +115,7 @@
</div>
<div class="flex gap-4">
<button onclick="window.location.href='product.html'" class="bg-white text-indigo-900 px-6 py-3 rounded-2xl font-bold flex items-center gap-2 hover:bg-indigo-50 transition-all">
<button class="bg-white text-indigo-900 px-6 py-3 rounded-2xl font-bold flex items-center gap-2 hover:bg-indigo-50 transition-all">
<i data-lucide="box"></i> Zarządzaj produktem
</button>
<button class="bg-indigo-800 text-white px-6 py-3 rounded-2xl font-bold border border-indigo-700 hover:bg-indigo-700 transition-all">
@@ -96,6 +126,60 @@
<i data-lucide="gift" class="absolute -right-10 -bottom-10 w-64 h-64 text-white/5 opacity-10"></i>
</section>
<!-- AI: Uzupełnij Prezent -->
<section class="bg-gradient-to-br from-indigo-900 via-indigo-800 to-indigo-950 rounded-[3rem] p-8 lg:p-10 shadow-2xl relative overflow-hidden border border-indigo-700">
<div class="flex flex-col md:flex-row md:items-center justify-between gap-6 mb-10 relative z-10">
<div class="flex items-center gap-4">
<div class="w-14 h-14 bg-white/10 backdrop-blur-md rounded-2xl flex items-center justify-center text-white border border-white/20">
<i data-lucide="wand-2" class="w-8 h-8"></i>
</div>
<div>
<div class="flex items-center gap-2 mb-1">
<span class="bg-indigo-400/30 text-indigo-100 text-[10px] font-black px-2 py-0.5 rounded uppercase tracking-widest border border-indigo-400/30">AI Power</span>
<h3 class="text-2xl font-black text-white">Uzupełnij prezent</h3>
</div>
<p class="text-indigo-200/80 text-sm font-medium">Dobierz dodatki, które sprawią, że prezent będzie kompletny.</p>
</div>
</div>
<button class="bg-white text-indigo-900 px-6 py-3 rounded-2xl font-black text-xs hover:bg-indigo-50 transition-all flex items-center gap-2 shadow-lg">
ODŚWIEŻ SUGESTIE <span class="bg-indigo-100 text-indigo-600 px-2 py-0.5 rounded">-3 <i data-lucide="zap" class="w-3 h-3 inline fill-indigo-600"></i></span>
</button>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-6 relative z-10">
<div class="bg-white/5 backdrop-blur-sm rounded-[2.5rem] p-5 border border-white/10 hover:bg-white/10 transition-all group flex items-center gap-5">
<div class="w-24 h-24 bg-white rounded-3xl overflow-hidden shrink-0 shadow-xl">
<img src="https://images.unsplash.com/photo-1559056191-4917a3bc9404?auto=format&fit=crop&q=80&w=200" class="w-full h-full object-cover">
</div>
<div class="flex-1">
<p class="text-[10px] font-black text-indigo-300 uppercase tracking-widest mb-1">Kawa Specialty</p>
<h4 class="font-black text-white mb-2 leading-tight">Ethiopia 250g</h4>
<div class="flex items-center justify-between">
<span class="text-lg font-black text-white">59 PLN</span>
<button class="w-10 h-10 bg-indigo-500 text-white rounded-xl flex items-center justify-center hover:bg-indigo-400 transition-all">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<div class="bg-white/5 backdrop-blur-sm rounded-[2.5rem] p-5 border border-white/10 hover:bg-white/10 transition-all group flex items-center gap-5">
<div class="w-24 h-24 bg-white rounded-3xl overflow-hidden shrink-0 shadow-xl">
<img src="https://images.unsplash.com/photo-1579227114347-15d08fc37cae?auto=format&fit=crop&q=80&w=200" class="w-full h-full object-cover">
</div>
<div class="flex-1">
<p class="text-[10px] font-black text-indigo-300 uppercase tracking-widest mb-1">Akcesorium</p>
<h4 class="font-black text-white mb-2 leading-tight">Dzbanek Rhino</h4>
<div class="flex items-center justify-between">
<span class="text-lg font-black text-white">120 PLN</span>
<button class="w-10 h-10 bg-indigo-500 text-white rounded-xl flex items-center justify-center hover:bg-indigo-400 transition-all">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Personal Notes -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100">
<h3 class="text-xl font-black text-gray-900 mb-6 flex items-center gap-2">
@@ -119,7 +203,7 @@
</div>
</section>
<!-- Feedback Loop (New Functionality) -->
<!-- Feedback Loop -->
<section class="bg-gradient-to-br from-purple-50 to-white rounded-[2.5rem] p-8 shadow-sm border border-purple-100">
<div class="flex items-center justify-between mb-6">
<h3 class="text-xl font-black text-gray-900 flex items-center gap-2">
@@ -149,23 +233,21 @@
</button>
</div>
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Notatka zwrotna (dla AI i przyszłych planów)</label>
<textarea placeholder="Np. 'Ekspres super, ale kolor mógłby być ciemniejszy' lub 'Najlepszy prezent w tym roku!'" class="w-full px-5 py-4 bg-white border border-purple-100 rounded-3xl focus:ring-2 focus:ring-purple-500 outline-none transition-all text-sm font-medium text-gray-700 min-h-[100px] shadow-inner"></textarea>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Notatka zwrotna</label>
<textarea placeholder="Np. 'Ekspres super, ale kolor mógłby być ciemniejszy'..." class="w-full px-5 py-4 bg-white border border-purple-100 rounded-3xl focus:ring-2 focus:ring-purple-500 outline-none transition-all text-sm font-medium text-gray-700 min-h-[100px] shadow-inner"></textarea>
</div>
<button class="w-full bg-purple-600 text-white py-4 rounded-2xl font-black shadow-xl shadow-purple-200 hover:bg-purple-700 transition-all flex items-center justify-center gap-2">
<i data-lucide="save"></i> Zapisz feedback
</button>
</div>
</section>
<!-- Price Info (Linked to Master) -->
<!-- Price Info in Plan -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100">
<div class="flex items-center justify-between mb-8">
<h3 class="text-xl font-black text-gray-900">Analiza ceny w Twoim planie</h3>
<a href="product.html" class="text-xs font-bold text-indigo-600 hover:underline">Pełna historia produktu</a>
<a href="#" class="text-xs font-bold text-indigo-600 hover:underline">Pełna historia produktu</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="p-6 bg-indigo-50 rounded-3xl border border-indigo-100">
@@ -184,37 +266,29 @@
</section>
</div>
<!-- Link Preview / Action Section -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100">
<div class="bg-indigo-50 border border-indigo-100 rounded-3xl p-8 flex flex-col items-center text-center">
<div class="w-14 h-14 bg-white rounded-full flex items-center justify-center text-indigo-600 shadow-sm mb-4">
<i data-lucide="sparkles" class="w-6 h-6 animate-pulse"></i>
</div>
<h4 class="text-lg font-black text-indigo-900 mb-2">Potrzebujesz kartki lub życzeń?</h4>
<p class="text-sm text-indigo-600 mb-6 max-w-sm">AI może wygenerować personalizowane życzenia bożonarodzeniowe, które idealnie pasują do tego prezentu.</p>
<button class="bg-indigo-600 text-white px-8 py-3 rounded-2xl font-bold shadow-xl">Generuj życzenia</button>
</div>
</section>
</div>
<!-- Right Column: Price Analysis -->
<!-- Right Column -->
<div class="space-y-8">
<!-- Price Card -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100">
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-1">Aktualna Cena (Ceneo)</p>
<!-- Premium Price Card (Ceneo) -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-emerald-100 relative">
<div class="absolute -top-3 left-8 bg-emerald-500 text-white text-[10px] font-black px-3 py-1 rounded-full uppercase tracking-widest border-4 border-white shadow-sm">
Monitorowanie Aktywne
</div>
<div class="flex items-center justify-between mb-6 pt-2">
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest">Najlepsza Cena (Ceneo)</p>
<span class="text-green-600 text-[10px] font-black flex items-center">
<i data-lucide="trending-down" class="w-3 h-3 mr-1"></i> -120 PLN Dziś!
</span>
</div>
<div class="flex items-end gap-3 mb-6">
<h3 class="text-4xl font-black text-gray-900 leading-none">2 499 PLN</h3>
<span class="text-green-600 text-sm font-black flex items-center mb-1">
<i data-lucide="trending-down" class="w-4 h-4 mr-1"></i> -120 PLN
</span>
</div>
<div class="h-48 mb-6">
<canvas id="giftPriceChart"></canvas>
</div>
<div class="space-y-4">
<div class="space-y-3 mb-6">
<div class="p-4 bg-gray-50 rounded-2xl border border-gray-100 flex items-center justify-between">
<p class="text-xs font-bold text-gray-500">Najwyższa (30 dni)</p>
<p class="text-sm font-black text-gray-900">2 650 PLN</p>
@@ -225,66 +299,14 @@
</div>
</div>
<button class="w-full mt-6 flex items-center justify-center gap-2 py-4 bg-green-50 text-green-700 font-bold rounded-2xl border border-green-100 hover:bg-green-100 transition-colors">
<i data-lucide="bell" class="w-5 h-5"></i> Alert cenowy aktywny
<button class="w-full flex items-center justify-center gap-2 py-4 bg-emerald-600 text-white font-black rounded-2xl shadow-xl shadow-emerald-100 hover:bg-emerald-700 transition-all">
<i data-lucide="bell-off" class="w-5 h-5"></i> WYŁĄCZ ALERT CENOWY
</button>
</section>
<!-- AI Similar Products Section -->
<section class="mt-12 bg-white rounded-[3.5rem] p-10 lg:p-12 shadow-sm border border-gray-100 mb-12">
<div class="flex flex-col md:flex-row md:items-center justify-between gap-6 mb-10">
<div class="flex items-center gap-4">
<div class="w-14 h-14 bg-indigo-900 rounded-2xl flex items-center justify-center text-white shadow-xl shadow-indigo-100">
<i data-lucide="brain-circuit" class="w-8 h-8"></i>
</div>
<div>
<h3 class="text-3xl font-black text-gray-900">Pasujące do tego prezentu</h3>
<p class="text-gray-500 font-medium">Biorąc pod uwagę ten prezent, AI sugeruje dodatki, które dopełnią Twój plan.</p>
</div>
</div>
<a href="inspirations.html" class="flex items-center gap-2 text-indigo-600 font-black text-sm uppercase tracking-widest hover:gap-3 transition-all">
Szukaj więcej <i data-lucide="chevron-right"></i>
</a>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
<!-- Similar Item 1 -->
<div class="bg-gray-50 rounded-[2.5rem] p-6 border border-gray-100 hover:border-indigo-200 hover:bg-white transition-all group relative">
<div class="absolute top-4 left-4 bg-indigo-600 text-white text-[10px] font-black px-3 py-1 rounded-full z-10 shadow-lg">SUGESTIA AI</div>
<div class="aspect-square bg-white rounded-3xl overflow-hidden mb-6 shadow-sm border border-gray-100">
<img src="https://images.unsplash.com/photo-1559056191-4917a3bc9404?auto=format&fit=crop&q=80&w=400" class="w-full h-full object-cover">
</div>
<h4 class="font-black text-gray-900 mb-1 leading-tight">Kawa Specialty Ethiopia 250g</h4>
<p class="text-xs text-gray-400 font-bold uppercase tracking-widest mb-4">Zestaw idealny</p>
<div class="flex items-center justify-between">
<span class="text-lg font-black text-indigo-600">59 PLN</span>
<button class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center hover:scale-110 transition-all">
<i data-lucide="plus-circle" class="w-5 h-5"></i>
</button>
</div>
</div>
<!-- Similar Item 2 -->
<div class="bg-gray-50 rounded-[2.5rem] p-6 border border-gray-100 hover:border-indigo-200 hover:bg-white transition-all group relative">
<div class="absolute top-4 left-4 bg-indigo-600 text-white text-[10px] font-black px-3 py-1 rounded-full z-10 shadow-lg">UZUPEŁNIENIE</div>
<div class="aspect-square bg-white rounded-3xl overflow-hidden mb-6 shadow-sm border border-gray-100">
<img src="https://images.unsplash.com/photo-1579227114347-15d08fc37cae?auto=format&fit=crop&q=80&w=400" class="w-full h-full object-cover">
</div>
<h4 class="font-black text-gray-900 mb-1 leading-tight">Dzbanek do mleka Rhino</h4>
<p class="text-xs text-gray-400 font-bold uppercase tracking-widest mb-4">Akcesorium</p>
<div class="flex items-center justify-between">
<span class="text-lg font-black text-indigo-600">120 PLN</span>
<button class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center hover:scale-110 transition-all">
<i data-lucide="plus-circle" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</section>
<!-- Status History -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100">
<h4 class="text-sm font-black text-gray-900 mb-6">Historia Statusu</h4>
<h4 class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-6">Historia Statusu</h4>
<div class="space-y-6 relative before:absolute before:left-3 before:top-2 before:bottom-2 before:w-0.5 before:bg-gray-100">
<div class="relative pl-10">
<div class="absolute left-0 top-1 w-6 h-6 bg-green-500 rounded-full border-4 border-white shadow-sm flex items-center justify-center">
@@ -307,53 +329,35 @@
</div>
</div>
</section>
</div>
</div>
</main>
</div>
<!-- Mobile Navigation -->
<nav class="lg:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-2 flex justify-around items-center z-50">
<a href="dashboard.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Home</span>
</a>
<a href="occasions.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="calendar" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Okazje</span>
</a>
<a href="persons.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="users" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Osoby</span>
</a>
<a href="settings.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="settings" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Opcje</span>
</a>
</nav>
<!-- Chart Script -->
<script>
lucide.createIcons();
// Detailed Price History Chart
const ctx = document.getElementById('giftPriceChart').getContext('2d');
new Chart(ctx, {
type: 'line',
data: {
labels: ['1', '5', '10', '15', '20', '25', '30'],
datasets: [{
label: 'Cena (PLN)',
label: 'Cena',
data: [2650, 2600, 2650, 2550, 2500, 2499, 2499],
borderColor: '#6366f1',
borderColor: '#10b981',
borderWidth: 4,
tension: 0.4,
pointRadius: 4,
pointBackgroundColor: '#fff',
pointBorderColor: '#6366f1',
pointBorderColor: '#10b981',
pointBorderWidth: 2,
fill: true,
backgroundColor: (context) => {
const gradient = context.chart.ctx.createLinearGradient(0, 0, 0, 200);
gradient.addColorStop(0, 'rgba(99, 102, 241, 0.1)');
gradient.addColorStop(1, 'rgba(99, 102, 241, 0)');
gradient.addColorStop(0, 'rgba(16, 185, 129, 0.1)');
gradient.addColorStop(1, 'rgba(16, 185, 129, 0)');
return gradient;
}
}]
@@ -363,42 +367,16 @@
maintainAspectRatio: false,
plugins: { legend: { display: false } },
scales: {
x: {
grid: { display: false },
ticks: { font: { size: 10, weight: 'bold' }, color: '#94a3b8' }
},
x: { grid: { display: false }, ticks: { font: { size: 9, weight: 'bold' }, color: '#94a3b8' } },
y: {
display: true,
grid: { color: '#f8fafc' },
ticks: { font: { size: 10, weight: 'bold' }, color: '#94a3b8' }
border: { display: false },
ticks: { font: { size: 9, weight: 'bold' }, color: '#94a3b8' }
}
}
}
});
</script>
<!-- Mobile Navigation -->
<nav class="lg:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-2 flex justify-around items-center z-50">
<a href="dashboard.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Home</span>
</a>
<a href="updates.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="bell" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Status</span>
</a>
<a href="inspirations.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="sparkles" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Pomysły</span>
</a>
<a href="blog.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="book-open" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Blog</span>
</a>
<a href="settings.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="settings" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Opcje</span>
</a>
</nav>
</body>
</html>

View File

@@ -15,37 +15,67 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->

View File

@@ -8,6 +8,36 @@
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
<script src="main.js" defer></script>
<style>
.masonry-item {
break-inside: avoid;
margin-bottom: 2rem;
}
.glass-card {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.reveal-overlay {
opacity: 0;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover .reveal-overlay {
opacity: 1;
}
/* Custom scrollbar for better aesthetics */
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #e2e8f0;
border-radius: 10px;
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
@@ -15,236 +45,212 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8">
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8 custom-scrollbar">
<header class="mb-10 flex flex-col md:flex-row md:items-end justify-between gap-6">
<div>
<h2 class="text-3xl font-black text-gray-900 leading-tight">Inspiracje Prezentowe</h2>
<p class="text-gray-500 font-medium">Kolekcje skomponowane przez AI na nadchodzące wydarzenia.</p>
<h2 class="text-4xl font-black text-gray-900 leading-tight">Inspiracje</h2>
<p class="text-gray-500 font-medium">Odkryj najlepsze propozycje na nadchodzące wydarzenia.</p>
</div>
<div class="flex gap-2 p-1 bg-white rounded-2xl border border-gray-100 shadow-sm overflow-x-auto">
<button class="px-5 py-2.5 bg-indigo-600 text-white text-xs font-black rounded-xl uppercase shadow-lg shadow-indigo-100 whitespace-nowrap">Dla Ciebie</button>
<button class="px-5 py-2.5 text-gray-400 text-xs font-black rounded-xl uppercase hover:bg-gray-50 whitespace-nowrap">Boże Narodzenie</button>
<button class="px-5 py-2.5 text-gray-400 text-xs font-black rounded-xl uppercase hover:bg-gray-50 whitespace-nowrap">Walentynki</button>
<button class="px-5 py-2.5 text-gray-400 text-xs font-black rounded-xl uppercase hover:bg-gray-50 whitespace-nowrap">Dzień Kobiet</button>
<button class="px-5 py-2.5 text-gray-400 text-xs font-black rounded-xl uppercase hover:bg-gray-50 whitespace-nowrap">Urodziny</button>
<div class="flex gap-3 bg-white p-2 rounded-2xl shadow-sm border border-gray-100">
<button class="px-6 py-2.5 bg-gray-900 text-white text-[10px] font-black rounded-xl uppercase tracking-widest shadow-lg shadow-gray-200">Wszystkie</button>
<button class="px-6 py-2.5 text-gray-400 hover:text-gray-900 transition-colors text-[10px] font-black rounded-xl uppercase tracking-widest">Boże Narodzenie</button>
<button class="px-6 py-2.5 text-gray-400 hover:text-gray-900 transition-colors text-[10px] font-black rounded-xl uppercase tracking-widest">Walentynki</button>
<button class="px-6 py-2.5 text-gray-400 hover:text-gray-900 transition-colors text-[10px] font-black rounded-xl uppercase tracking-widest">Urodziny</button>
</div>
</header>
<!-- Collection: Boże Narodzenie -->
<div class="mb-16">
<div class="flex items-center gap-4 mb-8">
<div class="w-12 h-12 rounded-2xl bg-red-50 flex items-center justify-center text-red-600">
<i data-lucide="snowflake"></i>
</div>
<div>
<h3 class="text-2xl font-black text-gray-900">Bestsellery na Boże Narodzenie</h3>
<p class="text-xs font-bold text-gray-400 uppercase tracking-widest">Najczęściej rezerwowane w tym tygodniu</p>
</div>
</div>
<!-- Pinterest Style Masonry Grid -->
<div class="columns-1 md:columns-2 lg:columns-3 xl:columns-4 gap-8">
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8">
<!-- Product Card 1 -->
<div class="bg-white rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all group flex flex-col relative">
<button onclick="openModal('modal-add-to-plans')" class="absolute top-4 right-4 w-12 h-12 bg-indigo-600 text-white rounded-2xl flex items-center justify-center shadow-lg shadow-indigo-200 z-10 hover:scale-110 transition-transform active:scale-95" title="Szybkie dodawanie">
<i data-lucide="plus-circle" class="w-6 h-6"></i>
</button>
<a href="product.html" class="flex flex-col flex-1">
<div class="h-56 relative overflow-hidden shrink-0 rounded-t-[2.5rem]">
<img src="https://images.unsplash.com/photo-1544244015-0df4b3ffc6b0?q=80&w=600&auto=format&fit=crop" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
<div class="absolute top-4 left-4 bg-white/90 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black uppercase text-indigo-600 border border-indigo-100">Bestseller AI</div>
</div>
<div class="p-6 flex-1 flex flex-col">
<div class="mb-4 flex-1">
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-1">Elektronika / Rozrywka</p>
<h3 class="text-lg font-black text-gray-900 mb-2 leading-tight">iPad Air 11" z M2</h3>
<p class="text-sm text-gray-500 font-medium">Idealny dla kreatywnych osób, studentów i pasjonatów designu.</p>
</div>
<div class="flex items-center justify-between mb-6">
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest leading-none mb-1">Cena od</p>
<p class="text-xl font-black text-indigo-600 leading-none tracking-tight">2 999 PLN</p>
</div>
</div>
<div class="w-full py-4 bg-gray-50 text-gray-900 rounded-2xl font-black text-xs hover:bg-gray-100 transition-all flex items-center justify-center gap-2">
SZCZEGÓŁY PRODUKTU
<i data-lucide="arrow-right" class="w-4 h-4 text-gray-400"></i>
</div>
</div>
</a>
</div>
<!-- Product Card 2 -->
<div class="bg-white rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all group flex flex-col relative">
<button onclick="openModal('modal-add-to-plans')" class="absolute top-4 right-4 w-12 h-12 bg-indigo-600 text-white rounded-2xl flex items-center justify-center shadow-lg shadow-indigo-200 z-10 hover:scale-110 transition-transform active:scale-95" title="Szybkie dodawanie">
<i data-lucide="plus-circle" class="w-6 h-6"></i>
</button>
<a href="product.html" class="flex flex-col flex-1">
<div class="h-56 relative overflow-hidden shrink-0 rounded-t-[2.5rem]">
<img src="https://images.unsplash.com/photo-1596460107916-430662021049?q=80&w=600&auto=format&fit=crop" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
<div class="absolute top-4 left-4 bg-white/90 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black uppercase text-orange-600 border border-orange-100">Nowość AI</div>
</div>
<div class="p-6 flex-1 flex flex-col">
<div class="mb-4 flex-1">
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-1">Dla Dzieci / Klocki</p>
<h3 class="text-lg font-black text-gray-900 mb-2 leading-tight">LEGO Icons Ogród Botaniczny</h3>
<p class="text-sm text-gray-500 font-medium">Zestaw kolekcjonerski dla dorosłych fanów botaniki i LEGO.</p>
</div>
<div class="flex items-center justify-between mb-6">
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest leading-none mb-1">Cena od</p>
<p class="text-xl font-black text-indigo-600 leading-none tracking-tight">349 PLN</p>
</div>
</div>
<div class="w-full py-4 bg-gray-50 text-gray-900 rounded-2xl font-black text-xs hover:bg-gray-100 transition-all flex items-center justify-center gap-2">
SZCZEGÓŁY PRODUKTU
<i data-lucide="arrow-right" class="w-4 h-4 text-gray-400"></i>
</div>
</div>
</a>
</div>
</div>
</div>
<!-- Collection: Dzień Kobiet -->
<div class="mb-16">
<div class="flex items-center gap-4 mb-8">
<div class="w-12 h-12 rounded-2xl bg-pink-50 flex items-center justify-center text-pink-600">
<i data-lucide="flower-2"></i>
</div>
<div>
<h3 class="text-2xl font-black text-gray-900">Inspiracje na Dzień Kobiet</h3>
<p class="text-xs font-bold text-gray-400 uppercase tracking-widest">Elegancja, relaks i piękno</p>
</div>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8">
<!-- Product Card 3 -->
<div class="bg-white rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all group flex flex-col relative">
<button onclick="openModal('modal-add-to-plans')" class="absolute top-4 right-4 w-12 h-12 bg-indigo-600 text-white rounded-2xl flex items-center justify-center shadow-lg shadow-indigo-200 z-10 hover:scale-110 transition-transform active:scale-95" title="Szybkie dodawanie">
<i data-lucide="plus-circle" class="w-6 h-6"></i>
</button>
<a href="product.html" class="flex flex-col flex-1">
<div class="h-56 relative overflow-hidden shrink-0 rounded-t-[2.5rem]">
<img src="https://images.unsplash.com/photo-1540555700478-4be289aef09a?q=80&w=600&auto=format&fit=crop" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
<div class="absolute top-4 left-4 bg-white/90 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black uppercase text-pink-600 border border-pink-100">Relaks i Wellness</div>
</div>
<div class="p-6 flex-1 flex flex-col">
<div class="mb-4 flex-1">
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-1">Wellness / Zdrowie</p>
<h3 class="text-lg font-black text-gray-900 mb-2 leading-tight">Mata do akupresury Pranamat</h3>
<p class="text-sm text-gray-500 font-medium">Ulga dla kręgosłupa i głęboki relaks po pracy. Hit social mediów.</p>
</div>
<div class="flex items-center justify-between mb-6">
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest leading-none mb-1">Cena od</p>
<p class="text-xl font-black text-indigo-600 leading-none tracking-tight">620 PLN</p>
</div>
</div>
<div class="w-full py-4 bg-gray-50 text-gray-900 rounded-2xl font-black text-xs hover:bg-gray-100 transition-all flex items-center justify-center gap-2">
SZCZEGÓŁY PRODUKTU
<i data-lucide="arrow-right" class="w-4 h-4 text-gray-400"></i>
</div>
</div>
</a>
</div>
<!-- Product Card 4 -->
<div class="bg-white rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all group flex flex-col relative">
<button onclick="openModal('modal-add-to-plans')" class="absolute top-4 right-4 w-12 h-12 bg-indigo-600 text-white rounded-2xl flex items-center justify-center shadow-lg shadow-indigo-200 z-10 hover:scale-110 transition-transform active:scale-95" title="Szybkie dodawanie">
<i data-lucide="plus-circle" class="w-6 h-6"></i>
</button>
<a href="product.html" class="flex flex-col flex-1">
<div class="h-56 relative overflow-hidden shrink-0 rounded-t-[2.5rem]">
<img src="https://images.unsplash.com/photo-1591337676887-a217a6970a8a?q=80&w=600&auto=format&fit=crop" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
<div class="absolute top-4 left-4 bg-white/90 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black uppercase text-emerald-600 border border-emerald-100">Smart Home</div>
</div>
<div class="p-6 flex-1 flex flex-col">
<div class="mb-4 flex-1">
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-1">Dom / Lifestyle</p>
<h3 class="text-lg font-black text-gray-900 mb-2 leading-tight">Zestaw Click & Grow</h3>
<p class="text-sm text-gray-500 font-medium">Inteligentny ogród domowy, który sam dba o rośliny.</p>
</div>
<div class="flex items-center justify-between mb-6">
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest leading-none mb-1">Cena od</p>
<p class="text-xl font-black text-indigo-600 leading-none tracking-tight">459 PLN</p>
</div>
</div>
<div class="w-full py-4 bg-gray-50 text-gray-900 rounded-2xl font-black text-xs hover:bg-gray-100 transition-all flex items-center justify-center gap-2">
SZCZEGÓŁY PRODUKTU
<i data-lucide="arrow-right" class="w-4 h-4 text-gray-400"></i>
</div>
</div>
</a>
</div>
</div>
</div>
<!-- AI Magic Help -->
<section class="mt-16 bg-white rounded-[3rem] p-12 border border-indigo-100 shadow-xl shadow-indigo-50 relative overflow-hidden">
<div class="relative z-10 flex flex-col lg:flex-row items-center gap-12">
<div class="flex-1">
<div class="flex items-center gap-3 mb-4">
<div class="w-12 h-12 bg-indigo-600 rounded-2xl flex items-center justify-center text-white shadow-xl shadow-indigo-100">
<i data-lucide="brain-circuit"></i>
</div>
<span class="text-sm font-black text-indigo-600 uppercase tracking-widest">Wyszukiwarka AI</span>
</div>
<h3 class="text-3xl font-black text-gray-900 mb-4 leading-tight">Nie znalazłeś tego, czego szukasz?</h3>
<p class="text-lg text-gray-500 font-medium mb-8 leading-relaxed">Nasz asystent AI może przeszukać tysiące produktów online specjalnie pod kątem Twojej osoby. Powiedz nam tylko kogo chcesz uszczęśliwić.</p>
<div class="flex flex-col sm:flex-row gap-4">
<input type="text" placeholder="Np: Szukam czegoś eleganckiego dla mamy, która kocha jogę..." class="form-input flex-1 py-4 px-6 rounded-2xl border-2 border-indigo-50 bg-gray-50 font-medium focus:bg-white focus:border-indigo-600 transition-all outline-none">
<button class="bg-indigo-600 text-white px-10 py-4 rounded-2xl font-black text-sm shadow-xl shadow-indigo-100 hover:opacity-90 transition-all">
ZAPYTAJ AI
<!-- Masonry Item 1 (Large) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1544244015-0df4b3ffc6b0?q=80&w=600&auto=format&fit=crop" class="w-full h-[450px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-indigo-600 uppercase tracking-widest mb-1 leading-none">Technologia</p>
<h4 class="text-xl font-black mb-2">iPad Air 11" M2</h4>
<p class="text-xs text-gray-500 font-medium mb-4 leading-relaxed">Idealny do szkicowania i nauki.</p>
<div class="flex items-center justify-between">
<span class="text-lg font-black">2 999 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
<div class="w-full lg:w-1/3 aspect-square gradient-bg rounded-[4rem] flex flex-col items-center justify-center p-10 text-white relative group cursor-pointer hover:rotate-1 transition-all">
<i data-lucide="sparkles" class="w-20 h-20 mb-6 group-hover:scale-110 transition-all duration-700"></i>
<h4 class="text-2xl font-black text-center mb-2">Tryb "Radar Prezentowy"</h4>
<p class="text-center text-white/70 text-sm font-medium">AI będzie monitorować nowości i promocje specjalnie pod Twój budżet.</p>
<div class="absolute top-0 left-0 w-full h-full bg-white/5 opacity-0 group-hover:opacity-100 transition-opacity"></div>
</div>
</div>
</section>
<!-- Masonry Item 2 (Medium) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1596460107916-430662021049?q=80&w=600&auto=format&fit=crop" class="w-full h-[320px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-orange-600 uppercase tracking-widest mb-1 leading-none">Kolekcje</p>
<h4 class="text-xl font-black mb-2">LEGO Botanicals</h4>
<div class="flex items-center justify-between">
<span class="text-lg font-black">349 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<div class="absolute top-4 left-4 glass-card px-3 py-1 rounded-full text-[10px] font-black text-orange-600 uppercase">Hit Sezonu</div>
</div>
<!-- Masonry Item 3 (Small) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1540555700478-4be289aef09a?q=80&w=600&auto=format&fit=crop" class="w-full h-[280px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-pink-600 uppercase tracking-widest mb-1 leading-none">Wellness</p>
<h4 class="text-xl font-black mb-2">Pranamat Eco</h4>
<div class="flex items-center justify-between">
<span class="text-lg font-black">620 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Masonry Item 4 (Large) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1591337676887-a217a6970a8a?q=80&w=600&auto=format&fit=crop" class="w-full h-[400px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-emerald-600 uppercase tracking-widest mb-1 leading-none">Dom & Ogród</p>
<h4 class="text-xl font-black mb-2">Click & Grow</h4>
<p class="text-xs text-gray-500 font-medium mb-4 leading-relaxed">Twoja domowa dżungla.</p>
<div class="flex items-center justify-between">
<span class="text-lg font-black">459 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Masonry Item 5 (Medium) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1550517355-38f1fdb24227?q=80&w=600&auto=format&fit=crop" class="w-full h-[350px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-purple-600 uppercase tracking-widest mb-1 leading-none">Uroda</p>
<h4 class="text-xl font-black mb-2">Jo Malone Set</h4>
<div class="flex items-center justify-between">
<span class="text-lg font-black">429 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Masonry Item 6 (Large) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-indigo-600 shadow-xl shadow-indigo-100 p-8 flex flex-col justify-center items-center text-center text-white min-h-[400px]">
<i data-lucide="sparkles" class="w-16 h-16 mb-6 text-indigo-300 animate-pulse"></i>
<h4 class="text-2xl font-black mb-4 leading-tight">Potrzebujesz czegoś unikalnego?</h4>
<p class="text-sm font-medium text-indigo-100 mb-8 leading-relaxed">Nasze AI może wygenerować personalne inspiracje na podstawie Twojej rozmowy.</p>
<a href="search.html" class="px-8 py-4 bg-white text-indigo-600 rounded-2xl font-black text-sm shadow-xl hover:scale-105 transition-transform">WYPRÓBUJ WYSZUKIWARKĘ</a>
</div>
<!-- Masonry Item 7 (Medium) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1593305841991-05c297ba4575?q=80&w=600&auto=format&fit=crop" class="w-full h-[320px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-indigo-600 uppercase tracking-widest mb-1 leading-none">Gaming</p>
<h4 class="text-xl font-black mb-2">PS5 Slim</h4>
<div class="flex items-center justify-between">
<span class="text-lg font-black">2 249 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Floating Budget Filters -->
<div class="fixed bottom-10 left-1/2 -translate-x-1/2 z-40 bg-white/80 backdrop-blur-xl border border-white/20 px-8 py-4 rounded-[3rem] shadow-2xl flex items-center gap-6 hidden lg:flex">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-widest border-r border-gray-100 pr-6 mr-1">Budżet:</span>
<button class="px-5 py-2 hover:bg-indigo-50 rounded-2xl text-xs font-bold text-gray-600 hover:text-indigo-600 transition-all">Do 100 PLN</button>
<button class="px-5 py-2 hover:bg-indigo-50 rounded-2xl text-xs font-bold text-gray-600 hover:text-indigo-600 transition-all">100 - 500 PLN</button>
<button class="px-5 py-2 hover:bg-indigo-50 rounded-2xl text-xs font-bold text-gray-600 hover:text-indigo-600 transition-all">Powyżej 500 PLN</button>
<div class="w-[1px] h-6 bg-gray-100 mx-2"></div>
<button class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="sliders-horizontal" class="w-4 h-4"></i>
</button>
</div>
</main>
</div>
@@ -254,22 +260,14 @@
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Home</span>
</a>
<a href="updates.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="bell" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Status</span>
<a href="search.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="search" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Szukaj</span>
</a>
<a href="inspirations.html" class="flex flex-col items-center p-2 text-indigo-600">
<i data-lucide="sparkles" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Pomysły</span>
</a>
<a href="blog.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="book-open" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Blog</span>
</a>
<a href="settings.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="settings" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Opcje</span>
</a>
</nav>
<!-- Modal: Dodaj do Planów -->
@@ -302,19 +300,9 @@
<option>+ Stwórz nową okazję</option>
</select>
</div>
<div class="p-5 bg-indigo-50 rounded-3xl border border-indigo-100 flex items-center gap-4">
<div class="w-16 h-16 bg-white rounded-2xl overflow-hidden shrink-0 shadow-sm border border-indigo-100/50">
<img id="modal-template-img" src="https://images.unsplash.com/photo-1544244015-0df4b3ffc6b0?q=80&w=200&auto=format&fit=crop" class="w-full h-full object-cover">
</div>
<div>
<h4 class="text-sm font-black text-indigo-900 mb-1 leading-tight">iPad Air 11" z M2</h4>
<p class="text-lg font-black text-indigo-600 leading-none">2 999 PLN</p>
</div>
</div>
<button type="submit" class="w-full gradient-bg text-white py-4 rounded-3xl font-black shadow-xl shadow-indigo-100 mt-4 flex items-center justify-center gap-2">
REZERWUJ W PLANACH
</button>
<p class="text-[10px] text-center text-gray-400 font-bold uppercase tracking-widest">Produkt zostanie dodany do sekcji "Idea" u danej osoby</p>
</form>
</div>
</div>

218
notes.html Normal file
View File

@@ -0,0 +1,218 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Notatki - Gift Planner</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8 custom-scrollbar">
<!-- Header -->
<header class="flex items-center justify-between mb-12">
<h1 class="text-4xl font-black text-gray-900 tracking-tight mb-2">Notatki</h1>
</header>
<div class="grid grid-cols-1 lg:grid-cols-12 gap-10">
<!-- Capture Section -->
<div class="lg:col-span-12">
<div class="bg-gray-900 rounded-[3rem] p-10 text-white relative overflow-hidden shadow-2xl shadow-indigo-200">
<i data-lucide="zap" class="absolute -right-6 -top-6 w-32 h-32 text-indigo-500/10 rotate-12"></i>
<div class="relative z-10">
<div class="flex items-center gap-4 mb-8">
<div class="w-12 h-12 rounded-2xl bg-indigo-600 flex items-center justify-center shadow-xl shadow-indigo-600/20">
<i data-lucide="forward" class="w-6 h-6 text-white"></i>
</div>
<h2 class="text-2xl font-black">Dodaj notatkę</h2>
</div>
<form class="grid grid-cols-1 md:grid-cols-4 gap-6 items-end">
<div class="md:col-span-4">
<label class="block text-[10px] font-black uppercase tracking-[0.2em] text-indigo-300 mb-3 ml-1">Nazwa prezentu / Pomysł</label>
<input type="text" placeholder="Np. Legendarna edycja Wiedźmina 3 na PS5..." class="w-full bg-white/5 border border-white/10 rounded-[1.5rem] px-6 py-4 text-lg font-bold placeholder:text-white/10 focus:outline-none focus:ring-2 focus:ring-indigo-500/50 focus:bg-white/10 transition-all">
</div>
<div class="md:col-span-2">
<label class="block text-[10px] font-black uppercase tracking-[0.2em] text-indigo-300 mb-3 ml-1">Dla kogo?</label>
<div class="relative">
<select class="w-full bg-white/5 border border-white/10 rounded-[1.5rem] px-6 py-4 font-bold focus:outline-none focus:ring-2 focus:ring-indigo-500/50 appearance-none transition-all cursor-pointer">
<option value="" class="bg-gray-900">Wybierz osobę...</option>
<option value="1" class="bg-gray-900">Tata</option>
<option value="2" class="bg-gray-900">Ania</option>
<option value="3" class="bg-gray-900">Maja</option>
<option value="new" class="bg-gray-900 text-indigo-400">+ Dodaj nową osobę</option>
</select>
<i data-lucide="chevron-down" class="absolute right-6 top-1/2 -translate-y-1/2 w-5 h-5 text-white/20 pointer-events-none"></i>
</div>
</div>
<div class="md:col-span-2">
<label class="block text-[10px] font-black uppercase tracking-[0.2em] text-indigo-300 mb-3 ml-1">Notatka</label>
<input type="text" placeholder="Dodaj krótki powód lub link..." class="w-full bg-white/5 border border-white/10 rounded-[1.5rem] px-6 py-4 font-bold placeholder:text-white/10 focus:outline-none focus:ring-2 focus:ring-indigo-500/50 focus:bg-white/10 transition-all">
</div>
<div class="md:col-span-4 mt-4">
<button type="submit" class="w-full bg-white text-gray-900 py-5 rounded-[1.5rem] font-black uppercase tracking-widest hover:bg-gray-100 transition-all shadow-xl shadow-white/5 active:scale-[0.98]">
Zapisz pomysł
</button>
</div>
</form>
</div>
</div>
</div>
<!-- Inbox Section -->
<div class="lg:col-span-12">
<div class="flex items-center justify-between mb-8">
<div>
<h3 class="text-xl font-black text-gray-900">Pomysły</h3>
<p class="text-xs text-gray-400 font-bold uppercase tracking-wider mt-1">Oczekują na przypisanie do okazji</p>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Idea Card 1 -->
<div class="bg-white p-8 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all relative group overflow-hidden">
<div class="absolute -right-6 -top-6 w-24 h-24 bg-indigo-50 rounded-full opacity-0 group-hover:opacity-100 transition-all"></div>
<i data-lucide="lightbulb" class="absolute right-6 top-6 w-8 h-8 text-indigo-100 group-hover:text-indigo-200 transition-all"></i>
<div class="relative z-10">
<span class="bg-indigo-50 text-indigo-600 text-[10px] font-black px-3 py-1 rounded-full uppercase tracking-tighter mb-4 inline-block">Dla: Tata</span>
<h4 class="text-xl font-black text-gray-900 mb-2 leading-tight">Wkrętak akumulatorowy Bosch</h4>
<p class="text-sm text-gray-400 font-medium mb-6">"Wspominał przy ostatnim remoncie, że jego stary już nie domaga."</p>
<div class="flex items-center gap-3 pt-6 border-t border-gray-50">
<button class="flex-1 bg-gray-900 text-white py-3 rounded-xl text-[10px] font-black uppercase tracking-widest hover:bg-indigo-600 transition-colors">
Przypisz okazję
</button>
<button class="w-12 h-12 flex items-center justify-center bg-gray-50 text-gray-400 rounded-xl hover:text-red-600 transition-colors">
<i data-lucide="trash-2" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Idea Card 2 -->
<div class="bg-white p-8 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all relative group overflow-hidden">
<div class="absolute -right-6 -top-6 w-24 h-24 bg-indigo-50 rounded-full opacity-0 group-hover:opacity-100 transition-all"></div>
<i data-lucide="lightbulb" class="absolute right-6 top-6 w-8 h-8 text-indigo-100 group-hover:text-indigo-200 transition-all"></i>
<div class="relative z-10">
<span class="bg-indigo-50 text-indigo-600 text-[10px] font-black px-3 py-1 rounded-full uppercase tracking-tighter mb-4 inline-block">Dla: Ania</span>
<h4 class="text-xl font-black text-gray-900 mb-2 leading-tight">Kurs ceramiczny w "Glinianej"</h4>
<p class="text-sm text-gray-400 font-medium mb-6">"Widziałam jej zapisane posty na Instagramie."</p>
<div class="flex items-center gap-3 pt-6 border-t border-gray-50">
<button class="flex-1 bg-gray-900 text-white py-3 rounded-xl text-[10px] font-black uppercase tracking-widest hover:bg-indigo-600 transition-colors">
Przypisz okazję
</button>
<button class="w-12 h-12 flex items-center justify-center bg-gray-50 text-gray-400 rounded-xl hover:text-red-600 transition-colors">
<i data-lucide="trash-2" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Idea Card 3 -->
<div class="bg-white p-8 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all relative group overflow-hidden">
<div class="absolute -right-6 -top-6 w-24 h-24 bg-indigo-50 rounded-full opacity-0 group-hover:opacity-100 transition-all"></div>
<i data-lucide="lightbulb" class="absolute right-6 top-6 w-8 h-8 text-indigo-100 group-hover:text-indigo-200 transition-all"></i>
<div class="relative z-10">
<span class="bg-indigo-50 text-indigo-600 text-[10px] font-black px-3 py-1 rounded-full uppercase tracking-tighter mb-4 inline-block">Dla: Maja</span>
<h4 class="text-xl font-black text-gray-900 mb-2 leading-tight">Lego Botanical Collection</h4>
<p class="text-sm text-gray-400 font-medium mb-6">"Chce mieć kwiaty, których nie trzeba podlewać."</p>
<div class="flex items-center gap-3 pt-6 border-t border-gray-50">
<button class="flex-1 bg-gray-900 text-white py-3 rounded-xl text-[10px] font-black uppercase tracking-widest hover:bg-indigo-600 transition-colors">
Przypisz okazję
</button>
<button class="w-12 h-12 flex items-center justify-center bg-gray-50 text-gray-400 rounded-xl hover:text-red-600 transition-colors">
<i data-lucide="trash-2" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
<script>
lucide.createIcons();
</script>
</body>
</html>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Analiza AI - Gift Planner</title>
<title>AI - Gift Planner</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
@@ -14,25 +14,67 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="calendar"></i> Okazje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
@@ -46,8 +88,12 @@
<h2 class="text-3xl font-black text-gray-900 leading-tight">Boże Narodzenie 2025</h2>
<div class="flex items-center gap-4 mt-2">
<span class="bg-indigo-600 text-white text-[10px] font-black px-3 py-1 rounded-full uppercase tracking-widest flex items-center gap-2">
<i data-lucide="sparkles" class="w-3 h-3"></i> AI Analysis Active
<i data-lucide="sparkles" class="w-3 h-3"></i> Moduł AI Aktywny
</span>
<div class="flex items-center gap-2 bg-yellow-50 px-3 py-1 rounded-full border border-yellow-100">
<i data-lucide="zap" class="w-3 h-3 text-yellow-600 fill-yellow-500"></i>
<span class="text-[10px] font-black text-yellow-700 uppercase tracking-widest">120 Tokenów</span>
</div>
</div>
</div>
@@ -56,7 +102,7 @@
<a href="occasion.html" class="pb-4 text-sm font-bold text-gray-400 hover:text-indigo-600 transition-colors">Lista Osób</a>
<a href="occasion-gifts.html" class="pb-4 text-sm font-bold text-gray-400 hover:text-indigo-600 transition-colors">Wszystkie Prezenty</a>
<a href="occasion-ai.html" class="pb-4 text-sm font-bold border-b-2 border-indigo-600 text-indigo-600 flex items-center gap-2">
Analiza AI <span class="bg-indigo-100 text-indigo-600 text-[10px] px-1.5 py-0.5 rounded uppercase">Beta</span>
AI <span class="bg-indigo-100 text-indigo-600 text-[10px] px-1.5 py-0.5 rounded uppercase">Beta</span>
</a>
</div>
@@ -104,7 +150,9 @@
<span class="bg-gray-50 text-gray-400 text-[10px] font-bold px-3 py-1 rounded-full">+2 inne</span>
</div>
</div>
<button class="bg-indigo-600 text-white px-5 py-2 rounded-xl text-xs font-bold shadow-lg shadow-indigo-100 hover:scale-105 transition-all">Wygeneruj listę</button>
<button class="bg-indigo-600 text-white px-5 py-2 rounded-xl text-xs font-bold shadow-lg shadow-indigo-100 hover:scale-105 transition-all flex items-center gap-2">
Wygeneruj listę <span class="bg-indigo-500 text-[9px] px-1.5 py-0.5 rounded">-5 <i data-lucide="zap" class="w-2 h-2 inline fill-white"></i></span>
</button>
</div>
<!-- Person Suggestion 2 -->
@@ -128,6 +176,23 @@
<!-- AI sidebar stats -->
<div class="space-y-6">
<!-- Moved Group Greetings Card -->
<section class="bg-indigo-900 rounded-[2.5rem] p-8 text-white relative overflow-hidden shadow-2xl border border-indigo-700">
<div class="relative z-10 text-center">
<div class="w-14 h-14 bg-white/10 rounded-full flex items-center justify-center mx-auto mb-6 border border-white/20">
<i data-lucide="sparkles" class="text-indigo-300 animate-pulse"></i>
</div>
<h4 class="text-xl font-black mb-3 leading-tight">Grupowe życzenia AI</h4>
<p class="text-xs text-indigo-200/80 mb-8 font-medium leading-relaxed">
AI przygotuje zestaw personalizowanych życzeń dla wszystkich uczestników z tej okazji.
</p>
<button class="w-full bg-white text-indigo-900 py-4 rounded-2xl font-black shadow-xl hover:bg-indigo-50 transition-all flex items-center justify-center gap-2">
GENERUJ PAKIET <span class="bg-indigo-100 text-indigo-600 text-[10px] px-2 py-0.5 rounded">-5 <i data-lucide="zap" class="w-2.5 h-2.5 inline fill-indigo-600"></i></span>
</button>
</div>
<i data-lucide="message-square" class="absolute -right-6 -bottom-6 w-32 h-32 text-white/5 opacity-10"></i>
</section>
<div class="bg-white rounded-[2rem] p-6 border border-gray-100 shadow-sm">
<h4 class="text-sm font-black mb-4 flex items-center gap-2">
<i data-lucide="zap" class="text-yellow-500 w-4 h-4"></i> Optymalizacja Budżetu
@@ -148,7 +213,9 @@
</div>
<h4 class="text-sm font-black mb-2">Przeanalizuj ponownie</h4>
<p class="text-[10px] text-gray-400 mb-6 px-4">Odśwież sugestie na podstawie najnowszych zmian w budżecie i cen rynkowych.</p>
<button class="w-full py-3 bg-indigo-600 text-white font-bold rounded-2xl shadow-lg shadow-indigo-100 transition-all hover:opacity-90">Odśwież Analizę</button>
<button class="w-full py-3 bg-indigo-600 text-white font-bold rounded-2xl shadow-lg shadow-indigo-100 transition-all hover:opacity-90 flex items-center justify-center gap-2">
Odśwież Analizę <span class="bg-indigo-500 text-[10px] px-2 py-0.5 rounded">-2 <i data-lucide="zap" class="w-3 h-3 inline fill-white"></i></span>
</button>
</div>
</div>
</div>

View File

@@ -14,25 +14,67 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="calendar"></i> Okazje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
@@ -55,7 +97,7 @@
<a href="occasion.html" class="pb-4 text-sm font-bold text-gray-400 hover:text-indigo-600 transition-colors">Lista Osób</a>
<a href="occasion-gifts.html" class="pb-4 text-sm font-bold border-b-2 border-indigo-600 text-indigo-600">Wszystkie Prezenty</a>
<a href="occasion-ai.html" class="pb-4 text-sm font-bold text-gray-400 hover:text-gray-600 transition-colors flex items-center gap-2">
Analiza AI <span class="bg-indigo-100 text-indigo-600 text-[10px] px-1.5 py-0.5 rounded uppercase">Beta</span>
AI <span class="bg-indigo-100 text-indigo-600 text-[10px] px-1.5 py-0.5 rounded uppercase">Beta</span>
</a>
</div>

View File

@@ -12,51 +12,70 @@
<body class="bg-gray-50 min-h-screen">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar (Copy from index.html) -->
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">
Gift Planner
</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="p-4 border-t border-gray-100">
<div class="flex items-center gap-3 p-4">
<div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold">NK</div>
<div class="flex-1 overflow-hidden">
<p class="text-sm font-semibold truncate">Norbert K.</p>
<p class="text-xs text-gray-500">Premium</p>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
@@ -83,17 +102,38 @@
</div>
</div>
</div>
<div class="bg-white rounded-3xl p-6 shadow-sm border border-gray-100 min-w-[300px]">
<div class="flex items-center justify-between mb-2">
<span class="text-sm font-bold text-gray-400">Budżet całkowity</span>
<span class="text-lg font-black text-gray-800">5 000 PLN</span>
<div class="bg-white rounded-[2rem] p-8 shadow-sm border border-gray-100 flex-1 lg:max-w-lg">
<div class="flex items-center justify-between mb-6">
<div>
<span class="text-[10px] font-black text-gray-400 uppercase tracking-widest block mb-1">Budżet całkowity</span>
<span class="text-3xl font-black text-gray-900 leading-none">5 000 PLN</span>
</div>
<div class="w-full bg-gray-100 h-2 rounded-full mb-3 overflow-hidden">
<div class="text-right">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-widest block mb-1">Postęp prezentów</span>
<span class="text-xl font-black text-indigo-600 flex items-center gap-2 justify-end">
<span class="bg-indigo-100 text-indigo-600 text-[10px] px-2 py-0.5 rounded-lg">4 / 12</span>
<i data-lucide="package" class="w-4 h-4"></i>
</span>
</div>
</div>
<div class="w-full bg-gray-100 h-3 rounded-full mb-6 overflow-hidden">
<div class="h-full progress-bar-gradient" style="width: 80%"></div>
</div>
<div class="flex items-center justify-between">
<span class="text-xs font-bold text-indigo-600">Wykorzystano 4 000 PLN</span>
<span class="text-xs font-bold text-gray-400">Pozostało 1 000 PLN</span>
<div class="grid grid-cols-3 gap-6 pt-2 border-t border-gray-50">
<div>
<p class="text-[9px] font-black text-gray-400 uppercase tracking-tighter mb-1">Wykorzystano</p>
<p class="text-sm font-black text-gray-900">4 000 PLN</p>
</div>
<div>
<p class="text-[9px] font-black text-gray-400 uppercase tracking-tighter mb-1">Pozostało</p>
<p class="text-sm font-black text-emerald-600">1 000 PLN</p>
</div>
<div class="text-right">
<p class="text-[9px] font-black text-red-400 uppercase tracking-tighter mb-1 whitespace-nowrap">Brak pomysłu</p>
<p class="text-sm font-black text-red-500">3 osoby</p>
</div>
</div>
</div>
</div>
@@ -101,13 +141,13 @@
<!-- Tabs -->
<div class="flex border-b border-gray-200 mb-8 space-x-8">
<a href="occasion.html" class="pb-4 text-sm font-bold border-b-2 border-indigo-600 text-indigo-600">Lista Osób</a>
<a href="occasion-gifts.html" class="pb-4 text-sm font-bold text-gray-400 hover:text-gray-600 transition-colors">Wszystkie Prezenty</a>
<a href="occasion-gifts.html" class="pb-4 text-sm font-bold text-gray-400 hover:text-gray-600 transition-colors">Prezenty</a>
<a href="occasion-ai.html" class="pb-4 text-sm font-bold text-gray-400 hover:text-gray-600 transition-colors flex items-center gap-2">
Analiza AI <span class="bg-indigo-100 text-indigo-600 text-[10px] px-1.5 py-0.5 rounded uppercase">Beta</span>
AI <span class="bg-indigo-100 text-indigo-600 text-[10px] px-1.5 py-0.5 rounded uppercase">Beta</span>
</a>
</div>
<!-- Dashboard Content (Persons List) -->
<!-- Dashboard Content (Persons Grid) -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Person Card 1 -->
<div class="bg-white rounded-3xl p-6 shadow-sm border border-gray-100 hover:shadow-md transition-shadow group">
@@ -136,14 +176,20 @@
</div>
<span class="text-xs font-bold text-green-600 bg-green-50 px-2 py-1 rounded-lg">Kupiony</span>
</div>
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-2xl opacity-60">
<!-- Individual AI Greetings -->
<div class="flex items-center justify-between p-3 bg-indigo-50/50 rounded-2xl border border-indigo-100 hover:bg-indigo-100/50 transition-colors cursor-pointer group/ai">
<div class="flex items-center gap-3">
<div class="w-8 h-8 bg-white rounded-xl flex items-center justify-center shadow-sm">
<i data-lucide="gift" class="w-4 h-4 text-purple-500"></i>
<i data-lucide="sparkles" class="w-4 h-4 text-indigo-600 animate-pulse"></i>
</div>
<span class="text-sm font-medium text-gray-700">Książka kucharska</span>
<span class="text-xs font-black text-indigo-700 uppercase tracking-tighter">Życzenia dla Mamy</span>
</div>
<div class="flex items-center gap-1">
<span class="text-[9px] font-bold text-indigo-400 uppercase">-1</span>
<i data-lucide="zap" class="w-2.5 h-2.5 text-indigo-400 fill-indigo-400"></i>
<i data-lucide="chevron-right" class="w-4 h-4 text-indigo-300 group-hover/ai:translate-x-1 transition-transform ml-1"></i>
</div>
<span class="text-xs font-bold text-gray-400 bg-white px-2 py-1 rounded-lg border border-gray-100">Idea</span>
</div>
</div>
@@ -176,16 +222,9 @@
</div>
<div class="bg-indigo-50 border border-indigo-100 rounded-3xl p-6 flex flex-col items-center justify-center text-center space-y-3 mb-6">
<div class="w-10 h-10 bg-white rounded-full flex items-center justify-center text-indigo-600 shadow-sm">
<i data-lucide="sparkles" class="w-5 h-5 animate-pulse"></i>
</div>
<div>
<p class="text-sm font-bold text-indigo-700">Brak prezentów</p>
<p class="text-[10px] text-indigo-500 font-medium">Kliknij, aby AI wygenerowało propozycje</p>
</div>
<button class="bg-indigo-600 text-white text-xs font-bold px-4 py-2 rounded-xl hover:bg-indigo-700 transition-colors">
Generuj pomysły
</button>
<i data-lucide="sparkles" class="w-5 h-5 text-indigo-600 animate-pulse"></i>
<p class="text-[10px] text-indigo-500 font-bold uppercase">Brak prezentów</p>
<button class="bg-indigo-600 text-white text-xs font-bold px-4 py-2 rounded-xl">Pomysły AI</button>
</div>
<div class="flex items-center justify-between pt-4 border-t border-gray-50">
@@ -201,11 +240,8 @@
<!-- Add Person Card -->
<div class="border-2 border-dashed border-gray-200 rounded-3xl p-6 flex flex-col items-center justify-center text-center hover:border-indigo-200 hover:bg-indigo-50/10 transition-all cursor-pointer group">
<div class="w-16 h-16 bg-white rounded-full flex items-center justify-center text-gray-400 group-hover:text-indigo-600 shadow-sm border border-gray-100 mb-4 transition-colors">
<i data-lucide="person-standing" class="w-8 h-8"></i>
</div>
<h4 class="font-bold text-gray-400 group-hover:text-indigo-600 transition-colors">Dodaj kolejną osobę</h4>
<p class="text-xs text-gray-400 px-6 mt-2">Wybierz z listy kontaktów lub stwórz nową osobę.</p>
<i data-lucide="person-standing" class="w-8 h-8 text-gray-300 mb-4"></i>
<h4 class="font-bold text-gray-400 text-sm">Dodaj osobę</h4>
</div>
</div>
@@ -221,6 +257,29 @@
<i data-lucide="x"></i>
</button>
</div>
<!-- AI Suggestion Prompt -->
<div class="bg-indigo-50 border border-indigo-100 rounded-[2rem] p-5 mb-8 flex items-center justify-between group cursor-pointer hover:bg-indigo-100 transition-all border-dashed">
<div class="flex items-center gap-4">
<div class="w-12 h-12 bg-white rounded-2xl flex items-center justify-center text-indigo-600 shadow-sm transition-transform group-hover:rotate-12">
<i data-lucide="sparkles" class="w-6 h-6 animate-pulse"></i>
</div>
<div>
<p class="text-sm font-black text-indigo-900">Brak pomysłu?</p>
<p class="text-[10px] text-indigo-600 font-bold uppercase tracking-tight">AI zaproponuje prezent dla tej osoby</p>
</div>
</div>
<div class="bg-indigo-600 text-white text-[10px] font-black px-4 py-2.5 rounded-xl flex items-center gap-1 shadow-lg shadow-indigo-100 group-hover:bg-indigo-700">
GENERUJ <span class="bg-indigo-500 px-1.5 py-0.5 rounded ml-1 text-[8px]">-1 <i data-lucide="zap" class="w-2 h-2 inline fill-white border-none"></i></span>
</div>
</div>
<div class="relative flex py-4 items-center mb-4">
<div class="flex-grow border-t border-gray-100"></div>
<span class="flex-shrink mx-4 text-[10px] font-black text-gray-300 uppercase tracking-widest">Lub wprowadź ręcznie</span>
<div class="flex-grow border-t border-gray-100"></div>
</div>
<form class="space-y-6">
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Nazwa Prezentu</label>

View File

@@ -15,37 +15,67 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->

View File

@@ -13,121 +13,146 @@
<body class="bg-gray-50 min-h-screen">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar (Copy from index.html) -->
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">
Gift Planner
</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8 pb-24 lg:pb-8">
<div class="max-w-5xl mx-auto">
<button onclick="window.history.back()" class="flex items-center gap-2 text-gray-500 hover:text-indigo-600 transition-colors mb-8 font-medium">
<i data-lucide="arrow-left" class="w-4 h-4"></i> Powrót do listy osób
<button onclick="window.history.back()" class="bg-white px-5 py-2.5 rounded-xl border border-gray-100 text-[10px] font-black text-gray-500 hover:text-indigo-600 hover:border-indigo-100 transition-all flex items-center gap-2 shadow-sm mb-8 uppercase tracking-widest">
<i data-lucide="arrow-left" class="w-3.5 h-3.5"></i> Powrót do listy
</button>
<!-- Enhanced Profile Header -->
<section class="bg-white rounded-[3rem] p-8 md:p-12 shadow-sm border border-gray-100 mb-12 relative overflow-hidden">
<div class="flex flex-col md:flex-row items-center gap-10 relative z-10">
<div class="relative">
<div class="w-40 h-40 rounded-[3rem] bg-indigo-50 border-8 border-white overflow-hidden shadow-2xl">
<img src="https://ui-avatars.com/api/?name=Mama&background=f0f9ff&color=6366f1&size=256" class="w-full h-full object-cover">
</div>
<button onclick="openModal('modal-edit-person')" class="absolute -bottom-2 -right-2 bg-indigo-600 text-white p-3 rounded-2xl shadow-xl hover:scale-110 transition-all">
<i data-lucide="edit-3" class="w-5 h-5"></i>
</button>
</div>
<div class="flex-1 text-center md:text-left">
<div class="flex flex-col md:flex-row items-center gap-4 mb-4">
<div class="flex flex-col items-center md:items-start">
<h2 class="text-5xl font-black text-gray-900 tracking-tight">Mama</h2>
<p class="text-xs font-black text-indigo-400 uppercase tracking-[0.2em] mt-1 ml-1">Imię: Anna</p>
</div>
<div class="flex gap-2">
<span class="px-4 py-1 bg-indigo-100 text-indigo-700 text-[10px] font-black uppercase tracking-widest rounded-full">Rodzina</span>
<span class="px-4 py-1 bg-pink-100 text-pink-700 text-[10px] font-black uppercase tracking-widest rounded-full">Kobieta</span>
</div>
</div>
<p class="text-xl text-gray-500 font-medium mb-6 leading-relaxed">"Uwielbia gotować dla całej rodziny, pasjonuje się ogrodnictwem i nie wyobraża sobie dnia bez jogi."</p>
<div class="grid grid-cols-2 lg:grid-cols-4 gap-6">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400">
<i data-lucide="calendar"></i>
</div>
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest">Urodziny</p>
<p class="text-sm font-black text-gray-900">12 Marca (58 lat)</p>
</div>
</div>
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400">
<i data-lucide="briefcase"></i>
</div>
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest">Zawód</p>
<p class="text-sm font-black text-gray-900">Architekt krajobrazu</p>
</div>
</div>
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400">
<i data-lucide="info"></i>
</div>
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest">Imieniny</p>
<p class="text-sm font-black text-gray-900">24 Sierpnia</p>
</div>
</div>
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400">
<i data-lucide="shirt"></i>
</div>
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest">Rozmiar</p>
<p class="text-sm font-black text-gray-900">M / 39</p>
</div>
</div>
</div>
</div>
</div>
<div class="absolute right-0 top-0 w-64 h-64 bg-indigo-50 rounded-full -mr-32 -mt-32 opacity-50"></div>
</section>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-12">
<!-- Left: Gift Planning -->
<div class="lg:col-span-2 space-y-12">
<!-- Enhanced Profile Header -->
<section class="mb-8">
<div class="bg-white rounded-[2rem] border border-gray-100 shadow-sm overflow-hidden relative">
<!-- Decorative background elements -->
<div class="absolute right-0 top-0 w-48 h-48 bg-indigo-50 rounded-full -mr-24 -mt-24 opacity-20"></div>
<div class="p-6 md:p-8 relative z-10">
<div class="flex flex-col md:flex-row gap-8 items-center md:items-start text-center md:text-left">
<!-- Avatar -->
<div class="relative group shrink-0">
<div class="w-32 h-32 rounded-[2rem] overflow-hidden border-4 border-gray-50 shadow-lg group-hover:scale-105 transition-transform duration-500 bg-white">
<img src="https://ui-avatars.com/api/?name=Mama&background=f0f9ff&color=6366f1&size=256" class="w-full h-full object-cover">
</div>
<button onclick="openModal('modal-edit-profile')" class="absolute -bottom-1 -right-1 w-9 h-9 bg-indigo-600 rounded-xl shadow-lg flex items-center justify-center text-white border-2 border-white hover:scale-110 transition-all">
<i data-lucide="camera" class="w-4 h-4"></i>
</button>
</div>
<!-- Content & Details -->
<div class="flex-1 w-full space-y-6">
<div class="flex flex-col md:flex-row md:items-center justify-between gap-4">
<div>
<div class="flex flex-col md:flex-row items-center gap-3 mb-1">
<h2 class="text-3xl font-black text-gray-900 tracking-tight leading-none">Mama</h2>
<span class="px-3 py-1 bg-indigo-50 text-indigo-600 text-[9px] font-black uppercase tracking-widest rounded-lg border border-indigo-100">RODZINA</span>
</div>
<p class="text-xs font-bold text-gray-400 uppercase tracking-[0.15em] leading-none">Anna Nowak • 58 Lat</p>
</div>
<button onclick="openModal('modal-edit-profile')" class="bg-gray-50 hover:bg-white hover:border-indigo-200 hover:text-indigo-600 px-4 py-2.5 rounded-xl transition-all font-black text-[9px] uppercase tracking-widest border border-gray-100 shadow-sm flex items-center gap-2 self-center md:self-auto">
<i data-lucide="edit-3" class="w-3.5 h-3.5"></i> EDYTUJ PROFIL
</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<!-- Personality (More compact) -->
<div class="border-r border-gray-50 pr-6 hidden md:block">
<h4 class="text-[9px] font-black text-gray-300 uppercase tracking-widest flex items-center gap-1.5 mb-2">
<i data-lucide="info" class="w-3 h-3"></i> KRÓTKI OPIS
</h4>
<p class="text-sm text-gray-500 font-medium italic leading-relaxed">
"Gotowanie, ogrodnictwo i joga to jej codzienny świat pełen pasji."
</p>
</div>
<!-- Quick Facts Grid (More compact) -->
<div>
<div class="grid grid-cols-2 gap-3">
<div class="bg-gray-50/50 p-3 rounded-xl border border-gray-100/50">
<p class="text-[9px] font-black text-gray-400 uppercase tracking-widest mb-1 leading-none">Urodziny</p>
<p class="text-[13px] font-black text-gray-900 leading-none">12 Marca</p>
</div>
<div class="bg-gray-50/50 p-3 rounded-xl border border-gray-100/50">
<p class="text-[9px] font-black text-gray-400 uppercase tracking-widest mb-1 leading-none">Imieniny</p>
<p class="text-[13px] font-black text-gray-900 leading-none">24 Sierpnia</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div>
<div class="flex items-center justify-between mb-8">
<h3 class="text-xl font-black text-gray-900 flex items-center gap-3 leading-tight">
@@ -139,25 +164,31 @@
<div class="space-y-6 mb-12">
<div class="flex items-center justify-between px-2">
<div class="flex items-center gap-3">
<div class="w-2 h-2 rounded-full bg-indigo-600"></div>
<span class="text-xs font-black text-indigo-900 uppercase tracking-widest">Boże Narodzenie 2025</span>
<div class="w-2.5 h-2.5 rounded-full bg-indigo-600"></div>
<span class="text-[11px] font-black text-gray-900 uppercase tracking-[0.1em]">Boże Narodzenie 2025</span>
</div>
<a href="occasion.html" class="text-[10px] font-bold text-gray-400 hover:text-indigo-600 flex items-center gap-1 uppercase">Szczegóły <i data-lucide="chevron-right" class="w-3 h-3"></i></a>
<a href="occasion.html" class="text-[10px] font-black text-gray-400 hover:text-indigo-600 flex items-center gap-1.5 uppercase tracking-wider transition-colors">
ZARZĄDZAJ OKAZJĄ <i data-lucide="chevron-right" class="w-3.5 h-3.5"></i>
</a>
</div>
<div class="grid gap-4">
<div onclick="window.location.href='gift.html'" class="bg-white p-5 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all cursor-pointer flex items-center gap-6 group">
<div class="w-20 h-20 rounded-2xl overflow-hidden shrink-0 shadow-inner">
<div onclick="window.location.href='gift.html'" class="bg-white p-5 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl hover:scale-[1.01] transition-all cursor-pointer flex items-center gap-6 group relative overflow-hidden pl-8">
<div class="absolute left-0 top-0 bottom-0 w-2 bg-indigo-600"></div>
<div class="w-16 h-16 rounded-2xl overflow-hidden shrink-0 shadow-inner">
<img src="https://images.unsplash.com/photo-1517668808822-9ebb02f2a0e6?auto=format&fit=crop&q=80&w=200" class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
</div>
<div class="flex-1">
<h4 class="font-black text-gray-900 mb-1">Ekspres Sage Barista</h4>
<p class="text-[10px] font-bold text-gray-400 flex items-center gap-1.5 uppercase">
<i data-lucide="link" class="w-3 h-3"></i> Media Expert
<p class="text-[10px] font-bold text-gray-400 flex items-center gap-1.5 uppercase tracking-widest">
<i data-lucide="link" class="w-3 h-3"></i> MEDIA EXPERT
</p>
</div>
<div class="flex items-center gap-8 pr-2">
<div class="text-right">
<p class="text-xl font-black text-gray-900 mb-1 leading-none">2 499 PLN</p>
<span class="text-[10px] font-black text-white bg-green-500 px-3 py-1 rounded-full uppercase tracking-tighter">Kupiony</span>
<p class="text-[10px] font-black text-gray-300 uppercase leading-none mb-1">Cena</p>
<p class="text-sm font-black text-gray-900">2 499 PLN</p>
</div>
<div class="px-4 py-1.5 bg-emerald-50 text-emerald-600 text-[10px] font-black rounded-full uppercase tracking-tighter border border-emerald-100 italic">Kupiony</div>
</div>
</div>
</div>
@@ -167,120 +198,141 @@
<div class="space-y-6">
<div class="flex items-center justify-between px-2">
<div class="flex items-center gap-3">
<div class="w-2 h-2 rounded-full bg-pink-500"></div>
<span class="text-xs font-black text-pink-600 uppercase tracking-widest">Urodziny (12 Marca)</span>
<div class="w-2.5 h-2.5 rounded-full bg-pink-500"></div>
<span class="text-[11px] font-black text-gray-900 uppercase tracking-[0.1em]">Urodziny (12 Marca)</span>
</div>
<span class="text-[10px] font-black text-pink-400 bg-pink-50 px-2 py-0.5 rounded-full uppercase">Za 76 dni</span>
<span class="text-[10px] font-black text-pink-600 bg-pink-50 px-3 py-1 rounded-full uppercase tracking-tighter">Za 76 dni</span>
</div>
<div class="bg-white p-5 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl transition-all flex items-center justify-between group cursor-pointer">
<div class="bg-white p-5 rounded-[2.5rem] border border-gray-100 shadow-sm hover:shadow-xl hover:scale-[1.01] transition-all flex items-center justify-between group cursor-pointer relative overflow-hidden pl-8">
<div class="absolute left-0 top-0 bottom-0 w-2 bg-pink-500"></div>
<div class="flex items-center gap-6">
<div class="w-20 h-20 bg-pink-50 rounded-2xl flex items-center justify-center text-pink-300">
<div class="w-16 h-16 bg-pink-50 rounded-2xl flex items-center justify-center text-pink-300">
<i data-lucide="gift" class="w-8 h-8"></i>
</div>
<div>
<h4 class="font-black text-gray-900 mb-1">Brak wybranych prezentów</h4>
<p class="text-xs text-gray-400">Kliknij aby zaplanować urodziny</p>
<h4 class="font-black text-gray-900 mb-1 leading-tight">Brak wybranych prezentów</h4>
<p class="text-[10px] font-bold text-gray-400 uppercase tracking-widest">KLIKNIJ ABY ZAPLANOWAĆ</p>
</div>
</div>
<button class="bg-gray-50 text-pink-600 p-3 rounded-2xl hover:bg-pink-600 hover:text-white transition-all shadow-sm">
<div class="w-12 h-12 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400 group-hover:bg-pink-600 group-hover:text-white transition-all mr-2">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
<!-- AI Recommendations Specifically for Her -->
<div class="bg-indigo-900 rounded-[2.5rem] p-8 text-white relative overflow-hidden">
<div class="bg-gray-900 rounded-[2.5rem] p-8 text-white relative overflow-hidden shadow-2xl shadow-indigo-500/10">
<div class="relative z-10">
<h4 class="text-xl font-black mb-2 flex items-center gap-2">
<i data-lucide="sparkles" class="text-indigo-300"></i> Sugestie dla Mamy
<div class="flex items-center justify-between mb-6">
<h4 class="text-xl font-black flex items-center gap-2">
<i data-lucide="sparkles" class="text-indigo-400 fill-indigo-400"></i> Sugestie dla Mamy
</h4>
<p class="text-indigo-200 text-sm mb-6 max-w-sm">Na podstawie profilu "Wellness & Kuchnia" AI przygotowało 3 nowe propozycje.</p>
<div class="px-3 py-1 bg-white/10 rounded-full border border-white/10 flex items-center gap-2">
<i data-lucide="zap" class="w-3 h-3 text-yellow-400 fill-yellow-400"></i>
<span class="text-[9px] font-black uppercase tracking-widest">1 TOKEN</span>
</div>
</div>
<p class="text-gray-400 text-sm mb-8 max-w-sm font-medium leading-relaxed italic">"Na podstawie profilu Wellness & Kuchnia przygotowałem unikalne propozycje, które ją zachwycą."</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="bg-white/10 backdrop-blur-md p-4 rounded-2xl border border-white/10 hover:bg-white/20 transition-all cursor-pointer">
<p class="text-xs font-bold mb-1">Mata do akupresury</p>
<p class="text-[10px] text-indigo-300">Kategoria: Wellness</p>
<div class="bg-white/5 backdrop-blur-md p-5 rounded-2xl border border-white/10 hover:bg-white/10 transition-all cursor-pointer group">
<p class="text-sm font-black mb-1 group-hover:text-indigo-400 transition-colors">Mata do akupresury</p>
<p class="text-[10px] text-gray-500 font-bold uppercase tracking-widest">Wellness</p>
</div>
<div class="bg-white/10 backdrop-blur-md p-4 rounded-2xl border border-white/10 hover:bg-white/20 transition-all cursor-pointer">
<p class="text-xs font-bold mb-1">Zestaw herbat BIO</p>
<p class="text-[10px] text-indigo-300">Kategoria: Kuchnia</p>
<div class="bg-white/5 backdrop-blur-md p-5 rounded-2xl border border-white/10 hover:bg-white/10 transition-all cursor-pointer group">
<p class="text-sm font-black mb-1 group-hover:text-indigo-400 transition-colors">Zestaw herbat BIO</p>
<p class="text-[10px] text-gray-500 font-bold uppercase tracking-widest">Kuchnia</p>
</div>
<div class="bg-white/10 backdrop-blur-md p-4 rounded-2xl border border-white/10 hover:bg-white/20 transition-all cursor-pointer">
<p class="text-xs font-bold mb-1">Kurs ceramiki</p>
<p class="text-[10px] text-indigo-300">Kategoria: Hobby</p>
<div class="bg-white/5 backdrop-blur-md p-5 rounded-2xl border border-white/10 hover:bg-white/10 transition-all cursor-pointer group">
<p class="text-sm font-black mb-1 group-hover:text-indigo-400 transition-colors">Kurs ceramiki</p>
<p class="text-[10px] text-gray-500 font-bold uppercase tracking-widest">Hobby</p>
</div>
</div>
</div>
<i data-lucide="brain" class="absolute -right-10 -bottom-10 w-48 h-48 opacity-10"></i>
<i data-lucide="brain" class="absolute -right-16 -bottom-16 w-64 h-64 text-indigo-500 opacity-5"></i>
</div>
</div>
<!-- Right Sidebar: Person Fact Sheet -->
<div class="space-y-8">
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100 relative overflow-hidden">
<h4 class="text-sm font-black text-gray-900 mb-6 flex items-center gap-2">
<h4 class="text-sm font-black text-gray-900 mb-8 flex items-center gap-2">
<i data-lucide="scroll-text" class="text-indigo-600"></i> Specyfikacja Osoby
</h4>
<div class="space-y-6">
<!-- Etap życia -->
<div class="space-y-8">
<!-- Cechy Charakteru -->
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2">Etap życia / Rola</p>
<div class="inline-flex items-center gap-2 px-3 py-1.5 bg-gray-50 rounded-xl border border-gray-100">
<i data-lucide="baby" class="w-3 h-3 text-indigo-400"></i>
<span class="text-xs font-bold text-gray-700">Młoda babcia</span>
<p class="text-[9px] font-black text-gray-400 uppercase tracking-[0.2em] mb-3">Cechy Charakteru</p>
<div class="flex flex-wrap gap-1.5">
<span class="px-2.5 py-1 bg-indigo-50 text-[10px] font-black text-indigo-600 rounded-lg border border-indigo-100 uppercase tracking-tighter">Minimalista</span>
<span class="px-2.5 py-1 bg-indigo-50 text-[10px] font-black text-indigo-600 rounded-lg border border-indigo-100 uppercase tracking-tighter">Praktyczny</span>
</div>
</div>
<!-- Styl i Kolory -->
<!-- Pasje i Zainteresowania -->
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2">Styl i Kolory</p>
<p class="text-xs font-bold text-gray-700 mb-3">#boho #pastelowy-niebieski</p>
<p class="text-[9px] font-black text-gray-400 uppercase tracking-[0.2em] mb-3">Zainteresowania</p>
<div class="flex flex-wrap gap-1.5">
<span class="px-2.5 py-1 bg-emerald-50 text-[10px] font-black text-emerald-600 rounded-lg border border-emerald-100 uppercase tracking-tighter">Gotowanie</span>
<span class="px-2.5 py-1 bg-emerald-50 text-[10px] font-black text-emerald-600 rounded-lg border border-emerald-100 uppercase tracking-tighter">Sztuka</span>
<span class="px-2.5 py-1 bg-emerald-50 text-[10px] font-black text-emerald-600 rounded-lg border border-emerald-100 uppercase tracking-tighter">Ogrodnictwo</span>
</div>
</div>
<!-- Styl życia i Etap -->
<div class="grid grid-cols-1 gap-4">
<div class="p-4 bg-amber-50/50 rounded-2xl border border-amber-100/30">
<p class="text-[9px] font-black text-amber-600 uppercase tracking-widest mb-2">Styl Życia</p>
<div class="space-y-2">
<div class="flex items-center gap-2 text-xs font-bold text-gray-700">
<i data-lucide="sun" class="w-3.5 h-3.5 text-amber-500"></i>
<span>Stabilizacja / Etap: Doświadczony</span>
</div>
<div class="flex items-center gap-2 text-xs font-bold text-gray-700">
<i data-lucide="home" class="w-3.5 h-3.5 text-amber-500"></i>
<span>Dom z ogrodem</span>
</div>
</div>
</div>
</div>
<!-- Estetyka -->
<div>
<p class="text-[9px] font-black text-gray-400 uppercase tracking-[0.2em] mb-3">Estetyka i Materiały</p>
<p class="text-xs font-bold text-gray-700 leading-relaxed mb-3">#len #drewno #ceramika</p>
<div class="flex gap-2">
<div class="w-6 h-6 rounded-full bg-blue-100 border border-white shadow-sm" title="Pastel Blue"></div>
<div class="w-6 h-6 rounded-full bg-orange-50 border border-white shadow-sm" title="Beige Boho"></div>
<div class="w-5 h-5 rounded-full bg-[#E5D3B3] border border-white shadow-sm" title="Beż"></div>
<div class="w-5 h-5 rounded-full bg-[#AFCBFF] border border-white shadow-sm" title="Błękit"></div>
<div class="w-5 h-5 rounded-full bg-[#800000] border border-white shadow-sm" title="Bordo"></div>
</div>
</div>
<!-- Marki -->
<div>
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2">Ulubione Marki</p>
<div class="flex flex-wrap gap-2">
<span class="px-2 py-1 bg-gray-50 text-[10px] font-black text-gray-500 rounded-lg border border-gray-100 uppercase">Zara Home</span>
<span class="px-2 py-1 bg-gray-50 text-[10px] font-black text-gray-500 rounded-lg border border-gray-100 uppercase">Duka</span>
</div>
</div>
<!-- UNIKAĆ -->
<!-- Ograniczenia -->
<div class="p-4 bg-red-50 rounded-2xl border border-red-100">
<p class="text-[10px] font-black text-red-400 uppercase tracking-widest mb-2 flex items-center gap-1">
<i data-lucide="alert-triangle" class="w-3 h-3"></i> Unikać / Alergie
<p class="text-[9px] font-black text-red-400 uppercase tracking-widest mb-2 flex items-center gap-1">
<i data-lucide="slash" class="w-3 h-3"></i> Unikać / Alergie
</p>
<p class="text-xs font-bold text-red-900">Brak alkoholu, alergia na orzechy, unika plastiku.</p>
<p class="text-xs font-bold text-red-900 leading-relaxed">Brak alkoholu, alergia na orzechy.</p>
</div>
<!-- Dokumentacja AI (Notatki) -->
<div class="p-4 bg-indigo-50/50 rounded-2xl border border-dashed border-indigo-100">
<p class="text-[10px] font-black text-indigo-400 uppercase tracking-widest mb-2">Kontekst dla AI</p>
<p class="text-xs text-indigo-900/70 italic leading-relaxed">"Mama ceni prezenty z duszą i ekologiczne materiały. Uwielbia czytać o architekturze ogrodów przy dobrej herbacie."</p>
<!-- Kontekst AI -->
<div>
<p class="text-[9px] font-black text-indigo-400 uppercase tracking-widest mb-2">Głęboki Kontekst AI</p>
<div class="relative">
<p class="text-[11px] text-indigo-900/60 font-medium italic leading-relaxed pl-4">
Mama ceni prezenty z duszą i ekologiczne materiały. Uwielbia czytać o architekturze ogrodów przy dobrej herbacie.
</p>
</div>
</div>
</div>
<button onclick="openModal('modal-edit-person')" class="w-full mt-6 py-3 border-2 border-dashed border-gray-200 text-gray-400 text-xs font-black rounded-2xl hover:border-indigo-300 hover:text-indigo-600 transition-all uppercase tracking-widest">
Edytuj specyfikację
<button onclick="openModal('modal-edit-spec')" class="w-full mt-10 py-4 bg-gray-50 border border-gray-100 text-gray-500 text-[10px] font-black rounded-2xl hover:bg-white hover:border-indigo-200 hover:text-indigo-600 transition-all uppercase tracking-widest shadow-sm">
Edytuj profilowanie AI
</button>
</section>
<!-- Wishlista Link -->
<a href="#" class="block p-6 bg-gradient-to-br from-gray-900 to-gray-800 rounded-[2rem] text-white hover:scale-[1.02] transition-all shadow-xl">
<div class="flex items-center justify-between mb-2">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-widest">Zewnętrzna lista</span>
<i data-lucide="external-link" class="w-4 h-4 text-gray-500"></i>
</div>
<h5 class="text-lg font-black mb-1">Wishlista na Amazon</h5>
<p class="text-xs text-gray-500">Ostatnia aktualizacja: 2 dni temu</p>
</a>
<section class="bg-white rounded-[2rem] p-6 shadow-sm border border-gray-100">
<h4 class="text-sm font-black text-gray-900 mb-4 flex items-center gap-2">
<i data-lucide="history" class="text-indigo-600"></i> Ostatnio kupione
@@ -300,141 +352,294 @@
</section>
</div>
</div>
</div>
</main>
</div>
<!-- Modal: Edytuj Osobę -->
<div id="modal-edit-person" class="modal-overlay">
<div class="modal-content">
<div class="flex items-center justify-between mb-8">
<h3 class="text-2xl font-black text-gray-900">Edytuj Profil</h3>
<button onclick="closeModal('modal-edit-person')" class="text-gray-400 hover:text-gray-600">
<i data-lucide="x"></i>
<!-- Modal: Edytuj Profil -->
<div id="modal-edit-profile" class="modal-overlay">
<div class="modal-content !max-w-2xl !p-0 overflow-hidden">
<div class="p-8 md:p-10 border-b border-gray-100 flex items-center justify-between bg-gray-50/50">
<div>
<h3 class="text-2xl font-black text-gray-900 leading-none mb-2">Edytuj Profil</h3>
<p class="text-[10px] font-black text-indigo-400 uppercase tracking-widest">Podstawowe dane tożsamości</p>
</div>
<button onclick="closeModal('modal-edit-profile')" class="w-12 h-12 rounded-2xl bg-white border border-gray-100 flex items-center justify-center text-gray-400 hover:text-indigo-600 hover:border-indigo-100 transition-all shadow-sm">
<i data-lucide="x" class="w-5 h-5"></i>
</button>
</div>
<form class="p-2 space-y-10 overflow-y-auto max-h-[70vh]">
<!-- Section 1: Tożsamość i Relacja -->
<div class="space-y-4">
<div class="flex items-center gap-2 mb-2">
<div class="w-8 h-8 rounded-lg bg-indigo-50 flex items-center justify-center text-indigo-600">
<i data-lucide="user" class="w-4 h-4"></i>
<form class="p-8 md:p-10 space-y-10 overflow-y-auto max-h-[75vh]">
<!-- Profile Identity Section -->
<div class="grid grid-cols-1 gap-10">
<div class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Nazwa (np. Mama)</label>
<input type="text" value="Mama" class="form-input !bg-white">
</div>
<h4 class="text-sm font-black text-gray-900 uppercase tracking-widest">Tożsamość</h4>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="md:col-span-1">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Nazwa wyświetlana</label>
<input type="text" value="Mama" class="form-input" placeholder="np. Mama, Skarbi">
</div>
<div class="md:col-span-1">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Faktyczne Imię</label>
<input type="text" value="Anna" class="form-input" placeholder="Dla lepszego AI">
</div>
<div class="md:col-span-1">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Płeć</label>
<select class="form-input">
<option>Mężczyzna</option>
<option selected>Kobieta</option>
<option>Inna</option>
</select>
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Imię</label>
<input type="text" value="Anna Nowak" class="form-input !bg-white">
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Relacja</label>
<select class="form-input">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Płeć</label>
<div class="flex gap-2">
<label class="flex-1 cursor-pointer group">
<input type="radio" name="gender" class="hidden peer" checked>
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-pink-500 peer-checked:bg-pink-50 peer-checked:text-pink-600 transition-all flex items-center justify-center gap-2 group-hover:border-gray-200">
<i data-lucide="venus" class="w-4 h-4 transition-transform group-hover:scale-110"></i>
<span class="text-[10px] font-black uppercase tracking-wider">Kobieta</span>
</div>
</label>
<label class="flex-1 cursor-pointer group">
<input type="radio" name="gender" class="hidden peer">
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-600 transition-all flex items-center justify-center gap-2 group-hover:border-gray-200">
<i data-lucide="mars" class="w-4 h-4 transition-transform group-hover:scale-110"></i>
<span class="text-[10px] font-black uppercase tracking-wider">Mężczyzna</span>
</div>
</label>
</div>
</div>
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Główna relacja</label>
<select class="form-input !bg-white">
<option selected>Rodzina</option>
<option>Przyjaciel / Przyjaciółka</option>
<option>Przyjaciel / Znajomy</option>
<option>Praca / Biznes</option>
<option>Partner / Partnerka</option>
<option>Partner / Małżonek</option>
</select>
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Etap życia / Rola</label>
<input type="text" value="Młoda babcia" class="form-input" placeholder="np. Student, Młody rodzic, Emeryt">
</div>
</div>
</div>
<!-- Section 2: Kalendarz -->
<div class="space-y-4">
<div class="flex items-center gap-2 mb-2">
<div class="w-8 h-8 rounded-lg bg-pink-50 flex items-center justify-center text-pink-600">
<i data-lucide="calendar" class="w-4 h-4"></i>
<!-- Nested Relationship Degree (Family example) -->
<div class="p-5 bg-indigo-50/50 rounded-2xl border border-indigo-100/50 space-y-4">
<div>
<div class="flex items-center gap-3">
<div class="w-2 h-2 rounded-full bg-indigo-400 animate-pulse"></div>
<h4 class="text-[10px] font-black text-gray-900 uppercase tracking-widest leading-none">Detale Relacji (Rodzina)</h4>
</div>
<h4 class="text-sm font-black text-gray-900 uppercase tracking-widest">Ważne Daty</h4>
<p class="text-[8px] text-gray-400 ml-1 italic mt-1">* Pomaga AI w dobieraniu życzeń</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Data Urodzenia</label>
<input type="date" value="1967-03-12" class="form-input">
<div class="space-y-2">
<label class="block text-[9px] font-black text-indigo-400 uppercase tracking-widest ml-1">Stopień relacji</label>
<select class="form-input !bg-white !py-2.5 text-xs">
<option selected>Rodzic (Matka)</option>
<option>Dziecko (Córka/Syn)</option>
<option>Rodzeństwo</option>
<option>Dziadek / Babcia</option>
<option>Dalsza rodzina</option>
<option>Inny (wpisz obok)</option>
</select>
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Imieniny (MM-DD)</label>
<input type="text" value="08-24" class="form-input" placeholder="np. 05-24">
<div class="space-y-2">
<label class="block text-[9px] font-black text-indigo-400 uppercase tracking-widest ml-1">Własne określenie</label>
<input type="text" placeholder="np. Chrzestna" class="form-input !bg-white !py-2.5 text-xs">
</div>
</div>
</div>
</div>
</div>
<!-- Dates Section -->
<div class="p-8 bg-indigo-50/30 rounded-[2rem] border border-indigo-50/50 space-y-6">
<div class="flex items-center gap-3">
<i data-lucide="calendar" class="w-5 h-5 text-indigo-600"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Kluczowe Daty</h4>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Data Urodzenia</label>
<input type="date" value="1967-03-12" class="form-input !bg-white">
</div>
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Imieniny (MM-DD)</label>
<input type="text" value="08-24" class="form-input !bg-white" placeholder="np. 05-24">
</div>
</div>
</div>
<!-- Section 3: Styl i Preferencje -->
<div class="space-y-4">
<div class="flex items-center gap-2 mb-2">
<div class="w-8 h-8 rounded-lg bg-emerald-50 flex items-center justify-center text-emerald-600">
<i data-lucide="sparkles" class="w-4 h-4"></i>
</div>
<h4 class="text-sm font-black text-gray-900 uppercase tracking-widest">Upodobania i Rozmiary</h4>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Zawód / Pasja</label>
<input type="text" value="Architekt krajobrazu" class="form-input">
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Rozmiary (Góra/Dół/But)</label>
<input type="text" value="M / 38 / 39" class="form-input">
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Lubiane kolory / Styl</label>
<input type="text" value="Pastelowy niebieski, styl boho" class="form-input">
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Ulubione marki</label>
<input type="text" placeholder="np. Zara, Apple, Nike" class="form-input">
</div>
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1 text-red-400">Czego unikać / Alergie (Bardzo ważne!)</label>
<input type="text" value="Brak alkoholu, alergia na orzechy" class="form-input border-red-100 focus:ring-red-500 bg-red-50/30 text-red-900" placeholder="np. Słodycze, mocne perfumy, srebro">
</div>
</div>
<!-- Section 4: Linki i Notatki -->
<div class="space-y-4">
<div class="flex items-center gap-2 mb-2">
<div class="w-8 h-8 rounded-lg bg-indigo-50 flex items-center justify-center text-indigo-600">
<i data-lucide="link-2" class="w-4 h-4"></i>
</div>
<h4 class="text-sm font-black text-gray-900 uppercase tracking-widest">Źródła Pomysłów</h4>
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Link do Wishlisty / Profilu</label>
<input type="url" placeholder="https://www.amazon.pl/wishlist/..." class="form-input">
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Dodatkowe notatki dla AI</label>
<textarea class="form-input h-24 pt-4" placeholder="Opisz osobowość, marzenia, wspólne żarty..."></textarea>
</div>
</div>
<div class="pt-4 sticky bottom-0 bg-white pb-2">
<button type="submit" class="w-full gradient-bg text-white py-5 rounded-3xl font-black shadow-2xl shadow-indigo-200 transition-all hover:scale-[1.01] active:scale-[0.99] flex items-center justify-center gap-3">
<i data-lucide="save"></i>
Zapisz rozszerzony profil
<button type="submit" class="w-full gradient-bg text-white py-5 rounded-[1.5rem] font-black shadow-2xl shadow-indigo-200 transition-all hover:scale-[1.01] active:scale-[0.98] uppercase tracking-[0.2em] text-xs">
Zapisz zmiany profilu
</button>
<p class="text-[9px] text-center text-gray-400 mt-4 font-bold uppercase tracking-widest">Wszystkie dane są szyfrowane i używane tylko do Twoich planów</p>
</form>
</div>
</div>
<!-- Modal: Profilowanie AI (Specyfikacja) -->
<div id="modal-edit-spec" class="modal-overlay">
<div class="modal-content !max-w-4xl !p-0 overflow-hidden">
<div class="p-8 md:p-10 border-b border-gray-100 flex items-center justify-between bg-gray-50/50">
<div>
<h3 class="text-2xl font-black text-gray-900 leading-none mb-2">Profilowanie AI</h3>
<p class="text-[10px] font-black text-emerald-500 uppercase tracking-widest">Zbuduj portret psychologiczny dla silnika rekomendacji</p>
</div>
<button onclick="closeModal('modal-edit-spec')" class="w-12 h-12 rounded-2xl bg-white border border-gray-100 flex items-center justify-center text-gray-400 hover:text-emerald-600 hover:border-emerald-100 transition-all shadow-sm">
<i data-lucide="x" class="w-5 h-5"></i>
</button>
</div>
<form class="p-8 md:p-10 space-y-12 overflow-y-auto max-h-[75vh]">
<div class="grid grid-cols-1 md:grid-cols-2 gap-12">
<!-- Left Column: Character & Interests -->
<div class="space-y-10">
<!-- Personality Traits (Pretty Toggles) -->
<div class="space-y-6">
<div class="flex items-center gap-3">
<i data-lucide="fingerprint" class="w-5 h-5 text-indigo-500"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Cechy Charakteru</h4>
</div>
<div class="grid grid-cols-2 gap-3">
<label class="cursor-pointer group">
<input type="checkbox" class="hidden peer" checked>
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-indigo-600 peer-checked:bg-indigo-50 peer-checked:text-indigo-600 transition-all flex items-center gap-2">
<div class="w-2.5 h-2.5 rounded-full bg-gray-200 peer-checked:bg-indigo-600"></div>
<span class="text-[10px] font-black uppercase tracking-wider">Minimalista</span>
</div>
</label>
<label class="cursor-pointer group">
<input type="checkbox" class="hidden peer">
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-indigo-600 peer-checked:bg-indigo-50 peer-checked:text-indigo-600 transition-all flex items-center gap-2">
<div class="w-2.5 h-2.5 rounded-full bg-gray-200 peer-checked:bg-indigo-600"></div>
<span class="text-[10px] font-black uppercase tracking-wider">Nowoczesny</span>
</div>
</label>
<label class="cursor-pointer group">
<input type="checkbox" class="hidden peer" checked>
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-indigo-600 peer-checked:bg-indigo-50 peer-checked:text-indigo-600 transition-all flex items-center gap-2">
<div class="w-2.5 h-2.5 rounded-full bg-gray-200 peer-checked:bg-indigo-600"></div>
<span class="text-[10px] font-black uppercase tracking-wider">Praktyczny</span>
</div>
</label>
<label class="cursor-pointer group">
<input type="checkbox" class="hidden peer">
<div class="p-3 rounded-xl border border-gray-100 bg-white text-gray-400 peer-checked:border-indigo-600 peer-checked:bg-indigo-50 peer-checked:text-indigo-600 transition-all flex items-center gap-2">
<div class="w-2.5 h-2.5 rounded-full bg-gray-200 peer-checked:bg-indigo-600"></div>
<span class="text-[10px] font-black uppercase tracking-wider">Eko-świadomy</span>
</div>
</label>
</div>
</div>
<!-- Interests (Visual Chips) -->
<div class="space-y-6">
<div class="flex items-center gap-3">
<i data-lucide="tent" class="w-5 h-5 text-emerald-500"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Pasje i Zainteresowania</h4>
</div>
<div class="flex flex-wrap gap-2">
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer" checked>
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Gotowanie</div>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer" checked>
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Sztuka</div>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer">
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Technologia</div>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer" checked>
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Ogrodnictwo</div>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer">
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Podróże</div>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="hidden peer">
<div class="px-4 py-2 rounded-full border border-gray-100 bg-white text-[9px] font-black uppercase tracking-widest text-gray-400 peer-checked:bg-emerald-500 peer-checked:text-white peer-checked:border-emerald-500 transition-all">Sport</div>
</label>
<button type="button" class="px-4 py-2 rounded-full border-2 border-dashed border-gray-100 text-[9px] font-black uppercase tracking-widest text-gray-300 hover:border-emerald-200 hover:text-emerald-500 transition-all">+ Inne</button>
</div>
</div>
<!-- Lifestyle & Status -->
<div class="space-y-6">
<div class="flex items-center gap-3">
<i data-lucide="briefcase" class="w-5 h-5 text-amber-500"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Status i Styl Życia</h4>
</div>
<div class="space-y-4">
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Obecny etap życia</label>
<select class="form-input !bg-white shadow-sm">
<option>Młody dorosły / Student</option>
<option>Rozwój kariery</option>
<option selected>Doświadczony dorosły / Stabilizacja</option>
<option>Złoty wiek / Emerytura</option>
</select>
</div>
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Mieszka w...</label>
<select class="form-input !bg-white shadow-sm">
<option selected>Dom z ogrodem</option>
<option>Mieszkanie w mieście</option>
<option>Często podróżuje / brak stałego miejsca</option>
</select>
</div>
</div>
</div>
<!-- Aesthetic Preferences -->
<div class="space-y-6">
<div class="flex items-center gap-3">
<i data-lucide="palette" class="w-5 h-5 text-indigo-400"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Estetyka i Preferencje</h4>
</div>
<div class="space-y-4">
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Ulubione Materiały</label>
<input type="text" value="Len, drewno, ceramika" class="form-input !bg-white shadow-sm" placeholder="np. Złoto, skóra, jedwab">
</div>
<div class="space-y-2">
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest ml-1">Dominujące kolory w życiu</label>
<input type="text" value="Beże, błękity, bordo" class="form-input !bg-white shadow-sm" placeholder="np. Pastelowe, czarno-białe">
</div>
</div>
</div>
</div>
<!-- Right Column: Context & Constraints -->
<div class="space-y-10">
<!-- Deep Context (The AI Brain) -->
<div class="space-y-4">
<div class="flex items-center justify-between">
<div class="flex items-center gap-3">
<i data-lucide="sparkles" class="w-5 h-5 text-indigo-600"></i>
<h4 class="text-xs font-black text-gray-900 uppercase tracking-widest">Notatki dla AI</h4>
</div>
</div>
<div class="space-y-2">
<textarea class="form-input !bg-white h-[120px] py-4 leading-relaxed shadow-sm text-sm" placeholder="Opisz osobowość, marzenia, wspólne żarty oraz to, co sprawiło, że ostatnie prezenty były udane (lub nie)."></textarea>
</div>
</div>
<!-- Restrictions (Visualized) -->
<div class="space-y-4">
<div class="flex items-center gap-3 text-red-500">
<i data-lucide="slash" class="w-4 h-4"></i>
<h4 class="text-[10px] font-black uppercase tracking-widest">Ograniczenia i Antypatie</h4>
</div>
<div class="space-y-2">
<textarea class="form-input !bg-white border-red-50 focus:ring-red-500 h-[80px] py-3 text-xs" placeholder="Alergie, nienawidzone kolory, nielubiane zapachy...">Brak alkoholu, alergia na orzechy</textarea>
</div>
</div>
</div>
</div>
<div class="pt-6 border-t border-gray-100 sticky bottom-0 bg-white">
<button type="submit" class="w-full gradient-bg text-white py-5 rounded-[1.5rem] font-black shadow-2xl shadow-indigo-200 transition-all hover:scale-[1.01] active:scale-[0.98] uppercase tracking-[0.2em] text-xs">
Zaktualizuj profilowanie AI
</button>
<p class="text-[9px] text-center text-gray-400 mt-4 font-black uppercase tracking-widest opacity-50">Zmiany wpłyną na nowo generowane pomysły</p>
</div>
</form>
</div>
@@ -481,26 +686,21 @@
</div>
<!-- Mobile Navigation -->
<nav class="lg:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-2 flex justify-around items-center z-50">
<a href="dashboard.html" class="flex flex-col items-center p-2 text-gray-400">
<nav class="lg:hidden fixed bottom-6 left-6 right-6 bg-gray-900/90 backdrop-blur-xl border border-white/10 p-4 rounded-[2rem] flex justify-around items-center z-50 shadow-2xl shadow-indigo-500/20">
<a href="dashboard.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Home</span>
</a>
<a href="updates.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="bell" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Status</span>
<a href="occasions.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="calendar" class="w-6 h-6"></i>
</a>
<a href="inspirations.html" class="flex flex-col items-center p-2 text-gray-400">
<a href="notes.html" class="w-12 h-12 gradient-bg rounded-2xl flex items-center justify-center text-white shadow-lg shadow-indigo-500/40 -translate-y-4 border-4 border-gray-50">
<i data-lucide="pen-tool" class="w-6 h-6"></i>
</a>
<a href="persons.html" class="flex flex-col items-center text-white">
<i data-lucide="users" class="w-6 h-6"></i>
</a>
<a href="search.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="sparkles" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Pomysły</span>
</a>
<a href="blog.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="book-open" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Blog</span>
</a>
<a href="settings.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="settings" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Opcje</span>
</a>
</nav>

View File

@@ -15,50 +15,67 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">
Gift Planner
</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="p-4 border-t border-gray-100">
<div class="flex items-center gap-3 p-4">
<div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold">NK</div>
<div class="flex-1 overflow-hidden">
<p class="text-sm font-semibold truncate">Norbert K.</p>
<p class="text-xs text-gray-500">Premium</p>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
@@ -226,26 +243,21 @@
</div>
<!-- Mobile Navigation -->
<nav class="lg:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-2 flex justify-around items-center z-50">
<a href="dashboard.html" class="flex flex-col items-center p-2 text-gray-400">
<nav class="lg:hidden fixed bottom-6 left-6 right-6 bg-gray-900/90 backdrop-blur-xl border border-white/10 p-4 rounded-[2rem] flex justify-around items-center z-50 shadow-2xl shadow-indigo-500/20">
<a href="dashboard.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Home</span>
</a>
<a href="updates.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="bell" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Status</span>
<a href="occasions.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="calendar" class="w-6 h-6"></i>
</a>
<a href="inspirations.html" class="flex flex-col items-center p-2 text-gray-400">
<a href="notes.html" class="w-12 h-12 gradient-bg rounded-2xl flex items-center justify-center text-white shadow-lg shadow-indigo-500/40 -translate-y-4 border-4 border-gray-50">
<i data-lucide="pen-tool" class="w-6 h-6"></i>
</a>
<a href="persons.html" class="flex flex-col items-center text-white">
<i data-lucide="users" class="w-6 h-6"></i>
</a>
<a href="search.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="sparkles" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Pomysły</span>
</a>
<a href="blog.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="book-open" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Blog</span>
</a>
<a href="settings.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="settings" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Opcje</span>
</a>
</nav>

View File

@@ -16,37 +16,67 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->

144
search.html Normal file
View File

@@ -0,0 +1,144 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wyszukiwarka AI - Gift Planner</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
<script src="main.js" defer></script>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8">
<header class="mb-12">
<h2 class="text-3xl font-black text-gray-900 leading-tight">Wyszukiwarka AI</h2>
<p class="text-gray-500 font-medium">Powiedz nam kogo chcesz obdarować, a my znajdziemy idealny prezent.</p>
</header>
<!-- Main Search Interface -->
<section class="mb-16">
<div class="bg-white rounded-[3rem] p-8 md:p-12 shadow-2xl shadow-indigo-100 border border-indigo-50 relative overflow-hidden">
<div class="relative z-10 max-w-4xl mx-auto text-center">
<div class="w-20 h-20 bg-indigo-600 rounded-[2rem] flex items-center justify-center text-white mx-auto mb-8 shadow-xl shadow-indigo-200">
<i data-lucide="sparkles" class="w-10 h-10 animate-pulse"></i>
</div>
<h3 class="text-3xl md:text-4xl font-black text-gray-900 mb-6 leading-tight">Co dzisiaj znajdziemy?</h3>
<p class="text-lg text-gray-500 font-medium mb-10">Opisz osobę, okazję lub styl życia. Nasze AI przedstawi Ci listę dopasowanych prezentów.</p>
<div class="relative group">
<input type="text" placeholder="Np: Szukam czegoś eleganckiego dla mamy, która kocha jogę i pastelowe kolory..." class="w-full py-6 px-8 rounded-3xl border-2 border-indigo-50 bg-gray-50 font-medium text-lg focus:bg-white focus:border-indigo-600 transition-all outline-none shadow-inner pr-48">
<button class="absolute right-3 top-3 bottom-3 bg-indigo-600 text-white px-8 rounded-2xl font-black text-sm shadow-xl shadow-indigo-100 hover:bg-indigo-700 transition-all flex items-center gap-2">
SZUKAJ Z AI <span class="bg-indigo-500 text-[10px] px-2 py-1 rounded">-1 <i data-lucide="zap" class="w-3 h-3 inline fill-white"></i></span>
</button>
</div>
<div class="mt-8 flex flex-wrap justify-center gap-3">
<span class="text-xs font-black text-gray-400 uppercase tracking-widest mr-2 py-2">Popularne:</span>
<button class="px-4 py-2 bg-white border border-gray-200 rounded-full text-xs font-bold text-gray-600 hover:border-indigo-400 hover:text-indigo-600 transition-all">Słuchawki dla gracza</button>
<button class="px-4 py-2 bg-white border border-gray-200 rounded-full text-xs font-bold text-gray-600 hover:border-indigo-400 hover:text-indigo-600 transition-all">Zestaw do parzenia matchy</button>
<button class="px-4 py-2 bg-white border border-gray-200 rounded-full text-xs font-bold text-gray-600 hover:border-indigo-400 hover:text-indigo-600 transition-all">Książki o architekturze</button>
</div>
</div>
<!-- Decorative Elements -->
<div class="absolute -left-20 -bottom-20 w-64 h-64 bg-indigo-50 rounded-full opacity-50 blur-3xl"></div>
<div class="absolute -right-20 -top-20 w-64 h-64 bg-purple-50 rounded-full opacity-50 blur-3xl"></div>
</div>
</section>
</main>
</div>
<!-- Mobile Navigation -->
<nav class="lg:hidden fixed bottom-6 left-6 right-6 bg-gray-900/90 backdrop-blur-xl border border-white/10 p-4 rounded-[2rem] flex justify-around items-center z-50 shadow-2xl shadow-indigo-500/20">
<a href="dashboard.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
</a>
<a href="occasions.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="calendar" class="w-6 h-6"></i>
</a>
<a href="notes.html" class="w-12 h-12 gradient-bg rounded-2xl flex items-center justify-center text-white shadow-lg shadow-indigo-500/40 -translate-y-4 border-4 border-gray-50">
<i data-lucide="pen-tool" class="w-6 h-6"></i>
</a>
<a href="persons.html" class="flex flex-col items-center text-gray-500">
<i data-lucide="users" class="w-6 h-6"></i>
</a>
<a href="search.html" class="flex flex-col items-center text-white">
<i data-lucide="sparkles" class="w-6 h-6"></i>
</a>
</nav>
<script>
lucide.createIcons();
</script>
</body>
</html>

View File

@@ -14,48 +14,66 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="p-4 border-t border-gray-100">
<a href="settings.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="settings"></i> Ustawienia
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
<div class="flex items-center gap-3 p-4 mt-2">
<div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold">NK</div>
<div class="flex-1 overflow-hidden">
<p class="text-sm font-semibold truncate">Norbert K.</p>
<p class="text-xs text-gray-500">Premium</p>
</div>
</div>
</div>
</aside>
@@ -66,7 +84,7 @@
<p class="text-gray-500 font-medium">Zarządzaj swoim profilem i preferencjami aplikacji.</p>
</header>
<div class="max-w-4xl space-y-8">
<div class="space-y-8">
<!-- Profile Settings -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-50">
<div class="flex items-center gap-4 mb-8">
@@ -99,6 +117,98 @@
<button class="bg-indigo-600 text-white px-8 py-3 rounded-2xl font-bold shadow-lg shadow-indigo-100 hover:opacity-90 transition-all">Zapisz zmiany</button>
</section>
<!-- Subscription & Tokens -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-50">
<div class="flex items-center gap-4 mb-8">
<div class="w-12 h-12 bg-yellow-50 rounded-2xl flex items-center justify-center text-yellow-600">
<i data-lucide="zap" class="fill-yellow-500"></i>
</div>
<h3 class="text-xl font-black text-gray-900">Twoja Subskrypcja i Tokeny</h3>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-8">
<div class="p-6 bg-gradient-to-br from-indigo-50 to-purple-50 rounded-3xl border border-indigo-100">
<p class="text-[10px] font-black text-indigo-400 uppercase tracking-widest mb-1">Dostępne Tokeny</p>
<div class="flex items-baseline gap-2">
<h4 class="text-4xl font-black text-indigo-900">120</h4>
<p class="text-indigo-400 font-bold">/ 200 w tym miesiącu</p>
</div>
<p class="text-xs text-indigo-600/60 mt-4 leading-relaxed">Limit odnowi się automatycznie <span class="font-bold">1 stycznia 2026</span>.</p>
</div>
<div class="flex flex-col justify-center">
<h4 class="text-sm font-black text-gray-900 mb-2">Potrzebujesz więcej mocy AI?</h4>
<p class="text-xs text-gray-400 mb-6">Możesz dokupić pakiety tokenów, które nie wygasają na koniec miesiąca.</p>
<div class="flex gap-3">
<button class="flex-1 bg-white border border-gray-200 px-4 py-3 rounded-2xl text-xs font-black text-gray-700 hover:bg-gray-50 transition-all shadow-sm">
Pakiet 50 <i data-lucide="zap" class="w-3 h-3 inline ml-1 text-yellow-500 fill-yellow-500"></i>
</button>
<button class="flex-1 gradient-bg text-white px-4 py-3 rounded-2xl text-xs font-black hover:opacity-90 transition-all shadow-lg shadow-indigo-100">
Pakiet 200 <i data-lucide="zap" class="w-3 h-3 inline ml-1 fill-white text-white"></i>
</button>
</div>
</div>
</div>
<div class="p-4 bg-gray-50 rounded-2xl border border-gray-100 flex items-center justify-between">
<div class="flex items-center gap-3">
<div class="w-8 h-8 bg-white rounded-lg flex items-center justify-center text-indigo-600 shadow-sm font-bold text-xs">P</div>
<div>
<p class="text-xs font-bold text-gray-900">Plan Personal (Darmowy)</p>
<p class="text-[10px] text-gray-400 font-medium">Standardowe 200 tokenów / msc</p>
</div>
</div>
<button class="text-indigo-600 text-xs font-black hover:underline">Zmień plan</button>
</div>
</section>
<!-- Feature Packages -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-50">
<div class="flex items-center gap-4 mb-8">
<div class="w-12 h-12 bg-emerald-50 rounded-2xl flex items-center justify-center text-emerald-600">
<i data-lucide="package-plus"></i>
</div>
<h3 class="text-xl font-black text-gray-900">Twoje Pakiety Rozszerzeń</h3>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<!-- Package: Oszczędzanie -->
<div class="p-6 rounded-3xl border-2 border-emerald-500 bg-emerald-50/20 relative overflow-hidden group">
<div class="absolute top-4 right-4 text-emerald-600">
<i data-lucide="check-circle-2" class="w-6 h-6"></i>
</div>
<div class="w-10 h-10 bg-emerald-100 rounded-xl flex items-center justify-center text-emerald-600 mb-4">
<i data-lucide="trending-down"></i>
</div>
<h4 class="text-lg font-black text-gray-900 mb-1">Pakiet "Oszczędzanie"</h4>
<p class="text-[10px] text-emerald-600 font-bold uppercase tracking-widest mb-4">AKTYWNY • 14.99 PLN / msc</p>
<ul class="space-y-2 mb-6">
<li class="text-xs text-gray-600 flex items-center gap-2"><i data-lucide="check" class="w-3 h-3 text-emerald-500"></i> Historia cen Ceneo (30 dni)</li>
<li class="text-xs text-gray-600 flex items-center gap-2"><i data-lucide="check" class="w-3 h-3 text-emerald-500"></i> Alerty o spadkach cen</li>
<li class="text-xs text-gray-600 flex items-center gap-2"><i data-lucide="check" class="w-3 h-3 text-emerald-500"></i> Powiadomienia okazje cenowe</li>
</ul>
<p class="text-[10px] text-gray-400 font-medium text-center italic">Następna płatność: 12.01.2026</p>
</div>
<!-- Package: Kontrola budżetu -->
<div class="p-6 rounded-3xl border-2 border-dashed border-gray-200 hover:border-indigo-500 transition-all group">
<div class="w-10 h-10 bg-gray-100 rounded-xl flex items-center justify-center text-gray-400 group-hover:bg-indigo-100 group-hover:text-indigo-600 mb-4 transition-all">
<i data-lucide="pie-chart"></i>
</div>
<h4 class="text-lg font-black text-gray-900 mb-1">Pakiet "Kontrola budżetu"</h4>
<p class="text-[10px] text-gray-400 font-bold uppercase tracking-widest mb-4">NIEAKTYWNY • 6.99 PLN / msc</p>
<ul class="space-y-2 mb-6">
<li class="text-xs text-gray-500 flex items-center gap-2"><i data-lucide="lock" class="w-3 h-3"></i> Zaawansowane statystyki</li>
<li class="text-xs text-gray-500 flex items-center gap-2"><i data-lucide="lock" class="w-3 h-3"></i> Wykresy wydatków rocznych</li>
<li class="text-xs text-gray-500 flex items-center gap-2"><i data-lucide="lock" class="w-3 h-3"></i> Prognozowanie budżetu AI</li>
</ul>
<button class="w-full py-3 gradient-bg text-white rounded-2xl text-xs font-black shadow-lg shadow-indigo-100 hover:scale-[1.02] transition-all">
SUBSKRYBUJ ZA 6.99 PLN / MSC
</button>
</div>
</div>
</section>
<!-- Notifications -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-50">
<div class="flex items-center gap-4 mb-8">

41
spec.md
View File

@@ -27,9 +27,10 @@ Aplikacja wspomaga planowanie i śledzenie prezentów na dowolne okazje (święt
## 2. Core Domain MVP Scope
### User & Authentication
### User, Authentication & Tokens
- [ ] Rejestracja / logowanie (email + hasło)
- [ ] Profil usera (opcjonalnie: foto, preferencje powiadomień)
- [ ] **Tokeny**: Miesięczny odnawialny limit tokenów + możliwość dokupienia pakietów.
- [ ] **Bez social logins na MVP**
- [ ] Brak współdzielenia list (single-user na MVP)
@@ -139,6 +140,7 @@ Spersonalizowany feed powiadomień.
- **Okazja cenowa**: Spadek ceny rynkowej produktu z karty produktu.
- **Zbliżająca się okazja**: Countdown do wydarzeń (globalnych i mini-okazji).
- **Inspiracja AI**: Nowe propozycje na podstawie profilu osoby.
- **Radar Prezentowy (Gift Radar)**: Monitoring cen, trendów i dostępności w czasie rzeczywistym z match-makingiem AI.
- **Raport budżetowy**: Podsumowanie wydatków w danym miesiącu.
---
@@ -189,26 +191,31 @@ Obliczone **automatycznie** na podstawie prezentów i okazji.
---
### AI Gift Recommendations (Phase 2)
### AI Gift Recommendations & Greetings (Phase 2)
**Use Case:**
**Use Case 1: Recommendations**
User przychodzi na okazję, widzi osobę w liście, kliknie "Suggest Gifts" → AI generuje 510 propozycji z uzasadnieniami.
**Use Case 2: Greetings & Cards (New)**
AI generuje personalizowane życzenia na podstawie szerokiego kontekstu:
- **Widok Okazji (Grupowe)**: Generowanie życzeń dla wszystkich uczestników naraz (spójność stylistyczna, unikanie powtórzeń).
- **Widok Okazji (Indywidualne)**: Szybkie generowanie życzeń dla konkretnej osoby bezpośrednio z listy uczestników okazji (uwzględnia wybrany prezent).
**Input Context (AI):**
- Profil osoby: wiek, zainteresowania, relacja
- Okazja: typ, budżet per osoba, pozostały budżet na całą okazję
- Historia: jakie prezenty już kupił/planuje dla tej osoby w historii (unikaj duplikatów)
- Unikalność: weź pod uwagę, jakie prezenty planuje dla innych osób (różnorodność)
- Profil osoby: wiek, zainteresowania, relacja, styl życia, rozmiary.
- Okazja: typ, budżet per osoba, pozostały budżet na całą okazję.
- Historia: jakie prezenty już kupił/planuje dla tej osoby w historii (unikaj duplikatów).
- Wybrane prezenty: konkretne modele produktów, ich cechy i przeznaczenie.
**Output:**
- Lista propozycji: [{ title, category, priceRange, reason, matchScore }]
- Reason: "Lubisz gaming, a wiek sugeruje..." itp.
- Link do szukania: łatwe przejście do Ceneo/Google Shopping
- Życzenia: [{ recipient, occasion, text, tone, cardTypeSuggestion }]
**Implementacja:**
- LLM (OpenAI API / local Ollama / inne)
- Prompt engineering: struktura context + constraints (budżet, unikalne przedmioty)
- User ręcznie decyduje, co dodać (zero auto-dodawania, pełna kontrola)
- Prompt engineering: struktura context + constraints (budżet, unikalne przedmioty).
- **Koszt AI**: Każda generacja sugestii lub pakietu życzeń kosztuje określoną liczbę tokenów (np. 1 token per życzenia / 5 sugestii).
- User ręcznie decyduje, co dodać lub skopiować.
---
@@ -243,6 +250,8 @@ User
├── id (PK)
├── email (UNIQUE)
├── password_hash
├── tokens_balance (INT, default 0)
├── last_token_reset (TIMESTAMP)
├── created_at
└── updated_at
@@ -377,6 +386,7 @@ IndividualOccasion (Zrezygnowano - używamy tabeli Occasion)
- Logistyka: status, notatki zakupowe, numer zamówienia
- Analiza ceny zakupu vs cena rynkowa
- **Feedback Loop**: Po zmianie statusu na "Otrzymany" (given), pojawia się sekcja oceny (gwiazdki + notatka efektu).
- *(Przeniesiono: Sekcja AI Greetings została przeniesiona do widoków Okazji i Osoby dla lepszego kontekstu).*
#### 6. Settings
- Profil usera i wylogowanie
@@ -391,7 +401,7 @@ IndividualOccasion (Zrezygnowano - używamy tabeli Occasion)
Widok okazji podzielony na zakładki:
1. **Lista Osób**: Karty osób z przypisanymi prezentami i budżetem per osoba.
2. **Wszystkie Prezenty**: Zbiorcza lista prezentów (Flat list) do łatwego zarządzania statusami (Kupione/Zapakowane).
3. **Analiza AI**: Sugestie i porady dotyczące optymalizacji budżetu i doboru prezentów.
3. **AI**: Sugestie, porady dotyczące optymalizacji oraz grupowe generowanie życzeń dla wszystkich uczestników.
---
@@ -408,10 +418,10 @@ Widok okazji podzielony na zakładki:
**Timeline:** ~48 weeks (team-dependent)
### Phase 2 (Post-MVP, ~4 weeks after)
- Price tracking via Ceneo + PriceSnapshot table
- Price alerts & notifications (email/push)
- AI gift recommendations (LLM integration)
- **Wyszukiwarka AI (AI Search)**: Globalna wyszukiwarka prezentów oparta na LLM z analizą dopasowania (match-making).
### Phase 3+ (Nice-to-have, Later)
- Collaborative lists (share occasion with family)
@@ -429,7 +439,10 @@ Widok okazji podzielony na zakładki:
- [ ] Database: PostgreSQL assumption confirm?
- [ ] Ceneo integration: API lub web scraping? (Apify fallback)
- [ ] AI model: OpenAI API czy local/self-hosted? (cost/privacy trade-off)
- [ ] Monetization: subscription, freemium, ads? (affects feature gating)
- [ ] Monetization:
- **Tokens**: Monthly allowance + top-ups for AI actions.
- **Pakiet "Oszczędzanie"**: 14.99 PLN / msc. Odblokowuje historię cen (Ceneo) i alerty cenowe.
- **Pakiet "Kontrola budżetu"**: 6.99 PLN / msc. Odblokowuje zaawansowane analizy budżetowe, wykresy wydatków i prognozy.
- [ ] Mobile-first design czy desktop-first? (assuming mobile-responsive on MVP)
---

View File

@@ -15,40 +15,65 @@
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center text-white">
<i data-lucide="gift"></i>
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="bell"></i> Aktualizacje
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="globe"></i> Święta
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="p-4 border-t border-gray-100">
<a href="settings.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="settings"></i> Ustawienia
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
@@ -63,7 +88,7 @@
<button class="text-sm font-bold text-indigo-600 hover:underline">Oznacz wszystkie jako przeczytane</button>
</header>
<div class="max-w-4xl space-y-4">
<div class="space-y-4">
<!-- Update: Price Drop (Emergency/Hot) -->
<div class="bg-white rounded-[2rem] p-6 shadow-sm border-l-4 border-green-500 group hover:shadow-xl transition-all relative overflow-hidden">
<div class="flex items-start gap-6 relative z-10">
@@ -106,25 +131,6 @@
</div>
</div>
<!-- Update: AI Suggestion (Inspiration) -->
<div class="bg-gradient-to-br from-purple-600 to-indigo-700 rounded-[2rem] p-6 shadow-xl text-white group hover:scale-[1.02] transition-all relative overflow-hidden">
<div class="flex items-start gap-6 relative z-10">
<div class="w-16 h-16 bg-white/20 backdrop-blur-md rounded-2xl flex items-center justify-center shrink-0">
<i data-lucide="sparkles" class="w-8 h-8"></i>
</div>
<div class="flex-1">
<div class="flex items-center justify-between mb-1">
<span class="text-[10px] font-black text-purple-200 uppercase tracking-widest">Inspiracja AI</span>
<span class="text-[10px] text-purple-200 font-bold">2 dni temu</span>
</div>
<h4 class="text-lg font-black mb-2">Nowe sugestie dla: Tata</h4>
<p class="text-sm text-purple-100 mb-4 leading-relaxed">Na podstawie Twoich ostatnich notatek o miłości taty do grillowania, znaleźliśmy unikalny "Zestaw profesjonalnych akcesoriów do wędzenia".</p>
<button class="bg-white text-purple-700 px-6 py-2 rounded-xl text-xs font-bold shadow-lg">Zobacz propozycje</button>
</div>
</div>
<i data-lucide="brain" class="absolute -right-8 -bottom-8 w-40 h-40 opacity-10"></i>
</div>
<!-- Update: System/Budget (Info) -->
<div class="bg-white rounded-[2rem] p-6 shadow-sm border-l-4 border-gray-200 opacity-60 hover:opacity-100 transition-all">
<div class="flex items-start gap-6">