/* Fabryka Treści — landing styles v2 (DARK + AMBER, cinematic premium)
 * Brand brain v2: Zasoby/brand/fabryka-tresci/brain/3-visual.md
 * Inspiracja: Volume One Studios — premium digital agency aesthetic
 */

:root {
  --bg-base: #0A0E1A;
  --bg-surface-1: #13182A;
  --bg-surface-2: #1C2238;
  --bg-surface-3: #252B43;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-amber: rgba(245, 158, 11, 0.4);
  --amber: #F59E0B;
  --amber-light: #FBBF24;
  --amber-dark: #D97706;
  --amber-glow: rgba(245, 158, 11, 0.25);
  --text: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dark: #0A0E1A;
  --burgundy: #6B1E2E;
  --success: #10B981;
  --error: #EF4444;
  --font-heading: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.5);
  --glow-amber: 0 0 32px var(--amber-glow);
  --glow-amber-strong: 0 0 48px rgba(245, 158, 11, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg-base); }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(ellipse at top, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(107, 30, 46, 0.06) 0%, transparent 60%);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }
p { color: var(--text-secondary); }
a { color: var(--amber); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--amber-light); }
strong { color: var(--text); font-weight: 600; }
code {
  background: var(--bg-surface-2);
  color: var(--amber);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: ui-monospace, 'SF Mono', monospace;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--text-dark);
  box-shadow: var(--glow-amber);
}
.btn-primary:hover {
  background: var(--amber-light);
  color: var(--text-dark);
  box-shadow: var(--glow-amber-strong);
  transform: translateY(-1px);
}
.btn-primary::after { content: "→"; margin-left: 4px; transition: transform 0.2s; }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--amber);
  color: var(--amber);
}
.btn-ghost { background: transparent; color: var(--text-secondary); padding: 16px 16px; }
.btn-ghost:hover { color: var(--amber); }
.btn-small { padding: 11px 22px; font-size: 0.75rem; }
.btn-big { padding: 20px 44px; font-size: 1rem; }
.btn-full { display: flex; width: 100%; justify-content: center; }

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand-mark { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 12px var(--amber-glow)); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.15s;
}
.nav-links a:not(.btn):hover { color: var(--text); }
@media (max-width: 880px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn):not(.btn-primary) { display: none; }
}

.hero { padding: 80px 0 100px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  border: 1px solid var(--border-amber);
}
.badge::before {
  content: "●";
  color: var(--amber);
  font-size: 0.625rem;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { text-transform: uppercase; line-height: 0.95; margin-bottom: 28px; }
.hero h1 .accent { color: var(--amber); display: inline-block; }
.hero-sub {
  font-size: 1.1875rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text-secondary);
  max-width: 580px;
}
.hero-sub strong { color: var(--amber); }
.hero-sub-2 { font-size: 1rem; color: var(--text-muted); margin-bottom: 36px; }
.hero-sub-2 strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; font-size: 0.875rem; color: var(--text-muted); }
.hero-trust span { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.hero-trust span::before { content: "✓"; color: var(--amber); font-weight: 700; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.hero-visual-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-surface-1) 0%, var(--bg-surface-2) 100%);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.hero-visual-bg::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, var(--amber-glow) 0%, transparent 60%);
  filter: blur(40px);
  opacity: 0.5;
}
.hero-logo {
  position: relative;
  z-index: 2;
  width: 65%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 0 40px var(--amber-glow));
}

.floating-stat {
  position: absolute;
  background: rgba(28, 34, 56, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  z-index: 3;
  min-width: 180px;
}
.floating-stat .stat-label-small {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.floating-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.floating-stat .stat-value .accent { color: var(--amber); }
.floating-stat-1 { top: 8%; right: -5%; }
.floating-stat-2 { bottom: 12%; right: -8%; }
@media (max-width: 980px) {
  .floating-stat-1 { top: 4%; right: 4%; }
  .floating-stat-2 { bottom: 4%; left: 4%; right: auto; }
}

.social-proof {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}
.social-proof-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-weight: 600;
}
.platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 40px;
}
.platform {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
  opacity: 0.7;
  transition: opacity 0.2s;
  text-transform: lowercase;
}
.platform:hover { opacity: 1; }
.platform-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.6;
}

