/* ============================================
   RESET & ROOT
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-main: #0f0f0f;
  --bg-card: #1a1a1a;
  --bg-elevated: #242424;
  --text-primary: #f5f0e8;
  --text-secondary: #b8b0a0;
  --text-muted: #6b6560;
  --accent: #c8b89a;
  --accent-dark: #3d2b1f;
  --accent-navy: #1e2d4a;
  --success: #4caf7d;
  --warning: #c8973a;
  --error: #c85a5a;
  --chart-1: #c8b89a;
  --chart-2: #5a7a9a;
  --chart-3: #7a9a6a;
  --border: rgba(200, 184, 154, 0.12);
  --border-hover: rgba(200, 184, 154, 0.28);
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-input: 8px;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 { font-family: 'DM Serif Display', serif; line-height: 1.15; }
.section-title { font-size: clamp(28px, 4vw, 48px); color: var(--text-primary); margin-bottom: 16px; }
.section-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}
.app-system-note {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 2px solid rgba(200, 184, 154, 0.35);
  background: rgba(200, 184, 154, 0.04);
  border-radius: 0 8px 8px 0;
}
.app-system-note strong { color: var(--text-primary); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   VERSION BADGE
   ============================================ */
.version-badge {
  position: fixed;
  bottom: 20px;
  right: 24px;
  z-index: 2000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(200, 184, 154, 0.07);
  border: 1px solid rgba(200, 184, 154, 0.2);
  padding: 5px 12px;
  border-radius: 100px;
  pointer-events: none;
  user-select: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: badge-float 4s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-5px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: #0f0f0f;
  position: relative;
  overflow: hidden;
}
.btn-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: btn-shimmer 2.8s ease-in-out infinite;
}
@keyframes btn-shimmer {
  0%   { left: -100%; }
  40%  { left: 160%; }
  100% { left: 160%; }
}
.btn-accent:hover {
  background: #d4c4a8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 184, 154, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-ghost--shine {
  position: relative;
  overflow: hidden;
  border-color: rgba(200, 184, 154, 0.45);
}
.btn-ghost--shine::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(200,184,154,0.25) 50%, transparent 100%);
  animation: btn-shine 2.8s ease-in-out infinite;
}
@keyframes btn-shine {
  0%   { left: -75%; }
  40%  { left: 125%; }
  100% { left: 125%; }
}

.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
  border-radius: 14px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { height: 84px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.logo-img--company { height: 55px; filter: brightness(0) invert(1); }
.nav-logo-divider {
  width: 1px;
  height: 28px;
  background: rgba(200, 184, 154, 0.25);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta { margin-left: 16px; padding: 9px 18px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  margin-right: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 300ms ease, opacity 300ms ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color 200ms, background 200ms;
}
.mobile-menu a:hover { color: var(--text-primary); background: var(--bg-elevated); }
.mobile-menu .btn-accent { color: #0f0f0f; margin-top: 8px; text-align: center; }

/* ============================================
   HERO
   ============================================ */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 80px 0 48px;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(200, 184, 154, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(30, 45, 74, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "text-top    mockup"
    "text-bottom mockup"
    "stats       mockup";
  column-gap: 60px;
  row-gap: 0;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero-text-top    { grid-area: text-top; }
.hero-text-top::after {
  content: '';
  display: block;
  width: 120px;
  height: 1px;
  background: rgba(200, 184, 154, 0.4);
  margin-top: 16px;
}
.hero-text-bottom { grid-area: text-bottom; }
.hero-mockup      { grid-area: mockup; align-self: center; }
.hero-stats       { grid-area: stats; }

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 184, 154, 0.08);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.hero-h1 {
  font-size: clamp(32px, 4.5vw, 58px);
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.1;
}
.hero-h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 10px;
  margin-bottom: 24px;
  max-width: 480px;
}
.hero-sub-line {
  display: block;
  opacity: 0;
  transform: translateY(12px);
  animation: sub-line-in 0.6s ease-out forwards;
}
.hero-sub-line--1 { animation-delay: 0.9s; }
.hero-sub-line--2 {
  animation-delay: 1.15s;
  font-size: 16px;
  color: var(--text-muted);
}
@keyframes sub-line-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub-sep {
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(200, 184, 154, 0.3);
  margin: 10px 0;
  opacity: 0;
  animation: sub-line-in 0.4s ease-out 1.1s forwards;
}

.hero-sub-accent {
  color: var(--accent);
  font-weight: 600;
}

.hero-sub-glow {
  color: var(--text-primary);
  font-weight: 600;
  text-shadow:
    0 0 12px rgba(200, 184, 154, 0.7),
    0 0 28px rgba(200, 184, 154, 0.35);
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 12px rgba(200, 184, 154, 0.7), 0 0 28px rgba(200, 184, 154, 0.35); }
  50%       { text-shadow: 0 0 18px rgba(200, 184, 154, 0.95), 0 0 40px rgba(200, 184, 154, 0.5); }
}

.hero-brand-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.hero-brand-logo {
  height: 56px;
  width: auto;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  transition: opacity 200ms;
}
.hero-brand-logo:hover { opacity: 1; }
.hero-brand-logo--company {
  height: 48px;
}
.hero-brand-divider {
  width: 1px;
  height: 48px;
  background: rgba(200, 184, 154, 0.25);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 8px;
}
.hero-cta .btn {
  padding: 18px 40px;
  font-size: 17px;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.hero-stats .about-stat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
}
.stat-plus {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  color: var(--accent);
}
.stat-label {
  width: 100%;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: -4px;
  white-space: nowrap;
}
.stat-google-top {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-google-sep {
  color: var(--text-muted);
  font-size: 18px;
  margin: 0 2px;
}
.stat-stars {
  font-size: 15px;
  color: var(--accent);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* PHONE MOCKUP */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform;
}

.phone-float-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: hero-phone-float 4.5s ease-in-out infinite;
}

@keyframes hero-phone-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* ── HERO PRZEMIANY REEL ── */
.hero-przemiany-reel {
  position: absolute;
  inset: 8px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 10px;
  background: #0a0a0a;
}

.hero-przemiany-reel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
}

.hero-przemiany-reel img:first-child {
  opacity: 1;
}

/* ── HERO MORPH LABEL ── */
.hero-morph-label {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 20;
}

.phone-frame {
  width: 260px;
  height: 530px;
  background: #111;
  border-radius: 44px;
  border: 2px solid rgba(200, 184, 154, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.phone-frame.phone-md {
  width: 240px;
  height: 490px;
  border-radius: 40px;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0a0a0a;
  border-radius: 14px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 42px;
  background: #000;
}
.phone-frame.phone-md .phone-screen { border-radius: 38px; }

.screen-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.screen-slider img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  z-index: 10;
}

.phone-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 184, 154, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}
.phone-glow-md {
  width: 240px;
  height: 240px;
}

.slider-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-hover);
  cursor: pointer;
  transition: background 200ms, width 200ms;
}
.slider-dot.active {
  background: var(--accent);
  width: 18px;
  border-radius: 3px;
}

