/* ==========================================================================
   SILENT ATLAS — main.css
   Powłoka layoutu (Shell). Wszystkie selektory używają prefiksu "sa-"
   lub są oparte na unikalnych ID (#sa-*) by nie kolidować z narzędziami.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. IMPORTS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #12100e;
  color: #f5ede4;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   2. CSS TOKENS
   -------------------------------------------------------------------------- */
:root {
  --sa-bg:              #12100e;
  --sa-card:            #1c1815;
  --sa-border:          #332b24;
  --sa-text:            #f5ede4;
  --sa-muted:           #9c8e82;
  --sa-gold:            #dfb47e;
  --sa-gold-hover:      #eed8b6;
  --sa-gold-soft:       rgba(223, 180, 126, 0.12);
  --sa-gold-glow:       rgba(223, 180, 126, 0.22);
  --sa-dark-text:       #16120e;
  --sa-header-h:        60px;
  --sa-header-h-mobile: 56px;
  --sa-radius:          14px;
  --sa-transition:      0.22s ease;
}

/* --------------------------------------------------------------------------
   3. HEADER
   -------------------------------------------------------------------------- */
#sa-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--sa-header-h);
  background: rgba(18, 16, 14, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 180, 126, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
}

#sa-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

#sa-logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  transition: transform 0.22s ease;
}

#sa-logo:hover #sa-logo-icon {
  transform: scale(1.06);
}

#sa-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: #dfb47e;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* Pojedynczy pasek nawigacji desktopowej — idealnie wycentrowany i ujednolicony */
#sa-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 18, 15, 0.88);
  border: 1px solid rgba(223, 180, 126, 0.22);
  border-radius: 999px;
  padding: 3px 5px;
  gap: 2px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 1px rgba(223, 180, 126, 0.3);
  overflow: visible;
  white-space: nowrap;
  z-index: 1005;
}

.sa-nav-sep {
  width: 1px;
  height: 14px;
  background: rgba(223, 180, 126, 0.18);
  margin: 0 2px;
  flex-shrink: 0;
  display: block;
}

.sa-nav-sep-dot,
.sa-nav-sep-star {
  display: none;
}

.sa-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #a89a8f;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

#nav-aor {
  min-width: 130px;
}

#nav-stickers {
  min-width: 130px;
}

.sa-nav-link:hover {
  color: #f5ede4;
  background: rgba(255, 255, 255, 0.05);
}

.sa-nav-link.sa-active {
  color: #dfb47e;
  background: rgba(223, 180, 126, 0.14);
  border-color: rgba(223, 180, 126, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  position: relative;
}

/* --------------------------------------------------------------------------
   3.1 DROPDOWN NARZĘDZIA (Submenu na desktopie)
   -------------------------------------------------------------------------- */
.sa-nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sa-nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 110px;
}

.sa-nav-arrow {
  color: rgba(223, 180, 126, 0.7);
  transition: transform 0.25s ease, color 0.22s ease;
  flex-shrink: 0;
  margin-top: -1px;
}

.sa-nav-dropdown-wrapper:hover .sa-nav-arrow,
.sa-nav-dropdown-wrapper.sa-open .sa-nav-arrow {
  transform: rotate(180deg);
  color: #dfb47e;
}

/* Mostek zapobiegający znikaniu menu przy przesuwaniu kursora w dół */
.sa-nav-dropdown-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 16px;
}

.sa-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  background: rgba(18, 15, 13, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(223, 180, 126, 0.24);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.8), 0 0 1px rgba(223, 180, 126, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  z-index: 1050;
}

.sa-nav-dropdown-wrapper:hover .sa-nav-dropdown-menu,
.sa-nav-dropdown-wrapper:focus-within .sa-nav-dropdown-menu,
.sa-nav-dropdown-wrapper.sa-open .sa-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sa-nav-dropdown-wrapper.sa-closed .sa-nav-dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(4px) !important;
}
.sa-nav-dropdown-wrapper.sa-closed .sa-nav-arrow {
  transform: rotate(0deg) !important;
}

.sa-nav-dropdown-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: #c5b8ad;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  width: 100%;
  white-space: nowrap;
}

.sa-nav-dropdown-item:hover {
  background: rgba(223, 180, 126, 0.10);
  border-color: rgba(223, 180, 126, 0.22);
  color: #f5ede4;
  transform: translateX(2px);
}

.sa-nav-dropdown-item.sa-active {
  background: rgba(223, 180, 126, 0.16);
  border-color: rgba(223, 180, 126, 0.4);
  color: #dfb47e;
}

#sa-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

#sa-btn-yt,
#sa-btn-fb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(223, 180, 126, 0.35);
  background: none;
  color: #dfb47e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

#sa-btn-yt:hover,
#sa-btn-fb:hover {
  border-color: #dfb47e;
  background: rgba(223, 180, 126, 0.12);
  color: #f5ede4;
}

.sa-yt-icon {
  color: #ff6b6b;
  font-size: 10px;
  line-height: 1;
}