.problem { padding: 100px 0; background: var(--bg-base); }
.problem h2 { margin-bottom: 16px; }
.problem h2 .muted { color: var(--text-secondary); font-weight: 700; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
  margin-bottom: 56px;
}
.problem-card {
  background: var(--bg-surface-1);
  padding: 36px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: all 0.2s;
}
.problem-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.problem-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}
.problem-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 18px;
}
.problem-card p { font-size: 0.9375rem; line-height: 1.6; }
.problem-conclusion {
  background: linear-gradient(135deg, var(--bg-surface-1) 0%, var(--bg-surface-2) 100%);
  border: 1px solid var(--border-amber);
  padding: 36px 40px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.problem-conclusion p { color: var(--text-secondary); font-size: 1.125rem; margin-bottom: 8px; }
.problem-conclusion p.strong {
  font-weight: 700;
  font-size: 1.375rem;
  margin-top: 16px;
  color: var(--amber);
  font-family: var(--font-heading);
}

.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface-1) 100%);
}
.section-lead {
  font-size: 1.125rem;
  margin-bottom: 56px;
  color: var(--text-secondary);
  max-width: 700px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.step {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-surface-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
}
.step:hover { border-color: var(--amber); box-shadow: var(--glow-amber); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--amber);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  box-shadow: var(--glow-amber);
}
.step h3 { margin-bottom: 14px; }
.step h3 .muted {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.step p { font-size: 0.9375rem; line-height: 1.6; }
.result-bar {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-amber);
  padding: 28px 36px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.result-bar strong { color: var(--amber); font-weight: 700; }

.stats-bar {
  padding: 80px 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.stats-bar-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 48px;
  font-weight: 700;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-big { padding: 20px; }
.stat-big .stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 0.95;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat-big .stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.pricing { padding: 100px 0; background: var(--bg-base); }
.pricing h2 { text-align: center; margin-bottom: 16px; }
.pricing .section-lead { text-align: center; margin-left: auto; margin-right: auto; }
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  margin-top: 40px;
}
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; } }
.tier {
  background: var(--bg-surface-1);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s;
}
.tier:hover { border-color: var(--text-muted); transform: translateY(-2px); }
.tier-featured {
  background: linear-gradient(180deg, var(--bg-surface-2) 0%, var(--bg-surface-1) 100%);
  border: 1px solid var(--amber);
  transform: scale(1.04);
  box-shadow: var(--glow-amber), var(--shadow-card-hover);
  z-index: 1;
}
.tier-featured:hover { transform: scale(1.04) translateY(-2px); }
@media (max-width: 980px) {
  .tier-featured { transform: scale(1); }
  .tier-featured:hover { transform: translateY(-2px); }
}
.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--text-dark);
  padding: 6px 18px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: var(--glow-amber);
}
.tier-head { margin-bottom: 28px; }
.tier h3 { margin-bottom: 14px; font-size: 1.5rem; }
.tier-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.tier-price .price {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tier-featured .tier-price .price { color: var(--amber); }
.tier-price .price-period { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.tier-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.tier-features { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.tier-features li {
  padding: 12px 0 12px 28px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.55;
}
.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 12px;
  color: var(--amber);
  font-weight: 800;
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li strong { color: var(--text); }
.tier-features li.bonus {
  background: rgba(245, 158, 11, 0.06);
  padding-left: 28px;
  padding-right: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  border-bottom: none;
  margin-top: 8px;
}
.tier-features li.bonus::before { content: "★"; color: var(--amber); }
.tier-features code { font-size: 0.8125rem; }

.tier-cta-fine {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.pricing-note {
  background: var(--bg-surface-2);
  padding: 28px 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-amber);
  margin-top: 28px;
}
.pricing-note p { margin-bottom: 10px; font-size: 0.9375rem; }
.pricing-note p:last-child { margin-bottom: 0; }
.pricing-note strong { color: var(--amber); }

.diagnose {
  padding: 100px 0;
  background: var(--bg-surface-1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.diagnose::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--amber-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.5;
}
.diagnose .container-narrow { position: relative; z-index: 1; }
.diagnose-lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--amber);
  margin: 14px 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.diagnose p { font-size: 1.0625rem; line-height: 1.7; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.diagnose-alt { margin-top: 24px; font-size: 0.9375rem; color: var(--text-muted); }
.diagnose-alt a { color: var(--amber); font-weight: 500; }

.founder { padding: 100px 0; background: var(--bg-base); }
.founder-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .founder-grid { grid-template-columns: 1fr; gap: 48px; } }
.founder-text p { margin-bottom: 20px; font-size: 1.0625rem; line-height: 1.75; color: var(--text-secondary); }
.founder-signature { margin-top: 32px; font-family: var(--font-heading); font-weight: 800; color: var(--text); font-size: 1.125rem; }
.founder-signature .muted { display: block; font-weight: 400; font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; }
.founder-stats { display: grid; gap: 18px; }
.stat {
  background: var(--bg-surface-1);
  padding: 28px 32px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--amber);
  transition: all 0.2s;
}
.stat:hover { background: var(--bg-surface-2); transform: translateX(4px); }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faq { padding: 100px 0; background: var(--bg-surface-1); }
.faq h2 { text-align: center; margin-bottom: 56px; }
.faq-item {
  background: var(--bg-surface-2);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-amber); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.15s;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--amber);
  margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item[open] summary { color: var(--amber); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 32px 28px; font-size: 0.9375rem; line-height: 1.7; color: var(--text-secondary); }

.final-cta {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface-1) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, var(--amber-glow) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.final-cta h2 .accent { color: var(--amber); }
.final-cta > .container > p { color: var(--text-secondary); font-size: 1.25rem; margin-bottom: 40px; }
.cta-fine { margin-top: 24px; font-size: 0.8125rem; color: var(--text-muted); }

.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.9375rem; }
.footer-logo { width: 80px; height: auto; margin-bottom: 20px; filter: drop-shadow(0 0 12px var(--amber-glow)); }
.footer-contact a { color: var(--amber); font-weight: 600; }
.footer-col h4 {
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); font-size: 0.9375rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--amber); }

