:root {
  --primary: #0f8b8d;
  --primary-dark: #0b6668;
  --accent: #f5a623;
  --accent-hover: #f3b447;
  --bg-light: #f5f7fa;
  --text-main: #222;
  --text-muted: #666;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  position: relative;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.65)),
    url("assets/header.png") center center / cover no-repeat;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 75px;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.15) 0%, rgba(245, 166, 35, 0.1) 100%);
  pointer-events: none;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.8rem 0;
}

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 1;
  background: transparent;
}

.logo:hover {
  transform: scale(1.02);
  opacity: 1;
}

.logo-image {
  height: 75px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-image {
    height: 55px;
  }
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 2rem;
  height: 0.2rem;
  background: var(--primary);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Navigation Menu */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
  margin: 0;
}

.nav-menu a {
  position: relative;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0.3rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    padding-top: 5rem;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-menu a {
    display: block;
    padding: 1.2rem 1.5rem;
    font-size: 1.05rem;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover {
    background: rgba(15, 139, 141, 0.05);
  }

  /* Overlay */
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.hero.parallax {
  transform: translateY(0);
  transition: transform 0.1s linear;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(245, 166, 35, 0.2);
  border: 1px solid rgba(245, 166, 35, 0.4);
  backdrop-filter: blur(5px);
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.6s ease 0.2s both;
  width: fit-content;
  font-weight: 500;
}

.badge-with-tooltip {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.badge-with-tooltip::after {
  content: ' ⓘ';
  font-size: 0.85em;
  opacity: 0.8;
  margin-left: 0.3rem;
}

.badge-with-tooltip:hover {
  background: rgba(245, 166, 35, 0.35);
  border-color: rgba(245, 166, 35, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.badge-with-tooltip:active {
  transform: translateY(0);
}

/* Overlay - przyciemnia tło */
.tooltip-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  pointer-events: none;
}

.tooltip-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tooltip {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  min-width: 400px;
  max-width: 90vw;
}

.tooltip.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.tooltip-content {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  color: var(--text-main);
  text-align: left;
  border: 2px solid rgba(245, 166, 35, 0.5);
  position: relative;
}

.tooltip-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.tooltip-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
  transform: rotate(90deg);
}

.tooltip-content h4 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  padding-right: 2rem;
}

.tooltip-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem 0;
}

.tooltip-content li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
}

.tooltip-footer {
  margin: 0.8rem 0 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  text-align: center;
}

@media (max-width: 768px) {
  .tooltip {
    min-width: 300px;
    max-width: 90vw;
  }

  .tooltip-content {
    padding: 1.25rem;
  }

  .tooltip-content h4 {
    font-size: 0.95rem;
  }

  .tooltip-content li {
    font-size: 0.85rem;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
  line-height: 1.2;
  animation: fadeInUp 0.6s ease 0.4s both;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p.sub {
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 2rem;
  color: #e6e6e6;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 1s both;
}

.cta-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--accent);
  color: #222;
  box-shadow: 0 10px 25px rgba(245, 166, 35, 0.35);
  position: relative;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(245, 166, 35, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-note {
  font-size: 0.95rem;
  color: #e0e0e0;
  max-width: 520px;
  animation: fadeInUp 0.6s ease 1s both;
  line-height: 1.6;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 600px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 0.8s both;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(245, 166, 35, 0.4);
  transform: translateX(5px);
}

.benefit-icon {
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}

.benefit-text {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.5;
}

.benefit-text strong {
  color: var(--accent);
  font-weight: 600;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.6s ease 1.2s both;
}

.trust-badge strong {
  color: var(--accent);
  font-weight: 700;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 0.6s ease 1.4s both;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.scroll-indicator .arrow {
  width: 24px;
  height: 24px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: rotate(-45deg) translateY(0);
  }

  40% {
    transform: rotate(-45deg) translateY(8px);
  }

  60% {
    transform: rotate(-45deg) translateY(4px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 5rem 1.25rem;
  position: relative;
  overflow: visible;
}

.section.alt {
  background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 100%);
  position: relative;
}

.section.alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 139, 141, 0.2), transparent);
}