.sa-fb-icon {
  color: #5b9bf3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

/* Przycisk PWA domyślnie widoczny dla zwykłej przeglądarki (aktywny, nie wyszarzony) */
#sa-btn-install {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(223, 180, 126, 0.45);
  background: rgba(223, 180, 126, 0.12);
  color: #f5ede4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#sa-btn-install svg {
  color: #dfb47e;
}

#sa-btn-install:hover {
  border-color: #dfb47e;
  color: #ffffff;
  background: rgba(223, 180, 126, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 12px rgba(223, 180, 126, 0.22);
  transform: translateY(-1px);
}

#sa-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid rgba(223, 180, 126, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

#sa-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #9c8e82;
  border-radius: 1px;
  transition: all 0.25s ease;
}

#sa-hamburger.sa-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: #dfb47e;
}
#sa-hamburger.sa-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#sa-hamburger.sa-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: #dfb47e;
}

/* --------------------------------------------------------------------------
   4. DRAWER & BACKDROP (RESPONSYWNY PANEL BOCZNY I MOBILNY)
   -------------------------------------------------------------------------- */
#sa-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

#sa-drawer-backdrop.sa-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#sa-drawer {
  position: fixed;
  top: var(--sa-header-h);
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 360px;
  background: rgba(14, 12, 10, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 36px;
  gap: 6px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(223, 180, 126, 0.15);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

#sa-drawer.sa-open {
  transform: translateX(0);
}

.sa-drawer-group-label {
  font-family: 'Cinzel', serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dfb47e;
  padding: 8px 14px 2px;
  opacity: 0.85;
}

.sa-drawer-link {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #9c8e82;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: 'Inter', sans-serif;
  text-align: left;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.sa-drawer-link:hover, .sa-drawer-link:active {
  color: #f5ede4;
  background: rgba(255, 255, 255, 0.04);
}

.sa-drawer-link.sa-active {
  color: #dfb47e;
  background: rgba(223, 180, 126, 0.12);
}

.sa-drawer-divider {
  height: 1px;
  background: rgba(223, 180, 126, 0.08);
  margin: 6px 0;
}

.sa-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.sa-drawer-socials {
  display: flex;
  gap: 8px;
  width: 100%;
}

.sa-drawer-yt,
.sa-drawer-fb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(223, 180, 126, 0.3);
  color: #dfb47e;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s ease;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  background: none;
  flex: 1;
}

.sa-drawer-yt:hover,
.sa-drawer-fb:hover {
  background: rgba(223, 180, 126, 0.12);
  border-color: #dfb47e;
  color: #f5ede4;
}

#sa-drawer-install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: 10px;
  border: 1px solid rgba(223, 180, 126, 0.45);
  background: rgba(223, 180, 126, 0.12);
  color: #f5ede4;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: 'Inter', sans-serif;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

#sa-drawer-install-btn:hover {
  color: #ffffff;
  border-color: #dfb47e;
  background: rgba(223, 180, 126, 0.22);
}

/* --------------------------------------------------------------------------
   5. MAIN CONTENT AREA
   -------------------------------------------------------------------------- */
#sa-content {
  padding-top: var(--sa-header-h);
  min-height: 100dvh;
}

.sa-tool-section {
  display: none;
  width: 100%;
  height: calc(100vh - var(--sa-header-h));
  height: calc(100dvh - var(--sa-header-h));
  flex-direction: column;
  overflow: hidden;
}

.sa-tool-section.sa-visible {
  display: flex;
}

.sa-iframe-wrapper {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #12100e;
  overflow: hidden;
}

.sa-tool-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #12100e;
}

/* --------------------------------------------------------------------------
   6. HUB — STRONA GŁÓWNA
   -------------------------------------------------------------------------- */
#sa-hub {
  display: none;
  flex-direction: column;
  align-items: center;
  min-height: calc(100dvh - var(--sa-header-h));
  background: #12100e;
  padding: 0;
}

#sa-hub.sa-visible {
  display: flex;
}

/* HERO z autentycznym tłem fotograficznym */
#sa-hero {
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 84px 24px 68px;
  background-image: 
    linear-gradient(180deg, 
      rgba(18, 16, 14, 0.94) 0%, 
      rgba(18, 16, 14, 0.42) 28%, 
      rgba(18, 16, 14, 0.35) 65%, 
      rgba(18, 16, 14, 0.96) 100%
    ),
    url('IMG_3405.jpg');
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
  position: relative;
  border-bottom: 1px solid rgba(223, 180, 126, 0.15);
}

.sa-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.sa-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #dfb47e;
  margin-bottom: 18px;
  position: relative;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

#sa-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: 6px;
  color: #f5ede4;
  margin: 0 0 16px;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.85);
}

#sa-hero-subtitle {
  font-size: clamp(13px, 2vw, 15.5px);
  color: #e5dcd3;
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 32px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.8);
}

.sa-hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #e5c494 0%, #dfb47e 100%);
  color: #16120e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,0,0,0.6), 0 0 20px rgba(223, 180, 126, 0.25);
  transition: all 0.22s ease;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.sa-hero-scroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.7), 0 0 28px rgba(223, 180, 126, 0.35);
}