/* ============================================
   ABOUT / O MNIE
   ============================================ */
.about {
  background:
    linear-gradient(to bottom, var(--bg-card) 0px, transparent 140px),
    var(--bg-main);
  padding: 40px 0 36px;
  position: relative;
  overflow: hidden;
}

/* Efekt A — radialny glow (ciepłe złoto z centrum) */
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(200, 184, 154, 0.17) 0%, rgba(200, 184, 154, 0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Efekt B — noise texture overlay */
.about::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.065;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.trainer-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  max-width: 360px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(200, 184, 154, 0.08) 100%);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.trainer-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom, rgba(200, 184, 154, 0.06) 0%, transparent 70%);
}
.trainer-initials {
  font-family: 'DM Serif Display', serif;
  font-size: 64px;
  color: var(--accent);
  opacity: 0.3;
  text-align: center;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.trainer-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
  display: block;
}
.trainer-photo--secondary {
  aspect-ratio: 4/3;
  max-width: 340px;
  margin-top: 16px;
  margin-left: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.about-bio {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-bio--personal {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 2px solid rgba(200, 184, 154, 0.25);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(200, 184, 154, 0.08);
  border: 1px solid var(--border);
  color: var(--accent);
}

.about-for {
  margin-bottom: 40px;
}
.about-for-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.about-for-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag--for {
  background: rgba(30, 45, 74, 0.35);
  border-color: rgba(30, 45, 74, 0.6);
  color: var(--text-secondary);
  font-size: 12px;
}

.pillars-mini {
  margin-bottom: 32px;
}
.pillars-mini-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.pillars-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pillar-mini-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(200, 184, 154, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.pillar-mini-tag--focus {
  background: rgba(200, 184, 154, 0.1);
  border-color: rgba(200, 184, 154, 0.3);
  color: var(--accent);
}

.about-modes {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.about-mode {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}
.about-mode svg { color: var(--accent); flex-shrink: 0; }
.about-mode:hover { border-color: var(--border-hover); color: var(--text-primary); }

/* ── ABOUT STATS (glassmorphism cards) ── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 48px;
  margin-bottom: 32px;
}
/* w sekcji "O mnie" (gdyby kiedyś wróciły) — 2x2 */
.about-stats:not(.how-stats) {
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
  margin-bottom: 32px;
}

.about-stat-card {
  background: rgba(200, 184, 154, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,184,154,0.3), transparent);
  pointer-events: none;
}
.about-stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,184,154,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.about-stat-card:hover {
  border-color: var(--border-hover);
  background: rgba(200, 184, 154, 0.1);
  transform: translateY(-3px);
}

.about-stat-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
  margin-bottom: 5px;
}
.about-stat-num-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.about-stat-suffix {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.7;
}
.about-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}
.about-stat-stars {
  color: #c8973a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.about-quote {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--text-secondary);
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: rgba(200, 184, 154, 0.04);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
}

.about-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================
   HOW / JAK DZIAŁAM
   ============================================ */
/* ── 7 FILARÓW ── */
.pillars {
  background: var(--bg-card);
  padding: 120px 0;
}
.pillars-header {
  text-align: center;
  margin-bottom: 64px;
}
.pillars-header .section-sub { margin: 0 auto; }
.pillars-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.pillars-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pillar-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-radius: var(--radius-input);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 250ms, background 250ms, box-shadow 250ms;
}
.pillar-item:hover {
  border-color: rgba(200, 184, 154, 0.22);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.pillar-highlight {
  border-color: rgba(200, 184, 154, 0.25);
  background: rgba(200, 184, 154, 0.08);
  box-shadow: 0 2px 16px rgba(200, 184, 154, 0.08), inset 0 1px 0 rgba(200, 184, 154, 0.12);
}
.pillar-highlight:hover {
  border-color: rgba(200, 184, 154, 0.45);
  background: rgba(200, 184, 154, 0.12);
  box-shadow: 0 4px 24px rgba(200, 184, 154, 0.14), inset 0 1px 0 rgba(200, 184, 154, 0.16);
}

/* ── PILLAR EXPANDABLE ── */
.pillar-expandable {
  cursor: pointer;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 0;
}
.pillar-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
}
.pillar-toggle {
  margin-left: auto;
  color: var(--accent);
  opacity: 0.7;
  transition: transform 300ms ease, opacity 200ms;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.pillar-expandable:hover .pillar-toggle { opacity: 1; }
.pillar-expandable.pillar-open .pillar-toggle {
  transform: rotate(180deg);
  opacity: 1;
}

.pillar-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pillar-expandable.pillar-open .pillar-panel {
  max-height: 4000px;
}
.pillar-panel-inner {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid rgba(200, 184, 154, 0.12);
  margin-top: 0;
  padding-top: 20px;
}

.pp-intro {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.pp-body-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 14px;
}
.pp-body-text:last-child { margin-bottom: 0; }

.pp-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
  margin: 0;
}

/* Makro grid */
.pp-macros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pp-macro {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px 14px;
}
.pp-macro-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.pp-macro-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.pp-macro-text strong { color: var(--text-primary); }

