/* WORKFLOW STYLES - LinkDrop OS */

.how-it-works {
  padding: 120px 0;
  background: #fcfcfd;
}

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

.section-header .badge {
  background: #eef2ff;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin: 20px 0;
  letter-spacing: -1.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.monitor-frame {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  overflow: hidden;
  height: 240px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.step-card:hover .monitor-frame {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.monitor-top {
  height: 32px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: relative;
}

.dots { display: flex; gap: 5px; }
.dots span { width: 6px; height: 6px; background: #cbd5e1; border-radius: 50%; }

.url-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--primary);
  background: #ffffff;
  padding: 2px 12px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
}

.monitor-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ANIMOWANY WYKRES */
.animated-chart { width: 100%; height: auto; }
.line-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2.5s ease-in-out;
}
.step-card.active .line-path { stroke-dashoffset: 0; }
.chart-dot { fill: var(--primary); opacity: 0; transition: opacity 0.3s 2.2s; }
.step-card.active .chart-dot { opacity: 1; }

/* REVENUE & COUNTER */
.revenue-display { text-align: center; }
.rev-title { font-size: 0.75rem; color: var(--text-muted); display: block; }
.counter { font-size: 2.2rem; font-weight: 800; color: var(--text-dark); }
.currency { color: var(--success); font-weight: 700; margin-left: 5px; }

.mini-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
  margin-top: 15px;
  justify-content: center;
}
.bar {
  width: 10px;
  background: #e0e7ff;
  border-radius: 3px;
  height: 0;
  transition: height 1s ease;
}
.step-card.active .bar { height: var(--h); }

/* GROWTH & CIRCLE */
.growth-box { display: flex; align-items: center; gap: 20px; }
.growth-circle { width: 80px; height: 80px; position: relative; }
.circle-progress {
  fill: none;
  stroke: var(--success);
  stroke-width: 2.5;
  stroke-dasharray: 0, 100;
  transition: stroke-dasharray 1.5s ease-in-out;
}
.step-card.active .circle-progress { stroke-dasharray: 85, 100; }
.percentage { 
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
  font-weight: 800; font-size: 0.9rem; color: var(--success); 
}

/* INFO */
.step-icon {
  width: 44px; height: 44px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.1rem;
}
.step-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.step-info p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }

@media (max-width: 992px) {
  .workflow-steps-grid { grid-template-columns: 1fr; }
  .monitor-frame { max-width: 400px; margin: 0 auto 30px; }
  .step-info { text-align: center; }
  .step-icon { margin: 0 auto 20px; }
}