/* ═══════════════════════════════════════════════
   NEURAL PULSE — AI Blog CSS
   Completely unconventional. Fully immersive.
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;600&display=swap');

/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* ── Backgrounds (slate palette z aibrief — lekko rozjaśnione i z fioletowym) ── */
  --bg:  #04071e;   /* lekko jaśniejszy z fioletowym */
  --bg2: #070a22;   /* between */
  --bg3: #121c3a;   /* trochę jaśniejszy niż slate-900 */
  --bg4: #1d2c4a;   /* lekko jaśniejszy niż slate-800 */

  /* ── Brand — indigo + violet (dokładnie jak aibrief) ── */
  --purple:       #6366f1;   /* indigo-500  — główny akcent */
  --purple-dark:  #4f46e5;   /* indigo-600  — ciemniejszy */
  --purple-light: #818cf8;   /* indigo-400  — jaśniejszy */
  --purple-pale:  #a5b4fc;   /* indigo-300  — bardzo jasny */
  --violet:       #7c3aed;   /* violet-600  — drugi akcent */
  --violet-light: #a78bfa;   /* violet-400  */

  /* ── aliasy dla zgodności z resztą kodu ── */
  --cyan:       #a5b4fc;   /* indigo-300 (zastąpił cyan) */
  --cyan-light: #c7d2fe;   /* indigo-200 */
  --pink:       #7c3aed;   /* violet (zastąpił pink) */

  /* ── Tekst ── */
  --white:     #f1f5f9;   /* slate-100 */
  --white-dim: #94a3b8;   /* slate-400 */
  --white-faint: rgba(99,102,241,0.07);

  /* ── Glowy ── */
  --glow-purple: 0 0 40px rgba(99,102,241,0.35), 0 0 80px rgba(99,102,241,0.12);
  --glow-cyan:   0 0 40px rgba(165,180,252,0.25), 0 0 80px rgba(165,180,252,0.08);

  /* ── Obramowania ── */
  --border:        #243452;              /* lekko jaśniejszy, więcej fioletu */
  --border-accent: rgba(99,102,241,0.2); /* indigo/20 */

  --radius: 16px;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ─── Scroll Progress Bar ─── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple), var(--violet-light));
  z-index: 10001;
  width: 0%;
  transition: width 0.08s linear;
  pointer-events: none;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--white);
  cursor: none;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(99,102,241,0.35); color: var(--white); }

/* ─── Custom Cursor ─── */
#cursor {
  width: 7px; height: 7px;
  background: var(--purple-light);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease, background 0.2s ease;
  transform: translate(-50%, -50%);
}

#cursor-follower {
  width: 26px; height: 26px;
  border: 1px solid rgba(129,140,248,0.3);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--transition), height 0.3s var(--transition), border-color 0.3s ease;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }

/* ─── Neural Canvas ─── */
#neural-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.55;
}

/* ─── Navigation ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(2,6,23,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 60px;
}

.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(99,102,241,0); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  transition: width 0.3s var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 0 20px rgba(99,102,241,0.25);
}

.nav-cta:hover {
  box-shadow: 0 0 40px rgba(124,58,237,0.6) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* ─── Hero Section ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

/* Grain / noise texture na hero */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--purple-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInDown 1s ease both;
}

.badge-pulse {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 7.5vw, 92px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeInUp 1s 0.2s ease both;
}

/* Zawsze dokładnie 2 linie — line1 nie może się zawijać */
.hero-title .line1 {
  display: block;
  color: var(--white);
  white-space: nowrap;
}

.hero-title .line2 {
  display: block;
  position: relative;
}

/* Na małych ekranach pozwalamy na mniejszą czcionkę */
@media (max-width: 520px) {
  .hero-title { font-size: clamp(28px, 9.5vw, 48px); letter-spacing: -0.5px; }
  .hero-title .line1 { white-space: normal; }
}