/* Peri treningowe */
.pp-perit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pp-perit-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pp-perit-item p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.pp-perit-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  width: fit-content;
}
.pp-perit-pre {
  background: rgba(90, 122, 154, 0.2);
  color: #5a9aca;
  border: 1px solid rgba(90, 154, 202, 0.25);
}
.pp-perit-post {
  background: rgba(200, 184, 154, 0.12);
  color: var(--accent);
  border: 1px solid rgba(200, 184, 154, 0.25);
}

/* Zasady */
.pp-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pp-rules li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.pp-rules li strong { color: var(--text-primary); }
.pp-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 12px;
}

/* Śródziemnomorska */
.pp-mediterranean {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(200, 184, 154, 0.06);
  border: 1px solid rgba(200, 184, 154, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
}
.pp-med-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.pp-med-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.pp-med-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.pp-who-note {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  padding: 10px 14px;
  border-left: 2px solid rgba(200, 184, 154, 0.3);
}
.pp-who-note strong { color: var(--text-secondary); }

/* Stat highlight block */
.pp-stat-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.pp-stat-item {
  background: rgba(200, 184, 154, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pp-stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.pp-stat-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Longevity block */
.pp-longevity {
  background: linear-gradient(135deg, rgba(30, 45, 74, 0.35) 0%, rgba(200, 184, 154, 0.06) 100%);
  border: 1px solid rgba(200, 184, 154, 0.2);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pp-longevity-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pp-longevity-icon {
  font-size: 16px;
  color: var(--accent);
  line-height: 1;
  font-style: normal;
  font-weight: 300;
}
.pp-longevity-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}
.pp-longevity-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.pp-longevity-text strong { color: var(--text-primary); }
.pp-longevity-markers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pp-lon-marker {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pp-lon-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.pp-lon-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .pp-longevity-markers { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pp-macros { grid-template-columns: 1fr; }
  .pp-perit { grid-template-columns: 1fr; }
  .pp-stat-highlight { grid-template-columns: 1fr; }
}

/* Nawyki block */
.pp-habits {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 2px solid rgba(200, 184, 154, 0.4);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pp-habits-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pp-habits-icon { font-size: 16px; line-height: 1; }
.pp-habits-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}
.pp-habits-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.pp-habits-text strong { color: var(--text-primary); }
.pp-habits-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pp-habits-sub strong { color: var(--accent); }
.pp-inline-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(200,184,154,0.4); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.pp-inline-link:hover { text-decoration-color: var(--accent); }

.pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  opacity: 0.7;
  min-width: 28px;
}
.pillar-highlight .pillar-num {
  opacity: 1;
}
.pillar-text {
  font-size: 15px;
  color: var(--text-primary);
  flex: 1;
}
.pillar-item:has(.pillar-sub) {
  flex-wrap: wrap;
}
.pillar-sub {
  display: none;
  width: 100%;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 6px 0 6px calc(28px + 20px);
}
.pillar-item:hover .pillar-sub {
  display: block;
}
.pillar-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 184, 154, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(200, 184, 154, 0.2);
  white-space: nowrap;
}
.pillars-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pillars-note {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.pillars-note strong,
.pillars-cta-text strong {
  color: var(--text-primary);
}
.pillars-cta-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 24px;
  border-left: 2px solid var(--accent);
  background: rgba(200, 184, 154, 0.04);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
}

/* ── HOW ── */
.how {
  background:
    linear-gradient(to bottom, var(--bg-card) 0px, transparent 140px),
    var(--bg-main);
  padding: 0 0 64px;
  position: relative;
  overflow: hidden;
}

/* Efekt C — animated gradient orb */
.how::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 184, 154, 0.32) 0%, rgba(200, 184, 154, 0.12) 40%, transparent 70%);
  filter: blur(40px);
  animation: how-orb 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
  top: 10%;
  left: 5%;
}

/* drugi orb granatowy po prawej */
.how::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 45, 74, 0.45) 0%, rgba(30, 45, 74, 0.15) 50%, transparent 70%);
  filter: blur(50px);
  animation: how-orb 10s ease-in-out infinite alternate-reverse;
  pointer-events: none;
  z-index: 0;
  bottom: 10%;
  right: 5%;
}

@keyframes how-orb {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(120px, 80px) scale(1.2); }
  100% { transform: translate(40px, 160px) scale(0.95); }
}

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

.how-header {
  text-align: center;
  margin-bottom: 10px;
}
.how-header .section-sub {
  margin: 0 auto;
  max-width: 720px;
}

.how-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: center;
}

.how-photo-col {
  position: sticky;
  top: 100px;
}

.how-photo-img {
  width: 62%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
  display: block;
}
.how-photo-img--secondary {
  aspect-ratio: 4/3;
  width: 55%;
  margin-top: -48px;
  margin-left: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.how-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 32px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  margin: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 14px;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.how-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(200, 184, 154, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.how-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.35;
  display: inline-block;
  margin-right: 8px;
  line-height: 1;
  transition: opacity 250ms ease, transform 250ms ease;
}
.how-card:hover .step-num {
  opacity: 1;
  transform: scale(1.15);
}
.step-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  display: inline;
  margin: 0;
}
.hl {
  color: var(--accent);
  font-weight: 500;
  background: linear-gradient(90deg, var(--accent) 0%, #f0e0c0 45%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hl-shine 3s linear infinite;
}
@keyframes hl-shine {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.step-desc {
  font-size: 13px;
  margin-top: 2px;
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}
.step-btns {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.step-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.step-btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent);
  color: var(--text-primary);
}

.step-expand-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  padding: 0;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.step-expand-btn:hover { opacity: 1; }
.step-expand-arrow { transition: transform 0.3s ease; display: inline-block; }
.step-expand-btn[aria-expanded="true"] .step-expand-arrow { transform: rotate(180deg); }

.step-expand-panel {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  animation: step-panel-in 0.3s ease;
}
@keyframes step-panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.step-expand-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.step-expand-row p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.step-expand-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,184,154,0.1);
  border: 1px solid rgba(200,184,154,0.2);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
  margin-top: 2px;
}
.step-expand-note {
  font-size: 12px;
  font-style: italic;
  color: var(--text-muted);
  margin: 4px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.how-bottom-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 64px;
}

.how-bottom-cta .btn {
  min-width: 260px;
  justify-content: center;
}

.how-card--final {
  border-color: var(--accent);
  background: rgba(200, 184, 154, 0.04);
}