.section.dark {
  background: #111827;
  color: #e5e7eb;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: visible;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.section p.lead {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.75;
}

.section.dark p.lead {
  color: #d1d5db;
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Cards */
.card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
}

.card.alt {
  background: #f9fafb;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

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

/* Problem Cards - Special styling */
.problem-card {
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
  border: 2px solid #e5e7eb;
  padding: 2rem 1.8rem;
  padding-top: 6rem;
  padding-bottom: 2rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible;
  position: relative;
  min-height: 280px;
}

.problem-card:last-child {
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.problem-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(15, 139, 141, 0.15);
  border-color: var(--primary);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
  filter: grayscale(0.3);
}

.problem-card:hover .card-icon {
  transform: scale(1.2) rotate(-5deg);
  filter: grayscale(0);
}

.card-icon-pro {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.08) 0%, rgba(245, 166, 35, 0.08) 100%);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  overflow: hidden;
  padding: 1.2rem;
}

.card-icon-pro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 18px;
}

.problem-card:hover .card-icon-pro::before {
  opacity: 0.12;
}

.card-icon-pro .icon-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.85;
}

.problem-card:hover .card-icon-pro {
  transform: scale(1.12) translateY(-8px);
  box-shadow: 0 12px 30px rgba(15, 139, 141, 0.2);
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.15) 0%, rgba(245, 166, 35, 0.12) 100%);
}

.problem-card:hover .card-icon-pro .icon-img {
  transform: scale(1.08);
  opacity: 1;
}

.problem-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
  padding-right: 140px;
  margin-top: 0;
}

.problem-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================
   REVOLUTION SECTION
   ============================================ */

.revolution-section {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  position: relative;
  overflow: hidden;
}

.revolution-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

.revolution-section .section-header h2 {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 3rem;
}

.revolution-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 968px) {
  .revolution-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.revolution-card {
  background: white;
  padding: 2.5rem 1.8rem;
  border-radius: 1.2rem;
  text-align: center;
  border: 2px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.revolution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.revolution-card:hover::before {
  transform: scaleX(1);
}

.revolution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(15, 139, 141, 0.2);
  border-color: var(--primary);
}

.revolution-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.1) 0%, rgba(245, 166, 35, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
}

.revolution-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.revolution-card:hover .revolution-icon::before {
  opacity: 0.3;
}

.revolution-card:hover .revolution-icon {
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.15) 0%, rgba(245, 166, 35, 0.15) 100%);
}

.revolution-icon svg {
  color: var(--primary);
  transition: all 0.4s ease;
}

.revolution-card:hover .revolution-icon svg {
  color: var(--accent);
  transform: scale(1.1);
}

.revolution-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  line-height: 1.3;
}

.revolution-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Flip Card Styles */
.revolution-card-flip {
  perspective: 1000px;
  height: 350px;
  cursor: pointer;
}

.revolution-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.revolution-card-flip.flipped .revolution-card-inner {
  transform: rotateY(180deg);
}

.revolution-card-front,
.revolution-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.revolution-card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.revolution-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.revolution-card-back h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.revolution-card-back .card-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-main);
  text-align: left;
}

.flip-hint {
  position: absolute;
  bottom: 1rem;
  font-size: 0.75rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 500;
}

.revolution-card-flip:hover .flip-hint {
  opacity: 1;
}

@media (max-width: 768px) {
  .revolution-card-flip {
    height: 320px;
  }

  .revolution-card-back {
    padding: 1.5rem 1.2rem;
  }

  .revolution-card-back h3 {
    font-size: 1.1rem;
  }

  .revolution-card-back .card-description {
    font-size: 0.85rem;
  }

  .flip-hint {
    opacity: 1;
    position: static;
    margin-top: 0.8rem;
  }
}

/* ============================================
   TIMELINE SECTION
   ============================================ */

.subsection-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  width: 100%;
}

.subsection-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.timeline {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
  overflow: visible;
}

@media (min-width: 968px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    overflow: visible;
    padding: 0 2rem;
  }
}

.timeline-item {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 1.2rem;
  padding: 2.5rem 2rem;
  border: 2px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible;
  z-index: 1;
}

@media (min-width: 968px) {
  .timeline-item {
    border-radius: 1.2rem;
  }
}