/* Shimmer — gradient przepływa przez tekst, tekst statyczny */
.hero-shimmer {
  display: inline-block;
  background: linear-gradient(
    270deg,
    var(--purple-light) 0%,
    var(--cyan) 30%,
    var(--pink) 60%,
    var(--cyan-light) 80%,
    var(--purple-light) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-flow 7s ease-in-out infinite;
}

@keyframes shimmer-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 18px;
  color: var(--white-dim);
  max-width: 560px;
  margin: 0 auto 50px;
  line-height: 1.7;
  animation: fadeInUp 1s 0.4s ease both;
}

/* ─── Audio Player (Hero) ─── */
.hero-audio-player {
  background: rgba(15,23,42,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 22px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s 0.6s ease both;
}

.hero-audio-player::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--cyan), transparent);
}

.audio-label {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.4;
}

.audio-visualizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 28px;
  margin-bottom: 12px;
}

.audio-bar {
  width: 3px;
  background: linear-gradient(to top, var(--purple), var(--violet-light));
  border-radius: 2px;
  transition: height 0.1s ease;
  animation: audio-idle 2s ease-in-out infinite;
}

.audio-bar:nth-child(1) { animation-duration: 2.1s; }
.audio-bar:nth-child(2) { animation-duration: 1.8s; animation-delay: 0.3s; }
.audio-bar:nth-child(3) { animation-duration: 2.4s; animation-delay: 0.15s; }
.audio-bar:nth-child(4) { animation-duration: 1.9s; animation-delay: 0.5s; }
.audio-bar:nth-child(5) { animation-duration: 2.2s; animation-delay: 0.7s; }
.audio-bar:nth-child(odd) { animation-delay: 0.25s; }
.audio-bar:nth-child(3n) { animation-delay: 0.55s; }
.audio-bar:nth-child(4n) { animation-delay: 0.9s; }

@keyframes audio-idle {
  0%, 100% { height: 4px; }
  33% { height: 12px; }
  66% { height: 20px; }
}

/* Podczas odtwarzania JS kontroluje wysokość przez transition */
.audio-bar.playing {
  animation: none;
  transition: height 0.12s ease;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.play-btn {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 14px rgba(99,102,241,0.3);
  flex-shrink: 0;
}

.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 28px rgba(124,58,237,0.6);
}

.play-btn svg { color: white; width: 16px; height: 16px; }

.audio-progress-wrap {
  flex: 1;
}

.audio-progress {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  margin-bottom: 5px;
}

.audio-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.audio-progress-fill::after {
  content: '';
  position: absolute;
  right: -4px; top: -4px;
  width: 10px; height: 10px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(124,58,237,0.7);
}

.audio-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
  display: flex;
  justify-content: space-between;
}

/* ─── Newsletter (Hero) ─── */
.hero-newsletter {
  max-width: 460px;
  margin: 0 auto;
  animation: fadeInUp 1s 0.8s ease both;
}

.newsletter-tag {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple-light);
  margin-bottom: 5px;
}

.newsletter-label {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white-dim);
  margin-bottom: 14px;
}

.newsletter-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-name-input {
  background: rgba(15,23,42,0.65);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 14px 24px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}
.newsletter-name-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 20px rgba(99,102,241,0.12);
}
.newsletter-name-input::placeholder { color: rgba(241,245,249,0.45); }

.newsletter-form {
  display: flex;
  gap: 12px;
  background: rgba(15,23,42,0.65);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  transition: all 0.3s ease;
}

.newsletter-form:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 30px rgba(99,102,241,0.15);
}

.newsletter-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

.newsletter-form input::placeholder { color: rgba(241,245,249,0.45); }

.btn-subscribe {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: white;
  border: none;
  border-radius: 100px;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-subscribe:hover {
  box-shadow: 0 0 30px rgba(99,102,241,0.4);
  transform: scale(1.03);
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeIn 1s 1.5s ease both;
}

.scroll-indicator span {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-dim);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); }
}

/* ─── Section Styles ─── */
section {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(129,140,248,0.2);
  border-radius: 100px;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  color: var(--white);
}