.doc-wrap { max-width: 860px; margin: 64px auto; padding: 0 28px; }
.doc-card {
  background: var(--bg-surface-1);
  padding: 56px 64px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) { .doc-card { padding: 36px 28px; } .doc-wrap { margin: 28px auto; } }
.doc-card .back-link { display: inline-block; margin-bottom: 28px; font-size: 0.9375rem; font-weight: 600; color: var(--amber); }
.doc-card .back-link:hover { color: var(--amber-light); }
.doc-card h1 { font-size: 2.5rem; margin-bottom: 10px; color: var(--text); }
.doc-card .meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.doc-card h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 18px; color: var(--amber); }
.doc-card h3 { font-size: 1.125rem; margin-top: 28px; margin-bottom: 12px; color: var(--text); }
.doc-card p, .doc-card li { font-size: 0.9375rem; line-height: 1.75; margin-bottom: 14px; color: var(--text-secondary); }
.doc-card ul, .doc-card ol { margin-left: 24px; margin-bottom: 20px; }
.doc-card li { margin-bottom: 8px; }
.doc-card strong { color: var(--text); }
.doc-card a { color: var(--amber); }

.thanks-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 32px 0;
}
.thanks-tile {
  background: var(--bg-surface-2);
  padding: 24px 22px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--amber);
}
.thanks-tile h4 { margin-bottom: 8px; color: var(--amber); font-size: 1rem; }
.thanks-tile p { font-size: 0.875rem; margin-bottom: 14px; color: var(--text-secondary); }
.thanks-tile a { font-weight: 600; font-size: 0.875rem; color: var(--amber); }

@media print { .top-nav, .final-cta .btn { display: none; } }

/* === V3 — Volume One pattern: hero photo + sections =================== */

/* Hero photo (zamiast hero-logo) */
.hero-photo {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 60px rgba(245, 158, 11, 0.15);
  position: relative;
  z-index: 1;
}
.hero-visual { min-height: 540px; }

/* Floating stat — V3 trend mini-label */
.floating-stat .stat-trend {
  font-size: 0.6875rem;
  color: var(--success);
  margin-top: 4px;
  font-weight: 500;
}

/* Created By badge */
.hero-created-by {
  position: absolute;
  bottom: 4%;
  left: 4%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(28, 34, 56, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  z-index: 3;
}
.hero-cb-logo { width: 28px; height: 28px; flex-shrink: 0; }
.hero-cb-label {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 2px;
}
.hero-cb-name { font-size: 0.8125rem; color: var(--text); font-weight: 600; }

/* BUILT FOR section */
.built-for {
  padding: 110px 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.bf-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 980px) {
  .bf-grid { grid-template-columns: 1fr; gap: 48px; }
}
.bf-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
  font-weight: 700;
}
.bf-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--text);
}
.bf-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 380px;
}
.bf-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) { .bf-right { grid-template-columns: 1fr; } }
.bf-card {
  background: var(--bg-surface-1);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}