/* --------------------------------------------------------------------------
   EKOSYSTEM: ATLAS OPINII (lewa) + ROZDZIELAJĄCA KRESKA + NARZĘDZIA (prawa)
   -------------------------------------------------------------------------- */
#sa-ecosystem-section {
  width: 100%;
  max-width: 1100px;
  padding: 56px 20px 24px;
}

#sa-ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1.25fr;
  gap: 36px;
  align-items: stretch;
}

#sa-col-aor, #sa-col-tools {
  display: flex;
  flex-direction: column;
}

.sa-col-header {
  margin-bottom: 18px;
}

.sa-col-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #dfb47e;
  display: block;
  margin-bottom: 4px;
}

.sa-col-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #f5ede4;
  margin: 0;
}

/* Pionowy separator z diamentem marki */
#sa-ecosystem-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 1px;
}

.sa-divider-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(223, 180, 126, 0.28), transparent);
}

.sa-divider-gem {
  color: #dfb47e;
  font-size: 10px;
  margin: 14px 0;
  opacity: 0.7;
  line-height: 1;
}

/* Wyróżniona karta Atlasu Opinii */
/* Wyróżniona karta Forum Społecznościowego / Atlasu Opinii */
.sa-col-header-centered {
  text-align: center;
}

.sa-aor-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #1c1815;
  border: 1px solid rgba(223, 180, 126, 0.28);
  border-radius: 16px;
  padding: 34px 28px 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  box-sizing: border-box;
}

.sa-aor-card-centered {
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.sa-aor-card:hover {
  border-color: rgba(223, 180, 126, 0.55);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 24px rgba(223, 180, 126, 0.12);
  transform: translateY(-3px);
}

.sa-aor-card-badge {
  align-self: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #dfb47e;
  background: rgba(223, 180, 126, 0.1);
  border: 1px solid rgba(223, 180, 126, 0.25);
  padding: 4px 11px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   STREFA MEDALOWA TOP 2, TOP 1, TOP 3 (HOMEPAGE ATLAS OF REVIEWS)
   -------------------------------------------------------------------------- */
.sa-aor-podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.sa-aor-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto 0;
  padding: 30px 0 24px;
  width: 100%;
}

.sa-aor-card-header {
  margin-bottom: 6px;
}

.sa-aor-en-name {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #dfb47e;
  margin-bottom: 4px;
}

.sa-aor-pl-name {
  font-size: 19px;
  font-weight: 700;
  color: #f5ede4;
  margin-bottom: 12px;
}

.sa-aor-desc {
  font-size: 13px;
  color: #9c8e82;
  line-height: 1.65;
  margin: 0;
  max-width: 430px;
}

.sa-aor-card-centered .sa-tool-cta {
  align-self: center;
  margin-top: 0;
}

.sa-aor-podium-grid .medal-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(223, 180, 126, 0.22);
  border-radius: 10px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.22s ease;
  min-width: 0;
  box-sizing: border-box;
}

.sa-aor-podium-grid .medal-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.sa-aor-podium-grid .medal-card.gold {
  border-color: rgba(223, 180, 126, 0.55);
  background: linear-gradient(180deg, rgba(223, 180, 126, 0.12) 0%, rgba(26, 23, 20, 0.8) 100%);
  box-shadow: 0 4px 16px rgba(223, 180, 126, 0.12);
  transform: translateY(-4px);
}

.sa-aor-podium-grid .medal-card.gold:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 22px rgba(223, 180, 126, 0.22);
}

.sa-aor-podium-grid .medal-card.silver {
  border-color: rgba(200, 205, 215, 0.35);
  background: linear-gradient(180deg, rgba(200, 205, 215, 0.06) 0%, rgba(26, 23, 20, 0.6) 100%);
}

.sa-aor-podium-grid .medal-card.bronze {
  border-color: rgba(205, 127, 50, 0.35);
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.06) 0%, rgba(26, 23, 20, 0.6) 100%);
}

.sa-aor-podium-grid .medal-badge {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 4px;
}

.sa-aor-podium-grid .medal-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #a89f91;
  margin-bottom: 3px;
}

.sa-aor-podium-grid .medal-card.gold .medal-title {
  color: #dfb47e;
}

.sa-aor-podium-grid .medal-country-name {
  font-family: 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #f5ede4;
  margin: 2px 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: 100%;
}

.sa-aor-podium-grid .medal-score-badge {
  font-family: 'Cinzel', serif;
  font-size: 12.5px;
  font-weight: 800;
  color: #dfb47e;
  letter-spacing: 0.5px;
}

@media (max-width: 540px) {
  .sa-aor-podium-grid {
    gap: 8px;
  }
  .sa-aor-podium-grid .medal-card {
    padding: 10px 4px;
    border-radius: 8px;
  }
  .sa-aor-card-body {
    padding: 18px 0;
  }
  .sa-aor-pl-name {
    font-size: 17px;
    margin-bottom: 8px;
  }
  .sa-aor-desc {
    font-size: 12.5px;
    line-height: 1.55;
  }
  .sa-aor-podium-grid .medal-badge {
    font-size: 18px;
    margin-bottom: 2px;
  }
  .sa-aor-podium-grid .medal-title {
    font-size: 9.5px;
    letter-spacing: 0.5px;
  }
  .sa-aor-podium-grid .medal-country-name {
    font-size: 12px;
  }
  .sa-aor-podium-grid .medal-score-badge {
    font-size: 11px;
  }
}