.step-test-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

.step-test-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-test-narrative {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   APP / APLIKACJA POMIMO
   ============================================ */
.app {
  background: var(--bg-card);
  padding: 0 0 50px;
  position: relative;
  overflow: hidden;
}

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

.app-tag-row {
  margin-bottom: 48px;
}

.app-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: center;
}

.app-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 16px;
  margin-bottom: 20px;
}

.feature-card {
  display: flex;
  gap: 14px;
  padding: 14px 0 14px 10px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  align-items: flex-start;
  position: relative;
  transition: background 200ms ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 250ms ease;
}
.feature-card:hover::before {
  transform: scaleY(1);
}
.feature-card:hover {
  background: rgba(200, 184, 154, 0.04);
}
.feature-card:last-child { border-bottom: none; }
.feature-card:first-child { grid-column: 1; }

.feature-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--accent);
  background: rgba(200, 184, 154, 0.08);
  border-radius: 8px;
  padding: 6px;
}
.feature-icon svg { width: 100%; height: 100%; }

.feature-text h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.feature-text p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── APP — interaktywny stos kart 3D ── */
.app-content-col .section-sub { margin-bottom: 4px; }
.app-stack {
  margin: 8px 0 12px;
}
.app-stack-cards {
  position: relative;
  min-height: 340px;
  margin-left: 40px;
}

.stack-card {
  position: absolute;
  top: 40px;
  left: 0;
  width: min(300px, 100%);
  min-height: 178px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
  padding: 18px 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(152deg, rgb(38, 38, 38), rgb(19, 19, 19));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(245, 240, 232, 0.05);
  font-family: inherit;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--sc, 1)) skewY(-7deg);
  transform-origin: center;
  will-change: transform, filter;
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  filter: grayscale(1);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 480ms ease, border-color 480ms ease, box-shadow 480ms ease;
}
/* przyciemniająca nakładka — znika przy hover (jak w referencji) */
.stack-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(15, 15, 15, 0.5);
  opacity: 1;
  transition: opacity 700ms ease;
  pointer-events: none;
}

/* Skośna kaskada — front (01) w prawym-dolnym rogu, reszta cofa się w lewo-górę */
.stack-card:nth-child(5) { --tx: 0px;   --ty: 0px;   --sc: 0.84; z-index: 1; }
.stack-card:nth-child(4) { --tx: 30px;  --ty: 28px;  --sc: 0.88; z-index: 2; }
.stack-card:nth-child(3) { --tx: 60px;  --ty: 56px;  --sc: 0.92; z-index: 3; }
.stack-card:nth-child(2) { --tx: 90px;  --ty: 84px;  --sc: 0.96; z-index: 4; }
.stack-card:nth-child(1) {
  --tx: 120px;
  --ty: 112px;
  --sc: 1;
  z-index: 5;
  border-color: var(--border-hover);
}

/* front zawsze kolorowy; pozostałe szare do najechania */
.stack-card:nth-child(1) { filter: grayscale(0); }
.stack-card:nth-child(1)::before { opacity: 0; }

/* HOVER pojedynczej karty — wyskakuje w górę i odzyskuje kolor (osobno) */
.stack-card:hover {
  transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 32px)) scale(1) skewY(-7deg);
  filter: grayscale(0);
  border-color: var(--border-hover);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(200, 184, 154, 0.12),
    inset 0 1px 0 rgba(245, 240, 232, 0.06);
}
.stack-card:hover::before { opacity: 0; }

/* KLIK — karta wyłania się z głębi na wierzch i pokazuje całą treść */
@keyframes stack-emerge {
  0% {
    transform: translate(var(--tx, 0px), calc(var(--ty, 0px) + 4px)) scale(var(--sc, 1)) skewY(-7deg);
  }
  55% {
    transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 46px)) scale(1.025) skewY(-7deg);
  }
  100% {
    transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 40px)) scale(1) skewY(-7deg);
  }
}
.stack-card.is-active {
  transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 40px)) scale(1) skewY(-7deg);
  filter: grayscale(0);
  border-color: var(--border-hover);
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.66), 0 0 0 1px rgba(200, 184, 154, 0.16),
    inset 0 1px 0 rgba(245, 240, 232, 0.06);
  z-index: 20;
  animation: stack-emerge 560ms cubic-bezier(0.34, 1.4, 0.5, 1) both;
}
.stack-card.is-active::before { opacity: 0; }
.stack-card-head { display: flex; align-items: center; gap: 11px; }
.stack-card-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 6px;
  color: var(--accent);
  background: rgba(200, 184, 154, 0.12);
  border: 1px solid var(--border);
  border-radius: 9px;
}
.stack-card-icon svg { width: 100%; height: 100%; }
.stack-card-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.stack-card-num {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.stack-card:nth-child(1) .stack-card-num { color: var(--accent); }
.stack-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}
.stack-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}
/* Fallback dla dotyku / wąskich ekranów — czytelna pionowa lista (bez hovera nie ma jak rozsunąć) */
@media (hover: none), (max-width: 900px) {
  .app-stack-cards {
    min-height: 0;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .stack-card {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    min-height: auto;
    transform: none !important;
    filter: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(245, 240, 232, 0.05);
  }
  .stack-card::before { opacity: 0 !important; }
  .stack-card.is-active {
    animation: none !important;
    z-index: auto;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(245, 240, 232, 0.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack-card { transition-duration: 1ms; }
  .stack-card.is-active { animation: none; }
}

.report-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.report-steps span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  background: rgba(200, 184, 154, 0.08);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 4px;
}

.app-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 20px;
  margin-top: 0;
  background: rgba(200, 184, 154, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
}
.app-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.app-badge-sep { color: var(--text-muted); }
.app-badge-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

/* ============================================
   REPORT / RAPORT TYGODNIOWY
   ============================================ */
.report {
  background: var(--bg-main);
  padding: 120px 0;
}

.report-header {
  text-align: center;
  margin-bottom: 72px;
}

.report-intro {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ── flow wrapper ── */
.report-flow {
  position: relative;
  max-width: 860px;
  margin: 0 auto 40px;
}

/* vertical progress track */
.report-flow-track {
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--border);
  z-index: 0;
  overflow: hidden;
}

.report-flow-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), rgba(200,184,154,0.3));
  transform-origin: top center;
  transform: scaleY(0);
  box-shadow: 0 0 8px rgba(200,184,154,0.25);
}