.timeline-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 139, 141, 0.2);
  border-color: var(--primary);
  z-index: 10;
}

.timeline-number {
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-size: 7rem;
  font-weight: 900;
  color: rgba(15, 139, 141, 0.08);
  line-height: 1;
  pointer-events: none;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-number {
  color: rgba(15, 139, 141, 0.15);
  transform: scale(1.1);
}

.timeline-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.15) rotate(5deg);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.timeline-arrow {
  display: none;
}

@media (min-width: 968px) {
  .timeline-arrow {
    display: flex;
    position: absolute;
    right: calc(-1.5rem - 1.5rem);
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary);
    z-index: 100;
    background: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(15, 139, 141, 0.2);
    animation: pulse 2s ease-in-out infinite;
  }

  .timeline-item:last-child .timeline-arrow {
    display: none;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  50% {
    transform: translateY(-50%) scale(1.1);
  }
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
  border: 2px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(245, 166, 35, 0.2);
  border-color: var(--accent);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1.2rem;
  display: inline-block;
  transition: transform 0.3s ease;
  filter: grayscale(0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(-10deg);
  filter: grayscale(0);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================
   BEHIND THE SCENES / OD KUCHNI
   ============================================ */

.behind-scenes {
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  position: relative;
  background:
    linear-gradient(to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.95) 35%,
      rgba(255, 255, 255, 0.65) 55%,
      rgba(255, 255, 255, 0.3) 70%,
      rgba(255, 255, 255, 0) 85%),
    url("assets/flow.png");
  background-color: #f5f7fa;
  background-position: 100% 0%;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
}

@media (max-width: 768px) {
  .behind-scenes {
    padding: 2rem 1.5rem;
    background:
      linear-gradient(to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 55%,
        rgba(255, 255, 255, 0.70) 75%,
        rgba(255, 255, 255, 0.3) 90%),
      url("assets/flow.png");
    background-color: #f5f7fa;
    background-position: 50% 0%;
    background-size: cover;
    background-repeat: no-repeat;
  }
}

.behind-scenes-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 50px;
  bottom: 50px;
  width: 2px;
  background: linear-gradient(180deg,
      var(--primary) 0%,
      var(--accent) 50%,
      var(--primary) 100%);
  opacity: 0.2;
  z-index: 0;
}

@media (max-width: 640px) {
  .process-steps::before {
    left: 14px;
  }
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateX(8px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(15, 139, 141, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.process-step:hover .step-number::after {
  opacity: 0.3;
}

@media (max-width: 640px) {
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }
}

.step-content {
  flex: 1;
  padding-top: 0.2rem;
}

.step-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.process-step:hover .step-content h4 {
  color: var(--primary);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   LOGO BAR
   ============================================ */

.logo-bar {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 3rem 1.25rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
}

.logo-bar-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 600;
}

.logo-carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

@media (min-width: 640px) {
  .logo-carousel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .logo-carousel {
    grid-template-columns: repeat(6, 1fr);
  }
}

.logo-carousel:hover {
  opacity: 1;
}

.logo-item {
  padding: 0.25rem;
  /* Minimalny padding */
  background: #fff;
  border-radius: 0.8rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  /* Stała wysokość boksu */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  /* Zabezpieczenie przed wylewaniem */
}

.logo-item img {
  max-height: 95%;
  /* Prawie pełna wysokość */
  /* Logo zajmuje 80% wysokości boksu */
  max-width: 95%;
  /* Prawie pełna szerokość */
  /* Logo zajmuje 90% szerokości boksu */
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(15, 139, 141, 0.15);
}

/* Featured Product Section */
.featured-product {
  margin-bottom: 4rem;
  background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(245, 166, 35, 0.15);
  border: 2px solid var(--accent);
  position: relative;
}

.featured-badge-top {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-content {
  display: grid;
  gap: 2rem;
  padding: 2.5rem;
}

@media (min-width: 968px) {
  .featured-content {
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
  }
}

.featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.05);
}

.featured-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.partner-logo {
  display: inline-block;
}

.partner-name {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  background: #fff;
  border-radius: 0.5rem;
  border: 2px solid var(--primary);
}

.product-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.product-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.price-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.old-price {
  font-size: 1.1rem;
  color: #999;
  text-decoration: line-through;
}

.new-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.discount-badge {
  display: inline-block;
  background: #ef4444;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.promo-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

.btn-featured {
  width: fit-content;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(15, 139, 141, 0.25);
}

.btn-featured:hover {
  box-shadow: 0 12px 30px rgba(15, 139, 141, 0.35);
}

/* Partners Section (existing logos) */
.partners-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid #e5e7eb;
}

/* Parts Gallery */
.parts-gallery {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 968px) {
  .parts-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.parts-photo {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: #fff;
}

.parts-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.05) 0%, rgba(245, 166, 35, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.parts-photo:hover::before {
  opacity: 1;
}

.parts-photo:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 139, 141, 0.2);
}