/* Lista 3 narzędzi */
.sa-tools-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  justify-content: space-between;
}

.sa-tool-card {
  background: #1c1815;
  border: 1px solid #332b24;
  border-radius: 14px;
  padding: 20px 22px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.sa-tool-card:hover {
  border-color: rgba(223, 180, 126, 0.38);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 16px rgba(223, 180, 126, 0.08);
  transform: translateY(-2px);
}

.sa-tool-en-name {
  font-family: 'Cinzel', serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #dfb47e;
  margin-bottom: 3px;
}

.sa-tool-pl-name {
  font-size: 15px;
  font-weight: 700;
  color: #f5ede4;
  line-height: 1.25;
  margin-bottom: 4px;
}

.sa-tool-desc {
  font-size: 12px;
  color: #9c8e82;
  line-height: 1.55;
  margin: 0;
}

.sa-tool-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sa-tool-cta-text {
  font-size: 12px;
  font-weight: 600;
  color: #dfb47e;
  letter-spacing: 0.3px;
}

.sa-tool-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(223, 180, 126, 0.12);
  border: 1px solid rgba(223, 180, 126, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dfb47e;
  font-size: 13px;
  transition: all 0.22s ease;
}

.sa-tool-card:hover .sa-tool-arrow,
.sa-aor-card:hover .sa-tool-arrow,
.sa-product-card:hover .sa-tool-arrow {
  background: #dfb47e;
  color: #16120e;
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   PROJEKTY & KOLEKCJE (Naklejki & Atlasy Preview)
   -------------------------------------------------------------------------- */
#sa-products-preview {
  width: 100%;
  max-width: 1100px;
  padding: 40px 20px 20px;
}

.sa-products-preview-header {
  margin-bottom: 20px;
  text-align: center;
}

.sa-products-preview-grid {
  display: flex;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.sa-products-preview-grid .sa-product-card {
  width: 100%;
}

.sa-product-card {
  background: #1c1815;
  border: 1px solid #332b24;
  border-radius: 14px;
  padding: 24px 22px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.sa-product-card:hover {
  border-color: rgba(223, 180, 126, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.sa-product-badge {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #dfb47e;
  background: rgba(223, 180, 126, 0.1);
  border: 1px solid rgba(223, 180, 126, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.sa-product-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  color: #f5ede4;
  margin-bottom: 8px;
}

.sa-product-desc {
  font-size: 12.5px;
  color: #9c8e82;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

/* --------------------------------------------------------------------------
   7. YOUTUBE CTA SECTION — Ramka z tłem fotograficznym IMG_0244
   -------------------------------------------------------------------------- */
#sa-yt-section,
.sa-yt-section-shared {
  width: 100%;
  max-width: 1100px;
  min-height: 380px;
  margin: 36px auto 0;
  border: 1px solid rgba(223, 180, 126, 0.35);
  border-radius: 20px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(90deg, 
      rgba(18, 16, 14, 0.94) 0%, 
      rgba(18, 16, 14, 0.72) 34%, 
      rgba(18, 16, 14, 0.20) 50%, 
      rgba(18, 16, 14, 0.72) 66%, 
      rgba(18, 16, 14, 0.94) 100%
    ),
    url('IMG_0244.JPG');
  background-size: cover;
  background-position: 49.5% 63%;
  background-repeat: no-repeat;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 24px rgba(223, 180, 126, 0.08);
}

#sa-yt-section::before,
.sa-yt-section-shared::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(ellipse, rgba(223, 180, 126, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

#sa-yt-content,
.sa-yt-content-shared {
  flex: 1;
  position: relative;
  z-index: 1;
}

.sa-yt-eyebrow {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dfb47e;
  margin-bottom: 7px;
  display: block;
}

#sa-yt-section h2,
.sa-yt-section-shared h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(15px, 2.2vw, 19px);
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #f5ede4;
  margin: 0 0 10px;
  line-height: 1.25;
}

#sa-yt-section p,
.sa-yt-section-shared p {
  font-size: 11.5px;
  color: #9c8e82;
  line-height: 1.55;
  margin: 0 0 10px;
  max-width: 420px;
}
#sa-yt-section p:last-of-type,
.sa-yt-section-shared p:last-of-type {
  margin-bottom: 20px;
}

.sa-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: rgba(223, 180, 126, 0.12);
  border: 1px solid rgba(223, 180, 126, 0.4);
  color: #dfb47e;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.22s ease;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.sa-yt-btn:hover {
  background: rgba(223, 180, 126, 0.22);
  border-color: #dfb47e;
  color: #eed8b6;
  transform: translateY(-1px);
}

#sa-yt-logo,
.sa-yt-logo-shared {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Wycentrowane geometrycznie kółko play */
.sa-yt-play-icon {
  width: 72px;
  height: 72px;
  background: rgba(223, 180, 126, 0.1);
  border: 1px solid rgba(223, 180, 126, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  animation: sa-pulse 3s ease-in-out infinite;
}

.sa-yt-play-icon:hover {
  background: rgba(223, 180, 126, 0.2);
  border-color: #dfb47e;
  transform: scale(1.05);
}

@keyframes sa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(223, 180, 126, 0); }
  50% { box-shadow: 0 0 0 12px rgba(223, 180, 126, 0.1); }
}

/* --------------------------------------------------------------------------
   8. NOTKA O MARCE SILENT ATLAS
   -------------------------------------------------------------------------- */
#sa-brand-section,
.sa-brand-section-shared {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 16px;
  padding: 32px 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  position: relative;
}

.sa-brand-inner {
  max-width: 860px;
  margin: 0;
  text-align: left;
}

.sa-brand-title {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #f5ede4;
  margin: 0 0 20px;
  text-align: left;
}

.sa-brand-text {
  max-width: 860px;
  margin: 0;
  text-align: left;
}

.sa-brand-lead {
  font-size: 14.5px;
  font-weight: 500;
  color: #f5ede4;
  line-height: 1.7;
  margin-bottom: 16px;
  text-align: left;
}

.sa-brand-text p {
  font-size: 13px;
  color: #9c8e82;
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: left;
}

.sa-brand-quote {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(223, 180, 126, 0.12);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
}

.sa-quote-icon {
  color: #dfb47e;
  font-size: 12px;
  opacity: 0.7;
}

.sa-quote-text {
  color: #dfb47e;
  font-style: italic;
  font-size: 13.5px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. PROJEKT Z NAKLEJKAMI — DEDYKOWANA STRONA
   -------------------------------------------------------------------------- */
#sa-section-stickers,
#sa-section-privacy,
#sa-section-terms,
#sa-section-brand {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sa-about-page {
  width: 100%;
  min-height: 100%;
  flex: 1;
  background: #12100e;
  display: flex;
  flex-direction: column;
}

.sa-about-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sa-about-container .sa-brand-section-shared {
  margin: 0;
  padding: 0;
}

.sa-about-container .sa-yt-section-shared {
  margin: 0;
}

.sa-stickers-page {
  width: 100%;
  min-height: 100%;
  flex: 1;
  background: #12100e;
}

.sa-stickers-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.sa-stickers-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 24px;
}

.sa-stickers-header h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.35;
  color: #f5ede4;
  margin: 0 0 8px;
}

.sa-stickers-subtitle {
  font-size: 13px;
  color: #9c8e82;
  line-height: 1.55;
}

.sa-stickers-grid {
  display: flex;
  justify-content: center;
  width: 100%;
}

.sa-sticker-item {
  background: #1c1815;
  border: 1px solid #332b24;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr;
  width: 100%;
  max-width: 960px;
  transition: all 0.25s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.sa-sticker-item:hover {
  border-color: rgba(223, 180, 126, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 20px rgba(223, 180, 126, 0.12);
}

.sa-sticker-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #151210 0%, #1e1916 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(223, 180, 126, 0.12);
  border-bottom: none;
  position: relative;
  padding: 30px;
}

.sa-sticker-mockup {
  width: 150px;
  height: 150px;
  border: 2px dashed rgba(223, 180, 126, 0.35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 16, 14, 0.6);
}

.sa-mockup-pattern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.sa-mockup-symbol {
  font-size: 26px;
  color: #dfb47e;
}

.sa-mockup-label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f5ede4;
}

.sa-mockup-edition {
  font-size: 9.5px;
  color: #9c8e82;
  letter-spacing: 1px;
}

.sa-sticker-info {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sa-sticker-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #dfb47e;
  margin-bottom: 6px;
}

.sa-sticker-info h2 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  color: #f5ede4;
  margin: 0 0 10px;
  line-height: 1.3;
}

.sa-sticker-info p {
  font-size: 12.5px;
  color: #9c8e82;
  line-height: 1.55;
  margin: 0 0 16px;
}

.sa-sticker-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.sa-sticker-specs li {
  font-size: 11.5px;
  color: #9c8e82;
  position: relative;
  padding-left: 18px;
  line-height: 1.55;
  text-align: left;
  display: block;
}

.sa-sticker-specs li::before {
  content: '◈';
  position: absolute;
  left: 0;
  top: 1px;
  color: #dfb47e;
  font-size: 8px;
  line-height: 1.55;
}

.sa-sticker-specs li strong {
  color: #f5ede4;
  font-weight: 700;
  margin-right: 4px;
}

.sa-sticker-actions {
  margin-top: auto;
}

.sa-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #e5c494 0%, #dfb47e 100%);
  color: #16120e;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.22s ease;
  font-family: 'Inter', sans-serif;
}

.sa-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(223, 180, 126, 0.35);
}

.sa-stickers-fulfillment-note {
  margin-top: 36px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(223, 180, 126, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sa-note-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #dfb47e;
  background: rgba(223, 180, 126, 0.1);
  padding: 2px 7px;
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sa-stickers-fulfillment-note p {
  margin: 0;
  font-size: 12px;
  color: #9c8e82;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   11. PWA MODAL
   -------------------------------------------------------------------------- */
#sa-ios-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 7, 6, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px;
}

#sa-ios-modal.sa-open {
  display: flex;
  animation: sa-modal-fade 0.25s ease;
}

@keyframes sa-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.sa-ios-modal-card {
  background: #1c1815;
  border: 1px solid rgba(223, 180, 126, 0.25);
  border-radius: 18px 18px 0 0;
  width: 100%;
  max-width: 460px;
  padding: 26px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.7);
  animation: sa-modal-slide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

@keyframes sa-modal-slide {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.sa-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #9c8e82;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
}

.sa-ios-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sa-ios-modal-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #dfb47e;
  text-align: center;
}

.sa-modal-app-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(223, 180, 126, 0.08);
  border: 1px solid rgba(223, 180, 126, 0.22);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 2px 0 6px 0;
  text-align: left;
}

.sa-modal-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(223, 180, 126, 0.3);
  flex-shrink: 0;
}