/* steps column */
.report-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.rfs-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

/* numbered bubble */
.rfs-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: background 400ms, border-color 400ms, box-shadow 400ms;
}

.rfs-bubble--final {
  background: rgba(200,184,154,0.1);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(200,184,154,0.18);
}

/* pulse ring on bubble */
.rfs-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(200,184,154,0.25);
  animation: rfs-ring-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
.rfs-pulse--final {
  animation-delay: -1s;
  border-color: rgba(200,184,154,0.4);
}

@keyframes rfs-ring-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* step card — horizontal layout: icon+text | screenshot */
.rfs-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  transition: border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.rfs-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at left, rgba(200,184,154,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.rfs-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

.rfs-card--final {
  border-color: rgba(200,184,154,0.22);
  background: rgba(200,184,154,0.04);
}

/* left part: icon + text */
.rfs-card-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.rfs-icon {
  width: 38px;
  height: 38px;
  color: var(--accent);
  background: rgba(200,184,154,0.08);
  border-radius: 10px;
  padding: 7px;
  flex-shrink: 0;
  transition: background 250ms;
}
.rfs-card:hover .rfs-icon { background: rgba(200,184,154,0.14); }
.rfs-icon svg { width: 100%; height: 100%; }

.rfs-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.rfs-text h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.rfs-text p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.rfs-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  background: rgba(200,184,154,0.08);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 100px;
  align-self: flex-start;
}

/* right part: screenshot slot */
.rfs-screenshot-slot {
  flex-shrink: 0;
  width: 80px;
}

.rfs-screen-ph {
  width: 80px;
  height: 134px;
  background: var(--bg-elevated);
  border: 1px dashed rgba(200,184,154,0.18);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.rfs-screen-ph::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 4px;
  background: rgba(200,184,154,0.15);
  border-radius: 2px;
}
.rfs-screen-ph::after {
  content: 'screen';
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px;
  letter-spacing: 0.06em;
  color: rgba(200,184,154,0.2);
  text-transform: uppercase;
}

/* screenshot when image is provided */
.rfs-screenshot-slot img {
  width: 80px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  display: block;
  cursor: zoom-in;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
.rfs-screenshot-slot img:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  border-color: var(--border-hover);
}

/* ============================================
   SCREENSHOT LIGHTBOX
   ============================================ */
.rfs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.rfs-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.rfs-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rfs-lightbox-img {
  position: relative;
  z-index: 1;
  max-height: 85vh;
  max-width: min(360px, 90vw);
  border-radius: 28px;
  border: 1px solid var(--border-hover);
  box-shadow: 0 48px 96px rgba(0, 0, 0, 0.8);
  transform: scale(0.88);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}
.rfs-lightbox.open .rfs-lightbox-img {
  transform: scale(1);
}

.rfs-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms;
  font-family: 'DM Sans', sans-serif;
}
.rfs-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* total time bar */
.report-total {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px 24px;
  background: rgba(200,184,154,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  max-width: 560px;
  margin: 0 auto 72px;
}

.rt-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.rt-label {
  font-size: 13px;
  color: var(--text-muted);
}
.rt-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
}
.rt-sep { color: var(--text-muted); }
.rt-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* screenshots row */
.report-screens {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.report-screen-img {
  width: 180px;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.report-screen-img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* ============================================
   OPINIONS / OPINIE
   ============================================ */
.opinions {
  /* płynne zejście z ciemnego hero (--bg-main) w jaśniejsze tło sekcji */
  background: linear-gradient(to bottom, var(--bg-main) 0, var(--bg-card) 240px);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* żywy złoty grain (WebGL) — warstwa atmosfery pod treścią sekcji */
.opinions-shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
  /* grain wyłania się od góry i wygasza się przy dole — żaden brzeg nie urywa tekstury */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 240px, #000 calc(100% - 200px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 240px, #000 calc(100% - 200px), transparent 100%);
}
.opinions-shader.is-ready { opacity: 1; }

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

.opinions-header {
  text-align: center;
  margin-bottom: 64px;
}

.opinions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  perspective: 1300px;
  perspective-origin: 50% 30%;
}

.opinion-card {
  background: linear-gradient(160deg, rgba(40, 40, 40, 0.66), rgba(22, 22, 22, 0.60));
  backdrop-filter: blur(7px) saturate(1.08);
  -webkit-backdrop-filter: blur(7px) saturate(1.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
  will-change: transform;
  box-shadow: inset 0 1px 0 rgba(245, 240, 232, 0.04);
  transition: border-color 250ms, transform 250ms, box-shadow 250ms;
}
.opinion-card::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(200, 184, 154, 0.09) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms ease;
}
.opinion-card:hover::before {
  opacity: 1;
}
.opinion-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.opinion-stars {
  color: var(--warning);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.opinion-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.opinion-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 184, 154, 0.12);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; gap: 2px; }
.author-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.author-meta { font-size: 12px; color: var(--text-muted); }

.opinions-google-link {
  text-align: center;
  margin-top: 48px;
}
.google-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.google-link:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--bg-card);
  padding: 60px 0 100px;
}

.faq-list {
  max-width: 760px;
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s ease;
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 350ms ease;
  z-index: 1;
}
.faq-item.open::before {
  transform: scaleY(1);
}

.faq-item.open {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-arrow {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .faq {
    padding: 72px 0;
  }

  .faq-list {
    margin-top: 48px;
  }

  .faq-question {
    padding: 20px 20px;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 20px 20px;
  }
}

/* ============================================
   CTA END / KONTAKT
   ============================================ */
.cta-end {
  background: linear-gradient(to bottom, var(--bg-card), var(--bg-main));
  padding: 10px 0;
  position: relative;
  overflow: hidden;
}

.cta-end::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--bg-card), transparent);
  pointer-events: none;
  z-index: 0;
}

.cta-end::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
  pointer-events: none;
  z-index: 0;
}

