/* Kodnik – zwierzaki na pierwszy strzał. Paleta: głęboki morski + bursztyn + turkus. */

:root {
  --bg: #0d0a0a;
  --bg-card: rgba(20, 14, 10, 0.92);
  --bg-alt: #120d0a;
  --border: rgba(255, 120, 50, 0.3);
  --text: #f0ebe6;
  --text-muted: #b8a99a;
  --accent: #f7931e;
  --accent-amber: #ffb347;
  --accent-fire: #ff6b35;
  --accent-mamut: #e8a84c;
  --accent-malpa: #4db8a8;
  --accent-soft: rgba(255, 107, 53, 0.15);
  --glow-mamut: rgba(232, 168, 76, 0.5);
  --glow-malpa: rgba(77, 184, 168, 0.45);
  --fire-glow: rgba(255, 107, 53, 0.25);
  --code-bg: #0d1219;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.2s;
  --dur-normal: 0.35s;
  --dur-slow: 0.5s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 120, 50, 0.5) var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  position: relative;
  min-height: 100vh;
}

::selection {
  background: rgba(255, 140, 50, 0.35);
  color: var(--text);
}

html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: var(--bg);
}
html::-webkit-scrollbar-thumb {
  background: rgba(255, 120, 50, 0.4);
  border-radius: 5px;
  border: 2px solid var(--bg);
}
html::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 140, 50, 0.55);
}

/* ========== TŁO – OGIŃ NA TŁO (wyraźny, animowany) ========== */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-base {
  position: absolute;
  inset: 0;
  background: #080605;
}

/* Warstwa ognia 1 – główny blask od góry */
.bg-fire--1 {
  position: absolute;
  inset: -20% -10% 0 -10%;
  background: radial-gradient(
    ellipse 120% 100% at 50% -30%,
    rgba(255, 60, 20, 0.55) 0%,
    rgba(255, 100, 40, 0.4) 25%,
    rgba(255, 140, 50, 0.25) 45%,
    transparent 70%
  );
  animation: fire-flicker-1 4s ease-in-out infinite;
}

/* Warstwa ognia 2 – ruch w lewo-prawo */
.bg-fire--2 {
  position: absolute;
  inset: -15% -15% 10% -15%;
  background: radial-gradient(
    ellipse 80% 70% at 40% 0%,
    rgba(255, 90, 30, 0.45) 0%,
    rgba(255, 130, 50, 0.3) 35%,
    transparent 60%
  );
  animation: fire-flicker-2 5s ease-in-out infinite;
}

.bg-fire--3 {
  position: absolute;
  inset: -15% -15% 10% -15%;
  background: radial-gradient(
    ellipse 75% 65% at 60% -10%,
    rgba(255, 120, 40, 0.4) 0%,
    rgba(255, 160, 60, 0.25) 40%,
    transparent 65%
  );
  animation: fire-flicker-3 6s ease-in-out infinite;
}

/* Warstwa 4 – głębszy żar, wolniejsza animacja */
.bg-fire--4 {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 90% at 50% -20%,
    rgba(200, 50, 10, 0.35) 0%,
    rgba(255, 80, 25, 0.2) 30%,
    transparent 55%
  );
  animation: fire-flicker-4 7s ease-in-out infinite;
}

@keyframes fire-flicker-1 {
  0%, 100% { opacity: 1; transform: scale(1) translateY(0); }
  33% { opacity: 0.85; transform: scale(1.05) translateY(-1%); }
  66% { opacity: 0.95; transform: scale(0.98) translateY(1%); }
}

@keyframes fire-flicker-2 {
  0%, 100% { opacity: 0.9; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(3%); }
}

@keyframes fire-flicker-3 {
  0%, 100% { opacity: 0.85; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-2%); }
}

@keyframes fire-flicker-4 {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Miękka poświata – łączy ogień z resztą */
.bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(255, 100, 40, 0.15), transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 60%, rgba(232, 168, 76, 0.08), transparent 45%),
    radial-gradient(ellipse 50% 30% at 20% 70%, rgba(255, 107, 53, 0.06), transparent 40%);
  animation: bg-fire-pulse 8s ease-in-out infinite;
}

@keyframes bg-fire-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}