.sa-modal-app-details {
  display: flex;
  flex-direction: column;
}

.sa-modal-app-name {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  color: #f5ede4;
  letter-spacing: 1px;
}

.sa-modal-app-sub {
  font-size: 11px;
  color: #c4b5a5;
  margin-top: 2px;
}

.sa-modal-note-box {
  background: rgba(223, 180, 126, 0.06);
  border: 1px dashed rgba(223, 180, 126, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: #dfb47e;
  line-height: 1.4;
  margin-top: 2px;
}

.sa-ios-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sa-ios-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.sa-ios-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(223, 180, 126, 0.12);
  border: 1px solid rgba(223, 180, 126, 0.25);
  color: #dfb47e;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.sa-ios-step-text {
  font-size: 12.5px;
  color: #f5ede4;
  line-height: 1.45;
}

.sa-ios-step-text strong {
  color: #dfb47e;
}

.sa-ios-modal-dismiss {
  background: none;
  border: none;
  color: #9c8e82;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  padding: 6px;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.sa-ios-modal-dismiss:hover {
  color: #dfb47e;
}

.sa-ios-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.sa-modal-env-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(223, 180, 126, 0.12);
  border: 1px solid rgba(223, 180, 126, 0.35);
  color: #dfb47e;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.sa-modal-switcher {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sa-modal-switcher-label {
  font-size: 11px;
  color: #9c8e82;
  text-align: center;
}