.parts-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.parts-photo:hover img {
  transform: scale(1.05);
}

/* ============================================
   SAVINGS COMPARISON SECTION
   ============================================ */

.savings-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.savings-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--primary), transparent);
}

.savings-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .savings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.savings-card {
  background: white;
  border-radius: 1.2rem;
  padding: 2.5rem 2rem;
  border: 2px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.savings-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #f3b447);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.savings-card:hover::before {
  transform: scaleX(1);
}

.savings-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(245, 166, 35, 0.25);
  border-color: var(--accent);
}

.savings-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
  filter: grayscale(0.2);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.savings-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.savings-card:hover .savings-icon {
  transform: scale(1.15) rotate(-5deg);
  filter: grayscale(0);
}

.savings-card:hover .savings-icon-img {
  transform: scale(1.1);
}

.savings-product {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.savings-car {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.savings-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.savings-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.8rem 0 0.2rem 0;
  font-weight: 500;
}

.price-old {
  font-size: 1.4rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 600;
  margin: 0;
}

.price-our {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.2;
}

.savings-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
  padding: 1rem 1.2rem;
  border-radius: 0.75rem;
  border: 2px solid #86efac;
  margin-top: 0.5rem;
}

.savings-amount {
  font-size: 1.05rem;
  font-weight: 700;
  color: #15803d;
}

.savings-percent {
  font-size: 1.8rem;
  font-weight: 900;
  color: #15803d;
}

.savings-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.savings-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #10b981);
  border-radius: 999px;
  transition: width 1s ease;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.savings-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 2rem 0 0 0;
  line-height: 1.6;
}

/* ============================================
   KPI ROW - ENHANCED
   ============================================ */

.kpi-row {
  display: grid;
  gap: 2rem;
  margin-top: 0rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .kpi-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kpi {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
  border-radius: 1.2rem;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
  border: 2px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.kpi:hover::before {
  transform: scaleX(1);
}

.kpi:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 50px rgba(15, 139, 141, 0.2);
  border-color: var(--primary);
}

.kpi-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
  filter: grayscale(0.3);
}

.kpi:hover .kpi-icon {
  transform: scale(1.2) rotate(-5deg);
  filter: grayscale(0);
}

.kpi strong {
  font-size: 2.8rem;
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.kpi span {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}

/* ============================================
   TRUST ROW
   ============================================ */

.trust-row {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .trust-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(15, 139, 141, 0.03);
  border-radius: 0.8rem;
  border: 1px solid rgba(15, 139, 141, 0.1);
  transition: all 0.3s ease;
}

.trust-item:hover {
  background: rgba(15, 139, 141, 0.05);
  border-color: var(--primary);
  transform: translateX(5px);
}

.trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 139, 141, 0.3);
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.trust-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
  border-radius: 1.2rem;
  padding: 2rem;
  border: 2px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 139, 141, 0.15);
  border-color: var(--primary);
}

.testimonial-card.featured {
  border-color: var(--accent);
  box-shadow: 0 12px 35px rgba(245, 166, 35, 0.2);
  background: linear-gradient(135deg, #fffef9 0%, #ffffff 100%);
}

.testimonial-card.featured:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 60px rgba(245, 166, 35, 0.3);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #f3b447);
  color: #222;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
  white-space: nowrap;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 139, 141, 0.3);
}