.cta-end-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--text-primary);
  margin-bottom: 20px;
}
.cta-title em {
  font-style: italic;
  color: var(--accent);
}

.cta-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 200ms, transform 200ms;
  opacity: 0.6;
  cursor: default;
}
.store-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge small { font-size: 10px; font-weight: 400; color: var(--text-muted); }
.store-badge--soon { opacity: 0.45; cursor: default; pointer-events: none; }

.cta-end-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta-contact-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.cta-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.cta-contact-link:hover { color: var(--accent); }
.cta-contact-link svg { color: var(--accent); flex-shrink: 0; }
.cta-contact-sep { color: var(--text-muted); font-size: 18px; }

/* ============================================
   TRANSFORMATIONS / PRZEMIANY
   ============================================ */
.transformations {
  background: var(--bg-card);
  padding: 0 0 100px;
}
.transformations-header {
  text-align: center;
  margin-bottom: 56px;
}
.transformations-header .section-sub { margin: 0 auto; }

.tr-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}
.tr-slider {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.tr-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.tr-slide {
  min-width: 100%;
  aspect-ratio: 1/1;
}
.tr-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-card);
}
.tr-arrow {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tr-arrow:hover {
  border-color: var(--border-hover);
  background: var(--accent-dark);
}
.tr-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.tr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.tr-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0a0a0a;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo { height: 32px; width: auto; object-fit: contain; margin-bottom: 12px; filter: brightness(0.8); }
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-tagline em { color: var(--accent); font-style: italic; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 200ms;
}
.footer-links a:hover { color: var(--text-primary); }

.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms, border-color 200ms;
}
.footer-social a:hover { color: var(--accent); border-color: var(--border-hover); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ============================================
   PRICING / CENNIK
   ============================================ */
.pricing {
  background: var(--bg-card);
  padding: 40px 0 30px;
  position: relative;
  overflow: hidden;
}
.pricing::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg-card));
  pointer-events: none;
  z-index: 1;
}
.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}
.pricing-header .section-sub { margin: 0 auto; }
.pricing-manifesto {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--text-primary);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}
.pricing-manifesto .pm-em {
  color: var(--accent);
  font-weight: 600;
}

/* STATEMENT / POZYCJONOWANIE */
.stmt {
  padding: clamp(48px, 7vw, 84px) 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.stmt .container { max-width: 860px; }
.stmt-main {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(20px, 2.8vw, 31px);
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
}
.stmt-hl {
  color: var(--accent);
  font-style: italic;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  position: relative;
}

.pricing-card {
  background: rgba(20, 20, 20, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(200,184,154,0.18);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: border-color 250ms, transform 250ms, box-shadow 250ms;
}
.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(200, 184, 154, 0.07) 50%,
    transparent 70%
  );
  background-size: 250% 100%;
  background-position: 150% 0;
  pointer-events: none;
  border-radius: inherit;
  transition: background-position 0ms;
}
.pricing-card:hover::after {
  background-position: -50% 0;
  transition: background-position 600ms ease;
}
.pricing-card:hover {
  border-color: rgba(200,184,154,0.28);
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(0,0,0,0.35);
}
.pricing-card--featured {
  background: rgba(28, 28, 28, 0.48);
  border-color: rgba(200,184,154,0.32);
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
  animation: featured-pulse 3.5s ease-in-out infinite;
  overflow: visible;
}
@keyframes featured-pulse {
  0%, 100% { box-shadow: 0 28px 60px rgba(0,0,0,0.45), 0 0 0 0 rgba(200,184,154,0); }
  50%       { box-shadow: 0 28px 60px rgba(0,0,0,0.45), 0 0 32px 8px rgba(200,184,154,0.1); }
}
.pricing-card--featured::after {
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(200, 184, 154, 0.12) 50%,
    transparent 70%
  );
  background-size: 250% 100%;
  background-position: 150% 0;
}
.pricing-card--featured:hover { transform: translateY(-4px); }

/* ── PRICING ORBS + SPARKS ── */
.pricing-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.pricing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}
.pricing-orb--1 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(200,184,154,0.14) 0%, transparent 65%);
  top: 8%; left: -6%;
  animation: orb-drift-1 9s ease-in-out infinite alternate;
}
.pricing-orb--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(30,45,74,0.28) 0%, transparent 65%);
  top: 10%; right: -7%;
  animation: orb-drift-2 12s ease-in-out infinite alternate;
}
.pricing-orb--3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(200,184,154,0.15) 0%, transparent 65%);
  bottom: -10%; left: 28%;
  animation: orb-drift-3 7s ease-in-out infinite alternate;
}
.pricing-orb--4 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(61,43,31,0.35) 0%, transparent 65%);
  top: 38%; left: 42%;
  animation: orb-drift-4 14s ease-in-out infinite alternate;
}
@keyframes orb-drift-1 { 0% { transform:translate(0,0); }   100% { transform:translate(55px,40px); } }
@keyframes orb-drift-2 { 0% { transform:translate(0,0); }   100% { transform:translate(-45px,65px); } }
@keyframes orb-drift-3 { 0% { transform:translate(0,0); }   100% { transform:translate(35px,-55px); } }
@keyframes orb-drift-4 { 0% { transform:translate(0,0); }   100% { transform:translate(-55px,-28px); } }