.sa-modal-switcher-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.sa-switcher-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c4b5a5;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.sa-switcher-pill:hover {
  background: rgba(223, 180, 126, 0.15);
  border-color: rgba(223, 180, 126, 0.4);
  color: #dfb47e;
}

.sa-switcher-pill.sa-active {
  background: rgba(223, 180, 126, 0.2);
  border-color: #dfb47e;
  color: #f5ede4;
  font-weight: 700;
}

@media (min-width: 641px) {
  #sa-ios-modal {
    align-items: center;
    padding: 24px 16px;
  }
  .sa-ios-modal-card {
    border-radius: 18px;
    padding: 28px 28px 30px;
    max-width: 490px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 30px rgba(223, 180, 126, 0.1);
  }
}

/* --------------------------------------------------------------------------
   12. TOOL SECTION HEADER BAR
   -------------------------------------------------------------------------- */
.sa-tool-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: rgba(18, 16, 14, 0.95);
  border-bottom: 1px solid rgba(223, 180, 126, 0.08);
  gap: 12px;
  flex-shrink: 0;
  z-index: 10;
}

.sa-tool-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #9c8e82;
}

.sa-bc-home {
  color: #9c8e82;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 10.5px;
  padding: 0;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.22s ease;
}

.sa-bc-home:hover { color: #dfb47e; }

.sa-bc-sep { color: rgba(223, 180, 126, 0.3); }

.sa-bc-current {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #dfb47e;
  text-transform: uppercase;
}

.sa-back-btn {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #9c8e82;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 6px 10px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.sa-back-btn:hover {
  color: #dfb47e;
  border-color: rgba(223, 180, 126, 0.3);
}

/* --------------------------------------------------------------------------
   13. PAGE TRANSITIONS
   -------------------------------------------------------------------------- */
.sa-page-fade-in {
  animation: sa-fade-in 0.28s ease;
}

@keyframes sa-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  #sa-nav { gap: 2px; }
  .sa-nav-link { padding: 5px 8px; font-size: 9.5px; letter-spacing: 0.4px; }
  .sa-yt-label { display: none; }
  #sa-ecosystem-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  #sa-col-tools {
    order: 1;
  }
  #sa-ecosystem-divider {
    order: 2;
    height: 1px;
    width: 100%;
    flex-direction: row;
    margin: 4px 0;
  }
  #sa-col-aor {
    order: 3;
  }
  .sa-divider-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(223, 180, 126, 0.28), transparent);
  }
  .sa-divider-gem {
    margin: 0 14px;
  }
  .sa-products-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   RESPONSYWNE ZWIJANIE NAWIGACJI DO 3 KRESEK (HAMBURGERA) NA DESKTOPIE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  #sa-nav { display: none !important; }
  #sa-hamburger { display: flex !important; }
}