/* Siatka tech – subtelna, premium */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 100, 40, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 100, 40, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 20%, transparent 70%);
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header – glass */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 6, 5, 0.88);
  border-bottom: 1px solid rgba(255, 107, 53, 0.25);
  backdrop-filter: blur(14px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s, text-shadow 0.2s;
  background: transparent;
  border: none;
  padding: 0;
}

.logo:hover {
  color: var(--accent-amber);
}

.logo:hover .logo-text {
  text-shadow: 0 0 16px var(--fire-glow), 0 0 24px rgba(255, 140, 50, 0.5);
}

.logo:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 4px;
}

.logo-img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out-expo), filter var(--dur-fast);
  filter: brightness(1.15) drop-shadow(0 0 6px rgba(255, 180, 80, 0.35));
}

.logo-svg,
.logo-svg--fallback {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out-expo), filter var(--dur-fast);
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2));
}

.logo:hover .logo-img,
.logo:hover .logo-svg {
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.4));
}

/* Napis „Kodnik” – ten sam styl wszędzie (strona, program): JetBrains Mono, bold, bursztyn */
.logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: inherit;
  color: inherit;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(255, 200, 120, 0.35);
}

/* Fallback gdy brak pliku logo – ukryj img, pokaż tekst z ikoną */
.logo .logo-icon-fallback {
  display: none;
}

.beta-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  background: rgba(255, 140, 50, 0.15);
  border: 1px solid rgba(255, 140, 50, 0.4);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .beta-badge {
    font-size: 0.65rem;
    padding: 0.28rem 0.5rem;
  }
}

@media (max-width: 520px) {
  .beta-badge {
    display: none;
  }
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  transition: color var(--dur-normal) var(--ease-out-expo);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-fire), var(--accent-amber));
  transition: width var(--dur-normal) var(--ease-out-expo);
}

.nav a:hover { color: var(--accent-amber); }
.nav a:hover::after { width: 100%; }
.nav a:focus-visible { outline: 2px solid var(--accent-amber); outline-offset: 4px; }

/* Hero – wejście z opóźnieniem */
.hero {
  padding: 3.5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Żary – subtelne kule ognia w tle hero */
.hero-ember {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-ember--1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 100, 40, 0.2) 0%, transparent 70%);
  top: -80px;
  left: 50%;
  margin-left: -160px;
  animation: ember-float 8s ease-in-out infinite;
}

.hero-ember--2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 140, 50, 0.18) 0%, transparent 70%);
  top: 30%;
  left: 15%;
  animation: ember-float 10s ease-in-out infinite 1s;
}

.hero-ember--3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 120, 40, 0.15) 0%, transparent 70%);
  top: 25%;
  right: 10%;
  animation: ember-float 9s ease-in-out infinite 2s;
}

@keyframes ember-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  33% { transform: translate(3%, -2%) scale(1.05); opacity: 1; }
  66% { transform: translate(-2%, 2%) scale(0.98); opacity: 0.85; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .hero-label { animation: fade-up 0.8s var(--ease-out-expo) both; }
.hero .hero-title-row { animation: fade-up 0.9s 0.1s var(--ease-out-expo) both; }
.hero .hero-beta { animation: fade-up 0.9s 0.15s var(--ease-out-expo) both; }
.hero .hero-tagline { animation: fade-up 0.9s 0.2s var(--ease-out-expo) both; }
.hero .hero-zwierzaki { animation: fade-up 1s 0.35s var(--ease-out-expo) both; }
.hero .plusy-strip { animation: fade-up 0.8s 0.5s var(--ease-out-expo) both; }
.hero .hero-cta { animation: fade-up 0.8s 0.6s var(--ease-out-expo) both; }

.hero-card:nth-child(1) { animation: fade-up 0.9s 0.45s var(--ease-out-expo) both; }
.hero-card:nth-child(2) { animation: fade-up 0.9s 0.55s var(--ease-out-expo) both; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
  margin: 0 0 0.5rem;
  opacity: 0.95;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 1.25rem);
  margin: 0 0 0.5rem;
  flex-wrap: wrap;
}

.hero-logo-img {
  display: block;
  max-width: min(280px, 70vw);
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 40px rgba(255, 180, 80, 0.15));
}

.hero-title-icon {
  display: block;
  width: clamp(48px, 10vw, 64px);
  height: clamp(48px, 10vw, 64px);
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 24px rgba(255, 180, 80, 0.2)) brightness(1.1);
}

