/* Style dla offline edytora HTML */

:root {
  --bg-main: #0B0F19; /* Głęboki granat/czerń */
  --bg-panel: rgba(17, 24, 39, 0.7); /* Półprzezroczysty ciemny szary dla glassmorphism */
  --bg-panel-solid: #111827;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-focus: rgba(139, 92, 246, 0.5); /* Fioletowy accent */
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  
  /* Kolory akcentów */
  --accent: #8B5CF6; /* Fioletowy */
  --accent-hover: #A78BFA;
  --accent-glow: rgba(139, 92, 246, 0.35);
  
  --danger: #EF4444;
  --danger-hover: #F87171;
  --success: #10B981;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;
  
  --toolbar-height: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Scrollbary */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Pasek Narzędzi (Toolbar) */
header {
  height: auto;
  background: var(--bg-panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 24px;
  gap: 12px;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.toolbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF;
  background: linear-gradient(135deg, #FFF 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.toolbar-logo svg {
  stroke: var(--accent);
  fill: none;
}

.toolbar-groups {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 12px;
  flex-shrink: 0;
  overflow-x: auto;
  width: 100%;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.toolbar-groups::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.toolbar-group-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 6px;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  margin-right: 2px;
  height: 20px;
  display: flex;
  align-items: center;
}

/* Przyciski w toolbarze */
.btn-tool {
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 32px;
}

.btn-tool svg {
  width: 16px;
  height: 16px;
  stroke-width: 2px;
  stroke: currentColor;
  fill: none;
}

.btn-tool:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
}

.btn-tool:active {
  transform: scale(0.95);
}

.btn-tool.active {
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-hover);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Przyciski specjalne */
.btn-primary {
  background: var(--accent);
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 4px 10px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px var(--accent-glow);
  color: white;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background: var(--danger);
  color: white;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

/* Selektory w toolbarze */
.select-tool {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 4px 8px;
  border-radius: 6px;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s;
  height: 32px;
}

.select-tool:focus {
  border-color: var(--accent);
}

.select-tool option {
  background: var(--bg-panel-solid);
  color: var(--text-main);
}

/* Przestrzeń robocza (Workspace) */
.workspace {
  display: flex;
  flex: 1;
  min-height: 0;
  width: 100vw;
  overflow: hidden;
}

/* Panele boczne (dokładnie 50% szerokości) */
.panel {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
}

.panel:last-child {
  border-right: none;
}

.panel-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-body {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: #0d1117; /* Ciemne tło dla kontrastu */
}

.toolbar-groups.active-drag {
  cursor: grabbing !important;
  user-select: none;
}

/* Lewy Panel - Edytor Wizualny */
#visual-editor-container {
  padding: 0;
  background: #FFFFFF;
  height: 100%;
  width: 100%;
  overflow-y: auto;
}

#visual-editor {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  background: #FFFFFF;
  color: #1F2937;
  padding: 16px !important;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-x: hidden;
  box-sizing: border-box;
}

#visual-editor > :first-child {
  margin-top: 0 !important;
}

/* Stylizacja elementów w edytorze wizualnym i w podglądzie */
#visual-editor p {
  margin-bottom: 1rem;
}

#visual-editor h1, #visual-editor h2, #visual-editor h3, 
#visual-editor h4, #visual-editor h5, #visual-editor h6 {
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}

#visual-editor h2 { font-size: 1.5rem; border-bottom: 1px solid #E5E7EB; padding-bottom: 4px; }
#visual-editor h3 { font-size: 1.25rem; }

#visual-editor ul, #visual-editor ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

#visual-editor li {
  margin-bottom: 0.25rem;
}

#visual-editor blockquote {
  border-left: 4px solid var(--accent);
  padding: 8px 16px;
  margin: 1.5rem 0;
  color: #4B5563;
  background: #F9FAFB;
  font-style: italic;
}

#visual-editor pre {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  padding: 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

#visual-editor code {
  background: #F3F4F6;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  word-break: break-all;
}

#visual-editor table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  word-break: break-all;
}

#visual-editor th, #visual-editor td {
  padding: 8px 12px;
  text-align: left;
}

#visual-editor th {
  background-color: #F3F4F6;
  font-weight: 600;
  border-bottom: 2px solid #E5E7EB;
}

#visual-editor td {
  border-bottom: 1px solid #E5E7EB;
}

#visual-editor details {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 1rem;
}

#visual-editor summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

#visual-editor summary::-webkit-details-marker {
  color: var(--accent);
}

#visual-editor details[open] summary {
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

/* Ochrona multimediów i layoutu przed wybuchem kontenerów */
#visual-editor img, #visual-editor video, #visual-editor svg {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 1.5rem auto;
  border-radius: 4px;
}