.section-title .gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  max-width: 500px;
  margin: 16px auto 0;
  color: var(--white-dim);
  font-size: 17px;
  line-height: 1.7;
}

/* ─── About / Manifesto Section ─── */
#about {
  padding: 140px 60px;
  position: relative;
  overflow: hidden;
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-left .section-title { text-align: left; margin-bottom: 24px; }
.about-left .section-tag { display: inline-block; }

.about-text {
  color: var(--white-dim);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--white-faint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--purple);
  box-shadow: var(--glow-purple);
  transform: translateY(-4px);
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-light), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About Right — Floating Cards */
.about-right {
  position: relative;
  height: 500px;
}

.floating-card {
  position: absolute;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  animation: float 6s ease-in-out infinite;
  cursor: default;
}

.floating-card:nth-child(1) {
  top: 0; left: 0;
  width: 220px;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  top: 100px; right: 0;
  width: 240px;
  animation-delay: 2s;
}

.floating-card:nth-child(3) {
  bottom: 20px; left: 60px;
  width: 200px;
  animation-delay: 4s;
}

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

.fc-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.fc-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.fc-desc { font-size: 13px; color: var(--white-dim); }

/* ─── Blog Section ─── */
#latest-articles {
  padding: 120px 60px;
  position: relative;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.article-card {
  background: rgba(18,28,60,0.72);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s var(--transition);
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
}

.article-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(99,102,241,0.04));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.article-card:hover::before { opacity: 1; }

.article-card:hover {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(99,102,241,0.1);
  transform: translateY(-8px) rotateX(2deg);
}

.card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg3), rgba(99,102,241,0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,23,42,0.85));
}

.card-body { padding: 28px; }

.card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid;
}

/* Tagi — cała paleta indigo/violet z aibrief */
.tag-purple { border-color: rgba(99,102,241,0.4);  color: #a5b4fc; background: rgba(99,102,241,0.08); }
.tag-cyan   { border-color: rgba(129,140,248,0.35); color: #c7d2fe; background: rgba(129,140,248,0.07); }
.tag-pink   { border-color: rgba(124,58,237,0.4);  color: #c4b5fd; background: rgba(124,58,237,0.08); }

.card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--white);
  transition: color 0.3s ease;
}

.article-card:hover .card-title { color: var(--purple-light); }

.card-excerpt {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(241,245,249,0.4);
  font-family: 'JetBrains Mono', monospace;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.card-read-more {
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.article-card:hover .card-read-more { gap: 10px; }

/* ─── Audio Section ─── */
#latest-audio {
  padding: 120px 60px;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.02) 50%, transparent);
}

.audio-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.audio-card {
  background: rgba(18,28,60,0.82);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.audio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  transform: scaleX(0);
  transition: transform 0.4s var(--transition);
  transform-origin: left;
}

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

.audio-card:hover {
  border-color: rgba(129,140,248,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow-cyan);
  transform: translateY(-6px);
}

.audio-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.ep-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  background: rgba(129,140,248,0.07);
  border: 1px solid rgba(129,140,248,0.2);
  border-radius: 8px;
  padding: 4px 10px;
}

.audio-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.audio-card-desc {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.mini-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-bottom: 20px;
}

.mini-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(99,102,241,0.35), rgba(129,140,248,0.5));
  border-radius: 2px;
  animation: mini-wave 1.8s ease-in-out infinite;
}

.mini-bar:nth-child(even) { animation-delay: 0.3s; }
.mini-bar:nth-child(3n) { animation-delay: 0.6s; }
.mini-bar:nth-child(4n) { animation-delay: 0.9s; }

@keyframes mini-wave {
  0%, 100% { height: 4px; opacity: 0.4; }
  50% { height: 100%; opacity: 1; }
}

.audio-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.audio-duration {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--white-dim);
}

.btn-play-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  border: none;
  border-radius: 100px;
  padding: 10px 20px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-play-mini:hover {
  box-shadow: 0 0 20px rgba(99,102,241,0.4);
  transform: scale(1.05);
}