.pricing-spark {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px 4px rgba(200,184,154,0.7), 0 0 16px 6px rgba(200,184,154,0.3);
}
.pricing-spark--1  { top:14%; left:11%;  animation: spark 2.8s ease-in-out infinite; }
.pricing-spark--2  { top:22%; right:17%; animation: spark 3.5s ease-in-out infinite 0.6s; }
.pricing-spark--3  { top:62%; left:20%;  animation: spark 2.3s ease-in-out infinite 1.2s; }
.pricing-spark--4  { top:72%; right:23%; animation: spark 4.0s ease-in-out infinite 0.3s; }
.pricing-spark--5  { top:44%; left:53%;  animation: spark 2.6s ease-in-out infinite 0.9s; }
.pricing-spark--6  { top:28%; left:72%;  animation: spark 3.2s ease-in-out infinite 1.5s; }
.pricing-spark--7  { top:55%; right:40%; animation: spark 2.1s ease-in-out infinite 0.4s; }
.pricing-spark--8  { top:82%; left:62%;  animation: spark 3.7s ease-in-out infinite 1.8s; }
.pricing-spark--9  { top: 8%; left:38%;  animation: spark 2.5s ease-in-out infinite 0.7s; }
.pricing-spark--10 { top:35%; left: 5%;  animation: spark 3.9s ease-in-out infinite 1.1s; }
.pricing-spark--11 { top:88%; right:10%; animation: spark 2.2s ease-in-out infinite 0.2s; }
.pricing-spark--12 { top:50%; right: 6%; animation: spark 3.3s ease-in-out infinite 1.6s; }
.pricing-spark--13 { top:18%; left:55%;  animation: spark 2.9s ease-in-out infinite 0.5s; }
.pricing-spark--14 { top:78%; left:42%;  animation: spark 4.2s ease-in-out infinite 1.3s; }
.pricing-spark--15 { top:38%; right:32%; animation: spark 2.4s ease-in-out infinite 0.8s; }
.pricing-spark--16 { top:92%; left:25%;  animation: spark 3.6s ease-in-out infinite 1.9s; }
@keyframes spark {
  0%,100% { opacity:0; transform:scale(0) rotate(0deg); }
  45%,55% { opacity:1; transform:scale(1) rotate(45deg); }
}

.pricing-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0f0f0f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.pricing-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-card--featured .pricing-label { color: var(--accent); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.price-from {
  font-size: 12px;
  color: var(--text-muted);
  width: 100%;
  margin-bottom: 2px;
}
.price-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1;
}
.price-unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}
.price-unit span { font-size: 14px; color: var(--text-muted); }

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.pf-check {
  color: var(--success);
  font-size: 13px;
  flex-shrink: 0;
  width: 16px;
}
.pf-muted {
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
  width: 16px;
}
.pricing-features li:has(.pf-muted) { opacity: 0.45; }

.pricing-btn { width: 100%; justify-content: center; }

.pricing-cta-note {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 0;
}
.pricing-cta-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent) 0%, #f0e0c0 45%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hl-shine 4s linear infinite;
  margin-bottom: 0;
}
.pricing-cta-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
}

/* ============================================
   ANIMATIONS & GSAP INITIAL STATES
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

/* ============================================
   HERO CANVAS
   ============================================ */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   HERO GHOST TEXT
   ============================================ */
.hero-ghost-text {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Serif Display', serif;
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 184, 154, 0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
  overflow: hidden;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.marquee-strip--reverse { background: var(--bg-elevated); }

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track--reverse {
  animation: marquee-scroll-reverse 24s linear infinite;
}

.marquee-track span {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 20px;
  transition: color 200ms;
  white-space: nowrap;
}
.marquee-track span:hover { color: var(--accent); }
.marquee-dot {
  color: var(--accent) !important;
  padding: 0 4px !important;
  letter-spacing: 0 !important;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-scroll-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(200, 184, 154, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.stats-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.ss-item {
  flex: 1;
  text-align: center;
  position: relative;
}
.ss-num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.ss-unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(24px, 3vw, 40px);
  color: var(--accent);
}
.ss-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ss-divider {
  width: 1px;
  height: 64px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 24px;
}

/* ============================================
   SECTION HEADER LINES
   ============================================ */
.section-header-lined {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.section-header-lined::before,
.section-header-lined::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-hover), transparent);
}
/* left-aligned variant (about, app sections) */
.section-header-lined--left {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}
.section-header-lined--left::before { display: none; }

/* How cards — numer po lewej */
.how-card > * { grid-column: 2; }
.how-card > .step-num {
  grid-column: 1;
  grid-row: 1 / span 10;
  align-self: start;
  padding-top: 2px;
}
.step-num {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  line-height: 1.6;
  margin: 0;
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* ── SECTION TRANSITION GRADIENTS ── */
/* bg-main → bg-card: top fade z bg-main */
.opinions::before,
.app::before,
.video-reklama::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--bg-main), transparent);
  pointer-events: none;
  z-index: 0;
  width: auto;
  border-radius: 0;
  filter: none;
  animation: none;
}
.opinions        { position: relative; }
.faq             { position: relative; }
.video-reklama   { position: relative; }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .app-grid {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }
  .app-phone-col { position: relative; top: auto; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .version-badge { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero {
    padding: 56px 0 0;
    align-items: flex-start;
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text-top"
      "mockup"
      "text-bottom"
      "stats";
    grid-template-rows: auto auto auto auto;
    text-align: center;
    gap: 16px;
  }
  .hero-mockup { padding-bottom: 0; margin-bottom: 0; }
  .hero-text-top::after { display: none; }
  .hero-sub { margin: 0 auto 20px; }
  .hero-cta { justify-content: center; }
  .hero-stats { display: flex; margin-top: 8px; }
  .phone-frame { width: 158px; height: 322px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .trainer-placeholder { max-width: 100%; aspect-ratio: 4/3; }

  .pillars-body { grid-template-columns: 1fr; gap: 40px; }
  .pillars-aside { position: relative; top: auto; }
  .how-body { grid-template-columns: 1fr; gap: 40px; }
  .how-photo-col { position: relative; top: auto; }
  .how-photo-img { aspect-ratio: 4/3; }
  .how-steps { flex-direction: column; }
  .how-bottom-cta { flex-direction: column; align-items: center; }
  .step-test-cols { grid-template-columns: 1fr; }
  .about-cta { flex-direction: column; align-items: flex-start; }
  .how-stats { grid-template-columns: 1fr 1fr; }

  .app-grid { grid-template-columns: 1fr; }
  .app-phone-col { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card:first-child { grid-column: 1; }

  .opinions-grid { grid-template-columns: 1fr; }
  .opinions { padding-top: 0; }

  .about-modes { gap: 8px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-social { flex-direction: row; }

  .rfs-screenshot-slot { display: none; }
  .report-screens { gap: 16px; }
  .report-screen-img { width: 140px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 30px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: row; justify-content: center; gap: 0; }
  .stat-divider { display: block; }

  .about-modes { gap: 8px; }

  .store-badges { flex-direction: column; align-items: center; }

  .timeline-line { display: none; }
  .timeline-step { flex-direction: column; gap: 12px; align-items: flex-start; }

  .stats-strip-inner { flex-wrap: wrap; gap: 32px; }
  .ss-item { flex: 1 1 40%; }
  .ss-divider { display: none; }

  .hero-ghost-text { font-size: 80px; }
}

/* ============================================
   VIDEO REKLAMA
   ============================================ */
.video-reklama {
  position: relative;
  padding: 0 0 24px;
  background: var(--bg-card);
  overflow: hidden;
}

.vr-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(200,184,154,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.vr-header {
  text-align: center;
  margin-bottom: 32px;
}

.vr-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
  margin-top: 0;
  letter-spacing: 0;
}

.vr-title em {
  font-style: normal;
  color: var(--accent);
}

.vr-quote {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.vr-cta {
  padding-bottom: 8px;
}

.vr-video-wrap {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(200,184,154,0.14),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 120px rgba(200,184,154,0.05);
}

.vr-video-border {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(200,184,154,0.18);
  z-index: 3;
  pointer-events: none;
}

.vr-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #0a0a0a;
}

.vr-video-overlay-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(15,15,15,0.55), transparent);
  z-index: 2;
  pointer-events: none;
  border-radius: 24px 24px 0 0;
}

.vr-video-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(15,15,15,0.55), transparent);
  z-index: 2;
  pointer-events: none;
  border-radius: 0 0 24px 24px;
}