.testimonial-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-meta strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.testimonial-meta span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-stars {
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-content {
  flex: 1;
}

.testimonial-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  margin: 0;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  background: rgba(15, 139, 141, 0.08);
  border-radius: 999px;
  width: fit-content;
}

.testimonial-badge::before {
  content: '✓';
  font-weight: 900;
}

/* Testimonials Summary */
.testimonials-summary {
  display: grid;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 1.2rem;
  box-shadow: 0 12px 35px rgba(15, 139, 141, 0.25);
}

@media (min-width: 768px) {
  .testimonials-summary {
    grid-template-columns: repeat(3, 1fr);
  }
}

.summary-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: white;
}

.summary-stat strong {
  font-size: 2.5rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.summary-stat span {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Old Blockquote (fallback) */
blockquote {
  margin: 0;
  padding: 1.5rem 1.5rem;
  background: #f9fafb;
  border-left: 4px solid var(--primary);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

blockquote footer {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.9rem;
}

/* About Section */
#o-nas {
  background:
    linear-gradient(to right,
      rgba(245, 247, 250, 1) 0%,
      rgba(245, 247, 250, 1) 45%,
      rgba(245, 247, 250, 0.7) 60%,
      rgba(245, 247, 250, 0.3) 75%,
      rgba(245, 247, 250, 0) 100%),
    url("assets/service.png") right center / cover no-repeat;
  background-color: #f5f7fa;
}

@media (max-width: 768px) {
  #o-nas {
    background:
      linear-gradient(to bottom,
        rgba(245, 247, 250, 1) 0%,
        rgba(245, 247, 250, 1) 60%,
        rgba(245, 247, 250, 0.5) 80%,
        rgba(245, 247, 250, 0) 100%),
      url("assets/service.png") bottom center / cover no-repeat;
    background-color: #f5f7fa;
  }
}

.about {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .about {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }
}

.about-compact {
  max-width: 900px;
  margin: 0 auto;
}

.about-compact h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.lead-full {
  color: var(--text-muted);
  max-width: none !important;
  margin: 0 0 2rem 0 !important;
  font-size: 1.1rem;
  line-height: 1.75;
}

.values-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.value-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(15, 139, 141, 0.15);
  border-color: var(--primary);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(15, 139, 141, 0.3);
}

.value-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion-item {
  background: white;
  border-radius: 1rem;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-accordion-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(15, 139, 141, 0.1);
}

.faq-accordion-item.active {
  border-color: var(--primary);
  box-shadow: 0 12px 35px rgba(15, 139, 141, 0.15);
}

.faq-accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.faq-accordion-header:hover {
  background: rgba(15, 139, 141, 0.03);
}

.faq-accordion-item.active .faq-accordion-header {
  background: rgba(15, 139, 141, 0.05);
}