#sa-header.sa-nav-collapsed #sa-nav {
  display: none !important;
}

#sa-header.sa-nav-collapsed #sa-hamburger {
  display: flex !important;
}

@media (max-width: 768px) {
  :root { --sa-header-h: 56px; }
  #sa-nav { display: none !important; }
  #sa-hamburger { display: flex !important; }
  #sa-content { padding-top: 56px; }
  .sa-stickers-container {
    padding: 24px 16px 60px;
  }
  .sa-stickers-header {
    margin: 0 auto 18px;
  }
  .sa-sticker-item {
    grid-template-columns: 1fr;
  }
  .sa-sticker-img-wrap {
    height: 220px;
    border-right: none;
    border-bottom: 1px solid rgba(223, 180, 126, 0.12);
    padding: 20px;
  }
  .sa-sticker-mockup {
    width: 150px;
    height: 150px;
  }
  .sa-sticker-info {
    padding: 22px 18px;
  }
  #sa-hero {
    width: 100%;
    margin: 0;
    min-height: 480px;
    padding: 60px 16px 48px;
    border-radius: 0;
    background-position: center 46%;
  }
  #sa-yt-section,
  .sa-yt-section-shared {
    width: calc(100% - 36px);
    max-width: 560px;
    margin: 22px auto 0;
    border-radius: 16px;
    height: 325px;
    min-height: 325px;
    flex-direction: column;
    text-align: center;
    padding: 16px 14px 14px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background-image: 
      linear-gradient(180deg, 
        rgba(18, 16, 14, 0.94) 0%, 
        rgba(18, 16, 14, 0.72) 28%, 
        rgba(18, 16, 14, 0.12) 44%, 
        rgba(18, 16, 14, 0.12) 74%, 
        rgba(18, 16, 14, 0.82) 86%, 
        rgba(18, 16, 14, 0.96) 100%
      ),
      url('IMG_0244.JPG');
    background-position: 49.5% 63%;
    background-size: cover;
  }
  #sa-yt-section #sa-yt-logo,
  .sa-yt-section-shared .sa-yt-logo-shared {
    display: none !important;
  }
  #sa-yt-section #sa-yt-content,
  .sa-yt-section-shared .sa-yt-content-shared {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
  }
  #sa-yt-section .sa-yt-eyebrow,
  .sa-yt-section-shared .sa-yt-eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
    margin-bottom: 3px;
    color: #f0c98f;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 0.9);
  }
  #sa-yt-section h2,
  .sa-yt-section-shared h2 {
    font-size: 13.5px;
    line-height: 1.22;
    margin-bottom: 4px;
    color: #fff7ee;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 0.9);
  }
  #sa-yt-section p,
  .sa-yt-section-shared p {
    margin: 0 auto 3px;
    font-size: 8.5px;
    line-height: 1.32;
    max-width: 330px;
    color: #eadfd2;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 0.9);
  }
  #sa-yt-section p:last-of-type,
  .sa-yt-section-shared p:last-of-type {
    margin-bottom: 0;
  }
  #sa-yt-section .sa-yt-btn,
  .sa-yt-section-shared .sa-yt-btn {
    margin-top: auto;
    padding: 6px 15px;
    font-size: 10.5px;
    gap: 5px;
    border-radius: 8px;
    background: rgba(18, 16, 14, 0.82);
    border: 1px solid rgba(223, 180, 126, 0.45);
    color: #f0c98f;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  }
  #sa-header-actions { gap: 6px; }
  .sa-tool-header-bar { padding: 8px 14px; top: 56px; }
  .sa-back-btn { display: flex; }
  #sa-brand-section,
  .sa-brand-section-shared { padding: 28px 28px; margin: 24px 0 0; }
}

/* Hamburger musi być zawsze widoczny - przyciski YT/FB znikają pierwsze */
#sa-hamburger { flex-shrink: 0; }
@media (max-width: 700px) {
  #sa-btn-yt,
  #sa-btn-fb {
    display: none;
  }
}

@media (max-width: 480px) {
  #sa-logo-icon {
    width: 34px;
    height: 34px;
  }
  #sa-drawer {
    max-width: 100%;
    border-left: none;
  }
  #sa-btn-install span {
    display: none;
  }
  #sa-btn-install {
    padding: 7px 10px;
  }
  #sa-brand-section {
    width: calc(100% - 32px);
    margin: 24px auto 0;
    padding: 22px 16px;
    box-sizing: border-box;
  }
  #sa-products-preview {
    width: calc(100% - 32px);
    margin: 24px auto 0;
    padding: 24px 0 16px;
    box-sizing: border-box;
  }
  #sa-yt-section {
    width: calc(100% - 28px);
    height: 325px;
    min-height: 325px;
  }
}

@media (min-width: 1081px) {
  #sa-nav { gap: 4px; }
  .sa-nav-link { padding: 6px 10px; font-size: 10px; }
}