.vr-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 52px;
}

.vr-cta-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .video-reklama { padding: 0 0 56px; }
  .vr-header { margin-bottom: 24px; }
  .vr-video-wrap { border-radius: 16px; }
  .vr-video { border-radius: 16px; }
  .vr-video-border { border-radius: 16px; }
  .vr-video-overlay-top { border-radius: 16px 16px 0 0; }
  .vr-video-overlay-bottom { border-radius: 0 0 16px 16px; }
  .vr-cta { margin-top: 36px; }
}

/* ============================================
   SCROLL POPUP
   ============================================ */
.sp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.sp-backdrop.sp-visible {
  opacity: 1;
  pointer-events: all;
}

.sp-modal {
  background: var(--bg-elevated);
  border: 1px solid rgba(200,184,154,0.18);
  border-radius: 24px;
  padding: 36px;
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(200,184,154,0.06);
  transform: translateY(28px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.sp-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,184,154,0.35), transparent);
}
.sp-backdrop.sp-visible .sp-modal {
  transform: translateY(0) scale(1);
}

.sp-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(200,184,154,0.07);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.sp-close:hover { background: rgba(200,184,154,0.14); color: var(--text-primary); }

/* two-column layout */
.sp-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: center;
}

/* ── book mockup ── */
.sp-book {
  display: flex;
  align-items: stretch;
  height: 280px;
  flex-shrink: 0;
}
.sp-book-img {
  height: 280px;
  width: auto;
  flex-shrink: 0;
  border-radius: 10px;
  transform: rotate(-3deg) translateY(-6px);
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.7)) drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.sp-book-img:hover {
  transform: rotate(-1deg) translateY(-10px);
  filter: drop-shadow(0 28px 56px rgba(0,0,0,0.75)) drop-shadow(0 6px 16px rgba(0,0,0,0.45));
}
.sp-btn--disabled {
  background: var(--bg-elevated);
  color: var(--text-muted);
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.sp-book-spine {
  width: 13px;
  background: linear-gradient(180deg, #5a3e20 0%, #3d2b1f 50%, #2a1d14 100%);
  border-radius: 3px 0 0 3px;
  flex-shrink: 0;
}
.sp-book-cover {
  flex: 1;
  background: linear-gradient(145deg, #2a1d14 0%, #3d2b1f 45%, #1a1208 100%);
  border-radius: 0 6px 6px 0;
  border: 1px solid rgba(200,184,154,0.15);
  border-left: none;
  padding: 16px 12px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sp-book-cover::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(200,184,154,0.07) 0%, transparent 100%);
  pointer-events: none;
}
.sp-book-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  opacity: 0.65;
  margin-bottom: auto;
}
.sp-book-num {
  font-family: 'DM Serif Display', serif;
  font-size: 60px;
  color: var(--accent);
  line-height: 1;
  margin: 0;
  opacity: 0.9;
}
.sp-book-title-cover {
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 2px 0 14px;
  opacity: 0.82;
}
.sp-book-author {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin: 0;
}

/* ── right column ── */
.sp-content { display: flex; flex-direction: column; }

.sp-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--accent);
  background: rgba(200,184,154,0.09);
  border: 1px solid rgba(200,184,154,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.sp-title {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 10px;
}
.sp-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}
.sp-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
}
.sp-input {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.sp-input::placeholder { color: var(--text-muted); }
.sp-input:focus { border-color: var(--accent); }
.sp-input.sp-error { border-color: var(--error); }
.sp-btn { width: 100%; justify-content: center; }

.sp-privacy {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.sp-privacy-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.sp-privacy-link:hover { color: var(--accent); }

/* success state */
.sp-success {
  display: none;
  text-align: center;
  padding: 12px 8px 8px;
}
.sp-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(76,175,125,0.1);
  border: 1px solid rgba(76,175,125,0.3);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(76,175,125,0.06), 0 0 32px rgba(76,175,125,0.15);
}
.sp-success .sp-title { font-size: 28px; margin-bottom: 8px; }
.sp-success .sp-sub { margin-bottom: 24px; font-size: 15px; color: var(--text-secondary); }
.sp-success-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.sp-success-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-primary);
  background: rgba(200,184,154,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.sp-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(200,184,154,0.12);
  border: 1px solid rgba(200,184,154,0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
}
.sp-spam-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.sp-spam-hint strong { color: var(--text-secondary); }


@media (max-width: 560px) {
  .sp-modal { padding: 28px 20px 24px; border-radius: 20px; }
  .sp-body { grid-template-columns: 1fr; gap: 20px; }
  .sp-book { height: 170px; width: 120px; }
  .sp-book-img { height: 170px; transform: rotate(-2deg) translateY(-4px); }
  .sp-book-num { font-size: 44px; }
  .sp-book-title-cover { font-size: 12px; }
  .sp-title { font-size: 22px; }
}