.bf-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(245, 158, 11, 0.08);
}
.bf-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--bg-surface-3), var(--bg-surface-2));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
  border: 1px solid var(--border-amber);
}
.bf-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.bf-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* INSIDE FABRYKA — product box + 5 modules */
.inside-fabryka {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface-1) 50%, var(--bg-base) 100%);
}
.if-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 980px) {
  .if-grid { grid-template-columns: 1fr; gap: 56px; }
}
.if-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.if-glow {
  position: absolute;
  width: 90%;
  height: 70%;
  background: radial-gradient(ellipse, var(--amber-glow) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}
.if-box {
  width: 88%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 32px 60px rgba(0,0,0,0.6));
}
.if-content { padding: 8px 0; }
.if-label {
  font-size: 0.75rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  font-weight: 700;
}
.if-content h2 { margin-bottom: 16px; }
.if-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.65;
}

.modules { border-top: 1px solid var(--border-subtle); }
.module {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s;
}
.module summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.module summary::-webkit-details-marker { display: none; }
.module .m-num {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.15em;
  width: 80px;
  flex-shrink: 0;
}
.module .m-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  flex-grow: 1;
}
.module .m-toggle {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: transform 0.2s;
  width: 24px;
  text-align: center;
}
.module[open] .m-toggle { transform: rotate(45deg); color: var(--amber); }
.module p {
  padding: 0 0 22px 104px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
.module:hover summary .m-title { color: var(--amber-light); }

/* LAPTOP SHOWCASE — full-bleed cinematic mockup */
.laptop-showcase {
  padding: 100px 0;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}
.laptop-showcase::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  width: 80%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--amber-glow) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
}
.laptop-showcase .container { position: relative; z-index: 1; }
.ls-text {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.ls-label {
  font-size: 0.8125rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  font-weight: 700;
}
.ls-label code {
  background: var(--bg-surface-2);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--amber);
}
.ls-text h2 { margin-bottom: 18px; }
.ls-text p { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.65; }
.ls-image {
  display: flex;
  justify-content: center;
  position: relative;
}
.ls-image img {
  width: 100%;
  max-width: 980px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 80px rgba(245, 158, 11, 0.12);
}

/* INDUSTRIES — 3 accent images grid */
.industries {
  padding: 110px 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
}
.ind-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  font-weight: 700;
}
.industries h2 { text-align: center; margin-bottom: 18px; }
.ind-lead {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 56px;
  line-height: 1.65;
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .ind-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.ind-card {
  background: var(--bg-surface-1);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all 0.25s ease;
}
.ind-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(245, 158, 11, 0.08);
}
.ind-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.ind-card-body { padding: 24px 26px; }
.ind-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.ind-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }

/* === Founder section V3 — businessman A archetype =================== */
.founder {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface-1) 100%);
  border-top: 1px solid var(--border-subtle);
}
.founder .founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 980px) {
  .founder .founder-grid { grid-template-columns: 1fr; gap: 48px; }
}
.founder-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(245, 158, 11, 0.12);
}
.founder-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-photo-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(10, 14, 26, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.fpc-line {
  width: 3px;
  height: 38px;
  background: var(--amber);
  border-radius: 3px;
  flex-shrink: 0;
}
.fpc-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}
.fpc-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.founder-label {
  font-size: 0.75rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 16px;
}
.founder-text h2 {
  font-size: clamp(1.875rem, 3.8vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 28px;
}
.founder-text h2 .accent { color: var(--amber); }
.founder-text p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}
.founder-text strong { color: var(--amber); font-weight: 700; }

.founder-stats-inline {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}
.fsi-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.fsi-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .founder-stats-inline { gap: 20px; }
  .fsi-num { font-size: 1.625rem; }
}

/* hide old founder-side (stats column) if still present */
.founder-side { display: none; }

/* === V4 — ŻYWE INTERAKCJE: animacje, reveals, particles =================== */

/* Scroll progress bar (top 2px amber gradient) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber), var(--amber-light));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.05s linear;
  box-shadow: 0 0 12px var(--amber-glow);
}

/* Floating particles in body (subtle amber dots drifting) */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particles .p {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0;
  animation: drift 18s infinite ease-in-out;
  box-shadow: 0 0 12px var(--amber-glow), 0 0 24px rgba(245,158,11,0.15);
}
.particles .p1 { top: 12%; left: 8%;  animation-delay: 0s;    animation-duration: 22s; }
.particles .p2 { top: 30%; left: 88%; animation-delay: 3s;    animation-duration: 26s; opacity: 0.6; }
.particles .p3 { top: 60%; left: 18%; animation-delay: 6s;    animation-duration: 20s; }
.particles .p4 { top: 78%; left: 70%; animation-delay: 1.5s;  animation-duration: 24s; width: 3px; height: 3px; }
.particles .p5 { top: 45%; left: 50%; animation-delay: 4.5s;  animation-duration: 28s; width: 5px; height: 5px; }
.particles .p6 { top: 92%; left: 32%; animation-delay: 8s;    animation-duration: 22s; opacity: 0.4; }
.particles .p7 { top: 18%; left: 65%; animation-delay: 10s;   animation-duration: 26s; width: 3px; height: 3px; }
.particles .p8 { top: 70%; left: 95%; animation-delay: 5s;    animation-duration: 24s; opacity: 0.5; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); opacity: 0; }
  10%      { opacity: 0.7; }
  50%      { transform: translate(-30px, -80px); opacity: 0.4; }
  90%      { opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .particles { display: none; }
}