.hero-title-icon-svg,
.hero-title-icon-svg--fallback {
  display: block;
  width: clamp(48px, 10vw, 64px);
  height: clamp(48px, 10vw, 64px);
  flex-shrink: 0;
  color: #fff;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(255, 180, 80, 0.25));
}


.hero-title {
  font-size: clamp(3.2rem, 11vw, 5rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.04em;
  color: #fff;
  font-family: var(--font-mono);
  text-shadow:
    0 0 20px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 140, 50, 0.25);
}

.hero-beta {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
  margin: 0 0 0.25rem;
  opacity: 0.95;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-tagline strong {
  color: var(--accent);
}

/* Hero – zwierzaki na pierwszy strzał */
.hero-zwierzaki {
  margin: 2rem 0 2.5rem;
}

.hero-zwierzaki-title {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 740px;
  margin: 0 auto;
  perspective: 1200px;
}

.hero-card {
  text-align: left;
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform var(--dur-slow) var(--ease-out-expo), box-shadow var(--dur-slow) var(--ease-out-expo), border-color var(--dur-normal);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  transform: perspective(800px) rotateY(0deg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 55%, transparent 100%);
  background-size: 200% 100%;
  background-position: 200% 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-normal), background-position 0.6s var(--ease-out-expo);
}

.hero-card:hover {
  transform: perspective(800px) rotateY(-4deg) translateY(-8px) scale(1.02);
}

.hero-card:hover::before {
  opacity: 1;
  background-position: -100% 0;
}

.hero-card--mamut {
  border-color: rgba(255, 140, 50, 0.5);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(255, 140, 50, 0.2), 0 0 40px rgba(255, 107, 53, 0.08);
}

.hero-card--mamut:hover {
  box-shadow: 0 24px 56px rgba(0,0,0,0.4), 0 0 0 1px rgba(255, 140, 50, 0.35), 0 0 48px var(--glow-mamut), 0 0 80px rgba(255, 107, 53, 0.15);
}

.hero-card--malpa {
  border-color: rgba(77, 184, 168, 0.45);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(77, 184, 168, 0.15), 0 0 40px rgba(77, 184, 168, 0.06);
}

.hero-card--malpa:hover {
  box-shadow: 0 24px 56px rgba(0,0,0,0.4), 0 0 0 1px rgba(77, 184, 168, 0.3), 0 0 48px var(--glow-malpa);
}

.hero-card-icon {
  display: block;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  max-width: 3rem;
  min-height: 3rem;
  max-height: 3rem;
  margin-bottom: 0.75rem;
  color: inherit;
  transition: transform var(--dur-normal) var(--ease-out-expo);
  flex-shrink: 0;
  overflow: hidden;
}
.hero-card:hover .hero-card-icon {
  transform: scale(1.05);
}
.hero-card-icon svg {
  width: 100%;
  height: 100%;
  max-width: 3rem;
  max-height: 3rem;
  display: block;
}
.hero-card--mamut .hero-card-icon { color: var(--accent-mamut); }
.hero-card--malpa .hero-card-icon { color: var(--accent-malpa); }

.hero-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.hero-card-badge--live {
  background: linear-gradient(135deg, var(--accent-fire), var(--accent-amber));
  color: #0d0a0a;
}

.hero-card-badge--soon {
  background: linear-gradient(135deg, var(--accent-malpa), #5cc4b0);
  color: var(--bg);
}

.hero-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.hero-card--mamut h3 { color: var(--accent-mamut); text-shadow: 0 0 20px rgba(232, 168, 76, 0.3); }
.hero-card--malpa h3 { color: var(--accent-malpa); }

.hero-card-rola {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
}

.hero-card-opis {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.hero-card-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  list-style: none;
}

.hero-card-list li {
  margin-bottom: 0.35rem;
  position: relative;
}

.hero-card-list li::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-amber);
  opacity: 0.8;
}

.hero-card--mamut .hero-card-list li::before { background: var(--accent-mamut); }
.hero-card--malpa .hero-card-list li::before { background: var(--accent-malpa); }

/* Plusy strip */
.plusy-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
  margin-top: 1.5rem;
}

.plus-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-amber);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 107, 53, 0.4);
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  transition: background var(--dur-normal) var(--ease-out-expo), border-color var(--dur-normal), box-shadow var(--dur-normal), transform var(--dur-fast);
}