/* ─── Buttons ─── */
.btn-see-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 14px 32px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-see-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(129,140,248,0.15));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-see-more:hover {
  border-color: var(--purple);
  box-shadow: 0 0 30px rgba(99,102,241,0.15);
  transform: translateY(-2px);
}

.btn-see-more:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  border: none;
  border-radius: 100px;
  padding: 16px 40px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  box-shadow: var(--glow-purple);
  transform: translateY(-3px) scale(1.02);
}

.text-center { text-align: center; }

/* ─── Final Newsletter Section ─── */
#newsletter-final {
  padding: 140px 60px;
  position: relative;
  overflow: hidden;
}

.newsletter-final-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.nl-final-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.nl-final-desc {
  font-size: 18px;
  color: var(--white-dim);
  margin-bottom: 40px;
  line-height: 1.7;
}

.nl-final-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 460px;
  margin: 0 auto;
}

.nl-input {
  width: 100%;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 16px 28px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.nl-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 30px rgba(99,102,241,0.15);
}

.nl-input::placeholder { color: rgba(241,245,249,0.3); }

.nl-final-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.nl-perks {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.nl-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--white-dim);
}

.perk-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ─── Footer ─── */
footer {
  padding: 60px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.footer-copy {
  font-size: 13px;
  color: rgba(241,245,249,0.3);
  font-family: 'JetBrains Mono', monospace;
}

/* ─── Particle Background for Newsletter ─── */
.particles-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--purple-light);
  border-radius: 50%;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  from { transform: translateY(100%) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

/* ─── Reveal Animations — subtelne, bez skakania ─── */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── Delay utilities ─── */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── Noise overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  opacity: 0.4;
}

/* ─── Page-specific ─── */
.page-hero {
  padding: 180px 60px 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.page-hero-desc {
  font-size: 18px;
  color: var(--white-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Blog page articles */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white-faint);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  color: var(--white-dim);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: rgba(99,102,241,0.15);
  border-color: var(--purple);
  color: var(--purple-light);
}

.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 60px;
}

/* Audio archive */
.audio-archive-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 60px;
}

.audio-row {
  background: rgba(15,23,42,0.65);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.audio-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.03), rgba(99,102,241,0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.audio-row:hover {
  border-color: rgba(129,140,248,0.3);
  transform: translateX(8px);
  box-shadow: -4px 0 0 var(--cyan);
}

.audio-row:hover::before { opacity: 1; }

.ep-badge {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  min-width: 70px;
}

.ep-badge .ep-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  display: block;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ep-badge .ep-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: white;
  display: block;
}

.audio-row-info h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.audio-row-info p {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.6;
}

.audio-row-meta {
  text-align: right;
}

.audio-row-meta .duration {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 600;
  color: var(--cyan);
  display: block;
  margin-bottom: 8px;
}

.audio-row-meta .date {
  font-size: 12px;
  color: rgba(241,245,249,0.4);
  font-family: 'JetBrains Mono', monospace;
}

/* ─── Success Message ─── */
.success-msg {
  display: none;
  text-align: center;
  padding: 16px;
  background: rgba(129,140,248,0.07);
  border: 1px solid rgba(129,140,248,0.2);
  border-radius: 12px;
  color: var(--cyan-light);
  font-size: 15px;
  animation: fadeIn 0.5s ease;
}

/* ─── Keyframes ─── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════════════════════
   BENTO GRID — sekcja "Co oferujemy"
══════════════════════════════════════════════ */
.bento-section {
  padding: 60px 60px 120px;
  position: relative;
  z-index: 1;
}

.bento-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

/* Layout:
   [─── wide (3 col) ───────] [tall (2 col)]
   [sm (1)] [sm (1)] [sm (1)] [tall cont.  ]
*/
.bento-card {
  background: rgba(18,28,60,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.bento-card:hover {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 30px rgba(124,58,237,0.12);
  transform: translateY(-4px);
}

/* Animated gradient border top on hover */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--pink));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--transition);
}

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