/* Reveal on scroll (fade-in + slide-up) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16, 1, .3, 1),
              transform 0.7s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--stagger-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Stagger children (parent has .stagger, children inherit --stagger-delay from JS) */
.stagger > * {
  transition-delay: var(--stagger-delay, 0ms);
}

/* Badge icon (replaced emoji) */
.badge { gap: 10px; }
.badge-icon {
  width: 14px;
  height: 14px;
  color: var(--amber);
  flex-shrink: 0;
}

/* BF icon premium SVG (inline) */
.bf-icon {
  background: linear-gradient(135deg, var(--bg-surface-3), var(--bg-surface-2));
  position: relative;
  overflow: hidden;
}
.bf-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--amber-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.bf-icon svg {
  width: 22px;
  height: 22px;
  color: var(--amber);
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(.16, 1, .3, 1);
}
.bf-card:hover .bf-icon::after { opacity: 1; }
.bf-card:hover .bf-icon svg { transform: scale(1.15) rotate(-4deg); }

/* Module toggle SVG */
.m-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(.16, 1, .3, 1);
  display: block;
}
.module[open] .m-toggle svg { transform: rotate(180deg); }
.module[open] .m-toggle { color: var(--amber); }

/* Card tilt smooth transition (when not on mousemove) */
.bf-card, .tier, .ind-card {
  transition: transform 0.4s cubic-bezier(.16, 1, .3, 1),
              border-color 0.25s ease,
              box-shadow 0.4s ease;
  transform-style: preserve-3d;
}
/* prevent tilt overriding existing translateY hover */
.bf-card:hover, .tier:hover, .ind-card:hover {
  transition: transform 0.05s linear,
              border-color 0.25s ease,
              box-shadow 0.4s ease;
}

/* Floating stat cards — subtle live float animation */
.floating-stat {
  animation: float-stat 6s infinite ease-in-out;
  will-change: transform;
}
.floating-stat-2 { animation-delay: 2s; animation-duration: 8s; }
@keyframes float-stat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .floating-stat { animation: none; }
}

/* Hover lift floating stats (counter-anim on hover) */
.floating-stat { transition: box-shadow 0.3s, border-color 0.3s; }
.floating-stat:hover {
  border-color: var(--border-amber);
  box-shadow: var(--shadow-card-hover), 0 0 30px rgba(245,158,11,0.18);
}

/* Hero photo subtle scale on idle (very gentle) */
.hero-photo {
  transition: filter 0.6s ease, transform 0.6s ease;
}
.hero:hover .hero-photo {
  filter: brightness(1.05) saturate(1.05);
}

/* Button ripple — amber pulse on click */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.25), transparent 60%);
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.btn:active::after { opacity: 1; transform: scale(1); transition: opacity 0.1s, transform 0.3s; }

/* Tier-featured pulse animation */
.tier-featured { animation: tier-pulse 3.5s infinite ease-in-out; }
@keyframes tier-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.0), var(--shadow-card); }
  50%      { box-shadow: 0 0 0 6px rgba(245,158,11,0.08), 0 12px 40px rgba(0,0,0,0.5), 0 0 50px rgba(245,158,11,0.18); }
}
@media (prefers-reduced-motion: reduce) {
  .tier-featured { animation: none; }
}

/* Top nav blur enhancement on scroll */
.top-nav { transition: background 0.3s ease, backdrop-filter 0.3s ease; }

/* Brand mark logo subtle pulse */
.brand-mark { animation: logo-pulse 4s infinite ease-in-out; }
@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 12px var(--amber-glow)); }
  50%      { filter: drop-shadow(0 0 22px rgba(245,158,11,0.5)); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark { animation: none; }
}

/* Hero badge pulse dot more lively */
.badge::before { animation: pulse 1.4s infinite; }

/* Sections z-index above particles */
section, header, footer, nav { position: relative; z-index: 1; }