.plus-item:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 140, 50, 0.6);
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.2);
  transform: translateY(-1px);
}

.plus-item:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
}

.plus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  max-width: 1.15rem;
  min-height: 1.15rem;
  max-height: 1.15rem;
  flex-shrink: 0;
  overflow: hidden;
  color: var(--accent);
  transition: transform var(--dur-normal) var(--ease-out-expo);
}
.plus-item:hover .plus-icon {
  transform: scale(1.12);
}
.plus-icon svg {
  width: 100%;
  height: 100%;
  max-width: 1.15rem;
  max-height: 1.15rem;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.hero-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast);
}

.hero-cta:hover .hero-price {
  color: var(--accent-amber);
}

.hero-price em {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  font-style: normal;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-fire), var(--accent-amber));
  color: #0d0a0a;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  transition: filter var(--dur-normal) var(--ease-out-expo), transform var(--dur-normal) var(--ease-out-expo), box-shadow var(--dur-normal);
  border: none;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4), 0 0 24px rgba(255, 140, 50, 0.2);
}

.btn-cta:hover {
  filter: brightness(1.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.5), 0 0 40px rgba(255, 140, 50, 0.28);
}

.btn-cta:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 3px;
}

.btn-cta--hero {
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.45), 0 0 32px rgba(255, 140, 50, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-cta--hero::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent-fire), var(--accent-amber), var(--accent-fire));
  background-size: 200% 200%;
  animation: btn-border-glow 2.5s ease-in-out infinite;
  z-index: -1;
  opacity: 0.6;
  filter: blur(8px);
}

@keyframes btn-border-glow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Falisty separator */
.wave-wrap {
  position: relative;
  width: 100%;
  height: 80px;
  margin-top: -1px;
  overflow: hidden;
}

.wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wave-path--fire {
  fill: rgba(255, 80, 40, 0.12);
  animation: wave-shift 6s ease-in-out infinite;
}

.wave-path--dark {
  fill: var(--bg-alt);
  animation: wave-shift 8s ease-in-out infinite reverse;
}

.wave-path {
  transform-origin: center bottom;
}

@keyframes wave-shift {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-2%) scaleY(1.02); }
}

/* Sekcja: Nasze zalety vs inni – ogień w tle */
.section--fire {
  background: linear-gradient(180deg, rgba(255, 60, 20, 0.18) 0%, rgba(255, 80, 40, 0.1) 15%, var(--bg-alt) 100%);
  border-top: 1px solid rgba(255, 107, 53, 0.35);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
  position: relative;
}

.section--fire::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(255, 100, 40, 0.2), transparent 70%);
  pointer-events: none;
}

.vs-title {
  text-align: center;
  font-size: 1.9rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem !important;
}

.vs-lead {
  text-align: center;
  margin-bottom: 2rem !important;
  color: var(--accent-amber) !important;
  font-weight: 600;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .vs-grid { grid-template-columns: 1fr; }
}

.vs-card {
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  transition: transform var(--dur-normal) var(--ease-out-expo), box-shadow var(--dur-normal);
}

.vs-card:hover {
  transform: translateY(-3px);
}

.vs-card--us {
  border-color: rgba(255, 140, 50, 0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(255, 140, 50, 0.2), inset 0 1px 0 rgba(255,255,255,0.06), 0 0 40px rgba(255, 107, 53, 0.08);
  animation: vs-card-glow 5s ease-in-out infinite;
}

@keyframes vs-card-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(255, 140, 50, 0.2), inset 0 1px 0 rgba(255,255,255,0.06), 0 0 40px rgba(255, 107, 53, 0.08); }
  50% { box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255, 160, 60, 0.3), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 56px rgba(255, 107, 53, 0.14); }
}

.vs-card--us h3 {
  color: var(--accent-amber);
  font-size: 1.2rem;
  margin: 0 0 1rem;
}

.vs-card--them {
  border-color: rgba(255,255,255,0.08);
  opacity: 0.95;
}

.vs-card--them h3 {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.vs-card ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.vs-card ul li {
  margin-bottom: 0.3rem;
}

.vs-card--us ul li::marker {
  color: var(--accent-amber);
}

.vs-card--us ul li { color: var(--text); }
.vs-card--us ul strong { color: var(--accent-amber); }

/* Sekcja Duże plusy */
.plusy-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  animation: section-reveal 1s 0.5s var(--ease-out-expo) both;
}