.bento-wide  { grid-column: span 3; }
.bento-tall  { grid-column: span 2; grid-row: span 2; }
.bento-small { grid-column: span 1; }

.bento-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}

.bento-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: var(--white);
}

.bento-wide .bento-title { font-size: 28px; }

.bento-desc {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.7;
}

/* Bar chart w bento-wide */
.bento-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-top: 24px;
}

.chart-col {
  flex: 1;
  background: rgba(99,102,241,0.1);
  border-radius: 4px 4px 0 0;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.chart-col::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, var(--purple), var(--cyan));
  border-radius: 4px 4px 0 0;
  transition: height 0.6s var(--transition);
}

.bento-card:hover .chart-col::after { height: 100% !important; }

.chart-col[data-h="90"] { height: 90%; } .chart-col[data-h="90"]::after { height: 0; }
.chart-col[data-h="65"] { height: 65%; } .chart-col[data-h="65"]::after { height: 0; }
.chart-col[data-h="80"] { height: 80%; } .chart-col[data-h="80"]::after { height: 0; }
.chart-col[data-h="45"] { height: 45%; } .chart-col[data-h="45"]::after { height: 0; }
.chart-col[data-h="100"] { height: 100%; } .chart-col[data-h="100"]::after { height: 0; }
.chart-col[data-h="55"] { height: 55%; } .chart-col[data-h="55"]::after { height: 0; }
.chart-col[data-h="75"] { height: 75%; } .chart-col[data-h="75"]::after { height: 0; }

.chart-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(241,245,249,0.3);
  text-align: center;
  margin-top: 6px;
  display: block;
}

/* Tall bento — podcast */
.bento-tall-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento-big-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, var(--purple-light), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.bento-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin: auto 0 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.bento-card:hover .bento-mini-bars { opacity: 1; }

.bento-mb {
  flex: 1;
  background: linear-gradient(to top, rgba(129,140,248,0.35), rgba(99,102,241,0.4));
  border-radius: 2px;
  animation: mini-wave 2s ease-in-out infinite;
}

.bento-mb:nth-child(even) { animation-delay: 0.4s; }
.bento-mb:nth-child(3n) { animation-delay: 0.8s; }

/* Small cards extra content */
.bento-tag-line {
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--purple-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════
   PILLARS GRID — 4 równe filary w siatce 2×2
══════════════════════════════════════════════ */
.pillars-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pillar-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
}

.pillar-ghost-num {
  position: absolute;
  bottom: -12px;
  right: 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 130px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -6px;
  color: rgba(99,102,241,0.045);
  pointer-events: none;
  user-select: none;
  transition: color 0.4s ease;
}

.pillar-card:hover .pillar-ghost-num {
  color: rgba(99,102,241,0.09);
}

.pillar-top { margin-bottom: 18px; }

.pillar-badge-01 { background: rgba(99,102,241,0.1);  border-color: rgba(99,102,241,0.25);  color: var(--purple-light); }
.pillar-badge-02 { background: rgba(124,58,237,0.1);  border-color: rgba(124,58,237,0.25);  color: var(--violet-light); }
.pillar-badge-03 { background: rgba(129,140,248,0.1); border-color: rgba(129,140,248,0.25); color: var(--purple-pale); }
.pillar-badge-04 { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.2);   color: var(--purple-light); }

.pillar-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.7;
}

.pillar-vis {
  margin-top: auto;
  padding-top: 24px;
}

/* ── 01: bar chart ── */
.pv-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  padding-bottom: 22px;
}

.pvc-bar {
  flex: 1;
  height: var(--h);
  position: relative;
  border-radius: 4px 4px 0 0;
  background: rgba(99,102,241,0.1);
  overflow: visible;
}

.pvc-fill {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(to top, var(--purple), rgba(129,140,248,0.55));
  border-radius: 4px 4px 0 0;
  transition: height 0.7s var(--transition);
}

.pillar-card:hover .pvc-fill { height: 100%; }