#visual-editor table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}

#visual-editor pre, #visual-editor code {
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

#visual-editor a {
  color: var(--accent);
  text-decoration: underline;
}

/* Prawy Panel - CodeMirror */
.CodeMirror {
  height: 100% !important;
  font-family: var(--font-mono) !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  background: #0d1117 !important;
  padding: 16px !important;
  box-sizing: border-box;
}

.CodeMirror-lines {
  padding: 0 !important;
}

.CodeMirror-gutter {
  background: #0d1117 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Modale - Glassmorphism */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 8, 16, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF;
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
}

.modal-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFF;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.modal-footer {
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Informacja o autosave */
.autosave-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.02);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.autosave-dot {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px var(--success);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* Stylizacja powiadomień */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-panel-solid);
  border: 1px solid var(--accent);
  color: #FFF;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 200;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast svg {
  width: 18px;
  height: 18px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2px;
}

/* Panel Footer (Status bar) */
.panel-footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-color);
  padding: 6px 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  user-select: none;
  height: 32px;
  flex-shrink: 0;
}

/* Stopka aplikacji (Footer) */
.app-footer {
  height: 40px;
  background: #090c13;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  gap: 8px;
  flex-shrink: 0;
  user-select: none;
}

.coffee-link {
  color: #FBBF24;
  text-decoration: none;
  transition: color 0.2s ease;
}

.coffee-link:hover {
  color: #FCD34D;
  text-decoration: underline;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.1);
}

.footer-text {
  opacity: 0.85;
}

/* Responsywność dla urządzeń mobilnych i tabletów (< 992px) */
@media (max-width: 992px) {
  body {
    height: auto;
    overflow-y: auto;
  }
  
  header {
    padding: 0 16px;
    gap: 12px;
  }
  
  .workspace {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  
  .panel {
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 100% !important;
    height: 500px !important;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .panel:last-child {
    border-bottom: none;
  }

  .app-footer {
    height: auto;
    padding: 16px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .footer-divider {
    display: none;
  }
}

/* ==========================================
   LANDING PAGE (INTRO) STYLES
   ========================================== */

/* Zachowanie przewijania i tła */
body.landing-page {
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-main);
}

/* Połyskujące kule w tle */
.bg-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.bg-glow-2 {
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, rgba(167, 139, 250, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Nagłówek lądowania */
.landing-header {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 40px;
}

.header-tabs {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tab-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.tab-link:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.05);
}

.tab-link.active {
  color: #FFF;
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

/* Kontener Landing Page */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

/* Hero Section */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 850px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFF;
}

.gradient-text {
  background: linear-gradient(135deg, #FFF 0%, var(--accent) 50%, #F472B6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 700px;
  text-align: center;
}

.hero-actions {
  margin-top: 12px;
}

/* Przycisk CTA */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #FFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px var(--accent-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.45);
  color: white;
}

.btn-cta:active {
  transform: scale(0.98);
}

/* Siatka funkcji */
.features-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #FFF;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}

.feature-card {
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.feature-icon {
  font-size: 2.2rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF;
}

.feature-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Zaplecze Projektu */
.showcase-section {
  width: 100%;
  max-width: 800px;
}

.intro-showcase-box {
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 8px;
}

.showcase-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.showcase-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.showcase-link-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.showcase-link-item:hover {
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.link-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.link-url {
  font-size: 0.95rem;
  color: #FFF;
  font-weight: 600;
}

.showcase-action {
  margin-top: 8px;
}

.btn-coffee-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.1);
  color: #FBBF24;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-coffee-action:hover {
  background: #FBBF24;
  color: #000;
  box-shadow: 0 5px 15px rgba(251, 191, 36, 0.25);
}

/* Stopka dla Landing Page */
body.landing-page .app-footer {
  margin-top: auto;
  background: rgba(9, 12, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 24px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.footer-divider-dot {
  color: rgba(255, 255, 255, 0.1);
}

/* Animacja Fade In */
.animate-fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Responsywność mobilna */
@media (max-width: 768px) {
  .landing-header {
    padding: 16px 20px;
  }
  
  .landing-header .header-top-row {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-sub {
    font-size: 1rem;
  }
  
  .showcase-links {
    grid-template-columns: 1fr;
  }
  
  .landing-container {
    gap: 50px;
    padding: 40px 16px;
  }

  .btn-cta {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* Badge v2.0 i kontener logo */
.toolbar-logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-badge {
  font-size: 0.65rem;
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-hover);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .header-top-row {
    flex-direction: column !important;
    gap: 12px;
    align-items: center !important;
    text-align: center;
  }
}