.plusy-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 1.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.plusy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.plusy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: border-color var(--dur-normal), box-shadow var(--dur-slow) var(--ease-out-expo), transform var(--dur-normal) var(--ease-out-expo);
}

.plusy-card:hover {
  border-color: rgba(255, 140, 50, 0.5);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25), 0 0 24px rgba(255, 107, 53, 0.1);
  transform: translateY(-2px);
}

.plusy-card-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  max-width: 2.25rem;
  min-height: 2.25rem;
  max-height: 2.25rem;
  margin: 0 auto 0.6rem;
  overflow: hidden;
  color: var(--accent);
  transition: transform var(--dur-normal) var(--ease-out-expo), color var(--dur-fast);
}
.plusy-card:hover .plusy-card-icon {
  transform: scale(1.08);
  color: var(--accent-amber);
}
.plusy-card-icon svg {
  width: 100%;
  height: 100%;
  max-width: 2.25rem;
  max-height: 2.25rem;
}

.plusy-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--accent-amber);
}

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

/* Sections – wejście z lekkim opóźnieniem */
.section {
  padding: 3.5rem 0;
  animation: section-reveal 1s 0.4s var(--ease-out-expo) both;
}

@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section--alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section h2 + .section-lead {
  margin-top: 0.25rem;
}

.section-lead {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.beta-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1rem 0 0.35rem;
  color: var(--text-muted);
}

.section--compact {
  padding: 2rem 0;
}

/* Intro cards */
.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem 1.6rem;
  backdrop-filter: blur(6px);
  transition: border-color var(--dur-normal), box-shadow var(--dur-normal) var(--ease-out-expo);
}

.card:hover {
  border-color: rgba(255, 140, 50, 0.35);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.card p {
  margin: 0;
  color: var(--text);
}

.card code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--code-bg);
  padding: 0.18em 0.5em;
  border-radius: 6px;
  color: var(--accent-amber);
  transition: color var(--dur-fast), background var(--dur-fast);
}

.card:hover code {
  color: var(--accent);
}

/* Zwierzaki grid – wszystkie 4 */
.zwierzaki-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  perspective: 1000px;
}

.zwierzak-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color var(--dur-normal), box-shadow var(--dur-slow) var(--ease-out-expo), transform var(--dur-slow) var(--ease-out-expo);
  position: relative;
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  transform: translateZ(0);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.zwierzak-card:hover {
  transform: translateY(-6px) translateZ(8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 32px rgba(255, 107, 53, 0.08);
}

.zwierzak-card:focus-within {
  outline: 2px solid rgba(255, 140, 50, 0.5);
  outline-offset: 2px;
}

.zwierzak-card--mamut {
  border-color: rgba(255, 140, 50, 0.45);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(255, 140, 50, 0.15);
}

.zwierzak-card--mamut:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 28px var(--glow-mamut), 0 0 48px rgba(255, 107, 53, 0.12);
}

.zwierzak-card--malpa {
  border-color: rgba(77, 184, 168, 0.4);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(77, 184, 168, 0.12);
}

.zwierzak-card--malpa:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 0 28px var(--glow-malpa);
}

.zwierzak-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
}

.zwierzak-badge--live {
  background: linear-gradient(135deg, var(--accent-fire), var(--accent-amber));
  color: #0d0a0a;
}

.zwierzak-badge--soon {
  background: linear-gradient(135deg, var(--accent-malpa), #5cc4b0);
  color: var(--bg);
}

.zwierzak-card--soon {
  opacity: 0.88;
}

.zwierzak-icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  max-width: 2.5rem;
  min-height: 2.5rem;
  max-height: 2.5rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
  color: inherit;
  transition: transform var(--dur-normal) var(--ease-out-expo);
  flex-shrink: 0;
}
.zwierzak-card:hover .zwierzak-icon {
  transform: scale(1.06);
}
.zwierzak-icon svg {
  width: 100%;
  height: 100%;
  max-width: 2.5rem;
  max-height: 2.5rem;
}
.zwierzak-card--mamut .zwierzak-icon { color: var(--accent-mamut); }
.zwierzak-card--malpa .zwierzak-icon { color: var(--accent-malpa); }
.zwierzak-card--soon .zwierzak-icon { color: var(--text-muted); opacity: 0.8; }