.faq-number {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  min-width: 2.5rem;
  height: 2.5rem;
  background: rgba(15, 139, 141, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-accordion-item.active .faq-number {
  background: var(--primary);
  color: white;
}

.faq-question {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.faq-icon {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-accordion-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-accordion-item.active .faq-accordion-content {
  max-height: 500px;
}

.faq-accordion-content p {
  padding: 0 1.8rem 1.5rem 6.3rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .faq-accordion-content p {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .faq-number {
    display: none;
  }
}

/* Old FAQ (fallback) */
.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

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

/* Final CTA */
.cta-final h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-final p {
  color: #d1d5db;
  max-width: 650px;
  font-size: 1.05rem;
}

.cta-header {
  margin-bottom: 2.5rem;
}

.cta-header h2 {
  margin-bottom: 1rem;
}

.cta-header p {
  margin-bottom: 0;
}

/* Form Layout with Image */
.form-layout {
  display: grid;
  gap: 3rem;
  align-items: stretch;
}

@media (min-width: 968px) {
  .form-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.form-column {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-image-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 auto;
  object-fit: cover;
}

.form-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.image-caption {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.image-caption strong {
  display: block;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.image-caption p {
  font-size: 0.95rem;
  color: #d1d5db;
  margin: 0;
  line-height: 1.5;
}

/* Forms */
form {
  display: grid;
  gap: 1.2rem;
  max-width: 100%;
}

.btn-large {
  width: 100%;
  padding: 1.2rem 2rem;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.form-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-benefit {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #d1d5db;
  font-weight: 500;
}

.form-benefit::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}

label {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  display: block;
  font-weight: 500;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font: inherit;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select option {
  background: #1a1a1a;
  color: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Parcel Locker Card */
.parcel-locker-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.parcel-locker-card h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0;
  font-weight: 600;
}

.parcel-description {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.6;
  margin: 0;
}

.map-container {
  width: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  display: block;
  width: 100%;
}

.parcel-hint {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0;
  line-height: 1.5;
  text-align: center;
}

.small-text {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0.8rem;
  line-height: 1.5;
}

.small-text a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-info {
  margin-top: 1.2rem;
}

/* Footer */
footer {
  background: #020617;
  color: #9ca3af;
  padding: 2rem 1.25rem;
  font-size: 0.85rem;
}

footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.social-btn svg {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-fb {
  background: rgba(24, 119, 242, 0.15);
  color: #1877F2;
  border: 2px solid rgba(24, 119, 242, 0.3);
}

.social-fb:hover {
  background: #1877F2;
  color: white;
  border-color: #1877F2;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.social-ig {
  background: rgba(225, 48, 108, 0.15);
  color: #E1306C;
  border: 2px solid rgba(225, 48, 108, 0.3);
}

.social-ig:hover {
  background: linear-gradient(135deg, #E1306C, #F56040, #FCAF45);
  color: white;
  border-color: transparent;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.social-btn:hover::before {
  opacity: 0.1;
}

@media (max-width: 768px) {
  footer .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--primary);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 3rem;
  flex-shrink: 0;
  animation: cookieBounce 2s ease-in-out infinite;
}

@keyframes cookieBounce {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(10deg);
  }
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 4px 15px rgba(15, 139, 141, 0.3);
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 139, 141, 0.4);
}

.cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid #e5e7eb;
}

.cookie-decline:hover {
  background: #f9fafb;
  border-color: var(--text-muted);
  color: var(--text-main);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-icon {
    font-size: 2.5rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating CTA - sticky button that appears on scroll */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;

  /* Mobile: full width sticky button */
  display: block;
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 -4px 20px rgba(15, 139, 141, 0.3);
  border-radius: 0;
  margin: 0;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Desktop: centered button with rounded corners */
@media (min-width: 769px) {
  .floating-cta {
    display: block;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(100%);
    width: auto;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-size: 1.05rem;
    box-shadow: 0 4px 25px rgba(15, 139, 141, 0.4);
    bottom: 2rem;
  }

  .floating-cta.visible {
    transform: translateX(-50%) translateY(0);
  }
}

/* Banner Promocyjny (Polecamy w tym tygodniu) */
.banner-wrapper {
  position: relative;
  border-radius: 0 0 1.5rem 1.5rem;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 3rem 0 12rem;
  /* Odsunięcie od logo ENEOS na desktopie */
  z-index: 10;
}

.banner-btn {
  min-width: 160px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.3);
  color: #f5a623;
  border: 2px solid #f5a623;
  font-weight: 800;
  backdrop-filter: blur(2px);
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.banner-btn:hover {
  background: #f5a623;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.4);
}

/* Responsywność Bannera */
@media (max-width: 768px) {
  .banner-wrapper {
    border-radius: 0 0 1rem 1rem;
    /* Mniejsze zaokrąglenie na mobile */
  }

  .banner-overlay {
    position: relative;
    /* Przycisk spada pod obrazek */
    bottom: auto;
    left: auto;
    right: auto;
    padding: 1rem;
    background: #fff;
    /* Białe tło pod bannerem */
    justify-content: center;
    /* Wyśrodkowanie */
    border-top: 1px solid #f0f0f0;
  }

  .banner-btn {
    width: 100%;
    /* Pełna szerokość przycisku */
    background: #f5a623;
    /* Pełny kolor dla lepszej widoczności */
    color: #fff;
    border: none;
    font-size: 1.1rem;
    padding: 1rem;
    backdrop-filter: none;
  }

  .banner-btn:hover {
    transform: none;
    background: #e09612;
  }
}