@media (max-width: 360px) {
  #sa-logo-text { font-size: 12px; letter-spacing: 2.5px; }
}


/* CENTROWANIE NAGĹĂ“WKA STUDIO / NARZÄDZIA */
/* WYROWNANIE DO LEWEJ NAGLOWKA STUDIO / NARZEDZIA ORAZ OPISOW */
#sa-col-tools .sa-col-header,
#sa-col-tools .sa-col-header-centered {
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}
#sa-col-tools .sa-col-tag,
#sa-col-tools .sa-col-title {
  text-align: left !important;
}
#sa-col-tools .sa-tool-card,
#sa-col-tools .sa-tool-card-body,
#sa-col-tools .sa-tool-en-name,
#sa-col-tools .sa-tool-pl-name,
#sa-col-tools .sa-tool-desc {
  text-align: left !important;
}

/* ODSTÄP I SAMODZIELNA STRZAĹKA W ATLASIE OPINII NA STRONIE GĹĂ“WNEJ */
.sa-aor-card-centered .sa-tool-cta,
.sa-aor-card .sa-tool-cta {
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 0 !important;
  padding-top: 14px !important;
}

.sa-aor-card .sa-tool-arrow {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  color: #dfb47e !important;
  font-size: 16px !important;
  display: inline-block !important;
  line-height: 1 !important;
  padding: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.sa-aor-card:hover .sa-tool-arrow {
  background: transparent !important;
  color: #eed8b6 !important;
  transform: translateX(4px) !important;
}

/* ==========================================================================
   DOKUMENTY PRAWNE (REGULAMIN & POLITYKA PRYWATNOŚCI) ORAZ STOPKA
   ========================================================================== */
.sa-legal-page {
  padding: 40px 20px 80px;
  max-width: 960px;
  margin: 0 auto;
}

.sa-legal-container {
  background: #181512;
  border: 1px solid #332b24;
  border-radius: 18px;
  padding: 44px 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.sa-legal-header {
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(223, 180, 126, 0.15);
}

.sa-legal-tag {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #dfb47e;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sa-legal-title {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 700;
  color: #f5ede4;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  line-height: 1.3;
}

.sa-legal-meta {
  font-size: 13px;
  color: #9c8e82;
  margin: 0;
}

.sa-legal-lead {
  background: rgba(223, 180, 126, 0.07);
  border-left: 3px solid #dfb47e;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #eed8b6;
  margin-bottom: 28px;
}

.sa-legal-body {
  color: #d6cbbe;
  font-size: 14px;
  line-height: 1.7;
}

.sa-legal-body h2 {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 600;
  color: #dfb47e;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sa-legal-body p {
  margin: 0 0 14px;
}

.sa-legal-body ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.sa-legal-body li {
  margin-bottom: 8px;
}

.sa-legal-body a {
  color: #dfb47e;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.sa-legal-body a:hover {
  color: #eed8b6;
}

/* ==========================================================================
   SILENT ATLAS — STOPKA W CAŁEJ DOMENIE (DOMAIN-WIDE LUXURY FOOTER)
   ========================================================================== */
#sa-footer,
.sa-footer {
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 48px 24px 40px !important;
  margin: 40px 0 0 0 !important;
  border-top: 1px solid rgba(223, 180, 126, 0.12) !important;
  background: transparent !important;
  position: relative !important;
  text-align: center !important;
}

#sa-footer::before,
.sa-footer::before {
  content: '' !important;
  position: absolute !important;
  top: -1px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(500px, 80%) !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(223, 180, 126, 0.45), transparent) !important;
  pointer-events: none !important;
}

.sa-footer-brand {
  font-family: 'Cinzel', serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  color: #dfb47e !important;
  margin: 0 !important;
  text-shadow: 0 0 16px rgba(223, 180, 126, 0.25) !important;
}

.sa-footer-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px 14px !important;
  font-size: 13px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sa-footer-link,
.sa-footer-cookie-btn {
  color: #a89a8c !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  padding: 4px 6px !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
  line-height: 1.4 !important;
  opacity: 1 !important;
}

.sa-footer-link:hover,
.sa-footer-cookie-btn:hover {
  color: #dfb47e !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  transform: translateY(-1px) !important;
}

.sa-footer-sep {
  color: rgba(223, 180, 126, 0.3) !important;
  user-select: none !important;
  font-size: 12px !important;
}

.sa-footer-copy {
  font-size: 11.5px !important;
  color: #74685e !important;
  letter-spacing: 0.02em !important;
  margin-top: 4px !important;
}

@media (max-width: 640px) {
  #sa-footer,
  .sa-footer {
    padding: 36px 16px 32px !important;
    gap: 10px !important;
  }
  .sa-footer-links {
    gap: 8px 10px !important;
    font-size: 12px !important;
  }
  .sa-footer-link,
  .sa-footer-cookie-btn {
    font-size: 12px !important;
    padding: 3px 4px !important;
  }
}

@media (max-width: 640px) {
  .sa-legal-container {
    padding: 24px 20px;
    border-radius: 14px;
  }
  .sa-legal-title {
    font-size: 20px;
  }
}