.zwierzak-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  color: var(--text);
}

.zwierzak-card--mamut h3 { color: var(--accent-mamut); }
.zwierzak-card--malpa h3 { color: var(--accent-malpa); }

.zwierzak-rola {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

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

.zwierzak-card--soon .zwierzak-opis {
  font-style: italic;
}

/* Oferta – flow, benefits, offer box */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.35rem;
  backdrop-filter: blur(6px);
  transition: border-color var(--dur-normal), box-shadow var(--dur-normal) var(--ease-out-expo);
}

.flow-step:hover {
  border-color: rgba(255, 140, 50, 0.35);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.flow-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-fire), var(--accent-amber));
  color: #0d0a0a;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 2px 8px rgba(255, 80, 40, 0.2);
  transition: transform var(--dur-fast) var(--ease-out-expo), box-shadow var(--dur-normal);
}

.flow-step:hover .flow-num {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 3px 12px rgba(255, 107, 53, 0.3);
  transform: scale(1.05);
}

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

.offer-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1.5rem 0 0.35rem;
  color: var(--text);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: border-color var(--dur-normal), box-shadow var(--dur-normal) var(--ease-out-expo), transform var(--dur-normal) var(--ease-out-expo);
}

.benefit-card:hover {
  border-color: rgba(255, 140, 50, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.benefit-icon {
  display: block;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  max-width: 2rem;
  min-height: 2rem;
  max-height: 2rem;
  margin: 0 auto 0.5rem;
  overflow: hidden;
  color: var(--accent);
  transition: transform var(--dur-normal) var(--ease-out-expo), color var(--dur-fast);
}
.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
  color: var(--accent-amber);
}
.benefit-icon svg {
  width: 100%;
  height: 100%;
  max-width: 2rem;
  max-height: 2rem;
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text);
}

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

.offer-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 140, 50, 0.4);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.2), 0 12px 32px rgba(0,0,0,0.3), 0 0 40px rgba(255, 107, 53, 0.06), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color var(--dur-normal), box-shadow var(--dur-normal) var(--ease-out-expo);
}

.offer-box:hover {
  border-color: rgba(255, 160, 60, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 120, 50, 0.25), 0 16px 40px rgba(0,0,0,0.35), 0 0 48px rgba(255, 107, 53, 0.08);
}

.offer-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}

.offer-price em {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  font-style: normal;
}

.offer-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
}

.offer-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0.5rem;
  line-height: 1.45;
}

.link-cta {
  color: var(--accent-amber);
  font-weight: 600;
  text-decoration: none;
}

.link-cta:hover {
  color: var(--accent);
  text-decoration: underline;
}

.link-cta:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
  border-radius: 2px;
}

.link-cta--small {
  font-size: 0.92rem;
  display: inline-block;
  margin-top: 0.35rem;
}

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

/* Regulamin i płatności */
.regulamin-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.regulamin-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(6px);
  transition: border-color var(--dur-normal);
}

.regulamin-block:hover {
  border-color: rgba(255, 140, 50, 0.35);
}

.regulamin-block--highlight {
  border-color: rgba(255, 107, 53, 0.45);
  background: rgba(255, 80, 40, 0.06);
}

.regulamin-block--highlight:hover {
  border-color: rgba(255, 140, 50, 0.5);
}

.regulamin-block a {
  color: var(--accent-amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.regulamin-block a:hover {
  color: var(--accent);
}

.regulamin-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--accent-amber);
}

.regulamin-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
}

.regulamin-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Pipeline, tech list */
.pipeline-list {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--text);
}

.pipeline-list li {
  margin-bottom: 0.6rem;
}

.pipeline-list strong {
  color: var(--accent);
}

.tech-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tech-list {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text);
}

.tech-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 0.25rem;
}

.tech-list li::marker {
  color: var(--accent-amber);
}

/* Footer */
.footer {
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.12) 100%);
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--accent-amber);
  text-decoration: none;
  font-weight: 500;
}

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

.footer-sep {
  margin: 0 0.5rem;
  opacity: 0.6;
}

.footer-copy {
  margin-top: 0.75rem !important;
  font-size: 0.8rem !important;
  opacity: 0.85;
  letter-spacing: 0.02em;
}