.pvc-hot .pvc-fill {
  background: linear-gradient(to top, var(--violet-light), var(--cyan-light));
}
.pillar-card:hover .pvc-hot {
  filter: drop-shadow(0 0 12px rgba(165,180,252,0.4));
}

.pvc-bar span {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(241,245,249,0.3);
  white-space: nowrap;
}

/* ── 02: waveform ── */
.pv-wave { display: flex; flex-direction: column; }

.pvw-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.pvw-label {
  font-size: 12px;
  color: var(--white-dim);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 18px;
}

.pvw-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
}

.pvw-b {
  flex: 1;
  background: linear-gradient(to top, var(--violet), rgba(167,139,250,0.5));
  border-radius: 2px;
  animation: pvw-wave 1.8s ease-in-out infinite;
}
.pvw-b:nth-child(even) { animation-delay: 0.3s; }
.pvw-b:nth-child(3n)   { animation-delay: 0.6s; }
.pvw-b:nth-child(4n)   { animation-delay: 0.9s; }
.pvw-b:nth-child(5n)   { animation-delay: 1.2s; }

@keyframes pvw-wave {
  0%, 100% { height: 4px; opacity: 0.3; }
  50% { height: 50px; opacity: 1; }
}

/* ── 03: signal / newsletter ── */
.pv-signal { display: flex; flex-direction: column; }

.pvs-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.pvs-label {
  font-size: 12px;
  color: var(--white-dim);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 20px;
}

.pvs-dots { display: flex; align-items: center; gap: 10px; }

.pvs-d {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--purple-light);
  animation: pvs-pulse 1.6s ease-in-out infinite;
}
.pvs-d:nth-child(2) { animation-delay: 0.23s; }
.pvs-d:nth-child(3) { animation-delay: 0.46s; }
.pvs-d:nth-child(4) { animation-delay: 0.69s; }
.pvs-d:nth-child(5) { animation-delay: 0.92s; }
.pvs-d:nth-child(6) { animation-delay: 1.15s; }
.pvs-d:nth-child(7) { animation-delay: 1.38s; }

@keyframes pvs-pulse {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50%  { opacity: 1; transform: scale(1.2); box-shadow: 0 0 12px rgba(129,140,248,0.55); }
}

/* ── 04: oscilloscope / lab ── */
.pv-lab { display: flex; flex-direction: column; gap: 14px; }

.lab-osc { width: 100%; height: 52px; }

.osc-path {
  stroke: var(--purple-light);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: osc-draw 2.2s ease forwards, osc-glow 3s ease-in-out 2.2s infinite;
}

@keyframes osc-draw { to { stroke-dashoffset: 0; } }

@keyframes osc-glow {
  0%, 100% { stroke: var(--purple-light); filter: drop-shadow(0 0 3px rgba(129,140,248,0.4)); }
  50% { stroke: var(--cyan-light); filter: drop-shadow(0 0 7px rgba(199,210,254,0.6)); }
}

.lab-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--white-dim);
  font-family: 'JetBrains Mono', monospace;
}
.lab-status strong { color: var(--white); }

.lab-pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.6);
  flex-shrink: 0;
  animation: lab-blink 1.4s ease-in-out infinite;
}

@keyframes lab-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── 04: tools grid (Warsztat) ── */
.pv-tools {
  display: flex;
  gap: 10px;
}

.pvt-tool {
  flex: 1;
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  transition: all 0.35s var(--transition);
}

.pillar-card:hover .pvt-tool {
  background: rgba(99,102,241,0.13);
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-3px);
}

.pillar-card:hover .pvt-tool:nth-child(2) { transition-delay: 0.06s; }
.pillar-card:hover .pvt-tool:nth-child(3) { transition-delay: 0.12s; }

.pvt-icon {
  font-size: 22px;
  display: block;
  margin-bottom: 10px;
  color: var(--violet-light);
  font-style: normal;
}

.pvt-tool p {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--white-dim);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: auto; }
}

/* ══════════════════════════════════════════════
   TOPICS / TEMATY — kreatywna siatka tematów
══════════════════════════════════════════════ */
#topics {
  padding: 0 60px 120px;
  position: relative;
  z-index: 1;
}

