/* ===============================================================
   PREMIUM UI - Dashboard, Skeleton, Animacje, Glassmorphism
   Wprowadzony w v84 - rozszerzenie architektury bez psucia
   =============================================================== */

/* -------- ANIMACJE -------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.fade-in { animation: fadeIn 0.4s ease-out; }
.fade-in-up { animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.stagger-1 { animation-delay: 0.05s; opacity: 0; animation-fill-mode: forwards; }
.stagger-2 { animation-delay: 0.10s; opacity: 0; animation-fill-mode: forwards; }
.stagger-3 { animation-delay: 0.15s; opacity: 0; animation-fill-mode: forwards; }
.stagger-4 { animation-delay: 0.20s; opacity: 0; animation-fill-mode: forwards; }
.stagger-5 { animation-delay: 0.25s; opacity: 0; animation-fill-mode: forwards; }
.stagger-6 { animation-delay: 0.30s; opacity: 0; animation-fill-mode: forwards; }

/* -------- DASHBOARD (Kafelki podsumowania) -------- */
.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.dash-tile {
  position: relative;
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  overflow: hidden;
}
.dash-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}
.dash-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tile-c1, #2563EB), var(--tile-c2, #14B8A6));
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.dash-tile .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: linear-gradient(135deg, var(--tile-c1, #2563EB), var(--tile-c2, #14B8A6));
  color: white;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.dash-tile .value {
  font-size: 22px;
  font-weight: 600;
  color: #0F2A43;
  line-height: 1.1;
  margin-bottom: 2px;
}
.dash-tile .label {
  font-size: 11px;
  color: #6B6B6B;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.dash-tile .sub {
  font-size: 11px;
  color: #6B6B6B;
  margin-top: 4px;
}

/* Kolorystyka kafelków */
.dash-tile.tile-days     { --tile-c1: #2563EB; --tile-c2: #7C3AED; }
.dash-tile.tile-attr     { --tile-c1: #7C3AED; --tile-c2: #EC4899; }
.dash-tile.tile-meals    { --tile-c1: #F59E0B; --tile-c2: #EF4444; }
.dash-tile.tile-walk     { --tile-c1: #14B8A6; --tile-c2: #0EA5E9; }
.dash-tile.tile-budget   { --tile-c1: #10B981; --tile-c2: #14B8A6; }
.dash-tile.tile-intense  { --tile-c1: #EC4899; --tile-c2: #F59E0B; }

/* -------- WYKRES BUDŻETU (Chart.js) -------- */
.budget-chart-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.budget-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.budget-chart-header .title {
  font-size: 15px;
  font-weight: 600;
  color: #0F2A43;
}
.budget-chart-header .total {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.budget-chart-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}
@media (max-width: 500px) {
  .budget-chart-body { grid-template-columns: 1fr; }
}
.budget-chart-canvas-wrap {
  position: relative;
  height: 180px;
}
.budget-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.budget-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #333;
}
.budget-legend-item .dot {
  width: 12px; height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
}
.budget-legend-item .name { flex: 1; }
.budget-legend-item .val { font-weight: 600; color: #0F2A43; }
.budget-legend-item .pct { font-size: 10px; color: #6B6B6B; }

.budget-daily {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #E5E5E2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.budget-daily .amount {
  font-weight: 600;
  color: #10B981;
  font-size: 15px;
}

/* -------- INTENSYWNOŚĆ DNIA -------- */
.day-intensity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  cursor: help;
}
.day-intensity.light  { background: #D1FAE5; color: #065F46; }
.day-intensity.medium { background: #FEF3C7; color: #92400E; }
.day-intensity.heavy  { background: #FEE2E2; color: #991B1B; }
.day-intensity .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.day-intensity.light .dot  { background: #10B981; }
.day-intensity.medium .dot { background: #F59E0B; }
.day-intensity.heavy .dot  { background: #DC2626; }

.calm-day-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  margin-left: 6px;
  background: white;
  border: 1px solid #E5E5E2;
  border-radius: 10px;
  font-size: 11px;
  color: #6B6B6B;
  cursor: pointer;
  transition: all 0.2s;
}
.calm-day-btn:hover {
  background: #EFF6FF;
  border-color: #2563EB;
  color: #1D4ED8;
}

/* -------- SKELETON LOADING -------- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 40%, #f0f0f0 80%);
  background-size: 1000px 100%;
  animation: shimmer 1.6s linear infinite;
  border-radius: 8px;
}
.skeleton-line { height: 12px; margin-bottom: 8px; }
.skeleton-line.wide { width: 100%; }
.skeleton-line.narrow { width: 60%; }
.skeleton-line.short { width: 40%; }
.skeleton-tile {
  height: 110px;
  border-radius: 16px;
}
.skeleton-day {
  height: 60px;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* -------- LISTA RZECZY DO SPAKOWANIA -------- */
.packing-card {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-radius: 20px;
  padding: 18px;
  margin: 18px 0;
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.15);
}
.packing-card .head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.packing-card .head .emoji {
  font-size: 28px;
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.packing-card .head .title {
  font-size: 15px;
  font-weight: 600;
  color: #78350F;
}
.packing-card .head .sub {
  font-size: 11px;
  color: #92400E;
}
.packing-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.packing-group {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 12px;
}
.packing-group .g-title {
  font-size: 12px;
  font-weight: 600;
  color: #78350F;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.packing-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.packing-group li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 3px 0;
  color: #4A2E0A;
}
.packing-group li input[type="checkbox"] {
  cursor: pointer;
  accent-color: #F59E0B;
}
.packing-group li.checked span {
  text-decoration: line-through;
  color: #A8A29E;
}

/* -------- GLASSMORPHISM DOTKNIĘCIE HERO -------- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ===============================================================
   🌙 DARK MODE - włączany przez body.dark
   =============================================================== */
.theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}
.theme-toggle:hover { transform: scale(1.08) rotate(15deg); }
.theme-toggle:active { transform: scale(0.95); }

body.dark .theme-toggle {
  background: rgba(30, 40, 60, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  color: #FFE29A;
}

/* Dark mode - kolor tła aplikacji */
body.dark {
  color: #E4EAF0;
  background: linear-gradient(180deg, #0A1428 0%, #0F2A43 42%, #1A2F4E 78%, #2C4770 100%) fixed;
}
body.dark .scene { opacity: 0.35; }
body.dark .cloud { color: rgba(200, 220, 255, 0.4) !important; }

/* Karty i głowne sekcje */
body.dark .card,
body.dark .day-card,
body.dark .step-card,
body.dark .mode-card,
body.dark .dash-tile,
body.dark .budget-chart-card,
body.dark .booking-btn,
body.dark .fact-card {
  background: rgba(30, 45, 70, 0.85) !important;
  color: #E4EAF0 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark .dash-tile .value { color: #F0F6FC !important; }
body.dark .dash-tile .label,
body.dark .dash-tile .sub { color: #A8B4C4 !important; }
body.dark .budget-chart-header .title { color: #F0F6FC !important; }
body.dark .budget-legend-item .val { color: #F0F6FC !important; }
body.dark .budget-legend-item .name,
body.dark .budget-legend-item .pct,
body.dark .budget-daily { color: #A8B4C4 !important; }

/* Skeleton w dark */
body.dark .skeleton {
  background: linear-gradient(90deg, #1a2842 0%, #253552 40%, #1a2842 80%);
  background-size: 1000px 100%;
}

/* Pola i inputy */
body.dark input,
body.dark select,
body.dark textarea {
  background: rgba(15, 25, 45, 0.8) !important;
  color: #F0F6FC !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark input::placeholder,
body.dark textarea::placeholder { color: #6B7A88; }

/* Bufory tekstowe (opisy, ciekawostki) */
body.dark p,
body.dark li,
body.dark span:not(.emoji):not(.dot):not(.day-num) {
  color: inherit;
}
body.dark [style*="color:#0F2A43"],
body.dark [style*="color: #0F2A43"] { color: #F0F6FC !important; }
body.dark [style*="color:#6B6B6B"],
body.dark [style*="color: #6B6B6B"] { color: #A8B4C4 !important; }
body.dark [style*="color:#4A2E0A"],
body.dark [style*="color: #4A2E0A"] { color: #F5D3A0 !important; }
body.dark [style*="color:#854F0B"],
body.dark [style*="color: #854F0B"] { color: #F5D3A0 !important; }
body.dark [style*="color:#633806"],
body.dark [style*="color: #633806"] { color: #F5D3A0 !important; }
body.dark [style*="color:#0F766E"],
body.dark [style*="color: #0F766E"] { color: #7DE8DA !important; }
body.dark [style*="color:#1D4ED8"],
body.dark [style*="color: #1D4ED8"] { color: #93BFFF !important; }
body.dark [style*="color:#075985"],
body.dark [style*="color: #075985"] { color: #93BFFF !important; }
body.dark [style*="color:#7C3AED"],
body.dark [style*="color: #7C3AED"] { color: #C4B5FD !important; }
body.dark [style*="color:#5B21B6"],
body.dark [style*="color: #5B21B6"] { color: #C4B5FD !important; }
body.dark [style*="color:#991B1B"],
body.dark [style*="color: #991B1B"] { color: #FCA5A5 !important; }
body.dark [style*="color:#065F46"],
body.dark [style*="color: #065F46"] { color: #6EE7B7 !important; }
body.dark [style*="color:#78350F"],
body.dark [style*="color: #78350F"] { color: #FCD34D !important; }
body.dark [style*="color:#92400E"],
body.dark [style*="color: #92400E"] { color: #FCD34D !important; }

/* Białe tła zamień na ciemne */
body.dark [style*="background:white"],
body.dark [style*="background: white"],
body.dark [style*="background:#fff"],
body.dark [style*="background: #fff"],
body.dark [style*="background:#FFFFFF"],
body.dark [style*="background: #FFFFFF"] {
  background: rgba(30, 45, 70, 0.85) !important;
}

/* Delikatne kolorowe tła (jasne pastele) -> ciemniejsze warianty */
body.dark [style*="background:#EFF6FF"],
body.dark [style*="background: #EFF6FF"] { background: rgba(37, 99, 235, 0.15) !important; }
body.dark [style*="background:#E0F2FE"],
body.dark [style*="background: #E0F2FE"] { background: rgba(14, 165, 233, 0.15) !important; }
body.dark [style*="background:#FEF2F2"],
body.dark [style*="background: #FEF2F2"] { background: rgba(220, 38, 38, 0.15) !important; }
body.dark [style*="background:#FFF4E0"],
body.dark [style*="background: #FFF4E0"] { background: rgba(245, 158, 11, 0.15) !important; }

/* Pasek nawigacji dolny */
body.dark .nav-buttons .btn-nav {
  background: rgba(30, 45, 70, 0.85);
  color: #E4EAF0;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Progress i stage */
body.dark .progress-bar { background: rgba(255, 255, 255, 0.08); }
body.dark .step-label { color: #A8B4C4; }

/* Ikony góra */
body.dark [class*="card-icon-box"] {
  filter: brightness(1.1);
}

/* Pakiet spakuj - dostosowanie */
body.dark .packing-card {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.25) 0%, rgba(146, 64, 14, 0.25) 100%) !important;
  border-color: rgba(251, 191, 36, 0.2) !important;
}
body.dark .packing-group {
  background: rgba(15, 25, 45, 0.6) !important;
}
body.dark .packing-group li { color: #F5D3A0 !important; }
body.dark .packing-card .title { color: #FCD34D !important; }
body.dark .packing-card .sub { color: #F5D3A0 !important; }

/* Intensywność - lekkie dostrojenie w dark */
body.dark .day-intensity.light  { background: rgba(16, 185, 129, 0.25); color: #6EE7B7; }
body.dark .day-intensity.medium { background: rgba(245, 158, 11, 0.25); color: #FCD34D; }
body.dark .day-intensity.heavy  { background: rgba(220, 38, 38, 0.25); color: #FCA5A5; }

/* Focus outline w dark */
body.dark *:focus-visible {
  outline: 2px solid #63C7E8;
  outline-offset: 2px;
}

/* ===============================================================
   🖼️ LAZY LOADING obrazków - opóźnione załadowanie z fade-in
   =============================================================== */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease-out;
}
img[loading="lazy"].loaded {
  opacity: 1;
}
/* Karty z tłem-obrazkiem - fade in po załadowaniu (applyPhoto dodaje .has-photo) */
[data-photo] {
  transition: background-image 0.6s ease-out;
}
[data-photo].has-photo {
  animation: fadeIn 0.5s ease-out;
}

/* ===============================================================
   ✨ MIKRO-INTERAKCJE - Płynne przejścia dla przycisków
   =============================================================== */
button, .booking-btn, .btn-nav, .mode-card, .card {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s,
              background 0.2s,
              border-color 0.2s;
}
.mode-card:hover, .card:hover {
  transform: translateY(-1px);
}

/* Ripple efekt przy kliknięciu przycisków */
button:active, .booking-btn:active { transform: scale(0.97); }

/* ===============================================================
   💫 SCROLL - płynne przewijanie i customowy scrollbar
   =============================================================== */
* { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(15, 42, 67, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(15, 42, 67, 0.4); }
body.dark ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); }
body.dark ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); }

/* ===============================================================
   📱 RESPONSYWNOŚĆ - dodatkowe dostrojenie mobile
   =============================================================== */
@media (max-width: 500px) {
  .dashboard { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dash-tile { padding: 12px 10px; }
  .dash-tile .value { font-size: 18px; }
  .dash-tile .icon { width: 30px; height: 30px; font-size: 16px; }
  .theme-toggle { top: 10px; right: 10px; width: 40px; height: 40px; }
  .packing-groups { grid-template-columns: 1fr; }
}

/* ===============================================================
   💬 AI CHAT - Asystent AI (Etap 9)
   =============================================================== */

/* Floating Action Button (FAB) */
.ai-chat-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, opacity 0.3s;
  animation: fabPulse 3s ease-in-out infinite;
}
.ai-chat-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5), 0 4px 8px rgba(0, 0, 0, 0.15);
}
.ai-chat-fab:active { transform: scale(0.95); }
.ai-chat-fab.hidden { opacity: 0; pointer-events: none; transform: scale(0.5); }

.ai-chat-fab-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.ai-chat-fab-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #EF4444;
  color: white;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(37, 99, 235, 0.15); }
}

/* Panel chatu - z prawej strony, wysuwany */
.ai-chat-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 600px;
  max-height: calc(100vh - 40px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s;
}
.ai-chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
body.dark .ai-chat-panel {
  background: rgba(20, 30, 50, 0.98);
  border-color: rgba(255, 255, 255, 0.1);
  color: #E4EAF0;
}

/* Header chatu */
.ai-chat-header {
  padding: 14px 16px;
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.ai-chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  backdrop-filter: blur(4px);
}
.ai-chat-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.ai-chat-status {
  font-size: 11px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ai-chat-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px #4ADE80;
  animation: pulse 2s ease-in-out infinite;
}
.ai-chat-actions {
  display: flex;
  gap: 4px;
}
.ai-chat-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.ai-chat-icon-btn:hover { background: rgba(255, 255, 255, 0.25); }

/* Wiadomości */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Powitanie (pusty stan) */
.ai-chat-welcome {
  padding: 30px 16px;
  text-align: center;
  color: #6B7A88;
}
.ai-chat-welcome-emoji {
  font-size: 48px;
  margin-bottom: 12px;
}
.ai-chat-welcome-title {
  font-size: 15px;
  font-weight: 600;
  color: #0F2A43;
  margin-bottom: 6px;
}
.ai-chat-welcome-sub {
  font-size: 13px;
  line-height: 1.4;
}
body.dark .ai-chat-welcome-title { color: #F0F6FC; }
body.dark .ai-chat-welcome { color: #A8B4C4; }

/* Pojedyncza wiadomość */
.ai-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  animation: fadeInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-msg-user { flex-direction: row-reverse; }
.ai-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.ai-msg-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
}
.ai-msg-bot .ai-msg-bubble {
  background: #F1F5F9;
  color: #0F2A43;
  border-bottom-left-radius: 4px;
}
.ai-msg-user .ai-msg-bubble {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: white;
  border-bottom-right-radius: 4px;
}
body.dark .ai-msg-bot .ai-msg-bubble {
  background: rgba(255, 255, 255, 0.08);
  color: #E4EAF0;
}

/* Typing indicator - kropki które pulsują */
.ai-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 14px !important;
}
.ai-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94A3B8;
  animation: typingBounce 1.4s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Sugestie (chipy) */
.ai-chat-suggestions {
  padding: 0 16px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}
.ai-chat-chip {
  padding: 6px 12px;
  border-radius: 14px;
  background: white;
  border: 1px solid #E4EAF0;
  font-size: 12px;
  color: #46617A;
  cursor: pointer;
  transition: all 0.2s;
}
.ai-chat-chip:hover {
  background: linear-gradient(135deg, #EFF6FF, #F3E8FF);
  border-color: #2563EB;
  color: #1D4ED8;
  transform: translateY(-1px);
}
body.dark .ai-chat-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #A8B4C4;
}
body.dark .ai-chat-chip:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: #63C7E8;
  color: #93BFFF;
}

/* Input i przycisk wyślij */
.ai-chat-input-wrap {
  padding: 12px 12px 14px;
  border-top: 1px solid #E4EAF0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
body.dark .ai-chat-input-wrap { border-top-color: rgba(255, 255, 255, 0.08); }

.ai-chat-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid #E4EAF0;
  font-size: 13px;
  background: #F8FAFC;
  color: #0F2A43;
  outline: none;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
}
.ai-chat-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: white;
}
.ai-chat-input:disabled { opacity: 0.5; cursor: not-allowed; }
body.dark .ai-chat-input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #F0F6FC;
}
body.dark .ai-chat-input:focus { background: rgba(255, 255, 255, 0.08); }

.ai-chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ai-chat-send:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4); }
.ai-chat-send:active { transform: scale(0.92); }
.ai-chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* Responsive - pełny ekran na mobile */
@media (max-width: 500px) {
  .ai-chat-panel {
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  .ai-chat-fab {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
}

/* ===============================================================
   🌍 LOKALNE WSKAZÓWKI (Etap 16)
   =============================================================== */
.local-tips-card {
  background: linear-gradient(135deg, #EFF6FF 0%, #F3E8FF 100%);
  border-radius: 20px;
  padding: 18px;
  margin: 18px 0;
  border: 1px solid rgba(37, 99, 235, 0.15);
}
.local-tips-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.local-tips-icon {
  font-size: 28px; background: white; width: 44px; height: 44px;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}
.local-tips-title { font-size: 15px; font-weight: 600; color: #1E3A8A; }
.local-tips-sub { font-size: 11px; color: #4B5563; }
body.dark .local-tips-title { color: #93BFFF !important; }
body.dark .local-tips-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%) !important;
}
.local-tips-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.tip-block {
  background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 10px 12px;
}
.tip-block.tip-warning { background: rgba(254, 243, 199, 0.7); }
.tip-block.tip-danger { background: rgba(254, 226, 226, 0.7); }
body.dark .tip-block { background: rgba(15, 25, 45, 0.6) !important; }
body.dark .tip-block.tip-warning { background: rgba(245, 158, 11, 0.15) !important; }
body.dark .tip-block.tip-danger { background: rgba(220, 38, 38, 0.15) !important; }
.tip-title {
  font-size: 12px; font-weight: 600; color: #1E3A8A; margin-bottom: 6px;
}
.tip-content { font-size: 12px; color: #333; line-height: 1.5; }
body.dark .tip-title { color: #C4B5FD !important; }
body.dark .tip-content { color: #D1D9E6 !important; }
.food-chip {
  padding: 3px 10px; border-radius: 12px; background: white;
  border: 1px solid rgba(37, 99, 235, 0.2); font-size: 11px; color: #1D4ED8;
}
body.dark .food-chip {
  background: rgba(37, 99, 235, 0.15) !important;
  color: #93BFFF !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
}

/* ===============================================================
   🕐 NAJLEPSZE GODZINY (Etap 15) - w slocie atrakcji
   =============================================================== */
.best-hours-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 10px;
  background: linear-gradient(135deg, #DBEAFE, #E0E7FF);
  font-size: 10px; color: #1D4ED8; font-weight: 500;
  margin-top: 4px; margin-left: 4px;
}
body.dark .best-hours-badge {
  background: rgba(37, 99, 235, 0.25) !important;
  color: #93BFFF !important;
}

.best-hours-tooltip {
  display: block; background: rgba(37, 99, 235, 0.05);
  border-left: 3px solid #2563EB; padding: 6px 10px;
  border-radius: 6px; margin: 6px 0; font-size: 11px;
}
body.dark .best-hours-tooltip {
  background: rgba(37, 99, 235, 0.1) !important;
}
.best-hours-tooltip .row { display: flex; justify-content: space-between; padding: 2px 0; }
.best-hours-tooltip .lbl { color: #6B7A88; }
.best-hours-tooltip .val { color: #1E3A8A; font-weight: 500; }
body.dark .best-hours-tooltip .val { color: #93BFFF !important; }

/* ===============================================================
   🚨 ALERTY (Etap 13)
   =============================================================== */
.alerts-card {
  background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
  border-radius: 20px; padding: 16px; margin: 18px 0;
  border: 1px solid rgba(249, 115, 22, 0.3);
}
body.dark .alerts-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(234, 88, 12, 0.15) 100%) !important;
}
.alerts-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.alerts-title { font-size: 14px; font-weight: 600; color: #7C2D12; }
body.dark .alerts-title { color: #FDBA74 !important; }
.alerts-list {
  display: flex; flex-direction: column; gap: 8px;
}
.alert-item {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(6px);
  padding: 10px 12px; border-radius: 12px; display: flex; gap: 10px; align-items: flex-start;
  border-left: 4px solid #F97316;
}
.alert-item.alert-warning { border-left-color: #F59E0B; }
.alert-item.alert-info { border-left-color: #3B82F6; }
.alert-item.alert-danger { border-left-color: #DC2626; }
body.dark .alert-item {
  background: rgba(15, 25, 45, 0.7) !important;
}
.alert-title-txt {
  font-size: 12px; font-weight: 600; color: #7C2D12; margin-bottom: 3px;
}
.alert-text { font-size: 11px; color: #333; line-height: 1.4; }
body.dark .alert-title-txt { color: #FDBA74 !important; }
body.dark .alert-text { color: #D1D9E6 !important; }

/* ===============================================================
   📤 EKSPORT (Etap 17, 18)
   =============================================================== */
.export-buttons-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 20px; padding: 16px; margin: 18px 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
body.dark .export-buttons-card {
  background: rgba(30, 45, 70, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.export-title {
  font-size: 13px; font-weight: 600; color: #0F2A43; margin-bottom: 10px;
}
body.dark .export-title { color: #F0F6FC !important; }
.export-buttons {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}
.export-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 12px; border-radius: 12px; border: none;
  cursor: pointer; font-size: 12px; font-weight: 500;
  transition: all 0.2s; color: white;
}
.export-btn i { font-size: 16px; }
.export-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); }
.export-btn:active { transform: scale(0.97); }
.export-btn-pdf { background: linear-gradient(135deg, #DC2626, #F97316); }
.export-btn-maps { background: linear-gradient(135deg, #4285F4, #34A853); }
.export-btn-cal { background: linear-gradient(135deg, #7C3AED, #EC4899); }
.export-btn-share { background: linear-gradient(135deg, #10B981, #059669); }

/* ===============================================================
   🏆 STATYSTYKI ŻYCIOWE (Etap 19)
   =============================================================== */
.life-stats-card {
  background: linear-gradient(135deg, #FEF3C7 0%, #FBCFE8 100%);
  border-radius: 20px; padding: 18px; margin: 18px 0;
  border: 1px solid rgba(236, 72, 153, 0.2);
}
body.dark .life-stats-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%) !important;
}
.life-stats-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.life-stats-title { font-size: 15px; font-weight: 600; color: #7C2D12; }
.life-stats-sub { font-size: 11px; color: #92400E; }
body.dark .life-stats-title { color: #FCD34D !important; }
body.dark .life-stats-sub { color: #F5D3A0 !important; }
.life-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px;
}
.life-stat {
  background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 12px 8px; text-align: center;
}
body.dark .life-stat { background: rgba(15, 25, 45, 0.6) !important; }
.life-stat-value {
  font-size: 22px; font-weight: 700;
  background: linear-gradient(135deg, #DC2626, #7C3AED);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.life-stat-label {
  font-size: 10px; color: #6B7A88; margin-top: 4px;
  text-transform: uppercase; letter-spacing: 0.3px;
}
body.dark .life-stat-label { color: #A8B4C4 !important; }
.country-chip {
  padding: 3px 10px; border-radius: 12px; background: white;
  border: 1px solid rgba(236, 72, 153, 0.3);
  font-size: 11px; color: #831843; font-weight: 500;
}
body.dark .country-chip {
  background: rgba(236, 72, 153, 0.15) !important;
  color: #F9A8D4 !important;
}

/* ===============================================================
   🗺️ WYBÓR MIAST (v88 - zastąpił dawną listę atrakcji)
   =============================================================== */
.city-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 10px 0;
}
.city-pick-card {
  position: relative;
  padding: 16px 12px;
  border-radius: 14px;
  background: white;
  border: 2px solid #E4EAF0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.city-pick-card:hover:not(.disabled) {
  transform: translateY(-2px);
  border-color: #93BFFF;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}
.city-pick-card.selected {
  background: linear-gradient(135deg, #EFF6FF, #F3E8FF);
  border-color: #2563EB;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}
.city-pick-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.5);
}
.city-emoji {
  font-size: 36px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}
.city-name {
  font-size: 13px;
  font-weight: 500;
  color: #0F2A43;
}
.city-order-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
  z-index: 2;
  animation: fadeInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.city-check {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 16px;
  color: #10B981;
}

/* Dark mode */
body.dark .city-pick-card {
  background: rgba(30, 45, 70, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark .city-pick-card.selected {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(124, 58, 237, 0.25)) !important;
  border-color: #63C7E8 !important;
}
body.dark .city-name { color: #F0F6FC !important; }
body.dark .city-pick-card:hover:not(.disabled) {
  border-color: #63C7E8 !important;
}

/* Mobile */
@media (max-width: 500px) {
  .city-picker {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .city-pick-card {
    padding: 12px 8px;
  }
  .city-emoji { font-size: 28px; }
  .city-name { font-size: 12px; }
}

/* ===============================================================
   🗺️ MAPA DNIA (przywrócona w v90 - z lazy loading)
   =============================================================== */
.day-map-wrap {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #E5E5E2;
}
body.dark .day-map-wrap { border-top-color: rgba(255, 255, 255, 0.08); }

.day-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.day-map-title {
  font-size: 12px;
  font-weight: 600;
  color: #0F2A43;
}
body.dark .day-map-title { color: #F0F6FC !important; }
.day-map-status {
  font-size: 11px;
  color: #6B6B6B;
  padding: 3px 10px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.day-map-status:hover {
  background: rgba(37, 99, 235, 0.15);
}
.day-map-status.loading {
  background: rgba(245, 158, 11, 0.15);
  color: #92400E;
  animation: pulse 1.5s ease-in-out infinite;
  cursor: default;
}
.day-map-status.loaded {
  background: rgba(16, 185, 129, 0.15);
  color: #065F46;
  cursor: default;
}
.day-map-status.error {
  background: rgba(220, 38, 38, 0.15);
  color: #991B1B;
}
body.dark .day-map-status { color: #A8B4C4; }

.day-map-canvas {
  width: 100%;
  height: 0;
  border-radius: 12px;
  border: 1px solid #E5E5E2;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.day-map-canvas.expanded {
  height: 320px;
}

/* Skeleton dla mapy */
.day-map-canvas.loading {
  height: 320px;
  background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 40%, #f0f0f0 80%);
  background-size: 1000px 100%;
  animation: shimmer 1.6s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7A88;
  font-size: 13px;
}
body.dark .day-map-canvas {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark .day-map-canvas.loading {
  background: linear-gradient(90deg, #1a2842 0%, #253552 40%, #1a2842 80%);
  background-size: 1000px 100%;
}

/* Marker Leaflet - stylizacja żeby pasowała */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  padding: 4px 8px !important;
}
.leaflet-popup-content {
  margin: 8px 12px !important;
  font-size: 12px !important;
}

/* ===============================================================
   🧳 WYBÓR TRYBU PODRÓŻY (baza / objazdówka) - v91
   =============================================================== */
.trip-type-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 700px) {
  .trip-type-picker { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 400px) and (max-width: 699px) {
  .trip-type-picker { grid-template-columns: 1fr; }
}
.trip-type-card {
  position: relative;
  padding: 14px;
  border-radius: 14px;
  background: white;
  border: 2px solid #E4EAF0;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.trip-type-card:hover {
  transform: translateY(-2px);
  border-color: #93BFFF;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}
.trip-type-card.selected {
  background: linear-gradient(135deg, #EFF6FF, #F3E8FF);
  border-color: #2563EB;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}
body.dark .trip-type-card {
  background: rgba(30, 45, 70, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark .trip-type-card.selected {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(124, 58, 237, 0.25)) !important;
  border-color: #63C7E8 !important;
}

.trip-type-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.trip-type-text {
  flex: 1;
  min-width: 0;
}
.trip-type-title {
  font-size: 14px;
  font-weight: 600;
  color: #0F2A43;
  margin-bottom: 4px;
}
body.dark .trip-type-title { color: #F0F6FC !important; }
.trip-type-desc {
  font-size: 11px;
  color: #6B7A88;
  line-height: 1.4;
}
body.dark .trip-type-desc { color: #A8B4C4 !important; }
.trip-type-check {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  color: #10B981;
}

/* ═══════════════════════════════════════════════════════════════════════════
   🎨 PREMIUM LANDING PAGE - v94
   Nadpisuje style `#intro` z landing.css żeby dać modern SaaS design
   ═══════════════════════════════════════════════════════════════════════════ */

/* Zmienne palety */
:root {
  --lp-primary: #2563EB;
  --lp-secondary: #06B6D4;
  --lp-accent: #FDBA4D;
  --lp-bg-1: #0F1E3D;
  --lp-bg-2: #0A2B5E;
  --lp-bg-3: #0E4F82;
  --lp-white: #ffffff;
  --lp-text: #1a2842;
  --lp-text-muted: #6B7A88;
  --lp-glass: rgba(255, 255, 255, 0.7);
  --lp-glass-border: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════ RESET dla #intro ═══════════════════ */
/* v100: MOCNIEJSZE override (poprzedni landing.css ma position:fixed;inset:0;z-index:50) */
body #intro {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  min-height: 100vh;
  overflow: hidden auto !important;
  display: block !important;
  padding: 0;
  background: none !important;
  color: white;
  align-items: initial !important;
  justify-content: initial !important;
  flex-direction: initial !important;
  text-align: initial !important;
  transition: none;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Ukrywanie landing gdy user rozpocznie planowanie - CAŁKOWICIE (nie tylko opacity) */
body #intro.hide {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ═══════════════════ TŁO - BLUE→CYAN GRADIENT ═══════════════════ */
.landing-bg-gradient {
  position: fixed;
  inset: 0;
  /* v161: element czysto dekoracyjny — nie może przechwytywać kliknięć */
  pointer-events: none;
  /* v108: Granat #0B1F4A jako baza + subtelny gradient w kierunku niebieskiego */
  background: linear-gradient(180deg,
    #081638 0%,
    #0B1F4A 20%,
    #0D2960 45%,
    #0F3782 75%,
    #0E4F82 100%);
  z-index: -3;
}

/* Blob'y kolorowe - subtelnie pulsujące (v108: mniej intensywne, żeby nie dominowały) */
.landing-bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.30;
  animation: blobFloat 20s ease-in-out infinite;
}
.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #2563EB, transparent 70%);
  top: -10%; left: -10%;
  animation-delay: 0s;
}
.blob-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #06B6D4, transparent 70%);
  top: 30%; right: -15%;
  animation-delay: -7s;
  opacity: 0.22;
}
.blob-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, #FDBA4D, transparent 70%);
  bottom: -10%; left: 30%;
  opacity: 0.15;
  animation-delay: -14s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -40px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Subtelna siatka (grid pattern) - v108: mniej widoczna (2% zamiast 3%) */
.landing-bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
  pointer-events: none;
}

/* ☁️ CHMURY */
/* ═══════════════════════════════════════════════════════════════════════════
   🌌 KOSMICZNE TŁO HERO (v112)
   Obraz z img/hero-space.jpg jako tło hero section.
   Ziemia 🌍 pozostaje na wierzchu. Bez nakładki - tylko text-shadow dla czytelności.
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  /* Twój obraz jako tło */
  background-image: url('../img/hero-space.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Fallback color w razie problemu z ładowaniem */
  background-color: #0B1F4A;
}

/* Text-shadow dla nagłówka i podtytułu - żeby tekst był czytelny na kolorowym tle
   To NIE jest nakładka na obraz, tylko cień samego tekstu */
.hero-headline {
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.85),
    0 4px 40px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 0, 0, 0.4);
}
.hero-sub {
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.9),
    0 4px 24px rgba(0, 0, 0, 0.7);
}
.hero-meta {
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.85),
    0 0 20px rgba(0, 0, 0, 0.5);
}
.premium-badge {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Ziemia 🌍 - z-index żeby była POWYŻEJ tła kosmicznego */
.hero-globe-wrap { position: relative; z-index: 2; }
.hero-headline,
.hero-sub,
.hero-ctas,
.hero-meta,
.premium-badge { position: relative; z-index: 2; }

/* Mapa świata - ogromna, prawie niewidoczna (opacity 4%) */
.hero-world-map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: auto;
  min-width: 1000px;
  opacity: 0.05;
  filter: blur(0.5px);
  /* Delikatne "oddychanie" mapy */
  animation: worldMapBreathe 12s ease-in-out infinite;
}
@keyframes worldMapBreathe {
  0%, 100% { opacity: 0.04; }
  50%      { opacity: 0.07; }
}

/* Linie lotów - subtelne, pulsujące */
.hero-flight-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: auto;
  min-width: 1000px;
  opacity: 0.85;
}

/* Animacja dashed linii - jak trajektoria lotu */
.flight-line {
  stroke-dashoffset: 0;
  animation: flightDash 8s linear infinite;
}
.fl-1 { animation-delay: 0s;   }
.fl-2 { animation-delay: -1.3s; }
.fl-3 { animation-delay: -2.6s; }
.fl-4 { animation-delay: -4s;   }
.fl-5 { animation-delay: -5.3s; }
.fl-6 { animation-delay: -6.6s; }
@keyframes flightDash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -60; }
}

/* Świecące punkty miast */
.hero-city-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 65%;
  min-width: 1000px;
}
.city-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #06B6D4;
  box-shadow:
    0 0 8px rgba(6, 182, 212, 0.8),
    0 0 16px rgba(6, 182, 212, 0.4),
    0 0 24px rgba(6, 182, 212, 0.2);
  animation: cityDotPulse 3s ease-in-out infinite;
}
.city-dot:nth-child(2n)  { animation-delay: -0.5s; background: #63C7E8; box-shadow: 0 0 8px rgba(99, 199, 232, 0.8), 0 0 16px rgba(99, 199, 232, 0.4); }
.city-dot:nth-child(3n)  { animation-delay: -1s;   background: #FDBA4D; box-shadow: 0 0 8px rgba(253, 186, 77, 0.7), 0 0 16px rgba(253, 186, 77, 0.35); }
.city-dot:nth-child(4n)  { animation-delay: -1.5s; }
.city-dot:nth-child(5n)  { animation-delay: -2s; }
.city-dot:nth-child(7n)  { animation-delay: -2.5s; }
@keyframes cityDotPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.5); }
}

/* Delikatne poświaty dla głębi (aurora) */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  top: 20%; left: 15%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%);
  animation: heroGlowFloat 18s ease-in-out infinite;
}
.hero-glow-2 {
  bottom: 15%; right: 12%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 70%);
  animation: heroGlowFloat 22s ease-in-out infinite reverse;
  animation-delay: -8s;
}
@keyframes heroGlowFloat {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(30px, -20px); }
  66%      { transform: translate(-20px, 25px); }
}

/* Responsive - na mobile mapa mniejsza */
@media (max-width: 640px) {
  .hero-world-map,
  .hero-flight-lines,
  .hero-city-dots {
    width: 180%;
    min-width: 700px;
  }
  .hero-glow-1 { width: 250px; height: 250px; }
  .hero-glow-2 { width: 220px; height: 220px; }
}

/* Dark mode - mapa jeszcze subtelniejsza */
body.dark .hero-world-map { opacity: 0.03; }

/* ═══════════════════ SEKCJE - WSPÓLNE ═══════════════════ */
.section {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--lp-secondary);
  text-align: center;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Text gradient złoto→pomarańcz - accent */
.text-gradient-gold {
  background: linear-gradient(135deg, #FDBA4D 0%, #FEC26D 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ═══════════════════ SEKCJA 1: HERO ═══════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-section .section-inner {
  text-align: center;
}

/* Premium badge */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 40px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 12px #4ADE80;
  animation: pulse 2s ease-in-out infinite;
}
.badge-tag {
  padding: 2px 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
  font-size: 10px;
  font-weight: 700;
}

/* 🌍 ROTUJĄCA ZIEMIA - v96 (emoji - natywna grafika systemu) */
.hero-globe-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.hero-globe {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wielki emoji Ziemi - natywna grafika OS */
.globe-emoji {
  font-size: 180px;
  line-height: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  animation: globeBob 8s ease-in-out infinite;
  z-index: 2;
  user-select: none;
}
@keyframes globeBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}

/* Atmosfera świecąca */
.globe-atmosphere {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle,
    transparent 55%,
    rgba(100, 200, 255, 0.2) 65%,
    rgba(100, 200, 255, 0.35) 70%,
    transparent 78%);
  animation: atmoBreathe 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes atmoBreathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

/* Ring z pomarańczową kropką (orbita satelity) */
.globe-ring {
  position: absolute;
  inset: -25px;
  border: 2px dashed rgba(253, 186, 77, 0.55);
  border-radius: 50%;
  animation: ringRotate 25s linear infinite reverse;
  pointer-events: none;
  z-index: 3;
}
.globe-ring::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FDBA4D;
  box-shadow: 0 0 12px #FDBA4D, 0 0 24px rgba(253, 186, 77, 0.5);
  transform: translateX(-50%);
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Glow zewnętrzny */
.globe-glow {
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45), transparent 60%);
  filter: blur(35px);
  z-index: 0;
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

/* Nagłówek */
.hero-headline {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(36px, 7vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-sub {
  font-size: clamp(15px, 2.2vw, 18px);
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #FDBA4D 0%, #F59E0B 100%);
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow:
    0 10px 30px rgba(253, 186, 77, 0.4),
    0 2px 6px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}
.cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 15px 40px rgba(253, 186, 77, 0.55),
    0 4px 12px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
.cta-primary:active { transform: translateY(0) scale(0.98); }
.cta-primary.cta-large {
  padding: 20px 44px;
  font-size: 17px;
  border-radius: 28px;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.cta-primary:hover .cta-glow { opacity: 1; }

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.cta-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* v111 UX audit: FOCUS STATES dla dostępności klawiatury (WCAG 2.1) */
.cta-primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.15),
    0 0 0 6px rgba(37, 99, 235, 0.35),
    0 10px 30px rgba(253, 186, 77, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.1);
}
.cta-secondary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.25),
    0 0 0 6px rgba(37, 99, 235, 0.35);
}

/* v111 UX audit: <strong> w podtytule - subtelne wyróżnienie kluczowych informacji ("2 minuty", "dzień po dniu") */
.hero-sub strong {
  color: white;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(253, 186, 77, 0.15), rgba(6, 182, 212, 0.15));
  padding: 1px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.hero-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ═══════════════════ SEKCJA 2: FEATURE PILLS ═══════════════════ */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #0F2A43;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}
.pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25);
  background: white;
  border-color: rgba(37, 99, 235, 0.3);
}
.pill-icon {
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

/* ═══════════════════ SEKCJA 3: HOW IT WORKS ═══════════════════ */
.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 20px; }
  .how-arrow { transform: rotate(90deg); width: 60px !important; margin: 0 auto; }
}

.how-card {
  position: relative;
  padding: 32px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.how-card:hover { transform: translateY(-6px); }
.how-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
  color: white;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37,99,235,0.4);
}
.how-icon {
  font-size: 40px;
  margin: 8px 0 16px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}
.how-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #0F2A43;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.how-desc {
  font-size: 13px;
  color: #6B7A88;
  line-height: 1.6;
}
.how-bullet {
  display: inline-block;
  padding: 4px 10px;
  margin: 3px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.08));
  border-radius: 100px;
  font-size: 12px;
  color: #1E3A8A;
}
.how-arrow {
  width: 80px;
  align-self: center;
}
.how-arrow svg { width: 100%; height: auto; }

/* ═══════════════════ SEKCJA 4: DASHBOARD PREVIEW ═══════════════════ */
.dashboard-mockup {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.98);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.3),
    0 10px 30px rgba(37,99,235,0.15),
    inset 0 1px 0 rgba(255,255,255,0.5);
  max-width: 1100px;
  margin: 0 auto;
}
.dash-glow-1, .dash-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}
.dash-glow-1 {
  top: -40px; left: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent);
}
.dash-glow-2 {
  bottom: -40px; right: -40px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(253, 186, 77, 0.3), transparent);
}

.dash-browser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #F8FAFC, #F1F5F9);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dash-dots {
  display: flex;
  gap: 6px;
}
.dash-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dash-dots span:nth-child(1) { background: #FF605C; }
.dash-dots span:nth-child(2) { background: #FFBD44; }
.dash-dots span:nth-child(3) { background: #00CA4E; }
.dash-url {
  flex: 1;
  padding: 6px 14px;
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
  font-size: 12px;
  color: #6B7A88;
  font-family: monospace;
}

.dash-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 500px;
}
@media (max-width: 700px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
}

.dash-sidebar {
  padding: 20px 16px;
  background: linear-gradient(180deg, #F8FAFC, #EFF6FF);
  border-right: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-logo {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0F2A43;
  padding: 8px 10px;
  margin-bottom: 16px;
}
.dash-nav-item {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: #46617A;
  cursor: default;
  transition: background 0.2s;
}
.dash-nav-item.active {
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
  color: #1D4ED8;
  font-weight: 600;
}
.dash-flight-card {
  margin-top: auto;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: white;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}
.dash-flight-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.9;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.dash-flight-tag {
  padding: 2px 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  font-size: 10px;
}
.dash-flight-route {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.dash-flight-route div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dash-flight-route b { font-size: 15px; }
.dash-flight-route span { font-size: 11px; opacity: 0.85; }
.dash-flight-arrow {
  font-size: 18px;
  opacity: 0.7;
}
.dash-flight-price {
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.dash-main {
  padding: 24px;
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dash-header h3 {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0F2A43;
  margin: 0;
}
.dash-badge {
  padding: 4px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
  color: #1D4ED8;
  font-size: 12px;
  font-weight: 600;
}

.dash-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 500px) {
  .dash-tiles { grid-template-columns: repeat(2, 1fr); }
}
.dash-tile-mini {
  padding: 12px;
  border-radius: 12px;
  background: white;
  border: 1px solid #E4EAF0;
  position: relative;
  overflow: hidden;
}
.dash-tile-mini::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c1, #2563EB), var(--c2, #06B6D4));
}
.dash-tile-icon {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.dash-tile-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #0F2A43;
  line-height: 1;
}
.dash-tile-label {
  display: block;
  font-size: 10px;
  color: #6B7A88;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-widget {
  padding: 16px;
  border-radius: 14px;
  background: white;
  border: 1px solid #E4EAF0;
  margin-bottom: 12px;
}
.dash-widget-title {
  font-size: 12px;
  font-weight: 600;
  color: #46617A;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.dash-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #F8FAFC;
  font-size: 12px;
}
.tl-time {
  font-weight: 600;
  color: #46617A;
  min-width: 40px;
}
.tl-icon { font-size: 14px; }
.tl-text {
  flex: 1;
  color: #0F2A43;
}
.tl-price {
  font-size: 11px;
  color: #10B981;
  font-weight: 600;
}

.dash-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .dash-two-col { grid-template-columns: 1fr; }
}
.dash-mini-map {
  position: relative;
  height: 120px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, #E0F2FE, #DBEAFE),
    radial-gradient(circle at 30% 30%, #F1F5F9, transparent 70%);
  overflow: hidden;
}
.map-marker {
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 10px rgba(37,99,235,0.4);
  z-index: 2;
}
.map-path {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.dash-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 120px;
  overflow: hidden;
}
.chat-msg {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  max-width: 85%;
}
.chat-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: white;
  border-bottom-right-radius: 3px;
}
.chat-bot {
  align-self: flex-start;
  background: #F1F5F9;
  color: #0F2A43;
  border-bottom-left-radius: 3px;
}

/* ═══════════════════ SEKCJA 5: SOCIAL PROOF ═══════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}
@media (max-width: 600px) {
  .stats-row { grid-template-columns: 1fr; gap: 20px; }
}
.stat-block {
  padding: 20px;
}
.stat-number {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial:hover { transform: translateY(-4px); }
.testimonial-stars {
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 14px;
  color: #0F2A43;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}
.author-name {
  font-size: 13px;
  font-weight: 600;
  color: #0F2A43;
}
.author-role {
  font-size: 11px;
  color: #6B7A88;
}

/* ═══════════════════ SEKCJA 6: FINAL CTA ═══════════════════ */
.final-cta-section {
  padding-bottom: 120px;
}
.final-cta-card {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(6, 182, 212, 0.9));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.35);
}
.final-cta-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 186, 77, 0.4), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.final-cta-title {
  position: relative;
  z-index: 1;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.final-cta-sub {
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}
.final-cta-card .cta-primary {
  position: relative;
  z-index: 1;
}

/* ═══════════════════ ANIMACJE ═══════════════════ */
.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Reveal on scroll (dodaje .visible przez IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--pd, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 640px) {
  .section { padding: 60px 20px; }
  .hero-section { padding-top: 40px; padding-bottom: 40px; }
  .hero-globe { width: 160px; height: 160px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .cta-primary, .cta-secondary { justify-content: center; }
  .hero-meta { gap: 12px; font-size: 12px; }
  .feature-pills { gap: 8px; }
  .pill { padding: 10px 16px; font-size: 13px; }
  .dash-body { min-height: auto; }
  .dashboard-mockup { border-radius: 16px; }
}

/* Ukrywanie landing gdy user rozpocznie planowanie - reguła #intro.hide zdefiniowana wyżej */

/* ═══════════════════════════════════════════════════════════════════════════
   🖼️ ZDJĘCIA ATRAKCJI (v99)
   Ładują się przez enhancePhotos() z cache localStorage → Wikipedia → Unsplash
   ═══════════════════════════════════════════════════════════════════════════ */
.attraction-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin: 8px 0 10px;
  background-color: #E5E5E2;
  background-image: linear-gradient(135deg, #EFF6FF 0%, #F3E8FF 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 16px rgba(15, 42, 67, 0.12), 0 1px 3px rgba(15, 42, 67, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
  opacity: 0;
  animation: photoFadeIn 0.6s ease-out forwards;
}
@keyframes photoFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Placeholder skeleton dopóki się nie załaduje - subtelny shimmer */
.attraction-photo:not(.has-photo)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%);
  background-size: 200% 100%;
  animation: photoShimmer 1.8s ease-in-out infinite;
}
@keyframes photoShimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* Ikona ładowania (kamera) w środku skeleton */
.attraction-photo:not(.has-photo)::after {
  content: '🖼️';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  opacity: 0.5;
}

/* Gdy zdjęcie się załaduje - usuwamy shimmer */
.attraction-photo.has-photo::before,
.attraction-photo.has-photo::after {
  display: none;
}

/* Hover na zdjęciu atrakcji - lekki zoom */
.attraction-photo.has-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 42, 67, 0.18), 0 3px 8px rgba(15, 42, 67, 0.10);
}

/* Dark mode */
body.dark .attraction-photo {
  background-color: #1a2842;
  background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Responsive - mniejsza wysokość na mobile żeby nie dominowała slota */
@media (max-width: 500px) {
  .attraction-photo {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    margin: 6px 0 8px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ♿ DOSTĘPNOŚĆ (v111 UX audit)
   Respektuj ustawienie systemowe "Redukcja ruchu" (WCAG 2.3.3)
   Osoby z zaburzeniami przedsionkowymi / motion sickness widzą subtelniejszą animację
   ═══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  /* Wyłącz animacje wpływające na ruch, zostaw fade / opacity */
  .globe-emoji,
  .blob,
  .flight-line,
  .city-dot,
  .hero-glow,
  .hero-world-map,
  .globe-atmosphere,
  .globe-ring,
  .globe-glow {
    animation: none !important;
  }
  .fade-in-up,
  .reveal {
    animation-duration: 0.01s !important;
    transition-duration: 0.01s !important;
  }
  /* Zachowaj hover state - to feedback interakcyjny */
  .cta-primary:hover,
  .cta-secondary:hover,
  .pill:hover,
  .how-card:hover {
    transition-duration: 0.15s !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   📱 MOBILE ONBOARDING CAROUSEL (v113)
   Pokazuje się TYLKO na < 768px zamiast klasycznego premium landingu.
   4 slajdy: Rome-style powitanie → wybór → 3 miasta → demo
   ═══════════════════════════════════════════════════════════════════════════ */

/* Domyślnie ukryty (desktop widzi klasyczny landing) */
.mobile-onboarding {
  display: none;
}

/* v127: Na mobile — hero jako ZWYKŁA sekcja dokumentu (bez fixed, bez blokowania body).
   Formularz planowania jest bezpośrednio poniżej; strona przewija się naturalnie
   i działa nawet przy częściowym błędzie JavaScript. */
@media (max-width: 767px) {
  .mobile-onboarding {
    display: block;
    position: relative;
    /* Pink → Purple → Blue gradient (jak w mockupie) */
    background:
      radial-gradient(ellipse at 20% 15%, rgba(236, 72, 153, 0.55), transparent 55%),
      radial-gradient(ellipse at 85% 30%, rgba(168, 85, 247, 0.5), transparent 60%),
      radial-gradient(ellipse at 50% 85%, rgba(37, 99, 235, 0.7), transparent 65%),
      linear-gradient(180deg, #EC4899 0%, #A855F7 30%, #7C3AED 60%, #2563EB 100%);
    color: white;
    -webkit-font-smoothing: antialiased;
  }

  /* Ukryj klasyczny (desktopowy) premium landing na mobile */
  #intro > .landing-bg-gradient,
  #intro > .landing-bg-blobs,
  #intro > .landing-bg-grid,
  #intro > .section {
    display: none;
  }
}

/* Progress bar (góra) */
.mo-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
}
.mo-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #FDBA4D, #FFF);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 3px 3px 0;
}

/* v127: Hero mobilne - zwykły blok w przepływie dokumentu (bez scroll-snap i 100dvh locka) */
.mo-slide {
  width: 100%;
  min-height: 100svh;
  position: relative;
  padding: 24px 24px 48px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* ═══ SLIDE 1: Rome-style ═══ */
.mo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-bottom: 20px;
}
.mo-topbar-side { width: 32px; }
.mo-topbar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.85;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.mo-icon-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.mo-icon-btn:active { transform: scale(0.9); }
.mo-icon-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Wielka nazwa miasta */
.mo-city-name {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(64px, 18vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  color: white;
  text-shadow:
    0 4px 30px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3);
  animation: moSlideInDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes moSlideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ziemia */
.mo-globe-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px auto 16px;
  width: 240px;
  height: 240px;
}
.mo-globe {
  font-size: 200px;
  line-height: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  animation: moGlobeBob 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
  user-select: none;
}
@keyframes moGlobeBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-10px) rotate(3deg); }
}
.mo-globe-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(6, 182, 212, 0.25) 30%,
    transparent 65%);
  filter: blur(30px);
  animation: moGlowPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes moGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

/* Meta row (czas + temp) */
.mo-meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 8px 0 20px;
  padding: 0 4px;
}
.mo-meta-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  opacity: 0.75;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.mo-meta-value {
  display: block;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.mo-meta-temp {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 42px;
  font-weight: 700;
  text-shadow: 0 3px 12px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
}

/* Glass panel (jak w mockupie) */
.mo-glass-panel {
  margin-top: auto;
  padding: 18px 16px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: moSlideInUp 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes moSlideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.mo-glass-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  opacity: 0.7;
  margin-bottom: 12px;
}
.mo-glass-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.mo-glass-chips::-webkit-scrollbar { display: none; }
.mo-glass-chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 68px;
  padding: 4px;
  cursor: pointer;
}
.mo-glass-chip-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mo-glass-chip:active .mo-glass-chip-icon {
  transform: scale(0.92);
}
.mo-glass-chip-name {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Next FAB - v118: strzałka w DÓŁ, centralnie, z bounce animation */
.mo-next-fab {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  color: #7C3AED;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  animation: moFabBounce 2.4s ease-in-out infinite;
}
.mo-next-fab svg {
  transform: rotate(90deg); /* strzałka w dół, nie w prawo */
}
.mo-next-fab:active {
  animation-play-state: paused;
  transform: translateX(-50%) scale(0.92);
}
.mo-next-fab:hover {
  animation-play-state: paused;
  transform: translateX(-50%) scale(1.05);
}
@keyframes moFabBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-6px); }
  60% { transform: translateX(-50%) translateY(-3px); }
}

/* ═══ SLIDE 2 & 4: CTA slajdy (środkowy tekst + duży emoji) ═══ */
.mo-slide-cta { justify-content: center; align-items: center; text-align: center; }
.mo-slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 12px;
  max-width: 100%;
}
.mo-hero-emoji {
  font-size: 96px;
  line-height: 1;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.35));
  animation: moGlobeBob 5s ease-in-out infinite;
  margin-bottom: 12px;
}
.mo-headline {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(30px, 8vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
  margin: 0;
}
.mo-headline-sm { font-size: 26px; }
.mo-sub {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  max-width: 320px;
  margin: 0;
}
.mo-sub-sm { font-size: 13px; }
.mo-sub strong {
  color: #FDBA4D;
  font-weight: 700;
}

/* ═══ SLIDE 3: Karty miast ═══ */
.mo-slide[data-slide="3"] { justify-content: flex-start; padding-top: 40px; }
.mo-slide[data-slide="3"] .mo-slide-inner {
  align-items: stretch;
  width: 100%;
  text-align: left;
}
.mo-city-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}
.mo-city-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
.mo-city-card:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.22);
}
.mo-city-emoji {
  font-size: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}
.mo-city-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.mo-city-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
}
.mo-city-country {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.5px;
}
.mo-city-desc {
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.35;
  margin-top: 3px;
}
.mo-city-arrow {
  font-size: 22px;
  opacity: 0.6;
  margin-left: 6px;
  transition: transform 0.2s;
}
.mo-city-card:hover .mo-city-arrow,
.mo-city-card:focus .mo-city-arrow { transform: translateX(4px); }

/* Demo button (Slide 4) */
.mo-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 100px;
  background: white;
  color: #7C3AED;
  border: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 15px 40px rgba(0,0,0,0.3),
    0 5px 12px rgba(253, 186, 77, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 80px;
}
.mo-demo-btn:active { transform: scale(0.96); }

/* Dots navigation - v118: PIONOWO po prawej (side indicator zamiast bottom) */
.mo-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  left: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}
.mo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mo-dot.active {
  width: 8px;
  height: 28px;
  border-radius: 4px;
  background: white;
}

/* Skip button */
.mo-skip {
  position: fixed;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  z-index: 11;
  transition: opacity 0.3s;
}
.mo-skip:active { opacity: 0.6; }

/* Ukryj skip button na ostatnim slajdzie */
.mobile-onboarding[data-current-slide="4"] .mo-skip { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   🎨 v114 - PURPLE HERO (desktop/tablet, ≥ 768px)
   Inspiracja: mockup z fioletową dotted map + zieloną trajektorią samolotu
   ═══════════════════════════════════════════════════════════════════════════ */

/* Nadpisujemy tło globalne - fioletowy gradient zamiast blue */
.landing-bg-gradient {
  background: linear-gradient(180deg,
    #1E0B47 0%,      /* Deep purple */
    #2A0E5C 20%,     /* Rich purple */
    #3B1478 45%,     /* Medium purple */
    #4C1E9A 65%,     /* Bright violet */
    #1E4FBF 90%,     /* Transition to blue */
    #0F3782 100%);   /* Blue bottom (sekcje pod hero) */
}

/* Ukryj obecne bloby na hero, żeby dotted map była w pełni widoczna */
.hero-section .landing-bg-blobs,
.hero-section .landing-bg-grid { display: none; }

/* v119/v121: Hero section - MOCKUP JAKO BACKGROUND-IMAGE (img/hero-map.jpg)
   v121: Obraz został wyczyszczony w Pythonie - Sign up/Log in/Get started usunięte */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  background-image: url('../img/hero-map.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1E0B47;
}

.hero-inner-v2 {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
  min-height: 100vh;
  box-sizing: border-box;
}

/* v119: Spacer żeby przycisk był u dołu ekranu (nad mapą) */
.hero-spacer-v2 {
  flex: 1;
  min-height: 50vh; /* dopasowuje pozycję do dolnej części mapy */
}

/* Tytuł - v119: uproszczony, białe litery centralnie */
.hero-title-v2 {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: white;
  margin: 20px 0 0;
  text-shadow:
    0 4px 30px rgba(0, 0, 0, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* Kontener mapy */
.hero-map-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px;
  aspect-ratio: 2 / 1;
}

/* SVG mapa */
.hero-dotted-map {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(94, 234, 212, 0.15));
}

/* Kropki miast pulsują */
.dm-city {
  animation: dmCityPulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px currentColor);
}
.dm-city-1  { animation-delay: 0s; }
.dm-city-2  { animation-delay: -0.4s; }
.dm-city-3  { animation-delay: -0.8s; }
.dm-city-4  { animation-delay: -1.2s; }
.dm-city-5  { animation-delay: -1.6s; }
.dm-city-6  { animation-delay: -2s; }
.dm-city-7  { animation-delay: -2.4s; }
.dm-city-8  { animation-delay: -0.2s; }
.dm-city-9  { animation-delay: -0.6s; }
.dm-city-10 { animation-delay: -1s; }
.dm-city-11 { animation-delay: -1.4s; }
.dm-city-12 { animation-delay: -1.8s; }
@keyframes dmCityPulse {
  0%, 100% { r: 3; opacity: 0.7; }
  50%      { r: 5; opacity: 1; }
}

/* Trajektoria - animowany dash */
.dm-flight-path {
  filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.6));
  stroke-dashoffset: 0;
  animation: dmDashAnim 3s linear infinite;
}
@keyframes dmDashAnim {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -30; }
}

/* Samolot - motion-path (leci wzdłuż trajektorii) */
.dm-plane {
  offset-path: path('M 300 435 Q 700 120 1200 310');
  offset-distance: 0%;
  offset-rotate: auto;
  animation: dmPlaneFly 8s cubic-bezier(0.4, 0.0, 0.6, 1) infinite;
  filter: drop-shadow(0 4px 12px rgba(94, 234, 212, 0.7));
}
@keyframes dmPlaneFly {
  0%   { offset-distance: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
/* Fallback dla przeglądarek bez offset-path */
@supports not (offset-path: path('M 0 0')) {
  .dm-plane {
    transform-origin: center;
    animation: dmPlaneFlySimple 8s cubic-bezier(0.4, 0.0, 0.6, 1) infinite;
  }
  @keyframes dmPlaneFlySimple {
    0%   { transform: translate(300px, 435px); opacity: 0; }
    8%   { opacity: 1; }
    25%  { transform: translate(520px, 270px) rotate(-25deg); }
    50%  { transform: translate(750px, 155px) rotate(0deg); }
    75%  { transform: translate(985px, 210px) rotate(20deg); }
    92%  { opacity: 1; }
    100% { transform: translate(1200px, 310px); opacity: 0; }
  }
}

/* Get started button (mint/turquoise) */
.cta-mint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border-radius: 100px;
  background: linear-gradient(135deg, #5EEAD4, #2DD4BF);
  color: #0F2A43;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(94, 234, 212, 0.35),
    0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 20px;
}
.cta-mint:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px rgba(94, 234, 212, 0.5),
    0 6px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.4);
}
.cta-mint:active { transform: translateY(0); }
.cta-mint:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.25),
    0 0 0 6px rgba(94, 234, 212, 0.6),
    0 12px 32px rgba(94, 234, 212, 0.35);
}

/* Meta info v2 */
.hero-meta-v2 {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* ═══ HAMBURGER MENU (top-left) ═══ */
.hero-menu-btn {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 20;
  transition: background 0.2s;
}
.hero-menu-btn:hover { background: rgba(255, 255, 255, 0.15); }
.hero-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hero-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hero-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══ PANEL ZAPISANE PODRÓŻE ═══ */
.stp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 67, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.stp-overlay.open {
  opacity: 1;
  visibility: visible;
}

.saved-trips-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: linear-gradient(180deg, #1E0B47 0%, #2A0E5C 50%, #3B1478 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 4px 0 40px rgba(0, 0, 0, 0.4);
}
.saved-trips-panel.open { transform: translateX(0); }

.stp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.stp-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0;
}
.stp-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 16px;
  cursor: pointer;
}
.stp-close:hover { background: rgba(255, 255, 255, 0.15); }

.stp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stp-item {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  gap: 12px;
  align-items: center;
}
.stp-item:hover {
  background: rgba(94, 234, 212, 0.12);
  border-color: rgba(94, 234, 212, 0.3);
  transform: translateY(-1px);
}
.stp-item-emoji {
  font-size: 26px;
  flex-shrink: 0;
}
.stp-item-info {
  flex: 1;
  min-width: 0;
}
.stp-item-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}
.stp-item-meta {
  font-size: 11px;
  opacity: 0.7;
}
.stp-item-del {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.stp-item-del:hover { background: rgba(239, 68, 68, 0.3); }

.stp-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
}
.stp-empty-emoji {
  font-size: 40px;
  margin-bottom: 12px;
}

/* ═══ MOBILE - ukryj purple hero, pokaż mobile carousel ═══ */
@media (max-width: 767px) {
  .hero-section { display: none; }
  /* v146: hamburger hero nie istnieje na mobile, ale panel MUSI dać się otworzyć
     (karta „Zapisane podróże" w kreatorze i profil w sidebarze planu). */
  .hero-menu-btn { display: none !important; }
  .saved-trips-panel:not(.open),
  .stp-overlay:not(.open) { display: none !important; }
}

/* ═══ TABLET adjustments ═══ */
@media (max-width: 900px) and (min-width: 768px) {
  .hero-title-v2 { font-size: 28px; }
  .hero-map-wrap { max-width: 90%; }
  .cta-mint { padding: 14px 32px; font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   📱 MOBILE PLAN VIEW - INSPIRACJA WANDERLOG/KAYAK (v117)
   Tylko wygląd (< 768px). Funkcje bez zmian.
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* === TŁO WIDOKU PLANU - ciemne, mobile-app style === */
  body:has(.plan-header):not(:has(#intro:not(.hide))) {
    background: #0F1A2E;
  }

  /* === HERO NAGŁÓWEK MIASTA (jeśli istnieje na widoku planu) === */
  .plan-header,
  .city-header,
  .day-card:first-of-type {
    position: relative;
  }

  /* === KARTA DNIA - restylizacja w stylu app card === */
  .day-card {
    background: white;
    border-radius: 24px;
    padding: 18px 16px;
    margin: 0 12px 16px;
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.08),
      0 1px 3px rgba(0, 0, 0, 0.06);
    border: none;
    overflow: hidden;
    position: relative;
  }
  body.dark .day-card {
    background: rgba(30, 45, 70, 0.95) !important;
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  /* Numer dnia - większy, pastelowy okrągły */
  .day-num {
    width: 44px !important;
    height: 44px !important;
    border-radius: 16px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Nagłówek karty dnia */
  .day-card > div:first-child {
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 12px;
  }
  body.dark .day-card > div:first-child {
    border-bottom-color: rgba(255,255,255,0.08);
  }

  /* === SLOT (godzina + ikona + treść) === */
  .day-card p[style*="margin"],
  .slot-name-row {
    padding: 10px 4px !important;
    border-radius: 12px;
  }

  /* Godzina jako duża, jasna */
  .day-card p b:first-of-type,
  .day-card p > b {
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 600;
    color: #0F2A43;
    font-size: 14px;
  }
  body.dark .day-card p > b { color: #F0F6FC !important; }

  /* Ikony slotów - pastelowe kółka */
  .day-card .ti,
  .day-card i.ti {
    background: linear-gradient(135deg, #EFF6FF, #F3E8FF);
    padding: 8px;
    border-radius: 12px;
    color: #2563EB !important;
    font-size: 14px !important;
  }
  body.dark .day-card .ti {
    background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(124,58,237,0.2));
    color: #7BC5EA !important;
  }

  /* Ikony specyficzne dla typów - kolory */
  .day-card i.ti-plane,
  .day-card i.ti-plane-arrival,
  .day-card i.ti-plane-departure {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    color: #1D4ED8 !important;
  }
  .day-card i.ti-bed,
  .day-card i.ti-door-enter,
  .day-card i.ti-door-exit {
    background: linear-gradient(135deg, #F3E8FF, #E9D5FF);
    color: #7C3AED !important;
  }
  .day-card i.ti-coffee,
  .day-card i.ti-glass,
  .day-card i.ti-tools-kitchen-2,
  .day-card i.ti-soup,
  .day-card i.ti-meat {
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
    color: #DC2626 !important;
  }
  .day-card i.ti-map-pin,
  .day-card i.ti-building-monument,
  .day-card i.ti-building-castle {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #B45309 !important;
  }
  .day-card i.ti-mood-smile,
  .day-card i.ti-swimming,
  .day-card i.ti-beach {
    background: linear-gradient(135deg, #DBEAFE, #BAE6FD);
    color: #0284C7 !important;
  }
  .day-card i.ti-walk,
  .day-card i.ti-mountain,
  .day-card i.ti-hiking {
    background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
    color: #15803D !important;
  }

  /* Cena atrakcji - jak w mockupie (mniejsza, prawa strona) */
  .day-card p[style*="color:#10B981"],
  .day-card [style*="color:#10B981"] {
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 600 !important;
    font-size: 13px !important;
  }

  /* === KARTA GŁÓWNA (.card - statystyki, budget itd) === */
  .card {
    border-radius: 24px !important;
    padding: 20px 18px !important;
    margin: 0 12px 14px !important;
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.08),
      0 1px 3px rgba(0, 0, 0, 0.06) !important;
  }

  /* Tytuł sekcji (h2/h3 wewnątrz cards) */
  .card h2,
  .card h3 {
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  /* === MAPA DNIA - większy border radius, subtelny cień === */
  .day-map-wrap {
    margin-top: 14px !important;
    border-top: none !important;
    padding-top: 8px !important;
  }
  .day-map-canvas {
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  /* === FACT CARDS (ciekawostki) - premium style === */
  .fact-card {
    background: linear-gradient(135deg, #FEF3C7, #FED7AA) !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    box-shadow: 0 3px 10px rgba(180, 83, 9, 0.1) !important;
    margin-bottom: 8px !important;
  }
  body.dark .fact-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.15)) !important;
  }

  /* === STANY - premium buttons dla akcji === */
  .day-card button[data-toggle-slot-note],
  .day-card button[data-edit-slot] {
    background: rgba(37, 99, 235, 0.08) !important;
    border-radius: 8px !important;
    padding: 4px 6px !important;
    transition: all 0.2s;
  }
  .day-card button:active {
    transform: scale(0.9);
    background: rgba(37, 99, 235, 0.15) !important;
  }

  /* === GŁÓWNY NAGŁÓWEK PLANU (nazwa miasta + daty) === */
  /* Zwiększa nagłówki w widoku planu */
  .plan-view h1,
  .plan-view h2 {
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  /* === DODATKOWY POLISH === */
  /* Zaokrąglone timeline items */
  .day-card > div > p {
    transition: background 0.2s;
    border-radius: 12px;
  }
  .day-card > div > p:hover,
  .day-card > div > p:active {
    background: rgba(37, 99, 235, 0.04);
  }

  /* Cena - pastylka */
  .day-card p b[style*="color:#10B981"],
  .day-card p [style*="color:#10B981"] {
    display: inline-block;
    padding: 2px 8px !important;
    background: rgba(16, 185, 129, 0.1) !important;
    border-radius: 8px;
    font-size: 11px !important;
    color: #059669 !important;
  }
  body.dark .day-card p b[style*="color:#10B981"] {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6EE7B7 !important;
  }

  /* Padding główny widoku planu */
  #app {
    padding: 0 !important;
  }
  #app > .plan-container,
  #app > .plan-view {
    padding: 16px 0;
  }
}

/* v118: Slide 1 CTAs - 2 widoczne przyciski (Rozpocznij + Zobacz demo) */
.mo-slide1-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  animation: moSlideInUp 0.7s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mo-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 100px;
  background: linear-gradient(135deg, #FDBA4D, #F59E0B);
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(253, 186, 77, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mo-cta-primary:active { transform: scale(0.97); }
.mo-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.mo-cta-ghost:active { background: rgba(255, 255, 255, 0.2); }

/* Slide 1 - ukryj FAB (mamy 2 CTA zamiast) */
#mo-slide-1 .mo-next-fab { display: none; }

/* v118: Slajd 1 może scrollować wewnętrznie żeby wszystko się zmieściło */
#mo-slide-1 {
  overflow-y: auto;
  padding-bottom: 30px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   🎛️ PLAN SIDEBAR (v120)
   Sidebar pojawia się TYLKO na widoku planu (body.plan-view), desktop ≥ 900px
   Zawiera: logo, menu (Dashboard/Mapa/Hotele/Loty/AI Chat), flight card
   ═══════════════════════════════════════════════════════════════════════════ */

/* Domyślnie ukryty */
.plan-sidebar { display: none; }

/* Widoczny gdy body.plan-view i desktop */
@media (min-width: 900px) {
  body.plan-view .plan-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 90;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
  }

  /* Przesunięcie głównej treści planu, żeby zrobić miejsce dla sidebara */
  body.plan-view #app,
  body.plan-view .wrap,
  body.plan-view #step-content {
    margin-left: 240px;
  }

  body.dark .plan-sidebar {
    background: linear-gradient(180deg, #0F1A2E 0%, #1A2842 100%);
    border-right-color: rgba(255, 255, 255, 0.06);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
  }
}

/* Ukryj sidebar na mobile/small tablet */
@media (max-width: 899px) {
  body.plan-view .plan-sidebar { display: none !important; }
  body.plan-view #app,
  body.plan-view .wrap { margin-left: 0; }
}

/* Logo */
.ps-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}
body.dark .ps-logo { border-bottom-color: rgba(255,255,255,0.06); }
.ps-logo-emoji { font-size: 22px; }
.ps-logo-name {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0F2A43;
  letter-spacing: -0.01em;
}
body.dark .ps-logo-name { color: #F0F6FC; }

/* Nav */
.ps-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ps-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: #46617A;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-nav-item:hover {
  background: rgba(37, 99, 235, 0.06);
  color: #1D4ED8;
}
.ps-nav-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12));
  color: #1D4ED8;
  font-weight: 600;
}
body.dark .ps-nav-item { color: #A8B4C4; }
body.dark .ps-nav-item:hover {
  background: rgba(99, 199, 232, 0.08);
  color: #63C7E8;
}
body.dark .ps-nav-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.25));
  color: #63C7E8;
}

.ps-nav-icon {
  font-size: 15px;
  flex-shrink: 0;
}
.ps-nav-arrow {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.6;
}

/* Flight card na dole */
.ps-flight-card {
  margin-top: auto;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: white;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
  display: none; /* pokazywana JS gdy jest lot */
}
.ps-flight-card.visible { display: block; }
.ps-fc-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.9;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.ps-fc-tag {
  padding: 2px 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  font-size: 10px;
}
.ps-fc-route {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ps-fc-route > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ps-fc-route b { font-size: 15px; font-weight: 700; }
.ps-fc-route span { font-size: 11px; opacity: 0.85; }
.ps-fc-arrow {
  font-size: 18px;
  opacity: 0.7;
  flex: 1;
  text-align: center;
}
.ps-fc-price {
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   📊 PLAN DASHBOARD (v123) - jak w mockupie
   Header + kafelki statystyk + nawigacja dzień po dniu
   ═══════════════════════════════════════════════════════════════════════════ */

/* Widoczne tylko na desktop (≥ 900px) - mobile ma własny styl */
@media (min-width: 900px) {

  /* Nagłówek podróży */
  .plan-dashboard-header {
    margin-bottom: 20px;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .pdh-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
  }
  .pdh-title {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0F2A43;
    letter-spacing: -0.02em;
    margin: 0;
  }
  body.dark .pdh-title { color: #F0F6FC; }
  .pdh-badge {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    color: #1D4ED8;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }
  body.dark .pdh-badge {
    background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(6,182,212,0.2));
    color: #63C7E8;
  }

  /* Kafelki statystyk (4 kolumny) */
  .pdh-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  .pdh-tile {
    background: white;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    border-top: 3px solid;
    transition: transform 0.2s;
  }
  .pdh-tile:hover { transform: translateY(-2px); }
  body.dark .pdh-tile {
    background: rgba(30, 45, 70, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  .pdh-tile-blue   { border-top-color: #3B82F6; }
  .pdh-tile-purple { border-top-color: #A855F7; }
  .pdh-tile-green  { border-top-color: #10B981; }
  .pdh-tile-orange { border-top-color: #F59E0B; }

  .pdh-tile-emoji {
    font-size: 22px;
    display: inline-block;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
  }
  .pdh-tile-value {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0F2A43;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  body.dark .pdh-tile-value { color: #F0F6FC; }
  .pdh-tile-label {
    font-size: 10px;
    font-weight: 600;
    color: #6B6B6B;
    letter-spacing: 1.5px;
    margin-top: 4px;
  }
  body.dark .pdh-tile-label { color: #8A96A8; }

  /* Nawigacja prev/next na dole (fixed) */
  .plan-day-nav {
    position: fixed;
    bottom: 24px;
    left: 240px; /* uwzględnia sidebar */
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 80;
    max-width: 500px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }
  body.dark .plan-day-nav {
    background: rgba(30, 45, 70, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pdn-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 100px;
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    color: white;
    border: none;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .pdn-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  }
  .pdn-btn:active:not(:disabled) { transform: translateY(0); }
  .pdn-btn:disabled {
    background: #E5E5E2;
    color: #A0A0A0;
    cursor: not-allowed;
    box-shadow: none;
  }
  body.dark .pdn-btn:disabled {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.3);
  }

  .pdn-info {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0F2A43;
    letter-spacing: -0.01em;
  }
  body.dark .pdn-info { color: #F0F6FC; }

  /* Padding bottom żeby ostatnia karta nie była pod nawigacją */
  body.plan-view #step-content {
    padding-bottom: 100px;
  }
}

/* Ukryj na mobile */
@media (max-width: 899px) {
  .plan-dashboard-header,
  .plan-day-nav { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   🎨 v125 - PLAN LIKE MOCKUP (desktop ≥ 900px)
   Fix #1: Kompaktowa timeline (bez "Rozszerz opis AI" button)
   Fix #2: Mapa dnia + AI Chat side-by-side (2-column grid)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 900px) {

  /* Fix #1: Ukryj "Rozszerz opis AI" buttons w widoku planu (dashboard mode) */
  body.plan-view .ai-desc-btn { display: none !important; }

  /* Fix #1: Uprość styl opisów - lekki gradient tła */
  body.plan-view .slot-desc {
    background: linear-gradient(135deg, #F0F9FF, #F5F3FF);
    border-left: 3px solid rgba(37, 99, 235, 0.35);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #46617A;
    margin-top: 6px;
    margin-bottom: 4px;
  }
  body.dark.plan-view .slot-desc {
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08));
    color: #A8B4C4;
  }

  /* Fix #2: Kontener side-by-side dla mapy + AI (dodawany przez JS) */
  .day-map-ai-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
    align-items: stretch;
  }

  /* Mapa - zajmuje kolumnę 1 */
  .day-map-ai-wrap .day-map-wrap {
    margin: 0 !important;
    padding: 14px !important;
    border-radius: 16px !important;
    background: #F0F9FF !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
  }
  body.dark .day-map-ai-wrap .day-map-wrap {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
  }
  .day-map-ai-wrap .day-map-header {
    margin-bottom: 8px;
  }
  .day-map-ai-wrap .day-map-title {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
  }
  .day-map-ai-wrap .day-map-canvas {
    border-radius: 12px;
    min-height: 200px;
  }

  /* AI Chat panel - kolumna 2 */
  .day-ai-panel {
    background: white;
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 220px;
  }
  body.dark .day-ai-panel {
    background: rgba(30, 45, 70, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
  }
  .day-ai-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0F2A43;
  }
  body.dark .day-ai-header { color: #F0F6FC; }
  .day-ai-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    background: linear-gradient(135deg, #A855F7, #EC4899);
    border-radius: 8px;
    font-size: 14px;
  }

  /* Bubble z pytaniem */
  .day-ai-question {
    align-self: flex-end;
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    color: white;
    padding: 8px 12px;
    border-radius: 16px 16px 4px 16px;
    font-size: 12px;
    font-weight: 500;
    max-width: 80%;
    margin-bottom: 8px;
    box-shadow: 0 3px 10px rgba(37,99,235,0.25);
  }

  /* Odpowiedź */
  .day-ai-answer {
    align-self: flex-start;
    background: #F5F3FF;
    color: #46617A;
    padding: 8px 12px;
    border-radius: 16px 16px 16px 4px;
    font-size: 12px;
    line-height: 1.5;
    max-width: 90%;
    margin-bottom: 8px;
  }
  body.dark .day-ai-answer {
    background: rgba(124, 58, 237, 0.15);
    color: #C4B5FD;
  }

  /* Klik "Zapytaj więcej" */
  .day-ai-cta {
    margin-top: auto;
    padding: 8px 14px;
    background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
    color: #7C3AED;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
  }
  .day-ai-cta:hover {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
    transform: translateY(-1px);
  }
  body.dark .day-ai-cta {
    background: rgba(124, 58, 237, 0.15);
    color: #C4B5FD;
    border-color: rgba(124, 58, 237, 0.3);
  }
}

/* Nie stosuj na mobile */
@media (max-width: 899px) {
  .day-map-ai-wrap { display: block !important; }
  .day-ai-panel { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   🐛 v126 - FIX MOBILE CLICKS (nie klikały się przyciski)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  /* WYSOKIEJ WAGI z-index żeby przebić inne fixed elementy (plan-sidebar, stp-overlay) */
  .mobile-onboarding {
    z-index: 9999 !important;
  }

  /* Wszystkie klikane elementy: force pointer-events auto */
  .mo-next-fab,
  .mo-cta-primary,
  .mo-cta-ghost,
  .mo-demo-btn,
  .mo-city-card,
  .mo-glass-chip,
  .mo-dot,
  .mo-skip {
    pointer-events: auto !important;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    touch-action: manipulation; /* eliminuje 300ms delay na iOS */
    position: relative;
    z-index: 20;
  }

  /* Slajd musi mieć wysokie z-index żeby dzieci były klikalne */
  .mo-slide { z-index: 5; }

  /* Ukryj plan-sidebar na mobile - mógłby blokować.
     v146: panel zapisanych podróży chowamy tylko gdy zamknięty. */
  .plan-sidebar {
    display: none !important;
  }
  .saved-trips-panel:not(.open),
  .stp-overlay:not(.open) {
    display: none !important;
  }
  /* Otwarty panel musi przebić karuzelę mobilną (z-index 9999) */
  .saved-trips-panel.open { z-index: 10001; }
  .stp-overlay.open { z-index: 10000; }

  /* Ukryj plan-day-nav i dashboard header na mobile */
  .plan-dashboard-header,
  .plan-day-nav { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v127: NOWY FORMULARZ (4 etapy + podsumowanie) + UKŁAD DWUKOLUMNOWY DESKTOP
   ═══════════════════════════════════════════════════════════════════════════ */

/* — Karty krajów bez cen: wyróżniki zamiast "od X zł" — */
.cc-empty { color: var(--dh-text-muted); font-size: 13px; padding: 14px; }
.section-mini-label {
  font-size: 12px; color: var(--dh-text-muted);
  margin: 16px 0 10px; font-weight: 600; letter-spacing: 0.5px;
}
.btn-ghost-wide {
  display: block; width: 100%; margin-top: 14px; padding: 13px;
  background: var(--dh-surface-2); color: var(--dh-primary-dark);
  border: 1px dashed var(--dh-primary); border-radius: var(--dh-radius-md);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background 0.15s ease;
}
.btn-ghost-wide:hover { background: #DBEAFE; }

/* — Etap 1: chipy miast + "Nie wiem" — */
.city-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.city-pick-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  border: 1.5px solid #E4EAF0; background: var(--dh-surface);
  color: var(--dh-text); font-size: 13px; font-weight: 500; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.city-pick-chip:hover { border-color: var(--dh-primary); transform: translateY(-1px); }
.city-pick-chip.selected {
  border-color: var(--dh-primary); background: var(--dh-surface-2);
  color: var(--dh-primary-dark); font-weight: 600;
}
.city-pick-chip .cpc-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--dh-primary); color: white; font-size: 11px; font-weight: 700;
}
.cpc-hint { font-size: 12px; color: var(--dh-text-muted); margin: 8px 0 14px; }
.ms-label { display: block; font-size: 14px; font-weight: 600; color: var(--dh-text); margin: 14px 0 6px; }
#must-see-input {
  width: 100%; box-sizing: border-box; resize: vertical; min-height: 84px;
  padding: 12px 14px; font-size: 14px; line-height: 1.5;
  border: 1.5px solid #E4EAF0; border-radius: var(--dh-radius-md);
  font-family: inherit; color: var(--dh-text);
}
#must-see-input:focus { border-color: var(--dh-primary); outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.ms-hint { font-size: 11px; color: var(--dh-text-muted); margin-top: 6px; }

/* — Zapisane podróże (odchudzona karta) — */
.saved-trips-card { background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%); border: 1.5px solid var(--dh-primary); }
.stc-toggle { width: 100%; display: flex; align-items: center; gap: 10px; padding: 4px; background: transparent; border: none; cursor: pointer; text-align: left; }
.stc-toggle-txt { flex: 1; }
.stc-title { font-size: 15px; font-weight: 600; color: var(--dh-text); margin: 0; }
.stc-sub { font-size: 12px; color: var(--dh-primary-dark); margin: 0; }
.stc-list { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(37,99,235,0.25); }
.stc-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: white; border: 1px solid #E5E5E2; border-radius: 10px; margin-bottom: 8px; }
.stc-item-main { display: flex; align-items: center; gap: 10px; flex: 1; cursor: pointer; min-width: 0; }
.stc-item-ico { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--dh-primary), var(--dh-secondary)); color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stc-item-name { font-size: 14px; font-weight: 500; color: var(--dh-text); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stc-item-date { font-size: 11px; color: var(--dh-text-muted); margin: 0; }
.stc-del { display: flex; align-items: center; gap: 4px; padding: 8px 12px; background: #CCFBF1; color: #0F766E; border: 1px solid var(--dh-secondary); border-radius: 8px; cursor: pointer; font-size: 12px; flex-shrink: 0; }

/* — Etap 2: termin i podróżni — */
.td-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .td-grid { grid-template-columns: 1fr; } }
.td-field label { display: block; font-size: 13px; font-weight: 600; color: var(--dh-text); margin-bottom: 6px; }
.td-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px; background: #E0F2FE; border-radius: var(--dh-radius-md); margin: 14px 0;
}
.td-summary .td-right { text-align: right; }
.td-sum-label { font-size: 11px; color: var(--dh-primary-dark); font-weight: 600; margin: 0; }
.td-sum-val { font-size: 14px; font-weight: 600; color: var(--dh-text); margin: 0; }
.td-time-box { margin-top: 10px; padding: 14px; border-radius: var(--dh-radius-md); }
.td-time-arrival { background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%); }
.td-time-departure { background: linear-gradient(135deg, #FFF4E0 0%, #FAEEDA 100%); }
.td-time-title { font-size: 13px; font-weight: 600; color: var(--dh-text); margin: 0 0 8px; }
.td-time-row { display: flex; gap: 10px; align-items: center; }
.td-time-row input[type="time"] { flex: 1; padding: 9px 12px; font-size: 14px; border: 1px solid #E5E5E2; border-radius: 8px; }
.td-time-row input[type="time"]:disabled { opacity: 0.5; background: #F5F4F0; }
.td-check { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dh-primary-dark); cursor: pointer; white-space: nowrap; }
.td-time-hint { font-size: 11px; color: var(--dh-text-muted); margin: 6px 0 0; }
.td-counter { display: flex; align-items: stretch; gap: 6px; }
.td-counter button {
  width: 44px; min-height: 44px; border: 1.5px solid #E4EAF0; background: white;
  border-radius: 10px; font-size: 20px; font-weight: 600; cursor: pointer; color: var(--dh-text);
}
.td-counter button:hover { border-color: var(--dh-primary); color: var(--dh-primary); }
.td-counter input { flex: 1; text-align: center; font-size: 16px; font-weight: 600; border: 1.5px solid #E4EAF0; border-radius: 10px; min-width: 0; }
.td-error { font-size: 13px; color: var(--dh-danger); font-weight: 600; margin: 8px 0 0; }
.td-error[hidden] { display: none; }

/* — Etap 4: kafelki standardu/tempa (bez kwot) — */
.tier-card .tier-desc { font-size: 12px; line-height: 1.45; }
.tier-card[aria-checked="true"] { border-color: var(--dh-primary); }

/* — Etap 5: podsumowanie — */
.sum-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--dh-surface); border: 1px solid #E4EAF0;
  border-radius: var(--dh-radius-md); margin-bottom: 8px;
}
.sum-ico { font-size: 20px; flex-shrink: 0; }
.sum-txt { flex: 1; min-width: 0; }
.sum-label { font-size: 11px; color: var(--dh-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; margin: 0; }
.sum-value { font-size: 14px; color: var(--dh-text); font-weight: 500; margin: 2px 0 0; overflow-wrap: anywhere; }
.sum-edit {
  flex-shrink: 0; padding: 8px 14px; font-size: 12px; font-weight: 600;
  background: var(--dh-surface-2); color: var(--dh-primary-dark);
  border: 1px solid var(--dh-primary); border-radius: 8px; cursor: pointer;
}
.sum-edit:hover { background: #DBEAFE; }
.btn-generate-big { width: 100%; margin-top: 16px; padding: 16px; font-size: 16px; }

/* ═══ DESKTOP: prawdziwy układ dwukolumnowy formularza (60-65% / 35-40%) ═══ */
@media (min-width: 1000px) {
  body:not(.plan-view) .container {
    max-width: 1440px;
    display: grid;
    grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
    grid-template-areas:
      "hero hero"
      "steps side"
      "nav  side";
    gap: 0 28px;
    align-items: start;
  }
  body:not(.plan-view) .container > .hero { grid-area: hero; }
  body:not(.plan-view) .container > #step-content { grid-area: steps; min-width: 0; }
  body:not(.plan-view) .container > .nav-buttons { grid-area: nav; }
  /* Prawa kolumna kontekstowa (wstrzykiwana przez JS) */
  #wizard-side {
    grid-area: side;
    position: sticky; top: 24px;
    min-width: 0;
  }
}
#wizard-side { display: none; }
@media (min-width: 1000px) { body:not(.plan-view) #wizard-side { display: block; } }
body.plan-view #wizard-side { display: none !important; }
.ws-card {
  background: var(--dh-surface); border: 1px solid #E4EAF0;
  border-radius: var(--dh-radius-lg); box-shadow: var(--dh-shadow-sm);
  padding: 20px; margin-bottom: 16px;
}
.ws-photo {
  height: 220px; border-radius: var(--dh-radius-md); margin-bottom: 14px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; justify-content: center;
  font-size: 64px; padding-bottom: 20px;
}
.ws-title { font-size: 16px; font-weight: 700; color: var(--dh-text); margin: 0 0 4px; }
.ws-sub { font-size: 13px; color: var(--dh-text-muted); margin: 0 0 10px; }
.ws-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed #EDF1F5; }
.ws-row:last-child { border-bottom: none; }
.ws-row b { color: var(--dh-text); text-align: right; overflow-wrap: anywhere; }
.ws-row span:first-child { color: var(--dh-text-muted); white-space: nowrap; }

/* ═══ MAPY W RAPORCIE: widoczne od razu, wg specyfikacji ═══ */
.day-map-wrap .day-map, .day-map { height: 400px; }
@media (max-width: 767px) { .day-map-wrap .day-map, .day-map { height: 320px; } }

/* ═══ v128: PRAWDZIWE ZDJĘCIA KRAJÓW ═══ */
.cc-photo { position: relative; overflow: hidden; }
.cc-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Emoji tylko jako drobna ikona pomocnicza w rogu (nie główna grafika) */
.cc-emoji-mini {
  position: absolute; top: 8px; left: 8px;
  font-size: 18px; line-height: 1;
  background: rgba(255,255,255,0.82);
  border-radius: 8px; padding: 4px 6px;
  z-index: 2;
}
.cc-photo .cc-badge { z-index: 2; }
/* Dyskretna atrybucja (wymagana przy części licencji) */
.cc-credit {
  position: absolute; right: 6px; bottom: 6px; z-index: 2;
  font-size: 9px; line-height: 1.2;
  color: rgba(255,255,255,0.92);
  background: rgba(15,42,67,0.55);
  padding: 2px 7px; border-radius: 999px;
  text-decoration: none;
  max-width: 85%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cc-credit:hover { background: rgba(15,42,67,0.8); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════════
   v129: DASHBOARD JAK W DEMO — kafelki, zwarte wiersze, zakładki dni, mobile nav
   ═══════════════════════════════════════════════════════════════════════════ */

/* W widoku raportu ukrywamy nagłówek kreatora (pasek etapów/progres) — demo go nie ma */
body.plan-view .container > .hero { display: none; }
body.plan-view .container > .nav-buttons { display: none; }
body.plan-view .container { padding-top: 18px; }

/* — Kafelki statystyk: desktopowe style (kolorowy pasek) już istnieją (v123);
     tu tylko wersja MOBILNA — 2 kolumny, mniejsze — */
@media (max-width: 899px) {
  .pdh-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 18px; }
  .pdh-tile {
    background: var(--dh-surface); border-radius: 14px;
    padding: 14px 14px 10px; box-shadow: var(--dh-shadow-sm);
    border-top: 3px solid;
  }
  .pdh-tile-blue   { border-top-color: #3B82F6; }
  .pdh-tile-purple { border-top-color: #A855F7; }
  .pdh-tile-green  { border-top-color: #10B981; }
  .pdh-tile-orange { border-top-color: #F59E0B; }
  .pdh-tile-emoji { font-size: 18px; display: block; margin-bottom: 4px; }
  .pdh-tile-value { font-size: 22px; font-weight: 700; color: var(--dh-text); line-height: 1.1; }
  .pdh-tile-label { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; color: var(--dh-text-muted); }
  .pdh-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .pdh-title { font-size: 21px; font-weight: 700; color: var(--dh-text); margin: 0; }
  .pdh-badge { background: #EAF1FF; color: var(--dh-primary-dark); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
}

/* — Zakładki dni (poziomo przewijane) — */
.plan-day-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.plan-day-tabs::-webkit-scrollbar { display: none; }
.pdt-tab {
  flex: 0 0 auto; min-height: 40px; padding: 8px 16px;
  border-radius: 999px; border: 1.5px solid #E4EAF0;
  background: var(--dh-surface); color: var(--dh-text-muted);
  font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.pdt-tab.active { background: var(--dh-primary); border-color: var(--dh-primary); color: white; }

/* — Zwarte wiersze harmonogramu (jak w demo) — */
.slot-block { border-bottom: 1px solid #EEF2F6; }
.slot-block:last-child { border-bottom: none; }
.slot-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 10px; border-radius: 10px;
  background: #F8FAFC; margin: 6px 0;
  cursor: default;
}
.slot-row[data-slot-more] { cursor: pointer; }
.slot-row[data-slot-more]:hover { background: #EFF4FA; }
.slot-time { font-size: 13px; font-weight: 600; color: var(--dh-text-muted); min-width: 46px; }
.slot-ico {
  width: 32px; height: 32px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.slot-name { flex: 1; font-size: 14px; font-weight: 600; color: var(--dh-text); min-width: 0; overflow-wrap: anywhere; }
.slot-edited { font-size: 10px; color: var(--dh-primary); margin-left: 4px; }
.slot-price { font-size: 13px; font-weight: 700; color: var(--dh-success); white-space: nowrap; }
.slot-chevron { color: var(--dh-text-muted); transition: transform 0.18s ease; display: inline-flex; }
.slot-row.open .slot-chevron { transform: rotate(180deg); }
.slot-edit-btn {
  background: transparent; border: none; cursor: pointer;
  color: #9AA8B5; padding: 4px; border-radius: 6px; display: inline-flex;
}
.slot-edit-btn:hover { color: var(--dh-primary); background: #E8F0FE; }
.slot-more { padding: 4px 10px 12px 68px; }
@media (max-width: 700px) { .slot-more { padding-left: 12px; } }
.slot-more-sub { font-size: 12px; color: var(--dh-text-muted); margin: 0 0 8px; }
.slot-more .slot-desc { font-size: 13px; line-height: 1.6; color: #3D4B5C; }
.slot-ticket-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 14px;
  background: #FF5533; color: white; font-size: 11px; font-weight: 600;
  cursor: pointer; border: none; margin-top: 8px;
}

/* — Dolna nawigacja mobile (Plan / Mapa / Zapisz / AI) — */
.plan-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid #E4EAF0;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
@media (max-width: 899px) {
  body.plan-view .plan-bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  body.plan-view .container { padding-bottom: 84px; }
  /* v135: prev/next chowamy tylko, gdy zakładki dni faktycznie są w DOM */
  body.plan-view:has(.plan-day-tabs) .plan-day-nav { display: none; }
}
.plan-bottom-nav button {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-height: 48px; padding: 5px 4px;
  background: transparent; border: none; border-radius: 10px;
  font-size: 11px; font-weight: 600; color: var(--dh-text-muted); cursor: pointer;
}
.plan-bottom-nav button span { font-size: 18px; line-height: 1; }
.plan-bottom-nav button:active { background: #EFF4FA; color: var(--dh-primary-dark); }

/* — Karty dni: bielsze, lżejsze — */
body.plan-view .day-card { background: var(--dh-surface); border: 1px solid #E9EEF4; box-shadow: var(--dh-shadow-sm); }

/* v129: drugi CTA na hero — „Zobacz przykładowy plan" (demo) */
.hero-cta-row { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.cta-ghost-hero {
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
  color: white; font-size: 15px; font-weight: 600;
  cursor: pointer; backdrop-filter: blur(6px);
  transition: background 0.15s ease, transform 0.15s ease;
}
.cta-ghost-hero:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ═══ v131: WIDOK RAPORTU NA JASNYM TLE — jak w demo ═══ */
/* Demo ma czysty, jasny dashboard — nie niebieski gradient kreatora z chmurami */
body.plan-view {
  background: linear-gradient(180deg, #F3F6FB 0%, #EDF2F9 100%) !important;
}
body.plan-view .cloud,
body.plan-view .hero-decoration,
body.plan-view .landing-bg-gradient,
body.plan-view .landing-bg-blobs,
body.plan-view .landing-bg-grid { display: none !important; }
body.plan-view::before, body.plan-view::after { display: none !important; }
body.dark.plan-view { background: linear-gradient(180deg, #0D1B2E 0%, #0A1626 100%) !important; }

/* Placeholder mapy: jasnoniebieski jak w demo, nie szary */
body.plan-view .day-map {
  background: linear-gradient(135deg, #E7F0FE 0%, #DBEAFE 100%);
  border-radius: 12px;
}
body.plan-view .day-map.loading { background: linear-gradient(135deg, #E7F0FE 0%, #DBEAFE 100%); }

/* Baner "AI pisze plan" — węższy, mniej krzykliwy */
body.plan-view #ai-plan-banner, body.plan-view .ai-plan-banner { border-radius: 12px; }

/* ═══════════════════════════════════════════════════════════════════════════
   v133: DASHBOARD V2 — hero, kafelki gradient, timeline, panel AI, stany
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── HERO ── */
.dh2-hero {
  position: relative; overflow: hidden;
  border-radius: 22px; min-height: 300px;
  display: flex; align-items: flex-end;
  box-shadow: 0 18px 44px rgba(15, 42, 67, 0.18);
  animation: dh2FadeUp 0.5s ease both;
}
.dh2-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dh2-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,20,48,0.05) 20%, rgba(8,20,48,0.62) 78%, rgba(8,20,48,0.82) 100%),
              linear-gradient(115deg, rgba(37,99,235,0.32), rgba(124,58,237,0.18) 55%, transparent);
}
.dh2-hero-content { position: relative; z-index: 2; padding: 30px 32px; color: #fff; width: 100%; }
.dh2-hero-title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; margin: 0 0 6px; letter-spacing: -0.02em; text-shadow: 0 2px 14px rgba(0,0,0,0.35); }
.dh2-hero-desc { font-size: 14px; opacity: 0.92; margin: 0 0 12px; }
.dh2-hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.dh2-hero-meta span {
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.dh2-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dh2-btn {
  padding: 11px 18px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.14); color: #fff;
  font-size: 13px; font-weight: 700; backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease;
}
.dh2-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.24); }
.dh2-btn-solid { background: #fff; color: var(--dh-primary-dark); border-color: #fff; }
.dh2-btn-solid:hover { background: #EFF6FF; }
.dh2-hero .cc-credit { z-index: 3; }

/* ── KAFELKI V2: gradient + hover + klik ── */
.dh2-tiles { margin-top: 18px; }
.pdh-tile.dh2-tile {
  border: none !important; border-top: none !important;
  color: #fff; text-align: left; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: dh2FadeUp 0.5s ease both;
}
.dh2-tiles .dh2-tile:nth-child(1) { animation-delay: 0.05s; }
.dh2-tiles .dh2-tile:nth-child(2) { animation-delay: 0.12s; }
.dh2-tiles .dh2-tile:nth-child(3) { animation-delay: 0.19s; }
.dh2-tiles .dh2-tile:nth-child(4) { animation-delay: 0.26s; }
.pdh-tile.dh2-tile:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 32px rgba(15,42,67,0.22); }
.dh2-tile-a { background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%) !important; }
.dh2-tile-b { background: linear-gradient(135deg, #EC4899 0%, #F97316 100%) !important; }
.dh2-tile-c { background: linear-gradient(135deg, #0EA5E9 0%, #14B8A6 100%) !important; }
.dh2-tile-d { background: linear-gradient(135deg, #16A34A 0%, #84CC16 100%) !important; }
.dh2-tile .pdh-tile-value, .dh2-tile .pdh-tile-label { color: #fff !important; }
.dh2-tile .pdh-tile-label { opacity: 0.85; }

/* ── TIMELINE: pionowa oś + karty punktów + miniatury ── */
body.plan-view .day-card { border-radius: 20px; }
.slot-block { position: relative; border-bottom: none; padding-left: 26px; }
.slot-block::before {
  content: ''; position: absolute; left: 9px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, #C7D8F0, #E3ECF8);
}
.slot-block:first-of-type::before { top: 50%; }
.slot-block:last-of-type::before { bottom: 50%; }
.slot-block::after {
  content: ''; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--dh-primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}
.slot-row {
  background: #fff; border: 1px solid #E9EEF4;
  box-shadow: 0 3px 10px rgba(15,42,67,0.05);
  padding: 12px 14px; margin: 10px 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  animation: dh2FadeUp 0.4s ease both;
}
.slot-row[data-slot-more]:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,42,67,0.10); }
.slot-thumb {
  width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(15,42,67,0.14);
  transition: transform 0.18s ease;
}
.slot-row:hover .slot-thumb { transform: scale(1.06); }
.slot-more { padding-left: 26px; }

/* ── PRAWY PANEL AI (desktop ≥1280px) ── */
#ai-rail { display: none; }
@media (min-width: 1280px) {
  body.plan-view #ai-rail {
    display: flex; flex-direction: column; gap: 12px;
    position: fixed; right: 18px; top: 90px; width: 264px; z-index: 40;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.7);
    backdrop-filter: blur(14px);
    border-radius: 18px; padding: 16px;
    box-shadow: 0 14px 38px rgba(15,42,67,0.14);
    animation: dh2FadeUp 0.5s ease both;
  }
  /* zrób miejsce na panel */
  body.plan-view .container { max-width: none; margin-right: 300px; }
}
.air-head { display: flex; align-items: center; gap: 10px; }
.air-orb {
  width: 34px; height: 34px; border-radius: 50%;
  background: conic-gradient(from 40deg, #7C3AED, #2563EB, #14B8A6, #7C3AED);
  animation: airSpin 6s linear infinite;
  box-shadow: 0 0 18px rgba(124,58,237,0.45);
}
.air-title { font-size: 14px; font-weight: 800; color: var(--dh-text); margin: 0; }
.air-sub { font-size: 11px; color: var(--dh-text-muted); margin: 0; }
.air-suggestions { display: flex; flex-direction: column; gap: 7px; }
.air-q {
  text-align: left; padding: 10px 12px; border-radius: 12px;
  border: 1px solid #E4EAF0; background: #fff;
  font-size: 12.5px; color: var(--dh-text); cursor: pointer;
  transition: border-color 0.14s ease, transform 0.14s ease;
}
.air-q:hover { border-color: var(--dh-primary); transform: translateX(3px); }
.air-open {
  margin-top: 2px; padding: 11px; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #7C3AED, #2563EB); color: #fff;
  font-size: 13px; font-weight: 700;
}

/* ── STAN GENEROWANIA (skeleton + etapy) ── */
.ai-gen-card {
  background: #fff; border-radius: 22px; padding: 30px;
  box-shadow: var(--dh-shadow-md); max-width: 760px; margin: 8px auto;
  animation: dh2FadeUp 0.4s ease both;
}
.ai-gen-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ai-gen-orb {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(from 0deg, #7C3AED, #2563EB, #14B8A6, #7C3AED);
  animation: airSpin 3.5s linear infinite;
  box-shadow: 0 0 26px rgba(124,58,237,0.4);
}
.ai-gen-title { font-size: 20px; font-weight: 800; color: var(--dh-text); margin: 0; }
.ai-gen-sub { font-size: 13px; color: var(--dh-text-muted); margin: 2px 0 0; }
.ai-gen-stages { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.ai-gen-stage { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dh-text-muted); }
.ags-dot { width: 10px; height: 10px; border-radius: 50%; background: #D7E0EA; flex-shrink: 0; transition: background 0.3s; }
.ai-gen-stage.active { color: var(--dh-primary-dark); font-weight: 700; }
.ai-gen-stage.active .ags-dot { background: var(--dh-primary); box-shadow: 0 0 0 4px rgba(37,99,235,0.15); animation: pulseDot 1.2s ease infinite; }
.ai-gen-stage.done { color: var(--dh-success); }
.ai-gen-stage.done .ags-dot { background: var(--dh-success); }
.ai-gen-skeleton { display: grid; gap: 10px; }
.skel-row { display: flex; align-items: center; gap: 12px; }
.skel-time, .skel-ico, .skel-bar {
  border-radius: 10px;
  background: linear-gradient(90deg, #EDF2F8 25%, #F8FAFD 50%, #EDF2F8 75%);
  background-size: 200% 100%; animation: skel 1.3s linear infinite;
}
.skel-time { width: 46px; height: 14px; }
.skel-ico { width: 40px; height: 40px; }
.skel-bar { flex: 1; height: 40px; }

/* ── STAN BŁĘDU ── */
.ai-err-card {
  background: #fff; border-radius: 22px; padding: 34px; text-align: center;
  max-width: 640px; margin: 12px auto; box-shadow: var(--dh-shadow-md);
  border-top: 5px solid var(--dh-danger);
}
.ai-err-ico { font-size: 42px; margin-bottom: 8px; }
.ai-err-title { font-size: 20px; font-weight: 800; color: var(--dh-text); margin: 0 0 8px; }
.ai-err-msg { font-size: 13px; color: var(--dh-text-muted); margin: 0 0 18px; overflow-wrap: anywhere; }
.ai-err-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ai-err-hint { font-size: 11.5px; color: var(--dh-text-muted); margin-top: 14px; }

/* ── Badge źródła planu ── */
.plan-source-badge { border-radius: 12px; padding: 11px 15px; margin-bottom: 12px; font-size: 12.5px; }
.plan-source-ai    { background: linear-gradient(135deg, #F3E8FF, #E0F2FE); border-left: 4px solid #7C3AED; color: #5B21B6; }
.plan-source-demo  { background: #FEF9C3; border-left: 4px solid #EAB308; color: #713F12; }
.plan-source-local { background: #F1F5F9; border-left: 4px solid #64748B; color: #334155; }

/* ── Profil w sidebarze ── */
.ps-profile {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  padding: 12px; border-top: 1px solid #E9EEF4;
}
.ps-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 19px;
  background: linear-gradient(135deg, #2563EB, #14B8A6); color: #fff;
}
.ps-profile-name { font-size: 13px; font-weight: 700; color: var(--dh-text); margin: 0; }
.ps-profile-link { background: none; border: none; padding: 0; font-size: 11px; color: var(--dh-primary); cursor: pointer; text-align: left; }
.ps-profile-link:hover { text-decoration: underline; }

/* ── Animacje wspólne ── */
@keyframes dh2FadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes airSpin { to { transform: rotate(360deg); } }
@keyframes pulseDot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes skel { to { background-position: -200% 0; } }

/* ═══════════════════════════════════════════════════════════════════════════
   v134: SZLIF WERSJI MOBILNEJ (z nagrania) — sam CSS, bez zmian logiki
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 899px) {

  /* ── HERO raportu: kompaktowy, nie pół ekranu ── */
  .dh2-hero { min-height: 210px; border-radius: 16px; }
  .dh2-hero-content { padding: 16px 16px 14px; }
  .dh2-hero-title { font-size: 23px; }
  .dh2-hero-desc { font-size: 12px; margin-bottom: 9px; }
  .dh2-hero-meta { gap: 6px; margin-bottom: 11px; }
  .dh2-hero-meta span { padding: 5px 10px; font-size: 11px; }
  .dh2-hero-actions { gap: 7px; }
  .dh2-btn { padding: 9px 13px; font-size: 12px; border-radius: 10px; flex: 1 1 auto; text-align: center; }

  /* ── Kafelki: gradientowe v2 też na mobile (nadpisanie starych reguł v129) ── */
  .pdh-tile.dh2-tile { border-top: none; padding: 13px 13px 11px; border-radius: 14px; }
  .dh2-tile .pdh-tile-emoji { font-size: 17px; margin-bottom: 3px; }
  .dh2-tile .pdh-tile-value { font-size: 21px; }
  .dh2-tile .pdh-tile-label { font-size: 9px; letter-spacing: 0.6px; }
  .dh2-tiles { gap: 9px; margin-top: 12px; }

  /* ── Zakładki dni: przyklejone na górze podczas przewijania ── */
  .plan-day-tabs {
    position: sticky; top: 0; z-index: 45;
    margin: 0 -4px; padding: 8px 6px;
    background: rgba(243, 246, 251, 0.92);
    backdrop-filter: blur(10px);
  }
  .pdt-tab { min-height: 38px; padding: 7px 14px; font-size: 12.5px; }
  .plan-day-tabs { touch-action: pan-x; overscroll-behavior-x: contain; }

  /* ── Timeline: odzyskujemy szerokość, mniejsze elementy ── */
  .slot-block { padding-left: 16px; }
  .slot-block::before { left: 5px; }
  .slot-block::after { left: 0; width: 10px; height: 10px; border-width: 2.5px; box-shadow: 0 0 0 3px rgba(37,99,235,0.10); }
  /* v135 FIX PIONOWEGO TEKSTU: sztywna siatka zamiast flexa —
     kolumna nazwy to minmax(0,1fr) i NIGDY nie zapada się do zera. */
  .slot-row {
    display: grid;
    grid-template-columns: 38px 44px minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 8px;
    padding: 10px 10px; margin: 8px 0; border-radius: 12px;
  }
  .slot-time { grid-column: 1; min-width: 0; font-size: 12px; }
  .slot-media { grid-column: 2; width: 40px; height: 40px; }
  .slot-name {
    grid-column: 3; min-width: 0;
    font-size: 13.5px; line-height: 1.35;
    overflow-wrap: break-word; word-break: normal;
  }
  .slot-chevron { grid-column: 4; }
  .slot-edit-btn { grid-column: 5; padding: 8px; }
  .slot-more { padding: 2px 6px 10px 16px; }
  .slot-more .slot-desc { font-size: 12.5px; }

  /* ── Karty dni i sekcje: mniejsze paddingi, pełna szerokość ── */
  body.plan-view .container { padding-left: 12px; padding-right: 12px; }
  body.plan-view .day-card { border-radius: 16px; }
  .plan-dashboard-header { margin-bottom: 4px; }

  /* ── Mapa dnia: niższa; mapa+AI jedna kolumna ── */
  .day-map-ai-wrap { grid-template-columns: 1fr !important; }
  body.plan-view .day-map { min-height: 210px; }

  /* ── Stany generowania/błędu ── */
  .ai-gen-card { padding: 20px 16px; border-radius: 16px; }
  .ai-gen-title { font-size: 17px; }
  .ai-gen-orb { width: 44px; height: 44px; }
  .ai-gen-stage { font-size: 12.5px; }
  .ai-err-card { padding: 24px 16px; }
  .ai-err-actions { flex-direction: column; }
  .ai-err-actions button { width: 100%; }

  /* ── Dolna nawigacja vs dymek czatu: nie nachodzą na siebie ── */
  body.plan-view .ai-chat-fab { bottom: 86px; right: 12px; width: 50px; height: 50px; }
  body.plan-view .ai-chat-window { bottom: 148px; max-height: calc(100vh - 170px); }

  /* ── Karty krajów w kreatorze: 2 kolumny, zgrabne ── */
  .country-grid, .cc-grid { gap: 10px; }
  .cc-photo { border-radius: 12px 12px 0 0; }
  .cc-name { font-size: 13.5px; }
  .cc-cities { font-size: 10.5px; }
  .cc-credit { font-size: 8px; max-width: 72%; padding: 2px 6px; }
  .cc-emoji-mini { font-size: 14px; padding: 3px 5px; top: 6px; left: 6px; }
  .cc-badge { font-size: 9.5px; }

  /* ── Badge źródła planu ── */
  .plan-source-badge { font-size: 11.5px; padding: 9px 12px; border-radius: 10px; }
}

/* Bardzo wąskie ekrany (<380px): hero akcje w kolumnie */
@media (max-width: 380px) {
  .dh2-hero-actions { flex-direction: column; }
  .dh2-btn { width: 100%; }
  .pdh-tiles.dh2-tiles { grid-template-columns: 1fr 1fr; }
}

/* ═══ v136: SLOT-MEDIA — ikona zawsze widoczna, zdjęcie nakłada się gdy się wczyta ═══ */
.slot-media { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.slot-media .slot-ico {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; font-size: 17px;
}
.slot-media .slot-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 11px;
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
.slot-media .slot-thumb.ok { opacity: 1; }

/* ═══ v136: MOBILE — mniej przycisków, prostszy widok ═══ */
@media (max-width: 899px) {
  /* Akcje hero schowane (Eksport/Udostępnij są w menu; edycja przez kreator) */
  .dh2-hero-actions { display: none; }
  /* Dymek czatu zbędny — przycisk AI jest w dolnej nawigacji */
  body.plan-view .ai-chat-fab { display: none; }
  /* Dolna nawigacja: 3 przyciski */
  body.plan-view .plan-bottom-nav { grid-template-columns: repeat(3, 1fr); }
  /* Edycja w wierszu: mniejsza, subtelna */
  .slot-edit-btn { color: #B9C4D0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   🎛️ v132 - SIDEBAR v2: divider + profil na dole
   ═══════════════════════════════════════════════════════════════════════════ */
.ps-nav-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.07);
  margin: 8px 6px;
}
body.dark .ps-nav-divider { background: rgba(255, 255, 255, 0.08); }

.ps-profile {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
body.dark .ps-profile { border-top-color: rgba(255, 255, 255, 0.08); }

.ps-profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.ps-profile-btn:hover { background: rgba(37, 99, 235, 0.06); }
body.dark .ps-profile-btn:hover { background: rgba(99, 199, 232, 0.08); }

.ps-profile-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}
.ps-profile-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ps-profile-name {
  font-size: 13px;
  font-weight: 600;
  color: #0F2A43;
}
body.dark .ps-profile-name { color: #F0F6FC; }
.ps-profile-sub {
  font-size: 11px;
  color: #6B6B6B;
}
body.dark .ps-profile-sub { color: #8A96A8; }

/* ═══ v132: Atrybucja zdjęć NIEKLIKALNA ═══
   Napis "Zdjęcie: autor / Unsplash" zostaje widoczny (wymóg licencji),
   ale nie jest już linkiem, na który dało się przypadkiem wejść. */
.cc-credit, .cc-credit:hover {
  pointer-events: none !important;
  cursor: default !important;
  text-decoration: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   🚀 v134 - PREMIUM HERO (Apple/Linear/Stripe · dark #170B35 · turkus #55F2D6)
   Tekst lewo + mockup telefonu prawo · mapa punktów · parallax · glassmorphism
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-v134 {
  --hv-px: 0px;
  --hv-py: 0px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 24px 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 78% 30%, rgba(124, 58, 237, 0.28), transparent 65%),
    radial-gradient(ellipse 700px 460px at 15% 75%, rgba(85, 242, 214, 0.10), transparent 60%),
    linear-gradient(180deg, #170B35 0%, #1B0E3F 55%, #221352 100%);
}

/* Gwiazdy (dwie warstwy radial-gradientów, oddychające) */
.hv-stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,0.9), transparent 100%),
    radial-gradient(1px 1px at 28% 64%, rgba(255,255,255,0.7), transparent 100%),
    radial-gradient(1.5px 1.5px at 41% 32%, rgba(255,255,255,0.8), transparent 100%),
    radial-gradient(1px 1px at 57% 12%, rgba(255,255,255,0.6), transparent 100%),
    radial-gradient(2px 2px at 68% 47%, rgba(85,242,214,0.8), transparent 100%),
    radial-gradient(1px 1px at 79% 26%, rgba(255,255,255,0.7), transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 68%, rgba(255,255,255,0.75), transparent 100%),
    radial-gradient(1px 1px at 34% 84%, rgba(255,255,255,0.6), transparent 100%),
    radial-gradient(1.5px 1.5px at 63% 88%, rgba(85,242,214,0.6), transparent 100%),
    radial-gradient(1px 1px at 8% 52%, rgba(255,255,255,0.65), transparent 100%),
    radial-gradient(1px 1px at 94% 12%, rgba(255,255,255,0.6), transparent 100%),
    radial-gradient(1.5px 1.5px at 49% 58%, rgba(255,255,255,0.5), transparent 100%);
  animation: hvStarBreathe 7s ease-in-out infinite;
  transform: translate(calc(var(--hv-px) * -0.4), calc(var(--hv-py) * -0.4));
}
@keyframes hvStarBreathe {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* Aurory - rozmyte kule światła (głębia) */
.hv-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform;
}
.hv-aurora-1 {
  width: 520px; height: 520px; top: -12%; right: 8%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45), transparent 70%);
  animation: hvAurora 20s ease-in-out infinite;
  transform: translate(var(--hv-px), var(--hv-py));
}
.hv-aurora-2 {
  width: 420px; height: 420px; bottom: -8%; left: -4%;
  background: radial-gradient(circle, rgba(85, 242, 214, 0.20), transparent 70%);
  animation: hvAurora 26s ease-in-out infinite reverse;
}
.hv-aurora-3 {
  width: 340px; height: 340px; top: 40%; left: 42%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.16), transparent 70%);
  animation: hvAurora 32s ease-in-out infinite;
  animation-delay: -12s;
}
@keyframes hvAurora {
  0%, 100% { transform: translate(var(--hv-px, 0), var(--hv-py, 0)) scale(1); }
  33%      { transform: translate(calc(var(--hv-px, 0px) + 34px), calc(var(--hv-py, 0px) - 26px)) scale(1.08); }
  66%      { transform: translate(calc(var(--hv-px, 0px) - 22px), calc(var(--hv-py, 0px) + 30px)) scale(0.94); }
}

/* Mapa punktów (SVG generowane przez JS) */
.hv-worldmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translate(calc(var(--hv-px) * 0.6), calc(var(--hv-py) * 0.6));
}
.hv-dot {
  fill: #7C5CBF;
  opacity: 0.34;
  /* v144: falowanie — kropki unoszą się z fazą zależną od pozycji,
     przez mapę przetacza się ukośna fala (delay ustawiany w JS) */
  animation: hvDotWave 5.5s ease-in-out infinite;
}
@keyframes hvDotWave {
  0%, 100% { opacity: 0.20; transform: translateY(0); }
  50%      { opacity: 0.52; transform: translateY(-6px); }
}
.hv-fp {
  stroke-dashoffset: 0;
  animation: hvDash 3.2s linear infinite;
  filter: drop-shadow(0 0 5px rgba(85, 242, 214, 0.55));
}
@keyframes hvDash { to { stroke-dashoffset: -44; } }
.hv-city {
  fill: #55F2D6;
  filter: drop-shadow(0 0 7px rgba(85, 242, 214, 0.9));
  animation: hvCityPulse 3s ease-in-out infinite;
}
.hv-city:nth-child(2n) { animation-delay: -1s; }
.hv-city:nth-child(3n) { animation-delay: -2s; }
@keyframes hvCityPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
.hv-plane {
  filter: drop-shadow(0 0 10px rgba(85, 242, 214, 0.8));
  opacity: 0;
}

/* ── Grid: tekst + telefon ── */
.hv-grid {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: 40px;
  align-items: center;
}

.hv-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hv-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #55F2D6;
  box-shadow: 0 0 10px rgba(85, 242, 214, 0.9);
  animation: hvCityPulse 2.2s ease-in-out infinite;
}

.hv-h1 {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 0 20px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}
.hv-h1-grad {
  background: linear-gradient(100deg, #55F2D6 10%, #7C9DFF 55%, #B48CF2 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(85, 242, 214, 0.28));
}

.hv-desc {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin: 0 0 30px;
}
.hv-desc strong { color: #55F2D6; font-weight: 600; }

.hv-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.hv-cta-primary,
.hv-cta-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
}
.hv-cta-primary {
  background: linear-gradient(135deg, #55F2D6, #2DD4BF);
  color: #0B2530;
  border: none;
  box-shadow:
    0 12px 34px rgba(85, 242, 214, 0.30),
    0 3px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.hv-cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 18px 48px rgba(85, 242, 214, 0.5),
    0 5px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.hv-cta-primary:active { transform: translateY(-1px) scale(0.99); }
.hv-cta-glass {
  background: rgba(255, 255, 255, 0.07);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hv-cta-glass:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(124, 58, 237, 0.3);
}
.hv-cta-primary:focus-visible,
.hv-cta-glass:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.25), 0 0 0 6px rgba(85, 242, 214, 0.55);
}

.hv-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hv-stat {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.hv-stat-e { font-size: 15px; }
.hv-stat b {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #55F2D6;
  letter-spacing: -0.01em;
}
.hv-stat span:last-child {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

/* ── Mockup telefonu ── */
.hv-phone-col {
  position: relative;
  display: flex;
  justify-content: center;
}
.hv-phone-glow {
  position: absolute;
  width: 380px; height: 380px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(85, 242, 214, 0.22), rgba(124, 58, 237, 0.20) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.hv-phone {
  position: relative;
  width: 300px;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #2A2140, #171028);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 45px 90px rgba(0, 0, 0, 0.55),
    0 18px 40px rgba(124, 58, 237, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transform: rotate(4deg);
  animation: hvPhoneFloat 7s ease-in-out infinite;
}
@keyframes hvPhoneFloat {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50%      { transform: rotate(3deg) translateY(-14px); }
}
.hv-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 22px;
  background: #171028;
  border-radius: 12px;
  z-index: 3;
}
.hv-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #F6F8FC;
  max-height: 560px;
}
.hvp-hero {
  position: relative;
  padding: 48px 16px 16px;
  background:
    linear-gradient(180deg, rgba(23, 11, 53, 0.15), rgba(23, 11, 53, 0.72)),
    linear-gradient(140deg, #B4885C 0%, #8A5F41 40%, #5B4A6E 100%);
  color: white;
}
.hvp-hero-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 8px;
}
.hvp-hero-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hvp-hero-meta { font-size: 10.5px; opacity: 0.9; margin-top: 4px; }

.hvp-day { padding: 12px 12px 6px; }
.hvp-day-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #0F2A43;
  margin-bottom: 8px;
}
.hvp-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  color: white;
  font-size: 11px;
}
.hvp-slot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 6px;
  border-radius: 12px;
}
.hvp-slot:nth-child(even) { background: #EFF3FA; }
.hvp-t {
  font-size: 10px;
  font-weight: 700;
  color: #46617A;
  width: 34px;
  flex-shrink: 0;
}
.hvp-i {
  width: 27px; height: 27px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.hvp-i-blue   { background: #DBEAFE; }
.hvp-i-amber  { background: #FEF3C7; }
.hvp-i-red    { background: #FEE2E2; }
.hvp-i-purple { background: #F3E8FF; }
.hvp-b { display: flex; flex-direction: column; min-width: 0; }
.hvp-b b {
  font-size: 11.5px;
  font-weight: 700;
  color: #0F2A43;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hvp-b i {
  font-style: normal;
  font-size: 9.5px;
  color: #6B7A90;
}
.hvp-map {
  margin: 4px 12px 14px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EFF6FF, #F5F3FF);
  border: 1px solid #E0E7F5;
}
.hvp-map-title {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #46617A;
  margin-bottom: 4px;
}
.hvp-map svg { width: 100%; height: auto; display: block; }

/* ── Responsywność hero ── */
@media (max-width: 1080px) {
  .hv-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hv-text { display: flex; flex-direction: column; align-items: center; }
  .hv-desc { max-width: 560px; }
  .hv-phone { transform: rotate(0deg); }
  @keyframes hvPhoneFloat {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50%      { transform: rotate(0deg) translateY(-12px); }
  }
}
/* Mobile < 768px: hero ukryty - działa mobilny carousel onboardingu */
@media (max-width: 767px) {
  .hero-v134 { display: none; }
}

/* Reduced motion: wyłącz animacje ruchu hero */
@media (prefers-reduced-motion: reduce) {
  .hv-stars, .hv-aurora, .hv-dot, .hv-city, .hv-fp, .hv-phone { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   📐 v135 - KREATOR NA PEŁNĄ SZEROKOŚĆ (prośba użytkownika x2)
   Wyłącza dwukolumnowy grid 62/38 i panel boczny — formularz zajmuje całość.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1000px) {
  body:not(.plan-view) .container {
    display: block !important;
    max-width: 1140px !important;
  }
}
#wizard-side { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   🗺️ v140 - MAPA DNIA (pełnoekranowa, dark #170B35, premium)
   ═══════════════════════════════════════════════════════════════════════════ */
body.dmv-open { overflow: hidden; }

.dmv {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; grid-template-columns: 35% 65%;
  background: linear-gradient(180deg, #170B35 0%, #1B0E3F 100%);
  color: #fff;
  animation: dmvIn .35s cubic-bezier(.16,1,.3,1) both;
}
@keyframes dmvIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* ── Lewa kolumna ── */
.dmv-side {
  display: flex; flex-direction: column; min-width: 0;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.dmv-side-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 10px; }
.dmv-close {
  width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); color: #fff; font-size: 15px; cursor: pointer;
  transition: all .2s; flex-shrink: 0;
}
.dmv-close:hover { background: rgba(255,255,255,.14); transform: scale(1.05); }
.dmv-day-nav { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center; }
.dmv-day-btn {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(85,242,214,.35);
  background: rgba(85,242,214,.08); color: #55F2D6; font-size: 19px; cursor: pointer; transition: all .2s;
}
.dmv-day-btn:hover { background: rgba(85,242,214,.2); box-shadow: 0 0 16px rgba(85,242,214,.35); }
.dmv-day-label { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }

.dmv-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 10px; }
.dmv-chip {
  padding: 7px 12px; border-radius: 100px; font-size: 11.5px; font-weight: 600; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75);
  transition: all .2s;
}
.dmv-chip:hover { background: rgba(255,255,255,.12); }
.dmv-chip.active {
  background: rgba(85,242,214,.14); border-color: #55F2D6; color: #55F2D6;
  box-shadow: 0 0 14px rgba(85,242,214,.25);
}

.dmv-list { flex: 1; overflow-y: auto; padding: 6px 14px 10px; scrollbar-width: thin; }
.dmv-loading { padding: 22px 10px; color: rgba(255,255,255,.65); font-size: 13px; }

.dmv-card {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 12px; margin-bottom: 9px; border-radius: 24px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  cursor: pointer; transition: transform .22s cubic-bezier(.16,1,.3,1), background .22s, border-color .22s, box-shadow .22s;
}
.dmv-card:hover { background: rgba(255,255,255,.09); transform: translateY(-2px) scale(1.012); }
.dmv-card.selected {
  background: rgba(85,242,214,.10); border-color: rgba(85,242,214,.7);
  box-shadow: 0 8px 26px rgba(85,242,214,.18), 0 0 0 1px rgba(85,242,214,.35);
  transform: scale(1.02);
}
.dmv-card.dragging { opacity: .45; }
.dmv-card.dragover { border-color: #7C3AED; box-shadow: 0 0 0 2px rgba(124,58,237,.6); }
.dmv-card-nogeo { opacity: .55; }
.dmv-card-time { font-size: 11px; font-weight: 700; color: #55F2D6; width: 40px; flex-shrink: 0; }
.dmv-card-num {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  background: linear-gradient(135deg, #55F2D6, #7C3AED); color: #0B1B2A;
}
.dmv-card-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dmv-card-body b { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dmv-card-body i { font-style: normal; font-size: 10.5px; color: rgba(255,255,255,.55); margin-top: 2px; }
.dmv-card-grip { color: rgba(255,255,255,.3); font-size: 13px; cursor: grab; letter-spacing: -2px; }
.dmv-dnd-hint { margin: 0; padding: 8px 16px 12px; font-size: 10.5px; color: rgba(255,255,255,.45); }

/* ── Prawa strona: mapa ── */
.dmv-map-wrap { position: relative; min-width: 0; }
.dmv-map { position: absolute; inset: 0; background: #12092B; }
.dmv-map .leaflet-container { background: #12092B; font-family: inherit; }

.dmv-stats {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 800; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  padding: 10px 20px; border-radius: 100px;
  background: rgba(23,11,53,.72); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  font-size: 12.5px; color: rgba(255,255,255,.85); white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.dmv-stats b { color: #55F2D6; font-weight: 800; }

/* Markery */
.dmv-pin {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #55F2D6, #7C3AED);
  border: 3px solid rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.45), 0 0 18px rgba(85,242,214,.35);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
  cursor: pointer;
  animation: dmvPinIn .4s cubic-bezier(.16,1,.3,1) both;
}
@keyframes dmvPinIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.dmv-pin span { color: #0B1B2A; font-weight: 800; font-size: 14px; font-family: 'Sora', sans-serif; }
.dmv-pin:hover { transform: scale(1.15); box-shadow: 0 6px 20px rgba(0,0,0,.5), 0 0 26px rgba(85,242,214,.65); }
.dmv-pin-active {
  transform: scale(1.28);
  box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 6px rgba(85,242,214,.25), 0 0 30px rgba(85,242,214,.8);
  animation: dmvPinPulse 1.6s ease-in-out infinite;
}
@keyframes dmvPinPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 4px rgba(85,242,214,.30), 0 0 26px rgba(85,242,214,.7); }
  50%      { box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 12px rgba(85,242,214,.08), 0 0 40px rgba(85,242,214,.95); }
}
.dmv-marker-out { animation: dmvPinOut .22s ease both !important; }
@keyframes dmvPinOut { to { transform: scale(0); opacity: 0; } }

/* Panel atrakcji */
.dmv-panel {
  position: absolute; right: 16px; top: 70px; bottom: 16px; width: 330px; z-index: 850;
  border-radius: 24px; overflow: hidden auto;
  background: rgba(23,11,53,.82); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  transform: translateX(110%); opacity: 0; pointer-events: none;
  transition: transform .38s cubic-bezier(.16,1,.3,1), opacity .3s;
  scrollbar-width: thin;
}
.dmv-panel.open { transform: translateX(0); opacity: 1; pointer-events: auto; }
.dmv-panel-close {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 32px; height: 32px; border-radius: 10px; border: none; cursor: pointer;
  background: rgba(0,0,0,.45); color: #fff; font-size: 13px;
}
.dmv-panel-photo {
  height: 170px; background: linear-gradient(135deg, #241457, #0E2C46);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.dmv-panel-emoji { font-size: 52px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.dmv-panel-body { padding: 16px; }
.dmv-panel-body h3 { margin: 0 0 10px; font-family: 'Sora', sans-serif; font-size: 17px; letter-spacing: -.01em; }
.dmv-panel-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.dmv-panel-meta span {
  font-size: 11px; padding: 5px 10px; border-radius: 100px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
}
.dmv-panel-desc { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.78); margin: 0 0 10px; }
.dmv-panel-best { font-size: 11.5px; color: #55F2D6; margin: 0 0 14px; }
.dmv-panel-ctas { display: flex; gap: 8px; }
.dmv-cta-nav, .dmv-cta-more {
  flex: 1; text-align: center; padding: 11px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-decoration: none; transition: all .2s;
}
.dmv-cta-nav { background: linear-gradient(135deg, #55F2D6, #2DD4BF); color: #0B2530; box-shadow: 0 8px 22px rgba(85,242,214,.3); }
.dmv-cta-nav:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(85,242,214,.5); }
.dmv-cta-more { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.16); }
.dmv-cta-more:hover { background: rgba(255,255,255,.15); }

.dmv-sheet-toggle { display: none; }

/* ── Responsywność ── */
@media (max-width: 1100px) { .dmv { grid-template-columns: 40% 60%; } }
@media (max-width: 767px) {
  .dmv { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .dmv-side {
    position: absolute; left: 0; right: 0; bottom: 0; top: auto; z-index: 900;
    max-height: 34vh; border-right: none; border-top: 1px solid rgba(255,255,255,.12);
    border-radius: 24px 24px 0 0; background: rgba(23,11,53,.92);
    transition: max-height .4s cubic-bezier(.16,1,.3,1);
  }
  .dmv-sheet-open .dmv-side { max-height: 82vh; }
  .dmv-map-wrap { position: absolute; inset: 0; }
  .dmv-stats { top: 10px; gap: 10px; font-size: 11px; padding: 8px 14px; max-width: 94vw; overflow-x: auto; }
  .dmv-panel { left: 10px; right: 10px; width: auto; top: auto; bottom: 35vh; max-height: 46vh; }
  .dmv-sheet-toggle {
    display: block; position: absolute; bottom: calc(34vh + 12px); left: 50%; transform: translateX(-50%);
    z-index: 950; padding: 9px 18px; border-radius: 100px; border: 1px solid rgba(255,255,255,.2);
    background: rgba(23,11,53,.85); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer;
    backdrop-filter: blur(12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dmv, .dmv-pin, .dmv-pin-active { animation: none !important; }
}

/* v143: Hotel na Mapie Dnia — start trasy */
.dmv-card-hotel {
  border-color: rgba(85,242,214,.45);
  background: linear-gradient(135deg, rgba(85,242,214,.10), rgba(124,58,237,.08));
  cursor: pointer;
}
.dmv-card-hotel .dmv-card-grip { visibility: hidden; }
.dmv-num-hotel { background: rgba(255,255,255,.92); font-size: 14px; }
.dmv-pin-hotel {
  background: linear-gradient(135deg, #FFFFFF, #D8FFF6);
  border-color: #55F2D6;
}
.dmv-pin-hotel span { font-size: 16px; }

/* v145: Linki rezerwacyjne w panelu hotelu (Booking + TUI) */
.dmv-panel-booklabel { font-size: 10.5px; color: rgba(255,255,255,.5); margin: 12px 0 6px; letter-spacing: .4px; text-transform: uppercase; }
.dmv-cta-booking, .dmv-cta-tui {
  flex: 1; text-align: center; padding: 11px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-decoration: none; transition: all .2s;
}
.dmv-cta-booking { background: #0A3D8F; color: #fff; box-shadow: 0 6px 18px rgba(10,61,143,.4); }
.dmv-cta-booking:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10,61,143,.6); }
.dmv-cta-tui { background: #D40E14; color: #fff; box-shadow: 0 6px 18px rgba(212,14,20,.35); }
.dmv-cta-tui:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(212,14,20,.55); }

/* ═══════════════════════════════════════════════════════════════════════════
   v146: HERO — pasek korzyści pod statystykami (hotel + loty)
   Ten sam język wizualny co .hv-stat: szkło, turkusowy akcent, delikatna ramka.
   ═══════════════════════════════════════════════════════════════════════════ */
.hv-perks {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 560px;
}
.hv-perk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(85, 242, 214, 0.16);
}
.hv-perk-ico {
  font-size: 17px;
  line-height: 1.35;
  flex-shrink: 0;
}
.hv-perk-txt {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}
.hv-perk-txt b {
  color: #55F2D6;
  font-weight: 700;
}
@media (max-width: 900px) {
  .hv-perks { max-width: none; }
  .hv-perk-txt { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v146: PODZIAŁ DNI MIĘDZY MIASTA (krok „Kierunek", widoczny przy ≥2 miastach)
   ═══════════════════════════════════════════════════════════════════════════ */
.cd-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.cd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #E5E5E2;
  border-radius: 12px;
}
.cd-num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cd-city {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0F2A43;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cd-counter {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.cd-counter button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #E5E5E2;
  background: #F8FAFC;
  color: #1D4ED8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .15s, border-color .15s;
}
.cd-counter button:hover:not(:disabled) {
  background: #EFF6FF;
  border-color: #2563EB;
}
.cd-counter button:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.cd-val {
  min-width: 40px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #0F2A43;
}
.cd-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  border: 1px solid #C7D2FE;
  font-size: 13px;
  color: #0F2A43;
}
.cd-total-sum {
  font-size: 14px;
  color: #1D4ED8;
}
.cd-hint {
  font-size: 11px;
  color: #92400E;
  margin-top: 8px;
}

/* Podsumowanie dni w kroku „Kiedy i kto jedzie?" (zamiast suwaka) */
.td-days-locked {
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  border: 1px solid #C7D2FE;
}
.td-days-locked-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.td-days-locked-num {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #1D4ED8;
}
.td-days-locked-list {
  font-size: 12px;
  color: #46617A;
  margin-top: 6px;
  line-height: 1.5;
}
.td-days-locked-edit {
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #2563EB;
  background: #fff;
  color: #1D4ED8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════════════════
   v154: HERO — dopasowanie do makiety
   Zmiana wyłącznie wizualna. Falująca mapa punktów (.hv-dot / hvDotWave),
   samolot na trasie, gwiazdy i aurory zostają dokładnie takie, jakie były.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hamburger jako zaokrąglony kwadrat z ramką */
.hero-menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .25s cubic-bezier(.22,.61,.36,1),
              border-color .25s cubic-bezier(.22,.61,.36,1),
              transform .25s cubic-bezier(.22,.61,.36,1);
}
.hero-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(85, 242, 214, 0.4);
  transform: translateY(-1px);
}

/* Plakietka nad nagłówkiem */
.hv-badge {
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* KAFELKI STATYSTYK — ikona w kolorowym kwadracie, liczba, podpis pod spodem */
.hv-stats { gap: 10px; }
.hv-stat {
  align-items: center;
  gap: 11px;
  padding: 13px 18px 13px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform .25s cubic-bezier(.22,.61,.36,1),
              border-color .25s cubic-bezier(.22,.61,.36,1),
              background .25s cubic-bezier(.22,.61,.36,1);
}
.hv-stat:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(85, 242, 214, 0.3);
}
.hv-stat-e {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(85, 242, 214, 0.12);
  font-size: 16px;
}
/* Liczba nad podpisem — dlatego kafelek układa treść w kolumnę */
.hv-stat b,
.hv-stat > span:not(.hv-stat-e) { display: block; }
.hv-stat b {
  font-size: 19px;
  line-height: 1.15;
  margin-bottom: 1px;
}
.hv-stat > span:not(.hv-stat-e) {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
}

/* PASEK KORZYŚCI (hotel / loty) — ciemne kafle z akcentem */
.hv-perks { gap: 9px; margin-top: 14px; max-width: 600px; }
.hv-perk {
  padding: 13px 16px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform .25s cubic-bezier(.22,.61,.36,1),
              border-color .25s cubic-bezier(.22,.61,.36,1);
}
.hv-perk:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 242, 214, 0.28);
}
.hv-perk-ico {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(124, 92, 191, 0.18);
  font-size: 15px;
}
.hv-perk-txt { font-size: 12.5px; line-height: 1.5; }

/* DOLNY PASEK MOŻLIWOŚCI — cztery pozycje rozdzielone kreskami */
.hv-feats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin: 16px 0 0;
  padding: 6px;
  max-width: 720px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hv-feat {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 13px;
  transition: background .25s cubic-bezier(.22,.61,.36,1);
}
.hv-feat + .hv-feat { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.09); }
.hv-feat:hover { background: rgba(255, 255, 255, 0.05); }
.hv-feat-ico {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.hv-feat-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hv-feat-txt b {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.hv-feat-txt span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.25;
}

@media (max-width: 900px) {
  .hv-feats { max-width: none; }
  .hv-feat { flex: 1 1 45%; }
  .hv-feat:nth-child(3) { box-shadow: none; }
}
@media (max-width: 620px) {
  .hv-stats { gap: 8px; }
  .hv-stat { padding: 11px 14px 11px 11px; flex: 1 1 45%; }
  .hv-stat b { font-size: 17px; }
  .hv-feat { flex: 1 1 100%; box-shadow: none !important; }
  .hv-feat + .hv-feat { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v156: CIEKAWOSTKI NA EKRANIE GENEROWANIA
   Cztery na raz, wymieniane co 20 s z płynnym przejściem.
   ═══════════════════════════════════════════════════════════════════════════ */
.ai-gen-facts {
  margin-top: 22px;
  padding-top: 20px;
  /* v158 FIX: karta generowania jest BIAŁA (.ai-gen-card { background:#fff }),
     a w v156 dałem tu jasny tekst jak na ciemnym tle — ciekawostki były
     praktycznie niewidoczne. Kolory dopasowane do reszty karty. */
  border-top: 1px solid #E9EDF3;
}
.agf-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8794A8;
  margin: 0 0 14px;
}
.agf-head span { font-size: 14px; }

.agf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  transition: opacity .32s ease, transform .32s ease;
}
.agf-list.agf-out {
  opacity: 0;
  transform: translateY(6px);
}

.agf-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 14px;
  background: #F7F9FC;
  border: 1px solid #E9EDF3;
  animation: agfIn .45s cubic-bezier(.22,.61,.36,1) backwards;
}
.agf-item:nth-child(2) { animation-delay: .06s; }
.agf-item:nth-child(3) { animation-delay: .12s; }
.agf-item:nth-child(4) { animation-delay: .18s; }
@keyframes agfIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.agf-ico {
  font-size: 17px;
  line-height: 1.35;
  flex-shrink: 0;
}
.agf-txt {
  font-size: 13px;
  line-height: 1.55;
  color: var(--dh-text);
}

@media (max-width: 720px) {
  .agf-list { grid-template-columns: 1fr; gap: 8px; }
  .agf-item { padding: 11px 13px; }
  .agf-txt { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .agf-item { animation: none; }
  .agf-list { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v158: IMIĘ UŻYTKOWNIKA — powitanie w hero, okienko pytania, powitanie w planie
   ═══════════════════════════════════════════════════════════════════════════ */

/* Powitanie nad plakietką w hero */
/* v161: bez tego `hidden` nie działa (reguła autora bije arkusz przeglądarki),
   więc przy braku imienia zostawał pusty odstęp. */
.hv-greet[hidden] { display: none; }
.hv-greet {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  animation: dh2FadeUp .5s ease both;
}
.hv-greet-wave {
  font-size: 17px;
  display: inline-block;
  transform-origin: 70% 70%;
  animation: hvWave 2.4s ease-in-out 1s 3;
}
@keyframes hvWave {
  0%, 60%, 100% { transform: rotate(0deg); }
  70% { transform: rotate(14deg); }
  80% { transform: rotate(-8deg); }
  90% { transform: rotate(14deg); }
}
.hv-greet-txt { color: #55F2D6; }
.hv-greet-edit {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-family: inherit;
  font-size: 11.5px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
  transition: color .25s ease;
}
.hv-greet-edit:hover { color: rgba(255, 255, 255, 0.75); }

/* Okienko pytania o imię */
/* v161 KRYTYCZNE: atrybut `hidden` daje `display:none` z arkusza przeglądarki,
   ale KAŻDA reguła autora z `display` go nadpisuje. Poniższy `display:flex`
   sprawiał, że okienko wisiało na ekranie zawsze — przezroczyste (opacity:0),
   rozciągnięte na całą stronę (inset:0) i z z-index 10050. Efekt: strona
   wyglądała normalnie, ale nakładka łykała KAŻDE kliknięcie w całej aplikacji.
   Dwa zabezpieczenia naraz, żeby to się nie powtórzyło. */
.name-ask[hidden] { display: none !important; }
.name-ask:not(.open) { pointer-events: none; }

.name-ask {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 8, 28, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s ease;
}
.name-ask.open { opacity: 1; pointer-events: auto; }
.name-ask-card {
  width: 100%;
  max-width: 400px;
  padding: 30px 28px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(10, 8, 28, 0.45);
  text-align: center;
  transform: translateY(14px) scale(.97);
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.name-ask.open .name-ask-card { transform: translateY(0) scale(1); }

.name-ask-emoji { font-size: 40px; line-height: 1; margin-bottom: 12px; }
.name-ask-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0F2A43;
  margin: 0 0 6px;
}
.name-ask-sub {
  font-size: 13px;
  color: #6B7280;
  margin: 0 0 18px;
  line-height: 1.5;
}
#name-ask-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 1.5px solid #E6E9F0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  text-align: center;
  color: #0F2A43;
  transition: border-color .25s ease, box-shadow .25s ease;
}
#name-ask-input:focus {
  outline: none;
  border-color: #7C6BF5;
  box-shadow: 0 0 0 4px rgba(124, 107, 245, .14);
}
.name-ask-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.name-ask-skip {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #E6E9F0;
  background: #F7F9FC;
  color: #6B7280;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.name-ask-skip:hover { background: #EDF1F7; color: #0F2A43; }
.name-ask-go {
  flex: 1;
  padding: 13px 18px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, #6C5CE7 0%, #4F46E5 55%, #2563EB 100%);
  color: #fff;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(108, 92, 231, .34);
  transition: transform .25s ease, box-shadow .25s ease;
}
.name-ask-go:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(108, 92, 231, .44); }
.name-ask-note {
  font-size: 11px;
  color: #93A3B4;
  line-height: 1.5;
  margin: 16px 0 0;
}

/* Powitanie w nagłówku gotowego planu */
.dh2-hero-hello {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin: 0 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
}

@media (max-width: 620px) {
  .name-ask-card { padding: 26px 20px 20px; }
  .name-ask-title { font-size: 19px; }
  .hv-greet { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-greet-wave { animation: none; }
  .name-ask-card { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v159: KOMUNIKAT O PROBLEMIE Z MAPĄ DNIA
   Wcześniej awaria była cicha (console.warn) — użytkownik widział „nic się nie
   dzieje". Teraz dostaje powód i alternatywę.
   ═══════════════════════════════════════════════════════════════════════════ */
.map-problem {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 8, 28, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: dh2FadeUp .25s ease both;
}
.map-problem-card {
  width: 100%;
  max-width: 400px;
  padding: 28px 26px 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 64px rgba(10, 8, 28, 0.42);
  text-align: center;
}
.map-problem-ico { font-size: 34px; line-height: 1; margin-bottom: 10px; }
.map-problem-title {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0F2A43;
  margin: 0 0 8px;
}
.map-problem-msg {
  font-size: 13px;
  line-height: 1.55;
  color: #6B7280;
  margin: 0 0 18px;
  word-break: break-word;
}
.map-problem-actions { display: flex; gap: 9px; }
.map-problem-alt,
.map-problem-close {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.map-problem-alt {
  border: 1px solid #E6E9F0;
  background: #F7F9FC;
  color: #0F2A43;
}
.map-problem-alt:hover { background: #EDF1F7; }
.map-problem-close {
  border: 0;
  background: linear-gradient(135deg, #6C5CE7 0%, #4F46E5 55%, #2563EB 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(108, 92, 231, .3);
}
.map-problem-close:hover { transform: translateY(-2px); }

/* v162: ostrzeżenie o niekompletnym wczytaniu stylów */
.css-warning {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #7F1D1D;
  color: #fff;
  font: 600 13px/1.4 system-ui, sans-serif;
  text-align: center;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .35);
}
.css-warning button {
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #7F1D1D;
  font: 700 13px system-ui, sans-serif;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════════════════
   v164: WYBÓR ZAKRESU NAWIGACJI + PRZYPOMNIENIE O WYJEŹDZIE
   ═══════════════════════════════════════════════════════════════════════════ */
.dmv-nav-ask {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 6, 24, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: dh2FadeUp .22s ease both;
}
.dmv-nav-card {
  width: 100%;
  max-width: 380px;
  padding: 24px 22px 18px;
  border-radius: 22px;
  background: #16103A;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5);
  color: #fff;
}
.dmv-nav-card h3 {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}
.dmv-nav-card > p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .6);
  margin: 0 0 16px;
}
.dmv-nav-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  margin-bottom: 9px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.dmv-nav-opt:hover {
  background: rgba(85, 242, 214, .12);
  border-color: rgba(85, 242, 214, .45);
  transform: translateY(-2px);
}
.dmv-nav-opt-ico { font-size: 20px; flex-shrink: 0; }
.dmv-nav-opt span span { display: flex; flex-direction: column; gap: 2px; }
.dmv-nav-opt b { font-size: 13.5px; font-weight: 700; }
.dmv-nav-opt span span span { font-size: 11.5px; color: rgba(255, 255, 255, .58); }
.dmv-nav-cancel {
  width: 100%;
  padding: 11px;
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, .55);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.dmv-nav-cancel:hover { color: #fff; }

/* Pasek przypomnienia o zbliżającym się wyjeździe */
.trip-reminder {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 120%);
  z-index: 10040;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(560px, calc(100vw - 28px));
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1E1247 0%, #241660 100%);
  border: 1px solid rgba(85, 242, 214, .28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
  color: #fff;
  opacity: 0;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
.trip-reminder.show { transform: translate(-50%, 0); opacity: 1; }
.trip-reminder-ico { font-size: 22px; flex-shrink: 0; }
.trip-reminder-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.trip-reminder-txt b { font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.trip-reminder-txt span { font-size: 12px; color: rgba(255, 255, 255, .62); line-height: 1.4; }
.trip-reminder-actions { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.trip-reminder-actions button {
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .22s ease;
}
.trip-reminder-actions button:hover { background: rgba(255, 255, 255, .16); }
.trip-reminder-actions #trip-reminder-open {
  background: linear-gradient(135deg, #2563EB 0%, #14B8A6 100%);
  border-color: transparent;
}
.trip-reminder-actions #trip-reminder-close { padding: 8px 11px; }

@media (max-width: 620px) {
  .trip-reminder { flex-wrap: wrap; gap: 10px; bottom: 12px; padding: 12px 14px; }
  .trip-reminder-actions { width: 100%; justify-content: flex-end; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v166: ODHACZANIE PUNKTÓW PLANU
   ═══════════════════════════════════════════════════════════════════════════ */
.slot-check {
  flex: none;
  width: 22px;
  height: 22px;
  margin-right: 2px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  background: #fff;
  color: transparent;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.slot-check:hover { border-color: #16A34A; transform: scale(1.08); }
.slot-check:focus-visible { outline: 2px solid #16A34A; outline-offset: 2px; }
.slot-check[aria-checked="true"] {
  background: #16A34A;
  border-color: #16A34A;
  color: #fff;
}

/* Odhaczony punkt — przygaszony, ale nadal czytelny */
.slot-row.slot-done .slot-name { text-decoration: line-through; color: #94A3B8; }
.slot-row.slot-done .slot-time { color: #B6C1CF; }
.slot-row.slot-done .slot-ico,
.slot-row.slot-done .slot-thumb { opacity: .45; }

/* Licznik postępu w nagłówku dnia */
.day-done-count {
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #64748B;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.day-done-count:empty { display: none; }
.day-done-count.all-done { background: #DCFCE7; color: #15803D; }

@media print {
  .slot-check { border-color: #64748B; }
  .slot-row.slot-done .slot-name { text-decoration: none; }
}