.topics-header {
  max-width: 1200px;
  margin: 0 auto 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.topics-cloud {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white-dim);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: rgba(15,23,42,0.45);
}

.topic-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(129,140,248,0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.topic-pill:hover {
  border-color: var(--purple);
  color: var(--white);
  box-shadow: 0 0 20px rgba(99,102,241,0.15);
  transform: translateY(-2px);
}

.topic-pill:hover::before { opacity: 1; }

.topic-pill.tp-lg { font-size: 17px; padding: 14px 28px; }
.topic-pill.tp-sm { font-size: 12px; padding: 8px 16px; }
.topic-pill.tp-accent {
  border-color: rgba(129,140,248,0.3);
  color: var(--cyan-light);
  background: rgba(129,140,248,0.05);
}
.topic-pill.tp-accent:hover { border-color: var(--cyan); box-shadow: 0 0 20px rgba(129,140,248,0.15); }

.topic-pill.tp-hot {
  border-color: rgba(236,72,153,0.4);
  color: #f9a8d4;
  background: rgba(236,72,153,0.06);
}
.topic-pill.tp-hot:hover { border-color: var(--pink); box-shadow: 0 0 20px rgba(236,72,153,0.2); }

.topic-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 2px 8px;
  color: rgba(241,245,249,0.5);
}

/* ══════════════════════════════════════════════
   QUOTE / SIGNAL — cytat z artykułu
══════════════════════════════════════════════ */
#signal-quote {
  padding: 120px 60px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.signal-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.signal-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white-dim);
  margin-bottom: 32px;
}

.signal-line {
  width: 40px;
  height: 1px;
  background: var(--border);
}

.signal-quote-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 40px;
  position: relative;
}

.signal-quote-text::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -30px;
  font-size: 120px;
  color: rgba(99,102,241,0.08);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.signal-quote-text .hl {
  background: linear-gradient(135deg, var(--purple-light), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.signal-source {
  display: flex;
  align-items: center;
  gap: 16px;
}

.signal-dot-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.signal-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

.signal-line-h {
  width: 32px;
  height: 1px;
  background: rgba(129,140,248,0.3);
}

.signal-source-text {
  font-size: 13px;
  color: var(--white-dim);
  font-family: 'JetBrains Mono', monospace;
}

.signal-source a {
  color: var(--cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}
.signal-source a:hover { opacity: 0.7; }

.signal-bg-glow {
  position: absolute;
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-wide { grid-column: span 2; }
  .bento-tall { grid-column: span 1; grid-row: span 2; }
  .bento-small { grid-column: span 1; }
}

@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links { gap: 24px; }

  #about { padding: 80px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-right { height: 400px; }

  #latest-articles { padding: 80px 24px; }
  .articles-grid { grid-template-columns: 1fr; }

  #latest-audio { padding: 80px 24px; }
  .audio-cards-grid { grid-template-columns: 1fr; }

  #newsletter-final { padding: 80px 24px; }
  #signal-quote { padding: 80px 24px; }

  footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 20px; }

  .blog-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .audio-archive-grid { padding: 0 24px; }

  .audio-row { grid-template-columns: auto 1fr; }
  .audio-row-meta { display: none; }

  .page-hero { padding: 120px 24px 60px; }

  .bento-section { padding: 40px 24px 80px; }
  .bento-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bento-wide { grid-column: span 2; }
  .bento-tall { grid-column: span 1; grid-row: span 1; }

  #topics { padding: 0 24px 80px; }
  .topics-header { flex-direction: column; align-items: flex-start; gap: 16px; }

  .signal-quote-text::before { display: none; }
}

@media (max-width: 600px) {
  .hero-audio-player { padding: 14px 16px; }
  .nav-links .nav-cta { display: none; }
  .nl-perks { flex-direction: column; align-items: center; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide, .bento-tall, .bento-small { grid-column: span 1; grid-row: span 1; }
}
